c870f93a9f8169a1bc2766a02382f89743bdbd62
[platform/upstream/glibc.git] / ChangeLog
1 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #16316]
4         [BZ #16330]
5         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6         values of ha and hb and sort them after adjusting subnormal
7         arguments.
8         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9         Likewise.
10         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11         values of ea and eb and sort them after adjusting subnormal
12         arguments.
13         * math/auto-libm-test-in: Do not expect some hypot tests of
14         subnormals to fail.  Add more hypot tests.
15         * math/auto-libm-test-out: Regenerated.
16
17 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18
19         [BZ #13304]
20         * sysdeps/sh/s_fma.c: New file.
21         * sysdeps/sh/s_fmaf.c: New file.
22         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23         version.
24         * sysdeps/sh/Implies: Add sh/soft-fp.
25
26 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27
28         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
29         level of indirection to members `objname', `errstring', `malloced'.
30         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
31         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
32         it as the __longjmp argument (just pass 1 instead).
33         (_dl_catch_error): Initialize C with argument pointers and address of
34         volatile local ERRCODE rather than copying values out of C at return.
35
36 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
37
38         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39         * math/auto-libm-test-out: Regenerated.
40         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41         (hypot_test_data): Likewise.
42         (pow_test_data): Likewise.
43         (pow_tonearest_test_data): Likewise.
44         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45         mpfr_ff_f.
46         (func_calc_desc): Add mpfr_ff_f union field.
47         (FUNC_mpfr_ff_f): New macro.
48         (test_functions): Add atan2, hypot and pow.
49         (special_fill_min): New function.
50         (special_fill_minus_min): Likewise.
51         (special_fill_min_subnorm): Likewise.
52         (special_fill_minus_min_subnorm): Likewise.
53         (special_real_inputs): Add min, -min, min_subnorm and
54         -min_subnorm.
55         (calc_generic_results): Handle mpfr_ff_f.
56         * sysdeps/i386/fpu/libm-test-ulps: Update.
57         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58
59 2013-12-16  Will Newton  <will.newton@linaro.org>
60
61         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
62         (Aligned Memory Blocks): Add documentation for aligned_alloc
63         and suggest it as an alternative to posix_memalign.
64         (Hooks for Malloc): Document __memalign_hook is also called
65         for aligned_alloc.  (Summary of Malloc): Add summary for
66         aligned alloc.  Document __memalign_hook is also called
67         for aligned_alloc.
68
69 2013-12-16  Will Newton  <will.newton@linaro.org>
70
71         * manual/memory.texi (Malloc Examples): Clarify default
72         alignment documentation.  Suggest posix_memalign rather
73         than memalign or valloc.
74         (Aligned Memory Blocks): Remove suggestion to use memalign
75         or valloc.  Remove obsolete comment about BSD.
76         Document memalign errno values and mark the function obsolete.
77         Document posix_memalign returned error codes.  Mark valloc
78         as obsolete.  (Hooks for Malloc): __memalign_hook is also
79         called for posix_memalign and valloc.
80         (Summary of Malloc): Add posix_memalign to function summary.
81         __memalign_hook is also called for posix_memalign and valloc.
82
83 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
84
85         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
86         TAYLOR_SIN.
87         (__sin): Adjust.
88         (__cos): Likewise.
89         (sloww): Use mynumber union.  Expand ternary operator into
90         if-else statements.
91         (cslow): use mynumber union.
92
93 2013-12-16  Allan McRae  <allan@archlinux.org>
94
95         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
96         * configure: Regenerated.
97
98         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
99
100         [BZ #14120]
101         * configure.ac: Added --enable-maintainer-mode. Check for
102         autoconf when enabled.
103         * configure: Regenerated.
104
105         * nscd/nscd.service: New file.
106         * nscd/nscd.tmpfiles: New file.
107
108 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
109
110         [BZ #12100]
111         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
112         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
113         * sysdeps/x86_64/multiarch/strstr.c: ... here.
114         (strstr): Add __strstr_sse2_unaligned ifunc.
115         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
116         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
117         (strcasestr): Remove __strcasestr_sse42 ifunc.
118         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
121
122 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
123
124         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
125         * sysdeps/sh/bits/fenv.h: ... here.
126         * sysdeps/sh/sh4/fpu/bits: Remove directory.
127
128 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
129
130         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
131
132 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
133
134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
135         hypotf multiarch implementations.
136         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
137         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
138         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
139         multiarch hypot for PPC64.
140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
142         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
143         multiarch hypotf for PPC64.
144
145 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
146
147         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
148         modff multiarch implementations.
149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
152         multiarch modf for PPC64.
153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
156         multiarch modff for PPC64.
157
158 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
159
160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
161         and logl multiarch implementations.
162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
165         multiarch logb for PPC64.
166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
169         multiarch logb for PPC64.
170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
173         multiarch logb for PPC64.
174
175 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
176
177         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
178         isinff multiarch implementation.
179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
180         file.
181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
183         multiarch isinf for PPC64.
184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
185         file.
186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
187         multiarch isinff for PPC64.
188
189 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
190
191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
192         finitef multiarch implementation.
193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
194         file.
195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
197         multiarch finite for PPC64.
198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
199         file.
200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
201         multiarch finitef for PPC64.
202
203 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
204
205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
206         lrint multiarch implementation.
207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
208         file.
209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
211         multiarch llrint for PPC64.
212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
213         multiarch lrint for PPC64.
214
215 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
216
217         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
218         copysignf multiarch implementation.
219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
220         file.
221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
222         file.
223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
224         multiarch copysign for PPC64.
225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
226         multiarch copysignf for PPC64.
227
228 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
229
230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
231         multiarch implementation.
232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
233         file.
234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
235         file.
236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
237         file.
238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
239         file.
240         multiarch llround for PPC64.
241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
242         multiarch trunc for PPC64.
243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
244         multiarch truncf for PPC64.
245
246 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
247
248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
249         multiarch implementation.
250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
251         file.
252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
253         file.
254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
255         file.
256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
257         file.
258         multiarch llround for PPC64.
259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
260         multiarch round for PPC64.
261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
262         multiarch roundf for PPC64.
263
264 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
265
266         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
267         multiarch implementation.
268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
269         file.
270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
271         file.
272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
273         file.
274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
275         file.
276         multiarch llround for PPC64.
277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
278         multiarch floor for PPC64.
279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
280         multiarch floorf for PPC64.
281
282 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
283
284         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
285         multiarch implementation.
286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
287         file.
288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
289         file.
290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
291         file.
292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
293         file.
294         multiarch llround for PPC64.
295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
296         multiarch ceil for PPC64.
297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
298         multiarch ceilf for PPC64.
299
300 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
301
302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
303         multiarch implementation.
304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
305         file.
306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
307         file.
308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
309         file.
310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
311         multiarch llround for PPC64.
312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
313         multiarch lround for PPC64.
314
315 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
316
317         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
318         multiarch implementation.
319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
322         file.
323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
326         multiarch isnan for PPC64.
327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
328         multiarch isnanf for PPC64.
329
330 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
331
332         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
333         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
334         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
335         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
336         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
338
339 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
340
341         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
342         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
343         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
344         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
345
346 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
347
348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
349         multiarch implementations.
350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
351         (__libc_ifunc_impl_list): Likewise.
352         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
353         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
354         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
355         multiarch stpcpy for PPC64.
356
357 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
358
359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
360         multiarch implementations.
361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
362         (__libc_ifunc_impl_list): Likewise.
363         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
364         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
365         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
366         multiarch strcpy for PPC64.
367
368 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
369
370         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
371         redefine function name.
372         (_wordcopy_fwd_dest_aligned): Likewise.
373         (_wordcopy_bwd_aligned): Likewise.
374         (_wordcopy_bwd_dest_aligned): Likewise.
375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
376         multiarch implementations.
377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
378         (__libc_ifunc_impl_list): Likewise.
379         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
380         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
381         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
382         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
383         multiarch wcscpy for PPC64.
384
385 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
386
387         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
388         multiarch implementations.
389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
390         (__libc_ifunc_impl_list): Likewise.
391         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
392         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
393         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
394         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
395         multiarch wcscpy for PPC64.
396
397 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
398
399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
400         multiarch implementations.
401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
402         (__libc_ifunc_impl_list): Likewise.
403         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
404         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
405         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
406         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
407         multiarch wcsrchr for PPC64.
408
409 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
410
411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
412         multiarch implementations.
413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
414         (__libc_ifunc_impl_list): Likewise.
415         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
416         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
417         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
418         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
419         multiarch wcschr for PPC64.
420
421 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
422
423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
424         multiarch implementations.
425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
426         (__libc_ifunc_impl_list): Likewise.
427         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
428         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
429         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
430         multiarch strchrnul for PPC64.
431
432 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
433
434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
435         implementations.
436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
437         (__libc_ifunc_impl_list): Likewise.
438         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
439         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
440         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
441         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
442         strchr for PPC64.
443
444 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
445
446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
447         implementations.
448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
449         (__libc_ifunc_impl_list): Likewise.
450         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
451         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
452         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
453         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
454         strncmp for PPC64.
455
456 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
457
458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
459         multiarch implementations.
460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
461         (__libc_ifunc_impl_list): Likewise.
462         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
463         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
464         strncasecmp for PPC64.
465         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
466         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
467         multiarch strncasecmp_l for PPC64.
468
469 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
470
471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
472         multiarch implementations.
473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
474         (__libc_ifunc_impl_list): Likewise.
475         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
476         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
477         multiarch strcasecmp for PPC64.
478         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
479         file.
480         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
481         multiarch strcasecmp_l for PPC64.
482
483 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
484
485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
486         implementations.
487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
488         (__libc_ifunc_impl_list): Likewise.
489         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
490         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
491         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
492         strnlen for PPC64.
493
494 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
495
496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
497         implementations.
498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
499         (__libc_ifunc_impl_list): Likewise.
500         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
501         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
502         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
503         strlen for PPC64.
504
505 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
506
507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
508         implementations.
509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
510         (__libc_ifunc_impl_list): Likewise.
511         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
512         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
513         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
514         rawmemrchr for PPC64.
515
516 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
517
518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
519         implementation.
520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
521         (__libc_ifunc_impl_list): Likewise.
522         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
523         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
524         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
525         memrchr for PPC64.
526
527 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
528
529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
530         implementation.
531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
532         (__libc_ifunc_impl_list): Likewise.
533         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
534         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
535         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
536         memchr for PPC64.
537
538 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
539
540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
541         implementation.
542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
543         (__libc_ifunc_impl_list): Likewise.
544         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
545         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
546         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
547         mempcpy for PPC64.
548
549 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
550
551         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
552         avoid cretion of __bzero symbol.
553         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
554         Likewise.
555         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
556         Likewise.
557         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
558         Likewise.
559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
560         multiarch implementations.
561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
562         (__libc_ifunc_impl_list): Likewise.
563         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
564         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
565         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
566         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
567         bzero for PPC32.
568         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
569         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
570         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
571         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
572         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
573         memset for PPC64.
574         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
575
576 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
577
578         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
580         implementations.
581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
582         (__libc_ifunc_impl_list): Likewise.
583         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
584         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
585         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
586         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
587         memcmp for PPC64.
588
589 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
590
591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
592         multiarch for POWER/PPC64.
593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
594         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
595         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
596         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
597         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
598         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
599         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
600         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
601         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
602         memcpy for PPC64.
603
604 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
605
606         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
607         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
608         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
609         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
610         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
611         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
612         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
613         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
614         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
615         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
616         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
617         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
618         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
619         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
620         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
628
629 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
630
631         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
632
633 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
634
635         * benchtests/Makefile (bench): Add exp2 and log2.
636         (LDLIBS-bench-exp2): Add -lm.
637         (LDLIBS-bench-log2): Likewise.
638         * benchtests/exp2-inputs: New inputs file.
639         * benchtests/log2-inputs: New inputs file.
640         * benchtests/log-inputs: Add new inputs.
641         * benchtests/tan-inputs: Likewise.
642
643 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
644
645         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
646         definition...
647         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
648         csloww1, csloww2): ... from here.
649
650         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
651         instead of structures.
652         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
653         (POLYNOMIAL): Likewise.
654         (TAYLOR_SLOW): Likewise.
655         (__sin): Likewise.
656         (__cos): Likewise.
657         (slow1): Likewise.
658         (slow2): Likewise.
659         (sloww): Likewise.
660         (sloww1); Likewise.
661         (sloww2): Likewise.
662         (bsloww1): Likewise.
663         (bsloww2): Likewise.
664         (cslow2): Likewise.
665         (csloww): Likewise.
666         (csloww1): Likewise.
667         (csloww2): Likewise.
668
669 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
670
671         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
672         (__malloc_assert, __libc_realloc, __libc_calloc,
673         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
674         memcpy and memset.
675         * malloc/hooks.c (realloc_check): Likewise.
676
677 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
678
679         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
680         * malloc/arena.c: Remove PER_THREAD conditional.
681         [!PER_THREAD]: Remove code.
682         (ptmalloc_unlock_all2): Likewise.
683         (ptmalloc_init): Likewise.
684         (_int_new_arena): Likewise.
685         (arena_get2): Likewise.
686         * malloc/hooks.c (__malloc_get_state): Likewise.
687         (__malloc_set_state): Likewise.
688         * malloc/malloc.c: Likewise.
689         (struct malloc_state): Likewise.
690         (struct malloc_par): Likewise.
691         (__libc_realloc): Likewise.
692         (__libc_mallopt): Likewise.
693
694 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
695
696         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
697
698 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
699
700         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
701         macro to a function.  Check for zero perturb_byte.
702         (_int_malloc, _int_free): Remove zero perturb_byte checks.
703
704 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
705
706         * malloc/malloc.c: (force_reg): Remove.
707         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
708         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
709         force_reg by atomic_forced_read.
710         * malloc/arena.c (ptmalloc_init): Likewise.
711         * malloc/hooks.c (top_check): Likewise.
712
713 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
714
715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
716
717 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
718
719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
720
721 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
722
723         * math/auto-libm-test-in: Add tests of lgamma.
724         * math/auto-libm-test-out: Regenerated.
725         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
726         (M_LOG_2_SQRT_PIl): Likewise.
727         (lgamma_test_data): Use AUTO_TESTS_f_f1.
728         * math/gen-auto-libm-tests.c (func_calc_method): Add value
729         mpfr_f_f1.
730         (func_calc_desc): Add mpfr_f_f1 union field.
731         (ARGS1): New macro.
732         (ARGS2): Likewise.
733         (ARGS3): Likewise.
734         (ARGS4): Likewise.
735         (RET1): Likewise.
736         (RET2): Likewise.
737         (CALC): Likewise.
738         (FUNC): Likewise.
739         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
740         (test_functions): Add lgamma.
741         (calc_generic_results): Handle mpfr_f_f1.
742         * sysdeps/i386/fpu/libm-test-ulps: Update.
743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
744
745 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
746
747         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
748         __mpn_add_n for PowerPC64/POWER7.
749         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
750         __mpn_sub_n for PowerPC64/POWER7.
751
752 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
753
754         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
755         __mpn_addmul_1 for PowerPC64.
756         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
757         __mpn_submul_1 for PowerPC64.
758         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
759         for PowerPC64.
760         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
761         for PowerPC64.
762
763 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
764
765         [BZ #15089]
766         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
767
768 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
769
770         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
771
772 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
773
774         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
775         add multiarch folders.
776         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
777         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
778         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
779         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
780         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
781         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
782         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
783         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
784         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
785         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
786         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
793
794 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
795
796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
797         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
799         New file.
800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
801         New file.
802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
803         multiarch __ieee754_hypot for PowerPC32.
804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
805         New file.
806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
807         New file.
808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
809         multiarch __ieee754_hypotf for PowerPC32.
810
811 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
812
813         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
814         long_double_symbol only if __logbl is defined.
815         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
816         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
817         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
818         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
820         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
821         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
822         path for implementation.
823         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
824         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
826         logb, and logbl multiarch implementations for PowerPC32.
827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
828         file.
829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
830         file.
831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
832         multiarch logb for PowerPC32.
833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
834         file.
835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
836         file.
837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
838         multiarch logbf for PowerPC32.
839         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
841         file.
842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
843         multiarch logbl implementation for PowerPC32.
844
845 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
846
847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
848         and modff multiarch implementations.
849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
850         New file.
851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
852         New file.
853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
854         multiarch modf for PowerPC32.
855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
856         New file.
857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
858         New file.
859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
860         multiarch modff for PowerPC32.
861
862 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
863
864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
865         and lrintf multiarch implementations.
866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
867         New file.
868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
869         New file.
870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
871         multiarch lrint for PowerPC32.
872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
873         file: multiarch lrintf for PowerPC32.
874
875 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
876
877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
878         and lroundf multiarch implementations.
879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
880         New file.
881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
882         New file.
883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
884         New file.
885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
886         multiarch lround for PowerPC32.
887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
888         file: multiarch lroundf for PowerPC32.
889
890 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
891
892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
893         copysign and copysignf multiarch implementations.
894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
895         New file.
896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
897         New file.
898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
899         file: multiarch copysign for PowerPC32.
900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
901         file: multiarch copysignf for PowerPC32.
902
903 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
904
905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
906         and truncf multiarch implementations.
907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
908         New file.
909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
910         file.
911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
912         multiarch trunc for PowerPC32.
913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
914         New file.
915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
916         New file.
917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
918         multiarch truncf for PowerPC32.
919
920 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
921
922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
923         and roundf multiarch implementations.
924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
925         New file.
926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
927         file.
928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
929         multiarch round for PowerPC32.
930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
931         New file.
932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
933         New file.
934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
935         multiarch roundf for PowerPC32.
936
937 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
938
939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
940         and floorf multiarch implementations.
941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
942         New file.
943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
944         file.
945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
946         multiarch floor for PowerPC32.
947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
948         New file.
949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
950         New file.
951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
952         multiarch floorf for PowerPC32.
953
954 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
955
956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
957         and ceilf multiarch implementations.
958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
959         New file.
960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
961         file.
962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
963         multiarch ceil for PowerPC32.
964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
965         New file.
966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
967         file.
968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
969         multiarch ceilf for PowerPC32.
970
971 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
972
973         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
974         is defined.
975         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
976         FINITEF is defined.
977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
978         and finitef multiarch implementations.
979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
980         New file.
981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
982         file.
983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
984         multiarch finite for PowerPC32.
985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
986         New file.
987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
988         file: multiarch finitef for PowerPC32.
989
990 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
991
992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
993         and isinff multiarch implementations.
994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
995         file.
996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
997         file.
998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
999         multiarch isinf for PowerPC32.
1000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1001         New file.
1002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1003         multiarch isinff for PowerPC32.
1004
1005 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1006
1007         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1008         alias when __isnan is defined.
1009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1010         and isnanf multiarch implementations.
1011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1012         file.
1013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1014         file.
1015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1016         file.
1017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1018         file.
1019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1020         multiarch isnan for PowerPC32.
1021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1022         New file.
1023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1024         New file.
1025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1026         multiarch isnanf for PowerPC32.
1027
1028 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1029
1030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1031         and sqrtf multiarch implementations.
1032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1033         file.
1034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1035         file.
1036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1037         multiarch sqrt for PowerPC32.
1038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1039         file.
1040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1041         file.
1042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1043         multiarch sqrtf for PowerPC32.
1044
1045 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1046
1047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1048         and llroundf multiarch implementations.
1049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1050         New file.
1051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1052         New file.
1053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1054         New file.
1055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1056         file: multiarch llround for PowerPC32.
1057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1058         file: multiarch llroundf for PowerPC32.
1059
1060 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1061
1062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1063         multiarch PowerPC32 fpu implementations.
1064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1065         New file.
1066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1067         New file.
1068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1069         multiarch llrint for PowerPC32.
1070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1071         New file.
1072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1073         New file.
1074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1075         file.
1076
1077 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1078
1079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1080
1081 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1082
1083         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1084         file.
1085         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1086         file.
1087         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1088         file.
1089         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1090         multiarch wordcopy for PPC32.
1091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1092         wordcopy objects.
1093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1094         (__libc_ifunc_impl_list): Likewise.
1095         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1096         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1097         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1098         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1099         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1100         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1101
1102 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1103
1104         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1106         file.
1107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1108         file.
1109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1110         file.
1111         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1112         multiarch wcscpy for PPC32.
1113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1114         multiarch objects.
1115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1116         (__libc_ifunc_impl_list): Likewise.
1117         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1118         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1119         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1120         sysdeps/powerpc/power6/wcscpy.c.
1121
1122 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1123
1124         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1126         file.
1127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1128         file.
1129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1130         file.
1131         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1132         multiarch wcsrchr for PPC32.
1133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1134         multiarch objects.
1135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1136         (__libc_ifunc_impl_list): Likewise.
1137         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1138         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1139         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1140         sysdeps/powerpc/power6/wcsrchr.c.
1141
1142 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1143
1144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1145         file.
1146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1147         file.
1148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1150         multiarch wcschr for PPc32.
1151         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1152         multiarch objects.
1153         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1154         (__libc_ifunc_impl_list): Likewise.
1155         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1156         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1157         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1158         sysdeps/powerpc/power6/wcschr.c.
1159
1160 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1161
1162         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1163         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1164         file.
1165         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1166         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1167         file: multiarch strchr for PPC32.
1168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1169         multiarch objects.
1170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1171         (__libc_ifunc_impl_list): Likewise.
1172
1173 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1174
1175         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1176         name.
1177         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1178         file.
1179         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1180         file.
1181         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1182         multiarch strchrnul for PPC32.
1183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1184         multiarch objects.
1185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1186         (__libc_ifunc_impl_list): Likewise.
1187
1188 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1189
1190         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1191         file.
1192         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1193         multiarch strncasecmp for PPC32.
1194         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1195         file.
1196         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1197         multiarch strncasecmp_l for PPC32.
1198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1199         strncasecmp multiarch objects.
1200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1201         (__libc_ifunc_impl_list): Likewise.
1202
1203 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1204
1205         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1206         file.
1207         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1208         multiarch strncasecmp for PPC32.
1209         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1210         New file.
1211         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1212         multiarch strcasecmp_l for PPC32.
1213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1214         multiarch objects.
1215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1216         (__libc_ifunc_impl_list): Likewise.
1217
1218 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1219
1220         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1221         file.
1222         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1223         file.
1224         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1225         multiarch strncmp for PPC32.
1226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1227         multiarch objects.
1228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1229         (__libc_ifunc_impl_list): Likewise.
1230
1231 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1232
1233         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1234         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1235         file.
1236         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1237         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1239         multiarch objects.
1240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1241         (__libc_ifunc_impl_list): Likewise.
1242
1243 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1244
1245         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1246         file.
1247         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1248         file.
1249         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1251         multiarch objects.
1252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1253         (__libc_ifunc_impl_list): Likewise.
1254
1255 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1256
1257         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1258         file.
1259         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1260         file.
1261         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1262         multiarch rawmemchr for PPC32.
1263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1264         multiarch objects.
1265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1266         (__libc_ifunc_impl_list): Likewise.
1267
1268 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1269
1270         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1271         file.
1272         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1273         file.
1274         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1275         file: memrchr multiarch for PPC32.
1276         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1277         multiarch objects.
1278         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1279         (__libc_ifunc_impl_list): Likewise.
1280
1281 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1282
1283         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1284         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1285         file.
1286         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1287         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1288         multiarch memchr for PPC32.
1289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1290         multiarch objects.
1291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1292         (__libc_ifunc_impl_list): Likewise.
1293
1294 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1295
1296         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1297         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1298         file.
1299         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1300         file.
1301         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1302         file: multiarch mempcpy for PPC32.
1303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1304         multiarch objects.
1305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1306         (__libc_ifunc_impl_list): Likewise.
1307
1308 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1309
1310         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1311         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1312         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1313         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1314         multiarch bzero for PPC32.
1315         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1316         file.
1317         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1318         file.
1319         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1320         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1321         file: multiarch memset for PPC32.
1322         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1324         memset multiarch objects.
1325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1326         (__libc_ifunc_impl_list): Likewise.
1327
1328 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1329
1330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1331         file.
1332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1334         memcmp for PPC32.
1335         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1337         multiarch objects.
1338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1339         (__libc_ifunc_impl_list): Likewise.
1340
1341 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1342
1343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1346         file.
1347         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1348         file.
1349         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1350         file.
1351         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1352         multiarch memcpy for PPC32.
1353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1354         multiarch objects.
1355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1356         (__libc_ifunc_impl_list): Likewise.
1357
1358 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1359
1360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1361         support multiarch for POWER/PPC32.
1362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1363         Likewise.
1364         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1366         Implies file to make multiarch folder appers before the fpu and
1367         default folder for power4 configuration.
1368
1369 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1370
1371         * scripts/bench.pl: Append volatile keyword to type.
1372
1373 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1374
1375         * sysdeps/sh/sotruss-lib.c: New file.
1376         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1377
1378 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1379
1380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1381
1382 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1383
1384         [BZ #6810]
1385         * math/w_tgamma.c: Include <errno.h>.
1386         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1387         * math/w_tgammaf.c: Include <errno.h>.
1388         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1389         * math/w_tgammal.c: Include <errno.h>.
1390         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1391         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1392         underflow.  Add more tgamma tests.
1393         * math/auto-libm-test-out: Regenerated.
1394         * sysdeps/i386/fpu/libm-test-ulps: Update.
1395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1396
1397         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1398         sin, sinh, tan, tanh, tgamma, y0 and y1.
1399         * math/auto-libm-test-out: Regenerated.
1400         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1401         (TEST_COND_x86): Likewise.
1402         (M_E2l): Remove macro.
1403         (M_E3l): Likewise.
1404         (M_2_SQRT_PIl): Likewise.
1405         (M_SQRT_PIl): Likewise.
1406         (M_1_DIV_El): Likewise.
1407         (log_test_data): Use AUTO_TESTS_f_f.
1408         (log10_test_data): Likewise.
1409         (log1p_test_data): Likewise.
1410         (log2_test_data): Likewise.
1411         (sin_test_data): Likewise.
1412         (sin_tonearest_test_data): Likewise.
1413         (sin_towardzero_test_data): Likewise.
1414         (sin_downward_test_data): Likewise.
1415         (sin_upward_test_data): Likewise.
1416         (sinh_test_data): Likewise.
1417         (sinh_tonearest_test_data): Likewise.
1418         (sinh_towardzero_test_data): Likewise.
1419         (sinh_downward_test_data): Likewise.
1420         (sinh_upward_test_data): Likewise.
1421         (tan_test_data): Likewise.
1422         (tan_tonearest_test_data): Likewise.
1423         (tan_towardzero_test_data): Likewise.
1424         (tan_downward_test_data): Likewise.
1425         (tan_upward_test_data): Likewise.
1426         (tanh_test_data): Likewise.
1427         (tgamma_test_data): Likewise.
1428         (y0_test_data): Likewise.
1429         (y1_test_data): Likewise.
1430         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1431         (special_real_inputs): Add pi/4.
1432         * sysdeps/i386/fpu/libm-test-ulps: Update.
1433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1434
1435 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1436
1437         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1438         "longjmp_target" static probes.
1439         (__longjmp): Rename to __longjmp_symbol.
1440         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1441         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1442         on which longjmp to generate.
1443         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1444         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1445         probe.
1446         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1447         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1448         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1449         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1450         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1451         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1453         __longjmp_symbol based on which __longjmp to generate.
1454         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1455         probe.
1456         (setjmp): Rename to setjmp_symbol.
1457         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1458         (_setjmp): Rename to _setjmp_symbol.
1459         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1460         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1461         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1462         which setjmp to generate.
1463         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1464         "longjmp_target" static probes.
1465
1466 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1467
1468         * benchtests/README: Add note about output arguments.
1469         * benchtests/bench-sincos.c: Remove file.
1470         * benchtests/sincos-inputs: New file.
1471         * scripts/bench.pl: Identify output arguments and define
1472         static variables for them.
1473
1474         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1475
1476         [BZ #15941]
1477         * Makefile (INSTALL): Add install-plain.texi as the primary
1478         dependency.
1479         * manual/install-plain.texi: New file.
1480         * manual/install.texi: Include node directive only for
1481         non-plaintext output.
1482
1483 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1484
1485         * stdlib/longlong.h: Update from GCC.
1486
1487         [BZ #6807]
1488         [BZ #15901]
1489         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1490         * math/w_j0f.c (y0f): Likewise.
1491         * math/w_j0l.c (__y0l): Likewise.
1492         * math/w_j1.c (y1): Likewise.
1493         * math/w_j1f.c (y1f): Likewise.
1494         * math/w_j1l.c (__y1l): Likewise
1495         * math/w_jn.c (yn): Likewise.
1496         * math/w_jnf.c (ynf): Likewise.
1497         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1498         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1499         value for Bessel function domain errors outside _SVID_ mode.
1500         Adjust sign of return value for yn (negative integer, 0).
1501         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1502         by zero in return for negative x and set sign appropriately for
1503         negative n.
1504         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1505         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1506         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1507         expectations in error cases.
1508         (y1_test_data): Likewise.
1509         (yn_test_data): Likewise.
1510         * sysdeps/i386/fpu/libm-test-ulps: Update.
1511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1512
1513 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1514
1515         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1516         "64" to "64-v1".  Add "64-v2".
1517         (abi-64-options): Rename to ...
1518         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
1519         (abi-64-condition): Rename to ...
1520         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
1521         (abi-64-ld-soname): Rename to ...
1522         (abi-64-v1-ld-soname): ... this.
1523         (abi-64-v2-options): Define.
1524         (abi-64-v2-condition): Likewise.
1525         (abi-64-v2-ld-soname): Likewise.
1526         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1527         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1531
1532 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1533             Alan Modra  <amodra@gmail.com>
1534
1535         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1536         New versions for use with the ELFv2 ABI.
1537         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1538         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1539         declaration.
1540         (struct La_ppc64v2_retval): Likewise.
1541         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1542         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1543         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1544         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1545         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1546         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1547         Do not save or restore CR.
1548         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1549         (_dl_profile_resolve): Do no save or restore CR.  Support extended
1550         return values for ELFv2 ABI.  Fix location of FPR return registers.
1551         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1552         updated values for _CALL_ELF == 2.
1553         (La_regs, La_retval, int_retval): Likewise.
1554
1555 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1556
1557         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1558         (FRAME_MIN_SIZE_PARM): Likewise.
1559         (FRAME_BACKCHAIN): Likewise.
1560         (FRAME_CR_SAVE): Likewise.
1561         (FRAME_LR_SAVE): Likewise.
1562         (FRAME_TOC_SAVE): Likewise.
1563         (FRAME_PARM_SAVE): Likewise.
1564         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1565         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1566         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1567         (call_mcount_parm_offset): New macro.
1568         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1569         (PROF): Use symbolic stack frame offsets.
1570         (TAIL_CALL_SYSCALL_ERROR): Likewise.
1571         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1572         Redefine in terms of FRAME_MIN_SIZE.
1573         (_dl_runtime_resolve): Use symbolic stack frame offsets.
1574         (_dl_profile_resolve): Likewise.  Update comment.
1575         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1576         symbols stack frame offsets.
1577         (__sigsetjmp): Likewise.
1578         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1579         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1580         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1581         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1582
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1584         (FRAME_BACKCHAIN): Remove.
1585         (FRAME_CR_SAVE): Likewise.
1586         (FRAME_LR_SAVE): Likewise.
1587         (FRAME_COMPILER_DW): Likewise.
1588         (FRAME_LINKER_DW): Likewise.
1589         (FRAME_TOC_SAVE): Likewise.
1590         (FRAME_PARM_SAVE): Likewise.
1591         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1592         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1593         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1595         (CHECK_SP): Use symbolic stack frame offsets.
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1597         zone" instead of caller's parameter save area for temp storage.
1598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1599         Likewise.  Also, use symbolic stack frame offsets.
1600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1601         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1602         our own stack frame instead of the caller's.
1603         (__socket): Use symbolic stack frame offsets.
1604
1605 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1606             Alan Modra  <amodra@gmail.com>
1607
1608         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1609         Define.
1610         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1611         PPC64_LOCAL_ENTRY_OFFSET): Define.
1612         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1613         New function.
1614         (elf_machine_fixup_plt): Call it.
1615         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1616         reloc arguments.
1617         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1618         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1619         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1620         r2 before calling target.
1621
1622 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1623             Alan Modra  <amodra@gmail.com>
1624
1625         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1626         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1627         versions of macros to support ELFv2 ABI.
1628         (LOCALENTRY): New macro.
1629         (ENTRY, EALIGN): Use it.
1630         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1631         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1632         fall through into ENTRY entry point.
1633         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1634         Only define if _CALL_ELF != 2.
1635
1636         (elf_machine_matches_host): Verify ABI version matches.
1637         (RTLD_START): Use LOCALENTRY.
1638         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1639         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1640         (PLT_ENTRY_WORDS): New macro.
1641         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1642         (elf_machine_runtime_setup): Support ELFv2 ABI.
1643         (elf_machine_fixup_plt): Likewise.
1644         (elf_machine_plt_conflict): Likewise.
1645         (resolve_ifunc): Likewise.
1646         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1647         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1648         Likewise.
1649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1650         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1652         (makecontext): Support ELFv2 ABI.
1653         * elf/elf.h (EF_PPC64_ABI): Define.
1654
1655 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1656
1657         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1658         New assembler macro.
1659         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1660         [ASSEMBLER] (ENTRY): ... but instead here ...
1661         [ASSEMBLER] (EALIGN): ... and here.
1662         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1663         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1664         [!ASSEMBLER] (ENTRY_2): Use it.
1665         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1666         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1667         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1668         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1669         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1671         Use PPC64_LOAD_FUNCPTR.
1672
1673 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1674
1675         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1676
1677 2013-12-04  Alan Modra  <amodra@gmail.com>
1678
1679         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1680         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1681         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1682         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1683
1684         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1685         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1686         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1687         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1688         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1689         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1690
1691 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1692
1693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1694         (__makecontext): Fix incorrect CFI when backtracing out of
1695         context created via makecontext.
1696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1697         (__setcontext): Fix incorrect CFI during switch to new context.
1698         (__novec_setcontext): Likewise.
1699
1700 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1701
1702         [BZ #4772]
1703         * time/strptime_l.c (__strptime_internal): Allow modifiers
1704         in strptime.
1705         * time/tst-strptime.c (day_tests): Add testcase.
1706
1707
1708 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1709
1710         * scripts/bench.pl: Skip over blank lines.
1711
1712 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1713
1714         [BZ #926]
1715         * manual/time.texi (Calendar Time): Clarify what timezone functions
1716         use.
1717
1718 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1719
1720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1721
1722 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1723
1724         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1725         implementation.
1726         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1727         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1728         * debug/memset_chk.c (__memset_chk): Likewise.
1729         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1730         * debug/strncpy_chk.c: Likewise.
1731
1732 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1733
1734         [BZ #15268]
1735         [BZ #15425]
1736         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1737         (__ieee754_exp): For possibly underflowing results, check size of
1738         result and force underflow exception if required.
1739         * math/auto-libm-test-in: Add more tests of exp.
1740         * math/auto-libm-test-out: Regenerated.
1741         * sysdeps/i386/fpu/libm-test-ulps: Update.
1742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1743
1744         [BZ #16283]
1745         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1746         * math/w_exp2f.c (__exp2f): Likewise.
1747         * math/w_exp2l.c (__exp2l): Likewise.
1748         * math/auto-libm-test-in: Do not allow missing errno on exp2
1749         underflow.
1750         * math/auto-libm-test-out: Regenerated.
1751
1752 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1753
1754         [BZ #16274]
1755         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1756         handle filename validation.
1757         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1758         (do_open): Delete.
1759
1760 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1761
1762         [BZ #6786]
1763         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1764         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1765         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1766         <float.h>.
1767         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1768         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1769         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1770         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1771         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1772         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1773         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1774         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1775         Add more erfc tests.
1776         * math/auto-libm-test-out: Regenerated.
1777         * sysdeps/i386/fpu/libm-test-ulps: Update.
1778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1779
1780         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1781         exp2, expm1, j0 and j1.
1782         * math/auto-libm-test-out: Regenerated.
1783         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1784         (erfc_test_data): Likewise.
1785         (exp_test_data): Likewise.
1786         (exp_tonearest_test_data): Likewise.
1787         (exp_towardzero_test_data): Likewise.
1788         (exp_downward_test_data): Likewise.
1789         (exp_upward_test_data): Likewise.
1790         (exp10_test_data): Likewise.
1791         (exp2_test_data): Likewise.
1792         (expm1_test_data): Likewise.
1793         (j0_test_data): Likewise.
1794         (j1_test_data): Likewise.
1795         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1796         (input_flag_type): Add flag_xfail_rounding.
1797         (input_flags): Add xfail-rounding.
1798         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1799         (output_for_one_input_case): Handle flag_xfail_rounding.
1800         * sysdeps/i386/fpu/libm-test-ulps: Update.
1801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1802
1803 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1804
1805         [BZ #16289]
1806         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1807         division by 0.
1808
1809 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1810
1811         [BZ #16195]
1812         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1813         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1814         (STAP_PROBE0): New macro.
1815         (STAP_PROBE1): Likewise.
1816         (STAP_PROBE2): Likewise.
1817         (STAP_PROBE3): Likewise.
1818         (STAP_PROBE4): Likewise.
1819
1820 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1821
1822         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1823
1824 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1825
1826         * benchtests/Makefile (bench): Add sqrt.
1827         (LDLIBS-bench-sqrt): New.
1828         * benchtests/sqrt-input: New.
1829
1830 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1831
1832         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1833         (GAIH_EAI): Likewise.
1834         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1835         (gaih_inet): Likewise.
1836         (getaddrinfo): Don't use GAIH_EAI.
1837
1838         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1839         (struct gaih): Remove definition.
1840
1841 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1842
1843         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1844         Use HERRNOP directly.
1845
1846 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1847
1848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1849
1850 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1851
1852         * math/gen-auto-libm-tests.c (test_functions): Add more
1853         single-argument functions.
1854         (special_fill_pi_2): New function.
1855         (special_fill_minus_pi_2): Likewise.
1856         (special_fill_pi_6): Likewise.
1857         (special_fill_minus_pi_6): Likewise.
1858         (special_fill_pi_3): Likewise.
1859         (special_fill_2pi_3): Likewise.
1860         (special_fill_e): Likewise.
1861         (special_fill_1_e): Likewise.
1862         (special_fill_e_minus_1): Likewise.
1863         (special_real_inputs): Add more special inputs.
1864         (output_for_one_input_case): Do not require ERANGE on underflow to
1865         zero if round-to-nearest result does not underflow to zero, unless
1866         exact results required.
1867         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1868         atan, atanh, cbrt, cos and cosh.
1869         * math/auto-libm-test-out: Regenerated.
1870         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1871         (acos_tonearest_test_data): Likewise.
1872         (acos_towardzero_test_data): Likewise.
1873         (acos_downward_test_data): Likewise.
1874         (acos_upward_test_data): Likewise.
1875         (acosh_test_data): Likewise.
1876         (asin_test_data): Likewise.
1877         (asin_tonearest_test_data): Likewise.
1878         (asin_towardzero_test_data): Likewise.
1879         (asin_upward_test_data): Likewise.
1880         (asinh_test_data): Likewise.
1881         (atan_test_data): Likewise.
1882         (atanh_test_data): Likewise.
1883         (cbrt_test_data): Likewise.
1884         (cos_test_data): Likewise.
1885         (cos_tonearest_test_data): Likewise.
1886         (cos_towardzero_test_data): Likewise.
1887         (cos_downward_test_data): Likewise.
1888         (cos_upward_test_data): Likewise.
1889         (cosh_test_data): Likewise.
1890         (cosh_tonearest_test_data): Likewise.
1891         (cosh_towardzero_test_data): Likewise.
1892         (cosh_downward_test_data): Likewise.
1893         (cosh_upward_test_data): Likewise.
1894         * sysdeps/i386/fpu/libm-test-ulps: Update.
1895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1896
1897 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1898
1899         [BZ #6787]
1900         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1901         * math/w_exp10f.c (__exp10f): Likewise.
1902         * math/w_exp10l.c (__exp10l): Likewise.
1903         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1904         errno settings in existing tests.
1905
1906         [BZ #14032]
1907         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1908         precision control set to double precision.
1909         * sysdeps/i386/fpu/w_sqrt.c: New file.
1910         * math/auto-libm-test-in: Add more tests.
1911         * math/auto-libm-test-out: Update.
1912
1913         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1914         (sqrt_test_tonearest): New function.
1915         (sqrt_towardzero_test_data): New variable.
1916         (sqrt_test_towardzero): New function.
1917         (sqrt_downward_test_data): New variable.
1918         (sqrt_test_downward): New function.
1919         (sqrt_upward_test_data): New variable.
1920         (sqrt_test_upward): New function.
1921         (main): Call the new functions.
1922
1923         * math/gen-auto-libm-tests.c: New file.
1924         * math/auto-libm-test-in: Likewise.
1925         * math/auto-libm-test-out: New generated file.
1926         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1927         variables.
1928         (%beautify): Add generated representations of zero.
1929         (top level): Set $auto_input and call parse_auto_input.
1930         (beautify): Remove trailing "f" from hex float constants.
1931         (parse_args): Handle XFAIL_TEST.
1932         (convert_condition): New function.
1933         (or_value): Likewise.
1934         (or_cond_value): Likewise.
1935         (generate_testfile): Handle AUTO_TESTS_* lines.
1936         (parse_auto_input): New function.
1937         * math/libm-test.inc (XFAIL_TEST): New macro.
1938         (ERRNO_UNCHANGED): Update value.
1939         (ERRNO_EDOM): Likewise.
1940         (ERRNO_ERANGE): Likewise.
1941         (IGNORE_RESULT): Likewise.
1942         (TEST_COND_flt_32): New macro.
1943         (TEST_COND_dbl_64): Likewise.
1944         (TEST_COND_ldbl_96_intel): Likewise.
1945         (TEST_COND_ldbl_96_m68k): Likewise.
1946         (TEST_COND_ldbl_128): Likewise.
1947         (TEST_COND_ldbl_128ibm): Likewise.
1948         (TEST_COND_long32): Likewise.
1949         (TEST_COND_long64): Likewise.
1950         (TEST_COND_before_rounding): Likewise.
1951         (TEST_COND_after_rounding): Likewise.
1952         (enable_test): Handle XFAIL_TEST flag.
1953         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1954         with finite results.
1955         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1956         auto-libm-test-out.
1957
1958 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1959             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1960
1961         [BZ #16214]
1962         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1963         __tls_get_addr_internal instead of __tls_get_offset in order to
1964         avoid GOT pointer dependency.  Make rtld export
1965         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1966         __tls_get_addr since we are a __tls_get_offset platform.
1967         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1968         GOT pointer being set up before.
1969         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1970
1971 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1972
1973         * manual/math.texi (Errors in Math Functions): Document accuracy
1974         goals.
1975
1976         [BZ #15004]
1977         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1978         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1979         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1980         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1981         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1982         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1983         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1984         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1985         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1986         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1987         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1988         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1989         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1990         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1991         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1992         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1993
1994         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1995         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1996         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1997         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1998         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1999         Likewise.
2000         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2001         Likewise.
2002         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2003         Likewise.
2004         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2005         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2006         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2007         atomic-feupdateenv and flt-rounds.
2008         * sysdeps/powerpc/nofpu/Versions (libc): Add
2009         __atomic_feholdexcept, __atomic_feclearexcept,
2010         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2011         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2012         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2013         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2014         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2015         here.
2016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2017         Update.
2018
2019         * manual/arith.texi (FP Exceptions): Document that exceptions may
2020         not be raised when matherr is used.
2021         (Math Error Reporting): Document overflow in directed rounding
2022         modes.  Document that errno may not be set when finite values are
2023         returned on overflow.  Document intent to set errno on underflow
2024         only for underflow to zero.
2025
2026         [BZ #16271]
2027         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2028         round-to-nearest then adjust result for other rounding modes.
2029         * include/fenv.h (fegetround): Use libm_hidden_proto.
2030         * math/fegetround.c (fegetround): Use libm_hidden_def.
2031         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2032         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2033         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2034         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2035         Likewise.
2036         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2037         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2038         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2039         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2040
2041 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2042
2043         [BZ #16077]
2044         * nss/Versions (libnss_files): Add
2045         _nss_files_gethostbyname3_r.
2046         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2047         New function.
2048         (HOST_DB_LOOKUP): Remove macro.
2049         (_nss_files_gethostbyname_r): Implement function without the
2050         HOST_DB_LOOKUP macro.
2051         (_nss_files_gethostbyname2_r): Likewise.
2052
2053 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2054
2055         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2056
2057 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2058
2059         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2060         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2061         warning.
2062
2063 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2064
2065         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2066         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2067         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2068         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2069         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2070         __fe_nomask_env_priv and attribute_hidden.
2071         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2072         (libc_feupdateenv_test_ppc): Likewise.
2073         (libc_feresetround_ppc): Likewise.
2074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2075         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2076         compat_symbol macro.
2077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2078         (__fe_nomask_env): Likewise.
2079         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2080
2081 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2082
2083         * string/Makefile: Remove ifunc tests.
2084         * string/test-string.h: Define TEST_IFUNC.
2085         * string/test-bcopy-ifunc.c: Remove.
2086         * string/test-bzero-ifunc.c: Likewise.
2087         * string/test-memccpy-ifunc.c: Likewise.
2088         * string/test-memchr-ifunc.c: Likewise.
2089         * string/test-memcmp-ifunc.c: Likewise.
2090         * string/test-memcpy-ifunc.c: Likewise.
2091         * string/test-memmem-ifunc.c: Likewise.
2092         * string/test-memmove-ifunc.c: Likewise.
2093         * string/test-mempcpy-ifunc.c: Likewise.
2094         * string/test-memrchr-ifunc.c: Likewise.
2095         * string/test-memset-ifunc.c: Likewise.
2096         * string/test-rawmemchr-ifunc.c: Likewise.
2097         * string/test-stpcpy-ifunc.c: Likewise.
2098         * string/test-stpncpy-ifunc.c: Likewise.
2099         * string/test-strcasecmp-ifunc.c: Likewise.
2100         * string/test-strcasestr-ifunc.c: Likewise.
2101         * string/test-strcat-ifunc.c: Likewise.
2102         * string/test-strchr-ifunc.c: Likewise.
2103         * string/test-strchrnul-ifunc.c: Likewise.
2104         * string/test-strcmp-ifunc.c: Likewise.
2105         * string/test-strcpy-ifunc.c: Likewise.
2106         * string/test-strcspn-ifunc.c: Likewise.
2107         * string/test-strlen-ifunc.c: Likewise.
2108         * string/test-strncasecmp-ifunc.c: Likewise.
2109         * string/test-strncat-ifunc.c: Likewise.
2110         * string/test-strncmp-ifunc.c: Likewise.
2111         * string/test-strncpy-ifunc.c: Likewise.
2112         * string/test-strnlen-ifunc.c: Likewise.
2113         * string/test-strpbrk-ifunc.c: Likewise.
2114         * string/test-strrchr-ifunc.c: Likewise.
2115         * string/test-strspn-ifunc.c: Likewise.
2116         * string/test-strstr-ifunc.c: Likewise.
2117
2118 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2119
2120         * benchtests/Makefile: Remove ifunc tests.
2121         * benchtests/bench-string.h: Define TEST_IFUNC.
2122         * benchtests/bench-bcopy-ifunc.c: Remove.
2123         * benchtests/bench-bzero-ifunc.c: Likewise.
2124         * benchtests/bench-memccpy-ifunc.c: Likewise.
2125         * benchtests/bench-memchr-ifunc.c: Likewise.
2126         * benchtests/bench-memcmp-ifunc.c: Likewise.
2127         * benchtests/bench-memcpy-ifunc.c: Likewise.
2128         * benchtests/bench-memmem-ifunc.c: Likewise.
2129         * benchtests/bench-memmove-ifunc.c: Likewise.
2130         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2131         * benchtests/bench-memrchr-ifunc.c: Likewise.
2132         * benchtests/bench-memset-ifunc.c: Likewise.
2133         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2134         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2135         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2136         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2137         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2138         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2139         * benchtests/bench-strcat-ifunc.c: Likewise.
2140         * benchtests/bench-strchr-ifunc.c: Likewise.
2141         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2142         * benchtests/bench-strcmp-ifunc.c: Likewise.
2143         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2144         * benchtests/bench-strcpy-ifunc.c: Likewise.
2145         * benchtests/bench-strcspn-ifunc.c: Likewise.
2146         * benchtests/bench-strlen-ifunc.c: Likewise.
2147         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2148         * benchtests/bench-strncat-ifunc.c: Likewise.
2149         * benchtests/bench-strncmp-ifunc.c: Likewise.
2150         * benchtests/bench-strncpy-ifunc.c: Likewise.
2151         * benchtests/bench-strnlen-ifunc.c: Likewise.
2152         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2153         * benchtests/bench-strrchr-ifunc.c: Likewise.
2154         * benchtests/bench-strsep-ifunc.c: Likewise.
2155         * benchtests/bench-strspn-ifunc.c: Likewise.
2156         * benchtests/bench-strstr-ifunc.c: Likewise.
2157
2158 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2159
2160         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2161
2162 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2163
2164         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2165         * rt/aio.h: Likewise.
2166         * sysdeps/gnu/bits/utmp.h: Likewise.
2167         * sysdeps/gnu/bits/utmpx.h: Likewise.
2168         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2169         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2170         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2171         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2172         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2173         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2174         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2175         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2176         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2177         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2178         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2179         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2180         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2182         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2183         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2184         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2185         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2186         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2187         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2188         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2189         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2190         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2191         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2192         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2194         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2195         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2196         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2197         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2198         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2199         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2200         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2201         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2202         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2203         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2204         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2205         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2206         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2207         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2208         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2209         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2210
2211 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2212
2213         [BZ #16245]
2214         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2215         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2216
2217 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2218
2219         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2220         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2221         Likewise.
2222
2223 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2224
2225         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2226         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2227         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2228         (__fesetround): Remove define.
2229         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2230         rounding and exceptions handling.
2231         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2232         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2233         (__fe_nomask_env): Likewise.
2234         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2235         __fegetround instead of fegetround.
2236         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2237         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2238
2239 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2240
2241         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2242         it's there.
2243
2244         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2245
2246 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2247
2248         [BZ #11157]
2249         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2250         (encrypt_r): Likewise.
2251         * malloc/obstack.h (obstack_free): Likewise.
2252         * posix/unistd.h (encrypt): Likewise.
2253
2254 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2255
2256         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2257         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2258         DL_CALL_DT_FINI() that call the functions directly.
2259         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2260         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2261         * elf/dl-fini.c: Likewise.
2262
2263 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2264
2265         * malloc/hooks.c (memalign_check): Add alignment rounding.
2266         * malloc/malloc.c (_mid_memalign): New function.
2267         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2268         Implement by calling _mid_memalign.
2269         * manual/probes.texi (Memory Allocation Probes): Remove
2270         memory_valloc_retry and memory_pvalloc_retry.
2271
2272 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2273
2274         * locale/programs/locarchive.c (open_archive): Add const
2275         qualifier to ARCHIVEFNAME and copy default fname to
2276         DEFAULT_FNAME.
2277
2278         [BZ #15601]
2279         * libio/tst-widetext.input: Rename Oriya to Odia.
2280         * locale/iso-639.def: Likewise.
2281
2282         * manual/probes.texi (Mathematical Function Probes): Add
2283         documentation for sin, cos, asin and acos probes.
2284         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2285         (__sin32): Add slowasin probe.
2286         (__cos32): Add slowacos probe.
2287         (__mpsin): Add slowsin probe.
2288         (__mpcos): Add slowcos probe.
2289
2290 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2291
2292         [BZ #15483]
2293         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2294         thread-local __sim_exceptions_thread and global
2295         __sim_exceptions_global.
2296         (__sim_disabled_exceptions): Change to thread-local
2297         __sim_disabled_exceptions_thread and global
2298         __sim_disabled_exceptions_global.
2299         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2300         and global __sim_round_mode_global.
2301         (__simulate_exceptions): Use thread-local floating-point state and
2302         set global state from it as needed.
2303         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2304         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2305         __sim_round_mode_thread.
2306         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2307         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2308         and global __sim_exceptions_global.
2309         (__sim_disabled_exceptions): Change to thread-local
2310         __sim_disabled_exceptions_thread and global
2311         __sim_disabled_exceptions_global.
2312         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2313         and global __sim_round_mode_global.
2314         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2315         (SIM_SET_GLOBAL): Likewise.
2316         * sysdeps/powerpc/soft-fp/sfp-machine.h
2317         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2318         __sim_round_mode_thread.
2319         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2320         __sim_disabled_exceptions_thread.
2321         (__sim_exceptions): Change to __sim_exceptions_thread.
2322         (__sim_disabled_exceptions): Change to
2323         __sim_disabled_exceptions_thread.
2324         (__sim_round_mode): Change to __sim_round_mode_thread.
2325         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2326         thread-local floating-point state and set global state from it as
2327         needed.
2328         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2329         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2330         (__sim_disabled_exceptions): Remove extern declaration.
2331         (feenableexcept): Use thread-local floating-point state and set
2332         global state from it as needed.
2333         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2334         extern declaration.
2335         (__sim_disabled_exceptions): Likewise.
2336         (__sim_round_mode): Likewise.
2337         (__fegetenv): Use thread-local floating-point state.
2338         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2339         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2340         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2341         floating-point state and set global state from it as needed.
2342         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2343         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2344         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2345         Likewise.
2346         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2347         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2348         Likewise.
2349         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2350         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2351         Use __sim_round_mode_thread.
2352         * math/test-fenv-tls.c: New file.
2353         * math/Makefile (tests): Add test-fenv-tls.
2354         ($(objpfx)test-fenv-tls): Depend on
2355         $(common-objpfx)nptl/libpthread.so.
2356
2357 2013-11-19  Andreas Schwab  <schwab@suse.de>
2358
2359         * locale/programs/locale.c (show_info): Decode wordarray elements.
2360         * locale/categories.def (LC_MONETARY): Add element for
2361         _NL_MONETARY_CRNCYSTR.
2362         * locale/C-monetary.c (conversion_rate): New variable.
2363         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2364         element.
2365
2366 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2367
2368         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2369         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2370
2371 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2372
2373         * elf/Makefile (tst-auxv): New test.
2374         * elf/tst-auxv.c: New
2375         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2376
2377 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2378
2379         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2380         (hidden_proto): Caller changed.
2381         (hidden_tls_proto): New macro.
2382         (libc_hidden_tls_proto): Likewise.
2383         (rtld_hidden_tls_proto): Likewise.
2384         (libm_hidden_tls_proto): Likewise.
2385         (libresolv_hidden_tls_proto): Likewise.
2386         (librt_hidden_tls_proto): Likewise.
2387         (libdl_hidden_tls_proto): Likewise.
2388         (libnss_files_hidden_tls_proto): Likewise.
2389         (libnsl_hidden_tls_proto): Likewise.
2390         (libnss_nisplus_hidden_tls_proto): Likewise.
2391         (libutil_hidden_tls_proto): Likewise.
2392
2393 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2394
2395         [BZ #10253]
2396         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2397         (decompose_rpath): Defer expansion to fillin_rpath.
2398         (_dl_init_paths): Pass linkmap to fillin_rpath.
2399
2400 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2401
2402         * benchtests/Makefile: Add strsep.
2403         * benchtests/bench-strsep.c: New file: strsep benchtest.
2404         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2405
2406 2013-11-18  Andreas Schwab  <schwab@suse.de>
2407
2408         * locale/programs/locale.c (show_info) [case byte]: Check for
2409         '\377' instead of '\177'.
2410         * locale/C-monetary.c (not_available): Always use "\377".
2411         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2412         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2413         detect unavailable sign_posn locale elements.
2414         * locale/localeconv.c (__localeconv): For grouping and
2415         mon_grouping handle "\177" and "\377" like no grouping.
2416         (INT_ELEM): New macro.  Use it to set all numeric members.
2417         * locale/programs/ld-monetary.c (monetary_read)
2418         <tok_mon_grouping>: Normalize single -1 to the empty string.
2419         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2420         Likewise.
2421
2422 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2423
2424         [BZ #16055]
2425         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2426         when we match (nil).
2427         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2428
2429 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2430
2431         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2432         (NO_TEST_INLINE): Update value.
2433         (ERRNO_UNCHANGED): Likewise.
2434         (ERRNO_EDOM): Likewise.
2435         (ERRNO_ERANGE): Likewise.
2436         (IGNORE_RESULT): Likewise.
2437         (check_float_internal): Check signs of NaN results if
2438         TEST_NAN_SIGN used.
2439         (check_complex): Pass TEST_NAN_SIGN flag through to second
2440         check_float_internal call.
2441         (copysign_test_data): Add tests with quiet NaNs as second
2442         argument.  Use TEST_NAN_SIGN.
2443         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2444         TEST_NAN_SIGN.
2445         (signbit_test_data): Add tests of quiet NaN argument.
2446         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2447
2448         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2449         $ignore_result.
2450         (parse_args): Handle function results specified as IGNORE.
2451         * math/libm-test.inc (IGNORE_RESULT): New macro.
2452         (check_float_internal): Do not check numerical result if flag
2453         IGNORE_RESULT set.
2454         (check_complex): Pass through IGNORE_RESULT to second
2455         check_float_internal call.
2456         (check_int): Do not check numerical result if flag IGNORE_RESULT
2457         set.
2458         (check_long): Likewise.
2459         (check_bool): Likewise.
2460         (check_longlong): Likewise.
2461         (lrint_test_data): Add tests of infinite and NaN arguments.
2462         (lrint_tonearest_test_data): Likewise.
2463         (lrint_towardzero_test_data): Likewise.
2464         (lrint_downward_test_data): Likewise.
2465         (lrint_upward_test_data): Likewise.
2466         (llrint_test_data): Likewise.
2467         (llrint_tonearest_test_data): Likewise.
2468         (llrint_towardzero_test_data): Likewise.
2469         (llrint_downward_test_data): Likewise.
2470         (llrint_upward_test_data): Likewise.
2471         (lround_test_data): Likewise.
2472         (llround_test_data): Likewise.
2473
2474         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2475         (ERRNO_UNCHANGED): Update value.
2476         (ERRNO_EDOM): Likewise.
2477         (ERRNO_ERANGE): Likewise.
2478         (NO_TEST_INLINE_FLOAT): New macro.
2479         (NO_TEST_INLINE_DOUBLE): Likewise.
2480         (enable_test): New function.
2481         (RUN_TEST_f_f): Check enable_test before running test.
2482         (RUN_TEST_2_f): Likewise.
2483         (RUN_TEST_fff_f): Likewise.
2484         (RUN_TEST_c_f): Likewise.
2485         (RUN_TEST_f_f1): Likewise.
2486         (RUN_TEST_fF_f1): Likewise.
2487         (RUN_TEST_fI_f1): Likewise.
2488         (RUN_TEST_ffI_f1): Likewise.
2489         (RUN_TEST_c_c): Likewise.
2490         (RUN_TEST_cc_c): Likewise.
2491         (RUN_TEST_f_i): Likewise.
2492         (RUN_TEST_f_i_tg): Likewise.
2493         (RUN_TEST_ff_i_tg): Likewise.
2494         (RUN_TEST_f_b): Likewise.
2495         (RUN_TEST_f_b_tg): Likewise.
2496         (RUN_TEST_f_l): Likewise.
2497         (RUN_TEST_f_L): Likewise.
2498         (RUN_TEST_fFF_11): Likewise.
2499         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2500         conditionals.
2501         (cosh_test_data): Likewise.
2502         (exp_test_data): Likewise.
2503         (expm1_test_data): Likewise.
2504         (hypot_test_data): Likewise.
2505         (pow_test_data): Likewise.
2506         (sinh_test_data): Likewise.
2507         (tanh_test_data): Likewise.
2508         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2509         flags argument.
2510
2511         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2512         tests with quiet NaN input and output.
2513         (acosh_test_data): Likewise.
2514         (asin_test_data): Likewise.
2515         (asinh_test_data): Likewise.
2516         (atan_test_data): Likewise.
2517         (atanh_test_data): Likewise.
2518         (atan2_test_data): Likewise.
2519         (cbrt_test_data): Likewise.
2520         (cos_test_data): Likewise.
2521         (cosh_test_data): Likewise.
2522         (erf_test_data): Likewise.
2523         (erfc_test_data): Likewise.
2524         (exp_test_data): Likewise.
2525         (exp10_test_data): Likewise.
2526         (exp2_test_data): Likewise.
2527         (expm1_test_data): Likewise.
2528         (hypot_test_data): Likewise.
2529         (j0_test_data): Likewise.
2530         (j1_test_data): Likewise.
2531         (jn_test_data): Likewise.
2532         (lgamma_test_data): Likewise.
2533         (log_test_data): Likewise.
2534         (log10_test_data): Likewise.
2535         (log1p_test_data): Likewise.
2536         (log2_test_data): Likewise.
2537         (pow_test_data): Likewise.
2538         (scalb_test_data): Likewise.
2539         (sin_test_data): Likewise.
2540         (sincos_test_data): Likewise.
2541         (sinh_test_data): Likewise.
2542         (tan_test_data): Likewise.
2543         (tanh_test_data): Likewise.
2544         (tgamma_test_data): Likewise.
2545         (y0_test_data): Likewise.
2546         (y1_test_data): Likewise.
2547         (yn_test_data): Likewise.
2548
2549         [BZ #16167]
2550         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2551         argument being NaN and avoid computations with second argument in
2552         that case.
2553         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2554         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2555         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2556
2557 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
2558
2559         * locale/iso-639.def: Add Chitwani Tharu (the).
2560
2561 2013-11-14  Andreas Schwab  <schwab@suse.de>
2562
2563         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2564         word instead of empty string.
2565
2566 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2567
2568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2569         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2571         (__fe_nomask_env): Likewise.
2572
2573 2013-11-13  Steve Ellcey  <sellcey@mips.com>
2574
2575         * benchtests/bench-timing.h: Include time.h.
2576
2577 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2578
2579         [BZ #15997]
2580         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2581         to 3.4.0 for x32.
2582         * sysdeps/unix/sysv/linux/configure: Regenerated.
2583
2584 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
2585
2586         [BZ #16151]
2587         * stdlib/strtod_l.c (round_and_return): Do not consider
2588         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2589         exponent one less than half the least subnormal exponent.
2590         * stdlib/test-strtod-round-data: Add more tests.
2591         * stdlib/tst-strtod-round.c (tests): Regenerated.
2592
2593 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2594
2595         [BZ #14143]
2596         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2597         (__fe_mask_env): Likewise.
2598         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2599         libm_hidden_proto and add function prototype.
2600         (__fe_mask_env): Add function prototype.
2601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2602         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2604         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2606         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2607
2608 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2609
2610         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2611         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2612
2613 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2614
2615         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2616         of htab_find_slot().
2617
2618 2013-11-11  David S. Miller  <davem@davemloft.net>
2619
2620         [BZ #16150]
2621         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2622         symbol in the non-vis3 case in static builds.
2623         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2624         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2625         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2626         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2627
2628 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2629
2630         [BZ #387]
2631         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2632         it is empty.
2633
2634 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2635
2636         * benchtests/Makefile: Add bench-strtod.
2637         * benchtests/bench-strtod.c: New file: strtod benchtest
2638
2639 2013-11-11  Andreas Schwab  <schwab@suse.de>
2640
2641         [BZ #16153]
2642         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2643         terminating NUL in key length.
2644
2645 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2646
2647         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2648         Add artificial ODP entry for vDSO symbol for PPC64.
2649         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2650         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2651
2652 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2653
2654         [BZ #15374]
2655         * nss/getent.c (services_keys): Recognize services starting with digit.
2656
2657 2013-11-06  David S. Miller  <davem@davemloft.net>
2658
2659         [BZ #15985]
2660         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2661         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2662
2663 2013-11-06  Will Newton  <will.newton@linaro.org>
2664
2665         * manual/memory.texi (Malloc Examples): Remove register
2666         keyword from examples.
2667
2668 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2669
2670         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2671
2672 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2673
2674         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2675         depending on [__GCC_IEC_559 > 0].
2676         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2677         depending on [__GCC_IEC_559_COMPLEX > 0].
2678
2679 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2680
2681         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2682         to iso-639.def.
2683
2684 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2685
2686         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2687
2688 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2689
2690         [BZ #16112]
2691         * malloc/malloc (malloc_info): Do not handle first bin as
2692         special case.
2693
2694 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2695
2696         * locale/iso-639.def: Add Central Nahuatl (nhn).
2697
2698 2013-11-01  Bruno Haible  <bruno@clisp.org>
2699
2700         [BZ #7003]
2701         * manual/math.texi (BSD Random): Specify range upper bound as
2702         in POSIX.
2703
2704 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2705
2706         * locale/iso-639.def: Add Meadow Mari (mhr).
2707
2708 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2709
2710         [BZ #14752], [BZ #15763]
2711         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2712         Validate name.
2713         * rt/tst_shm.c: Add test for escaping directory.
2714
2715 2013-10-31  Andreas Schwab  <schwab@suse.de>
2716
2717         [BZ #15917]
2718         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2719         followed by 'x' as part of digit sequence.
2720         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2721
2722 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2723
2724         [BZ #16037]
2725         * configure.ac: allow GNU Make 4.0 and greater.
2726         * configure: Regenerated.
2727
2728 2013-10-30  Will Newton  <will.newton@linaro.org>
2729
2730         [BZ #16038]
2731         * malloc/hooks.c (memalign_check): Limit alignment to the
2732         maximum representable power of two.
2733         * malloc/malloc.c (__libc_memalign): Likewise.
2734         * malloc/tst-memalign.c (do_test): Add test for very
2735         large alignment values.
2736         * malloc/tst-posix_memalign.c (do_test): Likewise.
2737
2738 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2739
2740         [BZ #11087]
2741         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2742         (munmap_chunk): Likewise.
2743         (mremap_chunk): Likewise.
2744
2745 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2746
2747         [BZ #15799]
2748         * stdlib/div.c (div): Remove obsolete code.
2749         * stdlib/ldiv.c (ldiv): Likewise.
2750         * stdlib/lldiv.c (lldiv): Likewise.
2751
2752 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2753
2754         [BZ #16071]
2755         * nss/nss_files/files-XXX.c (get_contents_ret): New
2756         enumerator.
2757         (get_contents): New function.
2758         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2759
2760 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2761
2762         * configure.in: Moved to ...
2763         * configure.ac: ... here. Change reference to configure.in
2764         to configure.ac.
2765         * sysdeps/arm/preconfigure.ac: ... here.
2766         configure.in to configure.ac.
2767         * sysdeps/gnu/configure.in: Moved to ...
2768         * sysdeps/gnu/configure.ac: ... here.
2769         * sysdeps/i386/configure.in: Moved to ...
2770         * sysdeps/i386/configure.ac: ... here.
2771         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2772         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2773         * sysdeps/mach/configure.in: Moved to ...
2774         * sysdeps/mach/configure.ac: ... here.
2775         * sysdeps/mach/hurd/configure.in: Moved to ...
2776         * sysdeps/mach/hurd/configure.ac: ... here.
2777         * sysdeps/powerpc/configure.in: Moved to ...
2778         * sysdeps/powerpc/configure.ac: ... here.
2779         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2780         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2781         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2782         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2783         * sysdeps/s390/s390-32/configure.in: Moved to ...
2784         * sysdeps/s390/s390-32/configure.ac: ... here.
2785         * sysdeps/s390/s390-64/configure.in: Moved to ...
2786         * sysdeps/s390/s390-64/configure.ac: ... here.
2787         * sysdeps/sh/configure.in: Moved to ...
2788         * sysdeps/sh/configure.ac: ... here.
2789         * sysdeps/sparc/configure.in: Moved to ...
2790         * sysdeps/sparc/configure.ac: ... here.
2791         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2792         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2793         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2794         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2795         * sysdeps/x86_64/configure.in: Moved to ...
2796         * sysdeps/x86_64/configure.ac: ... here.
2797         * sysdeps/x86_64/preconfigure.in: Moved to ...
2798         * sysdeps/x86_64/preconfigure.ac: ... here.
2799         * aclocal.m4: Change reference to configure.in to configure.ac.
2800         * config.h.in: Likewise.
2801         * manual/install.texi: Likewise.
2802         * manual/maint.texi: Likewise.
2803         * Makefile: Likewise.
2804         * malloc/Makefile: Likewise.
2805         * nscd/Makefile: Likewise.
2806         * Makeconfig: Change reference to configure.in and
2807         preconfigure.in to configure.ac and preconfigure.ac
2808         respectively.
2809         * INSTALL: Regenerated.
2810         * configure: Likewise.
2811         * sysdeps/gnu/configure: Likewise.
2812         * sysdeps/i386/configure: Likewise.
2813         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2814         * sysdeps/mach/configure: Likewise.
2815         * sysdeps/mach/hurd/configure: Likewise.
2816         * sysdeps/powerpc/configure: Likewise.
2817         * sysdeps/powerpc/powerpc32/configure: Likewise.
2818         * sysdeps/powerpc/powerpc64/configure: Likewise.
2819         * sysdeps/s390/s390-32/configure: Likewise.
2820         * sysdeps/s390/s390-64/configure: Likewise.
2821         * sysdeps/sh/configure: Likewise.
2822         * sysdeps/sparc/configure: Likewise.
2823         * sysdeps/unix/sysv/linux/configure: Likewise.
2824         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2825         * sysdeps/x86_64/configure: Likewise.
2826         * sysdeps/x86_64/preconfigure: Likewise.
2827
2828 2013-10-29  Andreas Schwab  <schwab@suse.de>
2829
2830         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2831
2832 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2833
2834         * benchtests/pow-inputs: Add new inputs.
2835
2836         * benchtests/exp-inputs: Add new inputs.
2837
2838         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2839         conditional check for return value.
2840         (__cos32): Likewise.
2841
2842 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2843
2844         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2845         to provide a boost for large inputs with word alignment.
2846         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2847         implementation based on optimized PPC64 strcpy.
2848         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2849         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2850         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2851         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2852
2853 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2854
2855         [BZ #2801]
2856         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2857
2858 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2859
2860         [BZ #14876]
2861         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2862         * time/tst-strptime.c (day_tests): Add testcase.
2863
2864 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2865
2866         [BZ #14029]
2867         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2868
2869 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2870
2871         [BZ #16074]
2872         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2873         MAP_FAILED on error.
2874
2875 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2876
2877         [BZ #16072]
2878         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2879         heap for large requests.
2880
2881 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2882
2883         [BZ #9954]
2884         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2885         result if the result has no associated interface.
2886         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2887         interface for all 127.X.Y.Z addresses.
2888
2889 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2890
2891         * locale/iso-639.def: Add Ligurian (lij)
2892
2893 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2894
2895         [BZ #15825]
2896         * sunrpc/rpc_main.c: Document rpcgen -5.
2897
2898 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2899
2900         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2901
2902 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2903
2904         [BZ #10278]
2905         * posix/glob.c: Match only directories when trailing slash is present.
2906         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2907         (main): Add testcase.
2908
2909 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2910
2911         [BZ #15670]
2912         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2913
2914 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2915
2916         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2917         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2918         AUTH_DES and cindex for FIPS 140-2.
2919         (DES Encryption): Add cindex FIPS 46-3.
2920
2921         * locale/locarchive.h (struct locarhandle): Add fname.
2922         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2923         if an optional argument was specified to --list-archive,
2924         otherwise NULL.
2925         * locale/programs/locarchive.c (show_archive_content): Take new
2926         argument fname and pass it via ah.fname to open_archive.
2927         * locale/programs/localedef.h: Update decl.
2928         (open_archive): If AH->fname is non-null, open that file
2929         rather than the default file name, and don't ignore ENOENT.
2930         (create_archive): Set AH.fname to NULL.
2931         (delete_locales_from_archive): Likewise.
2932         (add_locales_to_archive): Likewise.
2933         * locale/programs/locfile.c (write_all_categories): Likewise.
2934
2935 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2936             Aldy Hernandez  <aldyh@redhat.com>
2937
2938         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2939         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2940         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2941         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2942         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2943         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2944         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2945         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2946         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2947         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2948         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2949         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2950         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2951         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2952         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2953         Likewise.
2954         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2955         Likewise.
2956         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2957         Likewise.
2958         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2959         Likewise.
2960         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2961         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2962         Likewise.
2963         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2964         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2965         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2966         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2967         Likewise.
2968         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2969         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2970         * sysdeps/powerpc/preconfigure: Likewise.
2971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2972         Likewise.
2973         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2974         Replace contents of file by #include of <fenv_libc.h>.
2975         * sysdeps/powerpc/soft-fp/sfp-machine.h
2976         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2977         and <sys/prctl.h>.
2978         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2979         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2980         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2982         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2983         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2984         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2985         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2988         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2989         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2991         Allow copysignl PLT reference to be missing.
2992
2993 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2994             Joseph Myers  <joseph@codesourcery.com
2995
2996         [BZ #15948]
2997         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2998         single character.
2999         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3000
3001 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3002
3003         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3004         * elf/tst-tls1.c: Likewise.
3005         * elf/tst-tls10.h: Likewise.
3006         * elf/tst-tls14.c: Likewise.
3007         * elf/tst-tls2.c: Likewise.
3008         * elf/tst-tls3.c: Likewise.
3009         * elf/tst-tls4.c: Likewise.
3010         * elf/tst-tls5.c: Likewise.
3011         * elf/tst-tls6.c: Likewise.
3012         * elf/tst-tls7.c: Likewise.
3013         * elf/tst-tls8.c: Likewise.
3014         * elf/tst-tls9.c: Likewise.
3015         * elf/tst-tlsmod1.c: Likewise.
3016         * elf/tst-tlsmod13.c: Likewise.
3017         * elf/tst-tlsmod13a.c: Likewise.
3018         * elf/tst-tlsmod14a.c: Likewise.
3019         * elf/tst-tlsmod16a.c: Likewise.
3020         * elf/tst-tlsmod16b.c: Likewise.
3021         * elf/tst-tlsmod2.c: Likewise.
3022         * elf/tst-tlsmod3.c: Likewise.
3023         * elf/tst-tlsmod4.c: Likewise.
3024         * elf/tst-tlsmod5.c: Likewise.
3025         * elf/tst-tlsmod6.c: Likewise.
3026
3027 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3028
3029         [BZ #12486]
3030         * malloc/malloc.c: remove checks for statistics.
3031
3032 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3033
3034         [BZ #15277]
3035         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3036         * inet/tst-network.c: Add testcase.
3037
3038 2013-10-17  Andreas Schwab  <schwab@suse.de>
3039
3040         [BZ #15218]
3041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3042         to determine canonical name.
3043
3044 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3045
3046         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3047         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3048         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3049         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3050         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3051         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3052         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3053         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3054         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3055         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3056         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3057         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3058         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3059         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3060         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3061         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3062         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3063         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3064         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3065         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3066         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3067         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3068         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3069         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3070         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3071         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3072         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3073         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3074         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3075         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3076         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3077         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3078         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3079         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3080         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3081         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3082         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3083         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3084         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3085         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3086         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3087         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3088         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3089         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3090         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3091         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3092         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3093         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3094         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3095         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3096         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3097         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3098         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3099         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3100         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3101         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3102         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3103         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3104
3105 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3106
3107         [BZ #16041]
3108         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3109         make result into a quiet NaN.
3110
3111 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3112
3113         * soft-fp/adddf3.c: Fix horizontal whitespace.
3114         * soft-fp/addsf3.c: Likewise.
3115         * soft-fp/addtf3.c: Likewise.
3116         * soft-fp/divdf3.c: Likewise.
3117         * soft-fp/divsf3.c: Likewise.
3118         * soft-fp/divtf3.c: Likewise.
3119         * soft-fp/double.h: Likewise.
3120         * soft-fp/eqdf2.c: Likewise.
3121         * soft-fp/eqsf2.c: Likewise.
3122         * soft-fp/eqtf2.c: Likewise.
3123         * soft-fp/extenddftf2.c: Likewise.
3124         * soft-fp/extended.h: Likewise.
3125         * soft-fp/extendsfdf2.c: Likewise.
3126         * soft-fp/extendsftf2.c: Likewise.
3127         * soft-fp/extendxftf2.c: Likewise.
3128         * soft-fp/fixdfdi.c: Likewise.
3129         * soft-fp/fixdfsi.c: Likewise.
3130         * soft-fp/fixdfti.c: Likewise.
3131         * soft-fp/fixsfdi.c: Likewise.
3132         * soft-fp/fixsfsi.c: Likewise.
3133         * soft-fp/fixsfti.c: Likewise.
3134         * soft-fp/fixtfdi.c: Likewise.
3135         * soft-fp/fixtfsi.c: Likewise.
3136         * soft-fp/fixtfti.c: Likewise.
3137         * soft-fp/fixunsdfdi.c: Likewise.
3138         * soft-fp/fixunsdfsi.c: Likewise.
3139         * soft-fp/fixunsdfti.c: Likewise.
3140         * soft-fp/fixunssfdi.c: Likewise.
3141         * soft-fp/fixunssfsi.c: Likewise.
3142         * soft-fp/fixunssfti.c: Likewise.
3143         * soft-fp/fixunstfdi.c: Likewise.
3144         * soft-fp/fixunstfsi.c: Likewise.
3145         * soft-fp/fixunstfti.c: Likewise.
3146         * soft-fp/floatdidf.c: Likewise.
3147         * soft-fp/floatdisf.c: Likewise.
3148         * soft-fp/floatditf.c: Likewise.
3149         * soft-fp/floatsidf.c: Likewise.
3150         * soft-fp/floatsisf.c: Likewise.
3151         * soft-fp/floatsitf.c: Likewise.
3152         * soft-fp/floattidf.c: Likewise.
3153         * soft-fp/floattisf.c: Likewise.
3154         * soft-fp/floattitf.c: Likewise.
3155         * soft-fp/floatundidf.c: Likewise.
3156         * soft-fp/floatundisf.c: Likewise.
3157         * soft-fp/floatunditf.c: Likewise.
3158         * soft-fp/floatunsidf.c: Likewise.
3159         * soft-fp/floatunsisf.c: Likewise.
3160         * soft-fp/floatunsitf.c: Likewise.
3161         * soft-fp/floatuntidf.c: Likewise.
3162         * soft-fp/floatuntisf.c: Likewise.
3163         * soft-fp/floatuntitf.c: Likewise.
3164         * soft-fp/fmadf4.c: Likewise.
3165         * soft-fp/fmasf4.c: Likewise.
3166         * soft-fp/fmatf4.c: Likewise.
3167         * soft-fp/gedf2.c: Likewise.
3168         * soft-fp/gesf2.c: Likewise.
3169         * soft-fp/getf2.c: Likewise.
3170         * soft-fp/ledf2.c: Likewise.
3171         * soft-fp/lesf2.c: Likewise.
3172         * soft-fp/letf2.c: Likewise.
3173         * soft-fp/muldf3.c: Likewise.
3174         * soft-fp/mulsf3.c: Likewise.
3175         * soft-fp/multf3.c: Likewise.
3176         * soft-fp/negdf2.c: Likewise.
3177         * soft-fp/negsf2.c: Likewise.
3178         * soft-fp/negtf2.c: Likewise.
3179         * soft-fp/op-1.h: Likewise.
3180         * soft-fp/op-2.h: Likewise.
3181         * soft-fp/op-4.h: Likewise.
3182         * soft-fp/op-8.h: Likewise.
3183         * soft-fp/op-common.h: Likewise.
3184         * soft-fp/quad.h: Likewise.
3185         * soft-fp/single.h: Likewise.
3186         * soft-fp/soft-fp.h: Likewise.
3187         * soft-fp/sqrtdf2.c: Likewise.
3188         * soft-fp/sqrtsf2.c: Likewise.
3189         * soft-fp/sqrttf2.c: Likewise.
3190         * soft-fp/subdf3.c: Likewise.
3191         * soft-fp/subsf3.c: Likewise.
3192         * soft-fp/subtf3.c: Likewise.
3193         * soft-fp/truncdfsf2.c: Likewise.
3194         * soft-fp/trunctfdf2.c: Likewise.
3195         * soft-fp/trunctfsf2.c: Likewise.
3196         * soft-fp/trunctfxf2.c: Likewise.
3197         * soft-fp/unorddf2.c: Likewise.
3198         * soft-fp/unordsf2.c: Likewise.
3199         * soft-fp/unordtf2.c: Likewise.
3200
3201 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3202
3203         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3204         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3205
3206 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3207
3208         * elf/dl-libc.c: Clear initfini list after freeing.
3209
3210 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3211
3212         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3213         * soft-fp/addsf3.c: Likewise.
3214         * soft-fp/addtf3.c: Likewise.
3215         * soft-fp/divdf3.c: Likewise.
3216         * soft-fp/divsf3.c: Likewise.
3217         * soft-fp/divtf3.c: Likewise.
3218         * soft-fp/double.h: Likewise.
3219         * soft-fp/eqdf2.c: Likewise.
3220         * soft-fp/eqsf2.c: Likewise.
3221         * soft-fp/eqtf2.c: Likewise.
3222         * soft-fp/extenddftf2.c: Likewise.
3223         * soft-fp/extended.h: Likewise.
3224         * soft-fp/extendsfdf2.c: Likewise.
3225         * soft-fp/extendsftf2.c: Likewise.
3226         * soft-fp/extendxftf2.c: Likewise.
3227         * soft-fp/fixdfdi.c: Likewise.
3228         * soft-fp/fixdfsi.c: Likewise.
3229         * soft-fp/fixdfti.c: Likewise.
3230         * soft-fp/fixsfdi.c: Likewise.
3231         * soft-fp/fixsfsi.c: Likewise.
3232         * soft-fp/fixsfti.c: Likewise.
3233         * soft-fp/fixtfdi.c: Likewise.
3234         * soft-fp/fixtfsi.c: Likewise.
3235         * soft-fp/fixtfti.c: Likewise.
3236         * soft-fp/fixunsdfdi.c: Likewise.
3237         * soft-fp/fixunsdfsi.c: Likewise.
3238         * soft-fp/fixunsdfti.c: Likewise.
3239         * soft-fp/fixunssfdi.c: Likewise.
3240         * soft-fp/fixunssfsi.c: Likewise.
3241         * soft-fp/fixunssfti.c: Likewise.
3242         * soft-fp/fixunstfdi.c: Likewise.
3243         * soft-fp/fixunstfsi.c: Likewise.
3244         * soft-fp/fixunstfti.c: Likewise.
3245         * soft-fp/floatdidf.c: Likewise.
3246         * soft-fp/floatdisf.c: Likewise.
3247         * soft-fp/floatditf.c: Likewise.
3248         * soft-fp/floatsidf.c: Likewise.
3249         * soft-fp/floatsisf.c: Likewise.
3250         * soft-fp/floatsitf.c: Likewise.
3251         * soft-fp/floattidf.c: Likewise.
3252         * soft-fp/floattisf.c: Likewise.
3253         * soft-fp/floattitf.c: Likewise.
3254         * soft-fp/floatundidf.c: Likewise.
3255         * soft-fp/floatundisf.c: Likewise.
3256         * soft-fp/floatunsidf.c: Likewise.
3257         * soft-fp/floatunsisf.c: Likewise.
3258         * soft-fp/floatuntidf.c: Likewise.
3259         * soft-fp/floatuntisf.c: Likewise.
3260         * soft-fp/floatuntitf.c: Likewise.
3261         * soft-fp/fmadf4.c: Likewise.
3262         * soft-fp/fmasf4.c: Likewise.
3263         * soft-fp/fmatf4.c: Likewise.
3264         * soft-fp/gedf2.c: Likewise.
3265         * soft-fp/gesf2.c: Likewise.
3266         * soft-fp/getf2.c: Likewise.
3267         * soft-fp/ledf2.c: Likewise.
3268         * soft-fp/lesf2.c: Likewise.
3269         * soft-fp/letf2.c: Likewise.
3270         * soft-fp/muldf3.c: Likewise.
3271         * soft-fp/mulsf3.c: Likewise.
3272         * soft-fp/multf3.c: Likewise.
3273         * soft-fp/negdf2.c: Likewise.
3274         * soft-fp/negsf2.c: Likewise.
3275         * soft-fp/negtf2.c: Likewise.
3276         * soft-fp/op-1.h: Likewise.
3277         * soft-fp/op-2.h: Likewise.
3278         * soft-fp/op-4.h: Likewise.
3279         * soft-fp/op-8.h: Likewise.
3280         * soft-fp/op-common.h: Likewise.
3281         * soft-fp/quad.h: Likewise.
3282         * soft-fp/single.h: Likewise.
3283         * soft-fp/soft-fp.h: Likewise.
3284         * soft-fp/sqrtdf2.c: Likewise.
3285         * soft-fp/sqrtsf2.c: Likewise.
3286         * soft-fp/sqrttf2.c: Likewise.
3287         * soft-fp/subdf3.c: Likewise.
3288         * soft-fp/subsf3.c: Likewise.
3289         * soft-fp/subtf3.c: Likewise.
3290         * soft-fp/truncdfsf2.c: Likewise.
3291         * soft-fp/trunctfdf2.c: Likewise.
3292         * soft-fp/trunctfsf2.c: Likewise.
3293         * soft-fp/trunctfxf2.c: Likewise.
3294         * soft-fp/unorddf2.c: Likewise.
3295         * soft-fp/unordsf2.c: Likewise.
3296         * soft-fp/unordtf2.c: Likewise.
3297
3298 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3299
3300         [BZ #15672]
3301         * misc/error.c (error_tail): Fix possible buffer overflow.
3302
3303 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3304
3305         [BZ #13028]
3306         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3307         address.
3308
3309 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3310
3311         [BZ #832]
3312         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3313         testing pipefail option.
3314
3315 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3316
3317         * soft-fp/double.h: Indent preprocessor directives inside #if.
3318         * soft-fp/extended.h: Likewise.
3319         * soft-fp/op-2.h: Likewise.
3320         * soft-fp/op-4.h: Likewise.
3321         * soft-fp/op-common.h: Likewise.
3322         * soft-fp/quad.h: Likewise.
3323         * soft-fp/single.h: Likewise.
3324         * soft-fp/soft-fp.h: Likewise.
3325
3326 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3327
3328         * iconv/iconv_prog.c: Fix typos.
3329         * stdio-common/psiginfo-data.h: Likewise.
3330
3331 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3332
3333         [BZ #15764]
3334         * locale/setlocale.c: Fix typo.
3335
3336 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3337
3338         [BZ #16036]
3339         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3340         signaling NaN arguments.
3341         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3342         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3343
3344         [BZ #14910]
3345         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3346         unordered operands.
3347         * soft-fp/gesf2.c (__gesf2): Likewise.
3348         * soft-fp/getf2.c (__getf2): Likewise.
3349         * soft-fp/ledf2.c (__ledf2): Likewise.
3350         * soft-fp/lesf2.c (__lesf2): Likewise.
3351         * soft-fp/letf2.c (__letf2): Likewise.
3352
3353         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3354         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3355         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3356         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3357         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3358         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3359         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3360         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3361         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3362         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3363         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3364         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3365         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3366         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3367         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3368         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3369         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3370         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3371         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3372         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3373         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3374         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3375         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3376         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3377         * soft-fp/floattidf.c (__floattidf): Likewise.
3378         * soft-fp/floattisf.c (__floattisf): Likewise.
3379         * soft-fp/floattitf.c (__floattitf): Likewise.
3380         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3381         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3382         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3383         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3384         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3385         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3386         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3387         * soft-fp/gesf2.c (__gesf2): Likewise.
3388         * soft-fp/getf2.c (__getf2): Likewise.
3389         * soft-fp/ledf2.c (__ledf2): Likewise.
3390         * soft-fp/lesf2.c (__lesf2): Likewise.
3391         * soft-fp/letf2.c (__letf2): Likewise.
3392
3393         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3394         Undefine and redefine.
3395         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3396         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3397         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3398         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3399         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3400         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3401         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3402         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3403         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3404         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3405         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3406         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3407         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3408         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3409         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3410
3411         [BZ #16032]
3412         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3413         without decrementing exponent if mantissa >= that for the
3414         denominator, not >.
3415         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3416         denominator, not >.  Decrement exponent in < case instead of
3417         incrementing in >= case.
3418         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3419         without decrementing exponent if mantissa >= that for the
3420         denominator, not >.
3421
3422         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3423         computing saturated result for unsigned overflow.
3424
3425 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3426             Jeff Law  <law@redhat.com>
3427
3428         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3429         (atan2Mp): Add systemtap probe marker.
3430         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3431         (__ieee754_log): Add systemtap probe marker.
3432         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3433         (atanMp): Add systemtap probe marker.
3434         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3435         (tanMp): Add systemtap probe marker.
3436         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3437         (__slowexp): Add systemtap probe marker.
3438         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3439         (__slowpow): Add systemtap probe marker.
3440         * manual/probes.texi: Document probes.
3441
3442 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3443
3444         [BZ #15362]
3445         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3446         written.
3447         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3448         written.
3449         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3450         written to buffer but not flushed.
3451         * libio/iofwrite_u.c:  Likewise.
3452         * libio/iopadn.c:  Return bytes returned even if EOF was
3453         encountered.
3454         * libio/iowpadn.c:  Likewise.
3455         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3456         if _IO_padn does not write the whole buffer.
3457         [!COMPILE_WPRINTF] (PAD): Likewise.
3458
3459 2013-10-10  David S. Miller  <davem@davemloft.net>
3460
3461         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3462         directory block.
3463
3464 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3465
3466         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3467         instead of FSF address.
3468         * soft-fp/fixdfti.c: Likewise.
3469         * soft-fp/fixsfti.c: Likewise.
3470         * soft-fp/fixtfti.c: Likewise.
3471         * soft-fp/fixunsdfti.c: Likewise.
3472         * soft-fp/fixunssfti.c: Likewise.
3473         * soft-fp/fixunstfti.c: Likewise.
3474         * soft-fp/floattidf.c: Likewise.
3475         * soft-fp/floattisf.c: Likewise.
3476         * soft-fp/floattitf.c: Likewise.
3477         * soft-fp/floatuntidf.c: Likewise.
3478         * soft-fp/floatuntisf.c: Likewise.
3479         * soft-fp/floatuntitf.c: Likewise.
3480         * soft-fp/trunctfxf2.c: Likewise.
3481
3482         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3483         * soft-fp/fixdfti.c: Likewise.
3484         * soft-fp/fixsfti.c: Likewise.
3485         * soft-fp/fixtfti.c: Likewise.
3486         * soft-fp/fixunsdfti.c: Likewise.
3487         * soft-fp/fixunssfti.c: Likewise.
3488         * soft-fp/fixunstfti.c: Likewise.
3489         * soft-fp/floattidf.c: Likewise.
3490         * soft-fp/floattisf.c: Likewise.
3491         * soft-fp/floattitf.c: Likewise.
3492         * soft-fp/floatuntidf.c: Likewise.
3493         * soft-fp/floatuntisf.c: Likewise.
3494         * soft-fp/floatuntitf.c: Likewise.
3495         * soft-fp/trunctfxf2.c: Likewise.
3496
3497 2013-10-10  David S. Miller  <davem@davemloft.net>
3498
3499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3500
3501 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3502
3503         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3504         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3505         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3506         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3507         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3508         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3509         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3510
3511         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3512         for NaNs before doing comparisons on argument.
3513         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3514         Likewise.
3515
3516 2013-10-10  Will Newton  <will.newton@linaro.org>
3517
3518         * malloc/hooks.c (memalign_check): Ensure the value of bytes
3519         passed to _int_memalign does not overflow.
3520
3521 2013-10-10  Torvald Riegel  <triegel@redhat.com>
3522
3523         * scripts/bench.pl: Add include-sources directive.
3524         * benchtests/README: Update documentation.
3525
3526 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3527
3528         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3529         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3530         instead of FP_INIT_ROUNDMODE.
3531         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3532         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3533
3534         [BZ #16034]
3535         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
3536         copy class of input value.
3537         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
3538         not handle exceptions.
3539         * soft-fp/negsf2.c (__negsf2): Likewise.
3540         * soft-fp/negtf2.c (__negtf2): Likewise.
3541         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3542
3543 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
3544
3545         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3546         semicolon.  From Linux kernel.
3547
3548 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
3549
3550         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3551
3552 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3553
3554         [BZ #156]
3555         * manual/socket.texi: Added statement about buffer
3556         for gethostbyname2_r.
3557
3558 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
3559
3560         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3561         Use .p2align directive instead, throughout.
3562         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3563         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3564         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3565         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3566         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3567         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3568         * sysdeps/x86_64/strchr.S: Likewise.
3569         * sysdeps/x86_64/strrchr.S: Likewise.
3570
3571 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3572
3573         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3574
3575         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3576
3577         * sysdeps/generic/math_private.h (__mpsin1): Remove
3578         declaration.
3579         (__mpcos1): Likewise.
3580         (__mpsin): New argument __range_reduce.
3581         (__mpcos): Likewise.
3582         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3583         (slow): Use __mpsin and __mpcos.
3584         (slow1): Likewise.
3585         (slow2): Likewise.
3586         (sloww): Likewise.
3587         (sloww1): Likewise.
3588         (sloww2): Likewise.
3589         (bsloww): Likewise.
3590         (bsloww1): Likewise.
3591         (bsloww2): Likewise.
3592         (cslow2): Likewise.
3593         (csloww): Likewise.
3594         (csloww1): Likewise.
3595         (csloww2): Likewise.
3596         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3597         range_reduce.  Merge in __mpsin1.
3598         (__mpcos): Likewise.
3599         (__mpsin1): Remove.
3600         (__mpcos1): Likewise.
3601
3602 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3603
3604         * locale/loadlocale.c (_nl_intern_locale_data): Use
3605         LOCFILE_ALIGNED_P.
3606         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3607         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3608         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3609         obstack data is appropriately aligned.
3610         (obstack_int32_grow_fast): Likewise.
3611         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3612         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3613         (add_locale_uint32_array): Likewise.
3614
3615 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3616
3617         * benchtests/Makefile: Remove ARGLIST and RET variables.
3618         ($(objpfx)bench-%.c): Pass only function name to the script.
3619         * benchtests/README: Update documentation.
3620         * benchtests/acos-inputs: Add new directives.
3621         * benchtests/acosh-inputs: Likewise.
3622         * benchtests/asin-inputs: Likewise.
3623         * benchtests/asinh-inputs: Likewise.
3624         * benchtests/atan-inputs: Likewise.
3625         * benchtests/atanh-inputs: Likewise.
3626         * benchtests/cos-inputs: Likewise.
3627         * benchtests/cosh-inputs: Likewise.
3628         * benchtests/exp-inputs: Likewise.
3629         * benchtests/log-inputs: Likewise.
3630         * benchtests/pow-inputs: Likewise.
3631         * benchtests/rint-inputs: Likewise.
3632         * benchtests/sin-inputs: Likewise.
3633         * benchtests/sinh-inputs: Likewise.
3634         * benchtests/tan-inputs: Likewise.
3635         * benchtests/tanh-inputs: Likewise.
3636         * scripts/bench.pl: Add support for new directives.
3637
3638 2013-10-07  Alan Modra  <amodra@gmail.com>
3639
3640         * README: Fix careless merge.
3641
3642 2013-10-05  Alan Modra  <amodra@gmail.com>
3643
3644         * NEWS: Mention powerpc64le support and bugs fixed.
3645         * README: Both big-endian and little-endian powerpc64 supported.
3646
3647 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3648
3649         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3650         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3651         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3652         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3653
3654 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3655
3656         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3657         match prototype.
3658
3659 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3660
3661         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3662         Move -mhard-float appending from
3663         ports/sysdeps/powerpc/powerpc32/Makefile.
3664         [$(with-fp) = yes] (ASFLAGS): Likewise.
3665         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3666         * sysdeps/powerpc/nofpu: Move directory from
3667         ports/sysdeps/powerpc/nofpu.
3668         * sysdeps/powerpc/soft-fp: Move directory from
3669         ports/sysdeps/powerpc/soft-fp.
3670         * sysdeps/powerpc/powerpc32/405: Move directory from
3671         ports/sysdeps/powerpc/powerpc32/405.
3672         * sysdeps/powerpc/powerpc32/440: Move directory from
3673         ports/sysdeps/powerpc/powerpc32/440.
3674         * sysdeps/powerpc/powerpc32/464: Move directory from
3675         ports/sysdeps/powerpc/powerpc32/464.
3676         * sysdeps/powerpc/powerpc32/476: Move directory from
3677         ports/sysdeps/powerpc/powerpc32/476.
3678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3679         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3681         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3683         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3685         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3687         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3688         * README: Update for powerpc-*-linux-gnu software floating point
3689         support in libc.
3690
3691         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3692         case to powerpc/powerpc32*.
3693         * sysdeps/unix/sysv/linux/configure: Regenerated.
3694
3695         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3696         (_FPU_MASK_OM): Define as 0x04.
3697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3699         0x00c10080.
3700         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3701         0x0000003c.
3702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3703
3704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3705         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3706         getcontext_e500.
3707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3708         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3709         setcontext_e500.
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3711         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3712         and setcontext_e500.
3713
3714 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3715
3716         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3717
3718 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3719
3720         * manual/threads.texi (Default Thread Attributes): Fix typo.
3721
3722 2013-10-04  Will Newton  <will.newton@linaro.org>
3723
3724         * malloc/Makefile: Add tst-memalign.
3725         * malloc/tst-memalign.c: New file.
3726
3727         * malloc/tst-posix_memalign.c: Add comments.
3728         (do_test): Add comments and call free on all potentially
3729         allocated pointers. Add space after cast.
3730
3731         * malloc/tst-pvalloc.c: Add comments.
3732         (do_test): Add comments and call free on all potentially
3733         allocated pointers. Remove duplicate check for NULL pointer.
3734         Add space after cast.
3735
3736         * malloc/tst-valloc.c: Add comments.
3737         (do_test): Add comments and call free on all potentially
3738         allocated pointers. Remove duplicate check for NULL pointer.
3739         Add space after cast.
3740
3741 2013-10-04  Alan Modra  <amodra@gmail.com>
3742
3743         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3744         Use stdint types in rather than __attribute__((mode())).
3745         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3746
3747 2013-10-04  Alan Modra  <amodra@gmail.com>
3748
3749         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3750         Correct handling of unaligned relocs for little-endian.
3751         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3752
3753 2013-10-04  Alan Modra  <amodra@gmail.com>
3754
3755         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3756         * configure: Regenerate.
3757         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3758         * shlib-versions: Likewise.
3759
3760 2013-10-04  Alan Modra  <amodra@gmail.com>
3761
3762         * string/tester.c (test_memrchr): Increment reported test cycle.
3763
3764 2013-10-04  Alan Modra  <amodra@gmail.com>
3765
3766         * string/test-memcpy.c (do_one_test): When reporting errors, print
3767         string address and don't overrun end of string.
3768
3769 2013-10-04  Alan Modra  <amodra@gmail.com>
3770
3771         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3772         insrdi.  Make better use of reg selection to speed exit slightly.
3773         Schedule entry path a little better.  Remove useless "are we done"
3774         checks on entry to main loop.  Handle wrapping around zero address.
3775         Correct main loop count.  Handle single left-over word from main
3776         loop inline rather than by using loop_small.  Remove extra word
3777         case in loop_small caused by wrong loop count.  Add little-endian
3778         support.
3779         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3780         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3781         cache hint.
3782         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3783         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3784         support.  Avoid rlwimi.
3785         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3786
3787 2013-10-04  Alan Modra  <amodra@gmail.com>
3788
3789         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3790         insrdi.  Formatting.
3791         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3792         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3793         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3794         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3795         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3796         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3797
3798 2013-10-04  Alan Modra  <amodra@gmail.com>
3799
3800         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3801         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3802         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3803         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3804         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3805         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3806         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3807         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3808         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3809         use of regs.  Use power7 mtocrf.  Tidy function tails.
3810
3811 2013-10-04  Alan Modra  <amodra@gmail.com>
3812
3813         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3814         Formatting.  Consistently use rXXX register defines or rN defines.
3815         Use early exit labels that avoid restoring unused non-volatile regs.
3816         Make cr field use more consistent with rWORDn compares.  Rename
3817         regs used as shift registers for unaligned loop, using rN defines
3818         for short lifetime/multiple use regs.
3819         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3820         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3821         addi 1,1,64 to pop stack frame.  Simplify return value code.
3822         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3823
3824 2013-10-04  Alan Modra  <amodra@gmail.com>
3825
3826         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3827         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3828         rather than rlwimi.
3829         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3830         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3831         little-endian support.  Correct typos.
3832         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3833         rather than rlwimi.
3834         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3835         in loop and entry code to keep "and." results.
3836         (strchr): Add little-endian support.  Comment.  Move cntlzd
3837         earlier in tail.
3838         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3839
3840 2013-10-04  Alan Modra  <amodra@gmail.com>
3841
3842         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3843         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3844         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3845         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3846
3847 2013-10-04  Alan Modra  <amodra@gmail.com>
3848
3849         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3850         (rTMP): Define as r11.
3851         (strcmp): Add little-endian support.  Optimise tail.
3852         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3853         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3854         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3855         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3856         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3857         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3858         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3859
3860 2013-10-04  Alan Modra  <amodra@gmail.com>
3861
3862         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3863         little-endian support.  Remove unnecessary "are we done" tests.
3864         Handle "s" wrapping around zero and extremely large "size".
3865         Correct main loop count.  Handle single left-over word from main
3866         loop inline rather than by using small_loop.  Correct comments.
3867         Delete "zero" tail, use "end_max" instead.
3868         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3869
3870 2013-10-04  Alan Modra  <amodra@gmail.com>
3871
3872         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3873         support.  Don't branch over align.
3874         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3875         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3876         support.  Rearrange tmp reg use to suit.  Comment.
3877         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3878
3879 2013-10-04  Alan Modra  <amodra@gmail.com>
3880
3881         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3882
3883 2013-10-04  Alan Modra  <amodra@gmail.com>
3884
3885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3886         conditional form of branch and link when obtaining pc.
3887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3888
3889 2013-10-04  Alan Modra  <amodra@gmail.com>
3890
3891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3892         HIWORD/LOWORD.
3893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3895
3896 2013-10-04  Alan Modra  <amodra@gmail.com>
3897
3898         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3899         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3900         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3901         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3902         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3903         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3904         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3905         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3906         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3907         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3908
3909 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3910             Alistair Popple <alistair@ozlabs.au.ibm.com>
3911             Alan Modra <amodra@gmail.com>
3912
3913         [BZ #15723]
3914         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3915         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3916         _dl_hwcap access for little-endian.
3917         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3918         destroy vmx regs when saving unaligned.
3919         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3920         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3921         destroy vmx regs when saving unaligned.
3922
3923 2013-10-04  Alan Modra  <amodra@gmail.com>
3924
3925         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3926         Don't use a union to pack hi/low value.
3927
3928 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3929
3930         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3931         for little-endian.
3932         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3933         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3934         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3935         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3936         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3937
3938 2013-10-04  Alan Modra  <amodra@gmail.com>
3939
3940         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3941         constants to usual value for .cst8 section, and remove redundant
3942         high address load.
3943         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3944         constant for 0x1p52.  Load little-endian words of double from
3945         correct stack offsets.
3946
3947 2013-10-04  Alan Modra  <amodra@gmail.com>
3948
3949         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3950         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3951         words of double from correct stack offsets.
3952         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3953         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3954         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3955         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3956         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3957         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3958         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3959         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3960         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3961         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3962         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3963         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3964         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3965         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3966         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3967         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3968         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3969
3970 2013-10-04  Alan Modra  <amodra@gmail.com>
3971
3972         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3973         64-bit int/double union.
3974         (_FPU_SETCW): Likewise.
3975         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3976         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3977
3978 2013-10-04  Alan Modra  <amodra@gmail.com>
3979
3980         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3981         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3982
3983 2013-10-04  Alan Modra  <amodra@gmail.com>
3984
3985         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3986         use vector int constants.
3987         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3988
3989 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3990
3991         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3992         array with long long.
3993         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3994         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3995         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3996         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3997         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3998         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3999         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4000         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4001         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4002         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4003         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4004         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4005         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4006
4007 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4008
4009         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4010         (__signbit): Likewise.  Correct for little-endian.
4011         (__signbitl): Call __signbit.
4012         (lrint): Correct for little-endian.
4013         (lrintf): Call lrint.
4014
4015 2013-10-04  Alan Modra  <amodra@gmail.com>
4016
4017         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4018         union 32-bit int array member with 64-bit int array.
4019         (t515, tm256): Double rather than long double.
4020         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4021
4022 2013-10-04  Alan Modra  <amodra@gmail.com>
4023
4024         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4025         Delete.
4026         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4027         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4028         version of math_ldbl.h.
4029
4030 2013-10-04  Alan Modra  <amodra@gmail.com>
4031
4032         [BZ #15734], [BZ #15735]
4033         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4034         all uses of ieee875 long double macros and unions.  Simplify test
4035         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4036         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4037         normalize after ldbl_extract_mantissa, and don't add hidden bit
4038         already handled.  Don't treat low word of ieee854 mantissa like
4039         low word of IBM long double and mask off bit when testing for
4040         zero.
4041         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4042         all uses of ieee875 long double macros and unions.  Simplify tests
4043         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4044         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4045         two1022, instead use their values.  Recognise that tests for large
4046         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4047         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4048         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4049         test for 0.0L and nan.  Correct negation.
4050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4051         ieee875 long double macros and unions.  Correct output for large
4052         magnitude x.  Correct absolute value calculation.
4053         (__erfcl): Likewise.
4054         * math/libm-test.inc: Add tests for errors discovered in IBM long
4055         double versions of fmodl, remainderl, erfl and erfcl.
4056
4057 2013-10-04  Alan Modra  <amodra@gmail.com>
4058
4059         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4060         all uses of ieee854 long double macros and unions.  Simplify tests
4061         for long doubles that are fully specified by the high double.
4062         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4063         Likewise.
4064         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4065         Remove dead code too.
4066         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4067         (__ieee754_ynl): Likewise.
4068         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4069         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4070         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4071         Remove dead code too.
4072         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4073         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4074         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4075         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4076         Simplify.
4077         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4078         Simplify.
4079         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4080         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4081         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4082         Comment on variable precision.
4083         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4084         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4085         Likewise.
4086         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4087         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4088         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4089         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4090         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4091
4092 2013-10-04  Alan Modra  <amodra@gmail.com>
4093
4094         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4095         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4096         all uses of ieee854 long double macros and unions.
4097         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4098         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4099         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4100         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4101         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4102         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4103         Likewise.
4104         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4105         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4106         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4107         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4108         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4109         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4110         Simplify sign and nan test too.
4111         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4112         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4113         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4114         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4115         Likewise.
4116         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4117         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4118         Likewise.
4119         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4120         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4121         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4122         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4123         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4124         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4125
4126 2013-10-04  Alan Modra  <amodra@gmail.com>
4127
4128         * stdio-common/printf_size.c (__printf_size): Don't use
4129         union ieee854_long_double in fpnum union.
4130         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4131         signbit macro to retrieve sign from long double.
4132         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4133         retrieve sign from long double.
4134         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4135         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4136         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4137         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4138         * math/test-misc.c (main): Don't use union ieee854_long_double.
4139
4140 2013-10-04  Alan Modra  <amodra@gmail.com>
4141
4142         [BZ #15680]
4143         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4144         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4145         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4146         calculation.  Remove unnecessary test for denormal exponent.
4147         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4148         Correct handling of denormals.  Avoid undefined shift behaviour.
4149         Correct normalisation of low mantissa when low double is denormal.
4150         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4151         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4152         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4153         Correct normalisation of low mantissa.  Test for overflow of high
4154         mantissa and normalise.
4155         (ldbl_nearbyint): Use more readable constant for two52.
4156         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4157         (__mpn_construct_long_double): Fix test for overflow of high
4158         mantissa and correct normalisation.  Avoid undefined shift.
4159
4160 2013-10-04  Alan Modra  <amodra@gmail.com>
4161
4162         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4163         (union ibm_extended_long_double): Define as an array of ieee754_double.
4164         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4165         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4166         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4167         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4168         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4169         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4170         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4171         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4172         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4173         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4174         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4175
4176 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4177
4178         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4179         page size instead of calling getpagesize.
4180
4181         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4182         (LOCFILE_ALIGN_MASK): Likewise.
4183         (LOCFILE_ALIGN_UP): Likewise.
4184         (LOCFILE_ALIGNED_P): Likewise.
4185         * locale/programs/ld-collate.c (collate_output): Use the new
4186         macros instead of __alignof__ (int32_t).
4187         * locale/weight.h (findidx): Likewise.
4188
4189 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4190
4191         [BZ #431]
4192         * manual/string.texi: Fix strncat and wcsncat.
4193
4194 2013-10-03  Brooks Moses  <bmoses@google.com>
4195
4196         [BZ #15915]
4197         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4198         * Makerules: ...here, and adjust associated comments.
4199
4200 2013-10-02  Will Newton  <will.newton@linaro.org>
4201
4202         * malloc/Makefile: Add tst-pvalloc.
4203         * malloc/tst-pvalloc.c: New file.
4204
4205 2013-10-02  Will Newton  <will.newton@linaro.org>
4206
4207         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4208         improve test coverage.
4209
4210 2013-10-02  Will Newton  <will.newton@linaro.org>
4211
4212         * malloc/Makefile: Add tst-posix_memalign.
4213         * malloc/tst-posix_memalign.c: New file.
4214
4215 2013-10-01  Eric Blake  <eblake@redhat.com>
4216
4217         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4218         Use __THROWNL rather than __THROW on static functions.
4219
4220 2013-09-30  Petr Machata  <pmachata@redhat.com>
4221
4222         * elf/elf.h (R_AARCH64_ABS16): New macro.
4223         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4224         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4225         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4226         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4227         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4228         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4229         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4230         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4231         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4232         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4233         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4234         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4235         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4236         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4237         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4238         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4239         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4240         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4241         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4242         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4243         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4244         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4245         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4246         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4247         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4248         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4249         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4250         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4251         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4252         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4253         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4254         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4255         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4256         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4257         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4258         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4259         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4260         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4261         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4262         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4263         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4264         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4265         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4266         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4267         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4268         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4269         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4270         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4271         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4272         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4273         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4274         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4275         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4276         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4277         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4278         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4279         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4280         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4281         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4282         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4283         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4284         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4285         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4286         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4287         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4288         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4289         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4290         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4291         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4292         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4293         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4294         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4295         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4296         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4297         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4298         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4299         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4300         (R_AARCH64_TLSDESC_LDR): Likewise.
4301         (R_AARCH64_TLSDESC_ADD): Likewise.
4302         (R_AARCH64_TLSDESC_CALL): Likewise.
4303
4304 2013-09-30  Andreas Schwab  <schwab@suse.de>
4305
4306         [BZ #15048]
4307         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4308         the nss database lookup.
4309         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4311
4312 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4313
4314         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4315
4316 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4317
4318         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4319         ${Bash-specific parameter/pattern/string} parameter expansion.
4320         * sysdeps/unix/make-syscalls.sh: Likewise.
4321
4322 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4323
4324         * sysdeps/sh/stackguard-macros.h: New file.
4325
4326 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4327
4328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4330         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4331         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4332         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4333         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4334
4335 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4336
4337         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4338         Fix thread ID register.
4339
4340 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4341
4342         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4343         [POSIX || UNIX98]: Require rather than permitting all symbols from
4344         <time.h>.
4345         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4346         element of struct sched_param.
4347         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4348         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4349         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4350         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4351         constant.
4352
4353 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4354
4355         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4356         argument calculation.
4357
4358 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4359
4360         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4361         Expect macro.
4362         [POSIX] (pthread_attr_t): Do not require type.
4363         [POSIX] (pthread_cond_t): Likewise.
4364         [POSIX] (pthread_condattr_t): Likewise.
4365         [POSIX] (pthread_key_t): Likewise.
4366         [POSIX] (pthread_mutex_t): Likewise.
4367         [POSIX] (pthread_mutexattr_t): Likewise.
4368         [POSIX] (pthread_once_t): Likewise.
4369         [POSIX] (pthread_t): Likewise.
4370         [POSIX-based standards] (pthread_atfork): Expect function.
4371
4372 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4373             Richard Sandiford  <richard@codesourcery.com>
4374
4375         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4376         (swap_endianness_p): New extern variable.
4377         (set_big_endian): New inline function.
4378         (maybe_swap_uint32): Likewise.
4379         (maybe_swap_uint32_array): Likewise.
4380         (maybe_swap_uint32_obstack): Likewise.
4381         * locale/programs/locfile.c: Include <stdbool.h>.
4382         (swap_endianness_p): New variable.
4383         (add_locale_uint32): Call maybe_swap_uint32.
4384         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4385         (write_locale_data): Call maybe_swap_uint32_array.
4386         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4387         maybe_swap_uint32.
4388         (obstack_int32_grow_fast): Likewise.
4389         (output_weightwc): Call maybe_swap_uint32_obstack.
4390         (collate_output): Likewise.
4391         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4392         (OPT_LITTLE_ENDIAN): Likewise.
4393         (options): Add --little-endian and --big-endian options.
4394         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4395         * locale/programs/locarchive.c: Include "locfile.h".
4396         (GET): New macro.
4397         (SET): Likewise.
4398         (INC): Likewise.
4399         (create_archive): Use the new macros to access fields of
4400         structures directly mapped from or written to locale archives.
4401         (oldlocrecentcmp): Likewise.
4402         (enlarge_archive): Likewise.
4403         (insert_name): Likewise.
4404         (add_alias): Likewise.
4405         (add_locale): Likewise.
4406         (delete_locales_from_archive): Likewise.
4407         (show_archive_content): Likewise.
4408         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4409         locale data.
4410
4411 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4412
4413         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4414         http://www.gnu.org/doc/freemanuals.texi.
4415         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4416
4417 2013-09-24  Will Newton  <will.newton@linaro.org>
4418
4419         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4420         macro.
4421
4422 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4423
4424         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4425         unsigned char.
4426
4427 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4428
4429         * manual/threads.texi (POSIX Threads): Fix a typo.
4430
4431 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4432
4433         [BZ #14547]
4434         * string/tst-strcoll-overflow.c: New test case.
4435         * string/Makefile (xtests): Add tst-strcoll-overflow.
4436         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4437         cache if string sizes may cause integer overflow.
4438
4439         [BZ #14547]
4440         * string/strcoll_l.c (coll_seq): New members rule, idx,
4441         save_idx and back_us.
4442         (get_next_seq_nocache): New function.
4443         (do_compare_nocache): New function.
4444         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4445         when malloc fails.
4446
4447 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4448
4449         [BZ #15754]
4450         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4451         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4452         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4453
4454         [BZ #15754]
4455         * elf/Makefile (tests): Add tst-ptrguard1.
4456         (tests-static): Add tst-ptrguard1-static.
4457         (tst-ptrguard1-ARGS): Define.
4458         (tst-ptrguard1-static-ARGS): Define.
4459         * elf/tst-ptrguard1.c: New file.
4460         * elf/tst-ptrguard1-static.c: New file.
4461         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4462         * sysdeps/i386/stackguard-macros.h: Likewise.
4463         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4464         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4465         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4466         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4467         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4468         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4469
4470 2013-09-23  Hector Marco  <hecmargi@upv.es>
4471             Ismael Ripoll  <iripoll@disca.upv.es>
4472             Carlos O'Donell  <carlos@redhat.com>
4473
4474         [BZ #15754]
4475         * sysdeps/generic/stackguard-macros.h: Define
4476         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4477         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4478         Define __pointer_chk_guard_local.
4479         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4480         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4481
4482 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4483
4484         [BZ #15859]
4485         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4486
4487 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4488
4489         * include/string.h (__ffs): Declare as hidden.
4490         * string/ffs.c (__ffs): Define as hidden.
4491         * sysdeps/i386/ffs.c (__ffs): Likewise.
4492         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4493         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4494         * sysdeps/s390/ffs.c (__ffs): Likewise.
4495         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4496
4497 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4498
4499         * NEWS: Mention malloc probes.
4500
4501         * malloc/arena.c (new_heap): New memory_heap_new probe.
4502         (grow_heap): New memory_heap_more probe.
4503         (shrink_heap): New memory_heap_less probe.
4504         (heap_trim): New memory_heap_free probe.
4505         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4506         (systrim): New memory_sbrk_less probe.
4507         * manual/probes.texi: Document them.
4508
4509         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4510         * manual/probes.texi: Document it.
4511
4512         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4513         (__libc_realloc): Add memory_realloc_retry probe.
4514         (__libc_memalign): Add memory_memalign_retry probe.
4515         (__libc_valloc): Add memory_valloc_retry probe.
4516         (__libc_pvalloc): Add memory_pvalloc_retry probe.
4517         (__libc_calloc): Add memory_calloc_retry probe.
4518         * manual/probes.texi: Document them.
4519
4520         * malloc/arena.c (get_free_list): Add probe
4521         memory_arena_reuse_free_list.
4522         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4523         and memory_arena_reuse.
4524         (arena_get2) [!PER_THREAD]: Likewise.
4525         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4526         memory_arena_reuse_realloc.
4527         * manual/probes.texi: Document them.
4528
4529         * malloc/malloc.c (__libc_free): Add
4530         memory_mallopt_free_dyn_thresholds probe.
4531         (__libc_mallopt): Add multiple memory_mallopt probes.
4532         * manual/probes.texi: Document them.
4533
4534         * malloc/malloc.c: Include stap-probe.h.
4535         (__libc_mallopt): Add memory_mallopt probe.
4536         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4537         * manual/probes.texi: New.
4538         * manual/Makefile (chapters): Add probes.
4539         * manual/threads.texi: Set next node.
4540
4541 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
4542
4543         [BZ #15963, #13985]
4544         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4545         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4546         Add `Chinese' to `nan' entry name.
4547
4548 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4549
4550         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4551         (POLYNOMIAL): Likewise.
4552         (TAYLOR_SINCOS): Likewise.
4553         (TAYLOR_SLOW): Likewise.
4554         (__sin): Use TAYLOR_SINCOS.
4555         (__cos): Likewise.
4556         (slow): Use TAYLOR_SLOW.
4557         (sloww): Likewise.
4558         (bsloww): Likewise.
4559         (csloww): Likewise.
4560
4561 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4562
4563         * stdlib/strtod_l.c: Fix buffer overrun.
4564
4565 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4566
4567         * benchtests/Makefile (bench): Add sincos.
4568         * benchtests/bench-sincos.c: New file.
4569
4570         * math/libm-test.inc (cos_test_data): New test inputs.
4571         (sin_test_data): Likewise.
4572
4573         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4574         macro.
4575         (__sin): Use it.
4576         (__cos): Likewise.
4577         (slow1): Likewise.
4578         (slow2): Likewise.
4579         (sloww1): Likewise.
4580         (sloww2): Likewise.
4581         (bsloww1): Likewise.
4582         (bsloww2): Likewise.
4583         (cslow2): Likewise.
4584         (csloww1): Likewise.
4585         (csloww2): Likewise.
4586
4587         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4588         function.
4589         (__sin): Use it.
4590         (__cos): Likewise.
4591
4592         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4593         gotos.
4594         (__cos): Likewise.
4595
4596 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
4597
4598         * config.h.in (HAVE_MIPS_NAN2008): New macro.
4599         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4600         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4601         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4602         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4603         * elf/cache.c (print_entry): Handle the new cache flags.
4604
4605 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4606             Aldy Hernandez  <aldyh@redhat.com>
4607
4608         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4609         Change condition to [_SOFT_FLOAT].
4610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4622         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4625         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4626         declaration.
4627
4628 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4629
4630         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4631         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4632         (__longjmp): Use LOAD_GP to load saved GPRs.
4633         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4634         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4635         (__sigsetjmp): Use SAVE_GP to save GPRs.
4636
4637         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4638         Do not append -msoft-float.
4639         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4640
4641 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4642
4643         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4644
4645 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4646
4647         [BZ #15966]
4648         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4649         (_FPU_GETCW): Use initial "__" on variable and field names but not
4650         on macro parameter name.
4651         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4652         parentheses around reference to macro parameter.
4653
4654 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4655
4656         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4657         prototype.
4658         (ctype_startup): Use uint32_t in cast and sizeof for
4659         ctype->charnames.
4660
4661 2013-09-11  Jia Liu  <proljc@gmail.com>
4662
4663         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4664         __daddr_t_defined.
4665         [__FreeBSD__]: Likewise.
4666
4667 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4668
4669         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4670         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4671         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4672         (strchr): Remove __strchr_sse42 ifunc selection.
4673         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4674         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4675
4676 2013-09-11  Will Newton  <will.newton@linaro.org>
4677
4678         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4679         parameter to RES. Remove hardcoded 1000 value.
4680         * benchtests/bench-skeleton.c (main): Pass RES parameter
4681         to TIMING_INIT and multiply result by 1000.
4682
4683 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4684
4685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4686
4687 2013-09-11  Andreas Schwab  <schwab@suse.de>
4688
4689         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4690         if not defined.
4691         (O_TMPFILE) [__USE_GNU]: Define.
4692         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4693         Define.
4694
4695 2013-09-11  Will Newton  <will.newton@linaro.org>
4696
4697         [BZ #15857]
4698         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4699         does not overflow.
4700
4701 2013-09-11  Will Newton  <will.newton@linaro.org>
4702
4703         [BZ #15856]
4704         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4705         does not overflow.
4706
4707 2013-09-11  Will Newton  <will.newton@linaro.org>
4708
4709         [BZ #15855]
4710         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4711         does not overflow.
4712
4713 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4714
4715         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4716         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4717         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4718         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4719         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4720
4721 2013-09-10  Allan McRae  <allan@archlinux.org>
4722
4723         [BZ #15748]
4724         * manual/arith.texi (Parsing of Floats): Clarify
4725         cross-reference.
4726
4727         [BZ #15849]
4728         * manual/install.texi (Running make install): Mention
4729         --enable-pt-chown.
4730         * INSTALL: Regenerated.
4731
4732 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4733
4734         * csu/init-first.c (_init): Remove the !SHARED condition around
4735         FPU control word initialization.
4736         * elf/dl-support.c (_dl_fpu_control): New variable.
4737         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4738         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4739         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4740         * math/test-fpucw-static.c: New file.
4741         * math/test-fpucw-ieee.c: New file.
4742         * math/test-fpucw-ieee-static.c: New file.
4743         * math/Makefile (tests): Add `test-fpucw-ieee' and
4744         `$(tests-static)'.
4745         (tests-static): New variable.
4746         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4747         dependency to...
4748         [($(build-shared),yes)]
4749         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4750         ... this.
4751         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4752         New dependency.
4753
4754 2013-09-09  Allan McRae  <allan@archlinux.org>
4755
4756         [BZ #15939]
4757         * manual/string.texi (Collation Functions): Fix typo in
4758         strcoll example.
4759         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4760
4761         [BZ #15893]
4762         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4763
4764         [BZ #15892]
4765         * libio/memstream.c (open_memstream): Fix memory leak.
4766         * libio/wmemstream.c (open_wmemstream): Likewise.
4767
4768         [BZ #15895]
4769         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4770
4771 2013-09-09  Will Newton  <will.newton@linaro.org>
4772
4773         * malloc/Makefile: Add tst-realloc to tests.
4774         * malloc/tst-realloc.c: New file.
4775
4776 2013-09-09  Allan McRae  <allan@archlinux.org>
4777
4778         [BZ #15844]
4779         * COPYING: Update from GNU website to fix FSF address.
4780         * COPYING.LIB: Likewise.
4781
4782 2013-09-06  David S. Miller  <davem@davemloft.net>
4783
4784         * po/zh_TW.po: Update Chinese (traditional) translation from
4785         translation project.
4786
4787 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4788             Joseph Myers  <joseph@codesourcery.com>
4789
4790         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4791         "localeinfo.h".
4792         (obstack_chunk_alloc): New macro.
4793         (obstack_chunk_free): Likewise.
4794         (record_offset): New function.
4795         (init_locale_data): Likewise.
4796         (align_locale_data): Likewise.
4797         (add_locale_empty): Likewise.
4798         (add_locale_raw_data): Likewise.
4799         (add_locale_raw_obstack): Likewise.
4800         (add_locale_string): Likewise.
4801         (add_locale_wstring): Likewise.
4802         (add_locale_uint32): Likewise.
4803         (add_locale_uint32_array): Likewise.
4804         (add_locale_char): Likewise.
4805         (start_locale_structure): Likewise.
4806         (end_locale_structure): Likewise.
4807         (start_locale_prelude): Likewise.
4808         (end_locale_prelude): Likewise.
4809         (write_locale_data): Take locale_file structure rather than an
4810         iovec.
4811         * locale/programs/locfile.h: Include "obstack.h".
4812         (struct locale_file): Change to store locale file contents instead
4813         of header.
4814         (init_locale_data): New prototype.
4815         (align_locale_data): Likewise.
4816         (add_locale_empty): Likewise.
4817         (add_locale_raw_data): Likewise.
4818         (add_locale_raw_obstack): Likewise.
4819         (add_locale_string): Likewise.
4820         (add_locale_wstring): Likewise.
4821         (add_locale_uint32): Likewise.
4822         (add_locale_uint32_array): Likewise.
4823         (add_locale_char): Likewise.
4824         (start_locale_structure): Likewise.
4825         (end_locale_structure): Likewise.
4826         (start_locale_prelude): Likewise.
4827         (end_locale_prelude): Likewise.
4828         (write_locale_data): Update prototype.
4829         * locale/programs/3level.h (struct TABLE): Remove result field.
4830         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4831         Use new locale_file interface.
4832         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4833         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4834         * locale/programs/ld-address.c (address_output): Use new
4835         locale_file interface.
4836         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4837         NO_ADD_LOCALE.
4838         (collate_finish): Don't call collseq_table_finalize.
4839         (collate_output): Use new locale_file interface.
4840         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4841         in file.
4842         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4843         (TABLE): Move defines earlier in file.
4844         (ELEMENT): Likewise.
4845         (DEFAULT): Likewise.
4846         (wctrans_table_add): Move macro and inline function earlier in
4847         file.
4848         (struct wctype_table): Move type earlier in file.
4849         (add_locale_wctype_table): New static prototype.
4850         (struct locale_ctype_t): Use logical types instead of struct iovec
4851         pointers for members.
4852         (ctype_output): Use new locale_file interface.
4853         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4854         new locale_file interface.
4855         (allocate_arrays): Update for use of new locale_file interface.
4856         * locale/programs/ld-identification.c (identification_output): Use
4857         new locale_file interface.
4858         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4859         * locale/programs/ld-messages.c (messages_output): Likewise.
4860         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4861         * locale/programs/ld-name.c (name_output): Likewise.
4862         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4863         * locale/programs/ld-paper.c (paper_output): Likewise.
4864         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4865         * locale/programs/ld-time.c (time_output): Likewise.
4866
4867 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4868
4869         * benchtests/Makefile: Add memrchr benchmark.
4870         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4871         benchmark as memrchr.
4872         * benchtests/bench-memrchr-ifunc.c: New file.
4873         * benchtests/bench-memrchr.c: New file.
4874
4875 2013-09-06   Will Newton  <will.newton@linaro.org>
4876
4877         * benchtests/Makefile (string-bench): Add memcpy.
4878
4879 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4880             Cong Wang  <amwang@redhat.com>
4881
4882         * sysdeps/unix/sysv/linux/bits/in.h
4883         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4884         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4885         before __USE_KERNEL_IPV6_DEFS uses.
4886         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4887         IPPROTO_BEETPH.
4888         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4889         sockaddr_in6, or ipv6_mreq.
4890
4891 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4892
4893         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4894         memory access for final bytes in some large inputs.
4895         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4896
4897 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4898
4899         * string/test-memrchr.c: New file.
4900         * string/test-memrchr-ifunc.c: New file.
4901         * string/Makefile: Add new memrchr testcase.
4902
4903 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4904
4905         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4906         fanotify_init returns EPERM.
4907
4908 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4909
4910         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4911         errors.
4912         (top level): Treat second token from macro or constant entries for
4913         allowed headers as allowed.
4914         * include/complex.h: Condition internal declarations on
4915         [!_ISOMAC].
4916         * include/fenv.h: Condition include of <stdbool.h> and internal
4917         declarations on [!_ISOMAC].
4918
4919 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4920
4921         [BZ #15923]
4922         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4923
4924 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4925
4926         * configure.in (--enable-versioning): Remove configure option.
4927         (libc_cv_asm_symver_directive): Remove configure test.
4928         (libc_cv_ld_version_script_option): Likewise.
4929         (VERSIONING): Remove variable and AC_SUBST.
4930         (DO_VERSIONING): Remove AC_DEFINE.
4931         * configure: Regenerated.
4932         * config.h.in (DO_VERSIONING): Remove macro.
4933         * Makerules [$(versioning) = yes]: Change conditionals to
4934         [$(build-shared) = yes].
4935         * config.make.in (versioning): Remove variable.
4936         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4937         [$(build-shared) = yes].
4938         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4939         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4940         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4941         [$(build-shared) = yes].
4942         * extra-lib.mk [$(versioning) = yes]: Likewise.
4943         * hurd/Makefile [$(versioning) = yes]: Likewise.
4944         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4945         [SHARED].
4946         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4947         [SHARED].
4948         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4949         [SHARED && !NO_HIDDEN].
4950         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4951         [SHARED].
4952         [SHARED && DO_VERSIONING]: Likewise..
4953         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4954         [$(build-shared) = yes].
4955         * manual/install.texi (--disable-versioning): Remove
4956         documentation.
4957         * INSTALL: Regenerated.
4958         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4959         to [SHARED].
4960         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4961         [$(build-shared) = yes].
4962         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4963         * sysdeps/i386/i686/multiarch/strstr-c.c
4964         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4965         [SHARED && !NO_HIDDEN].
4966         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4967         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4968         * sysdeps/powerpc/powerpc32/dl-machine.c
4969         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4970         * sysdeps/powerpc/powerpc32/sysdep.h
4971         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4972         to [SHARED && PIC && !NO_HIDDEN].
4973         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4974         conditional to [SHARED].
4975
4976 2013-09-04   Will Newton  <will.newton@linaro.org>
4977
4978         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4979         * benchtests/bench-string.h: Include bench-timing.h instead
4980         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4981         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4982         call to HP_TIMING_DIFF_INIT.
4983         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4984         instead of hp-timing.h macros.
4985         * benchtests/bench-memchr.c: Likewise.
4986         * benchtests/bench-memcmp.c: Likewise.
4987         * benchtests/bench-memcpy.c: Likewise.
4988         * benchtests/bench-memmem.c: Likewise.
4989         * benchtests/bench-memmove.c: Likewise.
4990         * benchtests/bench-memset.c: Likewise.
4991         * benchtests/bench-rawmemchr.c: Likewise.
4992         * benchtests/bench-strcasecmp.c: Likewise.
4993         * benchtests/bench-strcasestr.c: Likewise.
4994         * benchtests/bench-strcat.c: Likewise.
4995         * benchtests/bench-strchr.c: Likewise.
4996         * benchtests/bench-strcmp.c: Likewise.
4997         * benchtests/bench-strcpy.c: Likewise.
4998         * benchtests/bench-strcpy_chk.c: Likewise.
4999         * benchtests/bench-strlen.c: Likewise.
5000         * benchtests/bench-strncasecmp.c: Likewise.
5001         * benchtests/bench-strncat.c: Likewise.
5002         * benchtests/bench-strncmp.c: Likewise.
5003         * benchtests/bench-strncpy.c: Likewise.
5004         * benchtests/bench-strnlen.c: Likewise.
5005         * benchtests/bench-strpbrk.c: Likewise.
5006         * benchtests/bench-strrchr.c: Likewise.
5007         * benchtests/bench-strspn.c: Likewise.
5008         * benchtests/bench-strstr.c: Likewise.
5009
5010 2013-09-04  Will Newton  <will.newton@linaro.org>
5011
5012         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5013
5014 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5015
5016         [BZ #15427]
5017         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5018         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5019         * math/libm-test.inc (lgamma_test_data): Add more tests.
5020         * sysdeps/i386/fpu/libm-test-ulps: Update.
5021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5022
5023 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5024
5025         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5026         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5027         Add ifunc.
5028         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5029         Add strcmp-sse2-unaligned
5030         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5031
5032 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5033
5034         * Versions.def (libc): Add GLIBC_2.19.
5035
5036 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5037
5038         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5039         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5040
5041 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5042
5043         [BZ #14155]
5044         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5045         intermediate calculations in recurrence.
5046         (__ieee754_ynf): Likewise.
5047         * math/libm-test.inc (jn_test_data): Do not allow spurious
5048         underflow exception.  Add more tests.
5049         (yn_test_data): Add more tests.
5050         * sysdeps/i386/fpu/libm-test-ulps: Update.
5051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5052
5053 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5054
5055         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5056
5057 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5058
5059         * csu/init-first.c: Fix then/than typos.
5060         * locale/programs/ld-collate.c: Likewise.
5061         * locale/programs/linereader.h: Likewise.
5062         * manual/charset.texi: Likewise.
5063         * manual/filesys.texi: Likewise.
5064         * manual/stdio.texi: Likewise.
5065         * manual/string.texi: Likewise.
5066         * stdlib/fmtmsg.c: Likewise.
5067         * sysdeps/i386/stpncpy.S: Likewise.
5068         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5069         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5070         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5071         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5072
5073 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5074
5075         * elf/dl-open.c: Fix typos.
5076         * iconvdata/gbbig5.c: Likewise.
5077         * iconvdata/iso-2022-jp.c: Likewise.
5078         * iconv/gconv_int.h: Likewise.
5079         * iconv/loop.c: Likewise.
5080         * nis/rpcsvc/nis.h: Likewise.
5081         * resolv/ns_name.c: Likewise.
5082         * stdio-common/vfscanf.c: Likewise.
5083         * streams/stropts.h: Likewise.
5084         * sunrpc/rpc_thread.c: Likewise.
5085         * sysdeps/i386/strpbrk.S: Likewise.
5086         * sysdeps/ieee754/k_standard.c: Likewise.
5087         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5088         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5089         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5090         * sysdeps/mach/hurd/profil.c: Likewise.
5091         * sysdeps/s390/dl-procinfo.h: Likewise.
5092         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5093         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5094         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5095         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5096         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5097
5098 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5099
5100         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5102
5103 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5104
5105         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5106         aix specific files.
5107         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5108         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5109         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5110         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5111         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5112         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5113         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5114         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5115
5116 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5117             Roland McGrath  <roland@hack.frob.com>
5118
5119         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5120         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5121
5122 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5123
5124         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5125         __executable_start symbol instead of _start.
5126
5127 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5128
5129         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5130         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5131         Move macros to...
5132         * sysdeps/gnu/ldsodefs.h: ... this new file.
5133
5134         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5135         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5136         instead of ELFOSABI_LINUX.
5137
5138         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5139         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5140         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5141         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5142         Likewise.
5143         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5144         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5145         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5146         Likewise.
5147         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5148         (ibm_extended_long_double): Add ieee_nan member.
5149         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5150         (do_test): New function.
5151
5152         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5153         TEST_TRUNC.
5154         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5155         functions, renamed from truncdfsf_test, trunctfsf_test,
5156         trunctfdf_test.
5157         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5158         functions.
5159         (do_test): Run all these.
5160
5161 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5162
5163         * argp/argp-help.c: Fix typos.
5164         * argp/argp-parse.c: Likewise.
5165         * debug/backtracesyms.c: Likewise.
5166         * elf/elf.h: Likewise.
5167         * malloc/malloc.c: Likewise.
5168         * nis/nis_print.c: Likewise.
5169         * resolv/res_comp.c: Likewise.
5170         * stdlib/stdlib.h: Likewise.
5171         * sunrpc/clnt_tcp.c: Likewise.
5172         * sunrpc/clnt_udp.c: Likewise.
5173         * sunrpc/clnt_unix.c: Likewise.
5174         * sysdeps/unix/bsd/ptsname.c: Likewise.
5175         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5176         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5178         Likewise.
5179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5180         Likewise.
5181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5182         Likewise.
5183         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5184
5185 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5186
5187         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5189
5190 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5191
5192         [BZ #15897]
5193         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5194         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5195         ($(objpfx)bug-dl-leaf): New rule.
5196         ($(objpfx)bug-dl-leaf.so): Likewise.
5197         ($(objpfx)bug-dl-leaf.out): Likewise.
5198         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5199         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5200         * dlfcn/bug-dl-leaf.c: New test.
5201         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5202         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5203         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5204         (dlclose): Likewise.
5205         (dlmopen): Likewise.
5206
5207 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5208
5209         * include/netdb.h [!_ISOMAC]:
5210         Don't include <tls.h>.
5211         (h_errno, __libc_h_errno): Move declaration and macros out of
5212         [_LIBC_REENTRANT].
5213
5214         * include/resolv.h [_RESOLV_H_]:
5215         Don't include <tls.h>.
5216         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5217         * resolv/res_libc.c: Don't include <tls.h>.
5218         (_res): Use __attribute__ ((nocommon)) in place of
5219         __attribute__ ((section (".bss"))).
5220
5221         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5222         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5223
5224         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5225
5226         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5227         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5228
5229         * resolv/res_mkquery.c: Include <sys/time.h>.
5230
5231         * inet/ifreq.c: Moved to ...
5232         * sysdeps/unix/ifreq.c: ... here.
5233         * inet/ifreq.c: New file, true stub version.
5234
5235         * socket/sa_len.c: New file.
5236         * socket/Makefile (aux): Add it.
5237         * sysdeps/unix/sysv/linux/Makefile
5238         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5239         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5240         and #include <socket/sa_len.c>.
5241         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5242         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5243
5244         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5245         * bits/socket.h: ... here.
5246
5247         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5248         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5249         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5250
5251 2013-08-27  Andreas Schwab  <schwab@suse.de>
5252
5253         [BZ #15736]
5254         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5255         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5256         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5257         * string/test-strcasecmp.c (test_main): Run tests in several
5258         locales.
5259         * string/test-strncasecmp.c (test_main): Likewise.
5260
5261         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5262         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5263         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5264         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5265         (__strncasecmp_ssse3) [PIC]: Likewise.
5266
5267 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5268
5269         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5270
5271         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5272         instead of explicitly declaring xdecrypt.
5273         * nis/nss_nis/nis-publickey.c: Likewise.
5274
5275 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5276
5277         [BZ #15890]
5278         * nscd/aicache.c: Include res_hconf.h.
5279         (addhstaiX): Initialize res_hconf.
5280
5281 2013-08-26  Andreas Schwab  <schwab@suse.de>
5282
5283         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5284         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5285
5286 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5287
5288         * nscd/aicache.c (addhstaiX): Fix indentation.
5289
5290 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5291
5292         * configure.ac: Quote $build_pt_chown test.
5293         * configure: Regenerated.
5294
5295 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5296
5297         [BZ #15532]
5298         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5299         * math/s_cexpf.c (__cexpf): Likewise.
5300         * math/s_cexpl.c (__cexpl): Likewise.
5301         * math/libm-test.inc (cexp_test_data): Correct expected return
5302         value for NaN + i0.  Add another test.
5303
5304 2013-08-22  David S. Miller  <davem@davemloft.net>
5305
5306         * po/ca.po: Update Catalan translation from translation project.
5307         * po/uk.po: Add Ukrainian translations from translation project.
5308
5309 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5310
5311         [BZ #15797]
5312         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5313         is infinite, not alongside NaN test.
5314         * math/s_fdimf.c (__fdimf): Likewise.
5315         * math/s_fdiml.c (__fdiml): Likewise.
5316         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5317         errno is unchanged.
5318
5319 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5320
5321         * argp/argp-help.c: Fix typos.
5322         * crypt/speeds.c: Likewise.
5323         * csu/check_fds.c: Likewise.
5324         * elf/dl-load.c: Likewise.
5325         * elf/dl-open.c: Likewise.
5326         * elf/reldep3.c: Likewise.
5327         * elf/reldep.c: Likewise.
5328         * elf/sprof.c: Likewise.
5329         * iconv/iconv_charmap.c: Likewise.
5330         * iconv/skeleton.c: Likewise.
5331         * iconv/strtab.c: Likewise.
5332         * io/lockf64.c: Likewise.
5333         * libio/libioP.h: Likewise.
5334         * resolv/gai_notify.c: Likewise.
5335         * resolv/ns_name.c: Likewise.
5336         * resolv/ns_samedomain.c: Likewise.
5337         * resolv/res_send.c: Likewise.
5338         * stdlib/random.c: Likewise.
5339         * sunrpc/rpc/xdr.h: Likewise.
5340         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5341         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5342         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5343         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5344         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5345         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5346         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5347         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5348         * sysdeps/mach/hurd/check_fds.c: Likewise.
5349         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5350         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5351         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5352         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5353         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5354         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5355         * sysdeps/pthread/aio_notify.c: Likewise.
5356         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5357         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5358         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5359         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5360         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5361
5362 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5363
5364         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5365         version if bit_Slow_SSE4_2 is set.
5366         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5367         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5368
5369 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5370
5371         [BZ #15867]
5372         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5373         trampoline stack frame information.
5374         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5375         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5376         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5377         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5378         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5379         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5380         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5381         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5382         sa_flags value.
5383         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5384         interrupting a syscall and set with option SA_SIGINFO.
5385
5386 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5387
5388         [BZ #15531]
5389         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5390         argument is infinite.
5391         * math/s_cprojf.c (__cprojf): Likewise.
5392         * math/s_cprojl.c (__cprojl): Likewise.
5393         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5394         * math/libm-test.inc (cproj_test_data): Add more tests.
5395
5396         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5397
5398         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5399         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5400         size.  Use __ffs to determine corresponding shift.
5401
5402 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5403             Roland McGrath  <roland@hack.frob.com>
5404
5405         * Makefile (INSTALL): Remove trailing blank lines from output of
5406         makeinfo.
5407
5408 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5409
5410         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5411         Align 32 bit compat elf_greg to 8 bytes.
5412
5413 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5414
5415         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5416
5417 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5418
5419         * string/strcoll_l.c (coll_seq): New structure.
5420         (get_next_seq_cached): New function.
5421         (get_next_seq): New function.
5422         (do_compare): New function.
5423         (STRCOLL): Use GNU style definition.  Simplify implementation
5424         by using get_next_seq, get_next_seq_cached and do_compare.
5425
5426 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5427
5428         [BZ #14699]
5429         CVE-2013-4237
5430         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5431         member.
5432         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5433         member.
5434         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5435         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5436         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5437         conditional.
5438         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5439         GETDENTS_64BIT_ALIGNED.
5440         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5441         * manual/filesys.texi (Reading/Closing Directory): Document
5442         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5443         strongly.
5444         * manual/conf.texi (Limits for Files): Add portability note to
5445         NAME_MAX, PATH_MAX.
5446         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5447
5448 2013-08-13  Andreas Schwab  <schwab@suse.de>
5449
5450         [BZ #15749]
5451         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5452         of fabs.
5453         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5454         LDBL_MAX_EXP >= 16384]: Add tests for it.
5455
5456 2013-08-12  David S. Miller  <davem@davemloft.net>
5457
5458         * version.h (RELEASE): Set to "development".
5459         (VERSION): Set to "2.18.90".
5460         * NEWS: Add 2.19 section.
5461
5462 2013-08-03  David S. Miller  <davem@davemloft.net>
5463
5464         * po/ko.po: Update Korean translation from translation project.
5465
5466 2013-08-01  David S. Miller  <davem@davemloft.net>
5467
5468         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5469         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5470         Bilka.
5471
5472 2013-07-30  David S. Miller  <davem@davemloft.net>
5473
5474         * po/fr.po: Update French translation from translation project.
5475
5476 2013-07-28  David S. Miller  <davem@davemloft.net>
5477
5478         * po/cs.po: Update Czech translation from translation project.
5479
5480         * po/sv.po: Update Swedish translation from translation project.
5481
5482 2013-07-27  David S. Miller  <davem@davemloft.net>
5483
5484         * po/eo.po: Update Esperanto translation from translation project.
5485
5486         * po/vi.po: Update Vietnamese translation from translation project.
5487
5488         * po/de.po: Update German translation from translation project.
5489
5490 2013-07-26  David S. Miller  <davem@davemloft.net>
5491
5492         * po/bg.po: Update Bulgarian translation from translation project.
5493
5494         * po/nl.po: Update Dutch translation from translation project.
5495         * po/pl.po: Update Polish translation from translation project.
5496         * po/ru.po: Update Russian translation from translation project.
5497
5498 2013-07-24  David S. Miller  <davem@davemloft.net>
5499
5500         * po/libc.pot: Update.
5501
5502 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5503
5504         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5505         variable page size.
5506         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5507         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5508         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5509
5510 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5511
5512         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5513
5514 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5515             Andreas Schwab  <schwab@suse.de>
5516             Roland McGrath  <roland@hack.frob.com>
5517             Joseph Myers  <joseph@codesourcery.com>
5518             Carlos O'Donell  <carlos@redhat.com>
5519
5520         [BZ #15755]
5521         * config.h.in: Define HAVE_PT_CHOWN.
5522         * config.make.in (build-pt-chown): New variable.
5523         * configure.in (--enable-pt_chown): New configure option.
5524         * configure: Regenerate.
5525         * login/Makefile: Include Makeconfig.  Build pt_chown only if
5526         build-pt-chown is enabled.
5527         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5528         pt_chown to fix pty ownership.
5529         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5530         CLOSE_ALL_FDS.
5531         * manual/install.texi (Configuring and compiling): Mention
5532         --enable-pt_chown. Add @findex for grantpt.
5533         * INSTALL: Regenerate.
5534
5535 2013-07-20  David S. Miller  <davem@davemloft.net>
5536
5537         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5538         difference between 32-bit and 64-bit.
5539
5540 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
5541
5542         [BZ #15711]
5543         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5544         Avoid system header dependency with -ffreestanding.
5545         ($(objpfx)bits/syscall%d): Likewise.
5546
5547 2013-07-13  David S. Miller  <davem@davemloft.net>
5548
5549         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5550         underflows from atanl/atan2l due to bug 15319.
5551         (casinh_test_data): Likewise.
5552
5553 2013-07-07  David S. Miller  <davem@davemloft.net>
5554
5555         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5556
5557 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
5558
5559         * sysdeps/i386/fpu/libm-test-ulps: Update.
5560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5561
5562 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5563
5564         * configure.in (--enable-lock-elision): Fix message text.
5565         * INSTALL: Regenerate.
5566         * configure: Regenerate.
5567
5568 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5569
5570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5571
5572 2013-07-03  Andreas Jaeger  <aj@suse.de>
5573
5574         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5575         define.
5576         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5577         (ptrace_peeksiginfo_args): Add.
5578         (__ptrace_peeksiginfo_flags): Add.
5579         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5580         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5581         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5582
5583 2013-07-03  Allan McRae  <allan@archlinux.org>
5584
5585         * sysdeps/i386/fpu/libm-test-ulps: Update.
5586
5587 2013-07-02  David S. Miller  <davem@davemloft.net>
5588
5589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5590
5591 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
5592
5593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5594
5595 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5596
5597         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5599
5600 2013-07-02  Andi Kleen <ak@linux.intel.com>
5601
5602         * config.h.in (ENABLE_LOCK_ELISION): Add.
5603         * configure.in (--enable-lock-elision): Add option.
5604         * manual/install.texi: Document --enable lock elision.
5605         * configure: Regenerate
5606         * INSTALL: Regenerate.
5607
5608 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5609
5610         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5611         SSE4.2 strcasecmp for libc.a.
5612         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5613
5614 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5615
5616         [BZ #13304]
5617         * soft-fp/op-common.h (_FP_FMA): New macro.
5618         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5619         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5620         (_FP_MUL_MEAT_1_imm): ... here.
5621         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5622         (_FP_MUL_MEAT_1_wide): ... here.
5623         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5624         (_FP_MUL_MEAT_1_hard): ... here.
5625         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5626         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5627         (_FP_MUL_MEAT_2_wide): ... here.
5628         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5629         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5630         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5631         (_FP_MUL_MEAT_2_gmp): ... here.
5632         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5633         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5634         (_FP_MUL_MEAT_4_wide): ... here.
5635         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5636         (_FP_MUL_MEAT_4_gmp): ... here.
5637         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5638         (_FP_WFRACBITS_DW_S): Likewise.
5639         (_FP_WFRACXBITS_DW_S): Likewise.
5640         (_FP_HIGHBIT_DW_S): Likewise.
5641         (FP_FMA_S): Likewise.
5642         (_FP_FRAC_HIGH_DW_S): Likewise.
5643         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5644         (_FP_WFRACBITS_DW_D): Likewise.
5645         (_FP_WFRACXBITS_DW_D): Likewise.
5646         (_FP_HIGHBIT_DW_D): Likewise.
5647         (FP_FMA_D): Likewise.
5648         (_FP_FRAC_HIGH_DW_D): Likewise.
5649         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5650         (_FP_WFRACBITS_DW_E): Likewise.
5651         (_FP_WFRACXBITS_DW_E): Likewise.
5652         (_FP_HIGHBIT_DW_E): Likewise.
5653         (FP_FMA_E): Likewise.
5654         (_FP_FRAC_HIGH_DW_E): Likewise.
5655         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5656         (_FP_WFRACBITS_DW_Q): Likewise.
5657         (_FP_WFRACXBITS_DW_Q): Likewise.
5658         (_FP_HIGHBIT_DW_Q): Likewise.
5659         (FP_FMA_Q): Likewise.
5660         (_FP_FRAC_HIGH_DW_Q): Likewise.
5661         * soft-fp/fmasf4.c: New file.
5662         * soft-fp/fmadf4.c: Likewise.
5663         * soft-fp/fmatf4.c: Likewise.
5664
5665 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5666
5667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5668         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5669         Silvermont.
5670         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5671         macro.
5672         (index_Slow_SSE4_2): Likewise.
5673         (index_Prefer_PMINUB_for_stringop): Likewise.
5674         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5675         bit_Slow_SSE4_2 is set.
5676         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5677         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5678
5679 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5680
5681         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5682         rtld_global._dl_hwcap2.
5683         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5684         POWER8.
5685         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5686         POWER8 feature descriptions defined in _dl_hwcap2.
5687         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5688         string handling for POWER8 feature bits.
5689         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5690         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5691         _dl_powerpc_cap_flags.
5692         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5693         * sysdeps/powerpc/rtld-global-offsets.sym
5694         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5695         _dl_hwcap2 in the rtld_global_ro structure.
5696
5697 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5698
5699         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5700         hardware capabilities in support of AT_HWCAP2.
5701         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5702         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5703         GLRO(dl_hwcap2).
5704         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5705         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5706         explicitly the unknown a_type display mechanism is used.
5707         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5708         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5709         struct member.
5710         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5711         to macro prototype for AT_HWCAP2 support.
5712         * sysdeps/i386/dl-procinfo.h: Likewise.
5713         * sysdeps/s390/dl-procinfo.h: Likewise.
5714         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5715         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5716         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5717         return -1 for unknown a_type display fallback.
5718         * sysdeps/sparc/dl-procinfo.h: Likewise.
5719         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5720         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5721
5722 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5723
5724         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5725         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5726
5727 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5728
5729         [BZ #12492]
5730         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5731         mprotect making __stack_prot writable.
5732
5733 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5734             Joseph Myers  <joseph@codesourcery.com>
5735
5736         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5737         as being properly aligned.
5738
5739 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5740
5741         * dlfcn/modstatic5.c: New file.
5742         * dlfcn/tststatic5.c: New file.
5743         * dlfcn/Makefile (tests): Add tststatic5.
5744         (tests-static): Likewise.
5745         (modules-names): Add modstatic5.
5746         (tststatic5-ENV): New variable.
5747         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5748
5749         [BZ #15022]
5750         * elf/dl-support.c (_dl_main_map): New variable.
5751         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5752         (_dl_nns, _dl_load_adds): Set to 1.
5753         (_dl_initial_searchlist): Refer to _dl_main_map.
5754         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5755         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5756         call to _dl_get_origin.
5757         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5758         around call_map.
5759         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5760         * dlfcn/modstatic3.c: New file.
5761         * dlfcn/tststatic3.c: New file.
5762         * dlfcn/tststatic4.c: New file.
5763         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5764         (tests-static): Likewise.
5765         (modules-names): Add modstatic3.
5766         (tststatic3-ENV, tststatic4-ENV): New variables.
5767         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5768         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5769
5770 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5771
5772         * configure.in (CC): Require GCC version 4.4 or later.
5773         * configure: Regenerated.
5774         * manual/install.texi (Tools for Compilation): Update GCC version
5775         requirement.
5776         * INSTALL: Regenerated.
5777
5778 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5779
5780         [BZ #15674]
5781         * string/test-memcmp.c (check2): New.
5782         (main): Call check2.
5783
5784         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5785
5786 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5787
5788         [BZ #15022]
5789         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5790         over to...
5791         (dl_open_worker) [!SHARED]: ... here.
5792
5793 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5794
5795         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5796
5797 2013-06-25  Richard Henderson  <rth@redhat.com>
5798
5799         * locale/programs/locarchive.c: Include <libc-internal.h>
5800
5801 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5802
5803         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5804         trailing whitespace removed.
5805
5806 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5807
5808         [BZ #10283]
5809         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5810         * locale/programs/locarchive.c: Include libc-mmap.h.
5811         (prepare_address_space): Take two new outputs (the mmap base and len).
5812         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5813         values.
5814         (create_archive): Declare new mmap base and len values for
5815         prepare_address_space, and store the result in ah.
5816         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5817         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5818         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5819         Declare new mmap base and len values for
5820         prepare_address_space, and store the result in new_ah.
5821         (open_archive): Declare new mmap base and len values for
5822         prepare_address_space, and store the result in ah.
5823         (close_archive): If ah->mmap_base is not NULL, use that and
5824         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5825         * sysdeps/generic/libc-mmap.h: New file.
5826
5827 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5828
5829         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5830         (ALIGN_UP): Likewise.
5831         (PTR_ALIGN_DOWN): Likewise.
5832         (PTR_ALIGN_UP): Likewise.
5833
5834 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5835
5836         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5837         entry mapped to PPC_PLATFORM_POWER8.
5838         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5839         POWER8.
5840         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5841         (_dl_string_platform): Add case for exporting platform position for
5842         POWER8.
5843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5844         search path to sysdeps/powerpc/powerpc32/power8 directory.
5845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5846         search path to sysdeps/powerpc/powerpc64/power8 directory.
5847         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5848         power7 directories.
5849         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5850         power7 directories.
5851
5852 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5853
5854         * INSTALL: Regenerate.
5855
5856         * nscd/connections.c (nscd_init): Fix comment.
5857
5858 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5859
5860         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5861
5862         [BZ #15667]
5863         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5864         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5865
5866 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5867
5868         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5869         DL_DST_REQ_STATIC.
5870         (DL_DST_REQ_STATIC): Remove macro.
5871
5872 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5873
5874         [BZ #7006]
5875         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5876         with a shift of 0 bits.
5877
5878 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5879
5880         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5881         $(tststatic-ENV).
5882
5883 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5884
5885         [BZ #15655]
5886         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5887
5888 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5889
5890         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5891         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5892         accepts -fno-tree-loop-distribute-patterns.
5893         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5894         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5895         recursive call.
5896         * string/memset.c (memset): Likewise.
5897         * string/test-memmove.c (simple_memmove): Disable loop transformation
5898         to library calls.
5899         * string/test-memset.c (simple_memset): Likewise.
5900         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5901         * benchtests/bench-memset.c (simple_memset): Likewise.
5902         * configure: Regenerated.
5903
5904 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5905
5906         * math/test-misc.c (main): Ignore fesetround failure when failures
5907         of subsequent rounding tests would be ignored.
5908
5909         [BZ #15654]
5910         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5911         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5912         * math/fegetenv.c (__fegetenv): Return 0.
5913         * math/fegetexcept.c (fegetexcept): Return 0.
5914         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5915         FE_TONEAREST.
5916         * math/feholdexcpt.c (feholdexcept): Return 0.
5917         * math/fesetenv.c (__fesetenv): Return 0.
5918         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5919         argument FE_TONEAREST.
5920         * math/feupdateenv.c (__feupdateenv): Return 0.
5921         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5922
5923 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5924
5925         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5926         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5927         ($(objpfx)rtld-%.os rules): Use them.
5928
5929 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5930
5931         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5932         fields.
5933
5934 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5935
5936         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5937         length of target pattern, then descending length of dependency pattern.
5938         * configure.in (AWK): Require gawk 3.1.2 or newer.
5939         * manual/install.texi (Tools for Compilation): Say that we do.
5940         * configure: Regenerated.
5941
5942         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5943         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5944         * scripts/sysd-rules.awk: ... this new script.
5945         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5946         than a glob-style pattern.
5947
5948 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5949
5950         * math/test-misc.c (main): Do not treat incorrectly rounded
5951         conversions as failure unless ROUNDING_TESTS passes.
5952
5953 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5954
5955         [BZ #15631]
5956         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5957         restore exception state around main square root computation, then
5958         check for inexactness explicitly.
5959
5960         * math/libm-test.inc (fma_test_data): Add another test.
5961
5962 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5963
5964         * manual/threads.texi (Non-POSIX Extensions): New document
5965         node.  Document pthread_getattr_default_np and
5966         pthread_setattr_default_np.
5967
5968         * Versions.def (libpthread): Add GLIBC_2.18.
5969         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5971         Likewise.
5972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5973         Likewise.
5974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5975         Likewise.
5976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5977         Likewise.
5978         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5979         Likewise.
5980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5981         Likewise.
5982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5983         Likewise.
5984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5985         Likewise.
5986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5987         Likewise.
5988
5989 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5990
5991         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5992         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5993
5994 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5995             H.J. Lu  <hjl.tools@gmail.com>
5996
5997         [BZ #15627]
5998         * sysdeps/x86_64/rtld-memset.c: Remove file.
5999         * sysdeps/x86_64/rtld-memset.S: New file.
6000
6001 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6002
6003         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6004         (test_in_one_mode): Take arguments for whether the rounding mode
6005         is supported for each floating-point type.
6006         (do_test): Pass new arguments to test_in_one_mode using
6007         ROUNDING_TESTS.
6008
6009 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6010
6011         * posix/tst-waitid.c (do_test): Distinguish different instances of
6012         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6013         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6014         before entering the kernel for waitpid.
6015
6016 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6017
6018         * NEWS: Fix note on clock function precision.  Text by Roland
6019         McGrath.
6020
6021 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6022
6023         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6024         it into place only when and if the sanity check passes.
6025
6026 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6027
6028         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6029         output for whether conversion result is exact.  Take argument
6030         indicating whether type is IBM long double.
6031         (round_for_all): Change need_exact field to ibm_ld.
6032         * stdlib/tst-strtod-round.c (struct exactness): New type.
6033         (struct test): Change bool ld_ok field to struct exactness exact.
6034         (TEST): Update all definitions for change to field.
6035         (tests): Regenerate array contents.
6036         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6037         field value.  Check for IBM long double here.
6038         (do_test): Update calls to test_in_one_mode.
6039
6040 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6041
6042         [BZ #12515]
6043         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6044         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6045
6046 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6047
6048         [BZ #15605]
6049         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6050         generated by the compiler on loop optimizations.
6051         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6052         general definitions.
6053
6054 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6055
6056         * math/bug-nextafter.c: Include <math-tests.h>.
6057         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6058         the relevant type.
6059         * math/bug-nexttoward.c: Include <math-tests.h>.
6060         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6061         the relevant type.
6062         * math/test-misc.c: Include <math-tests.h>.
6063         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6064         the relevant type.
6065
6066 2013-06-12  Andreas Jaeger  <aj@suse.de>
6067
6068         * po/ia.po: Update Interlingua translation from translation
6069         project.
6070
6071 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6072
6073         * include/fenv.h: Include stdbool.h.
6074         (struct rm_ctx): New structure.
6075         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6076         Define macro.
6077         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6078         (SET_RESTORE_ROUNDF): Likewise.
6079         (SET_RESTORE_ROUNDL): Likewise.
6080         (SET_RESTORE_ROUND_NOEX): Likewise.
6081         (SET_RESTORE_ROUND_NOEXF): Likewise.
6082         (SET_RESTORE_ROUND_NOEXL): Likewise.
6083         (SET_RESTORE_ROUND_53BIT): Likewise.
6084         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6085         (libc_feresetround_noexf_ctx): Likewise.
6086         (libc_feresetround_noexl_ctx): Likewise.
6087         (libc_feholdsetround_53bit_ctx): Likewise.
6088         (libc_feresetround_53bit_ctx): Likewise.
6089         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6090         (libc_feholdexcept_setround_sse_ctx): New function.
6091         (libc_fesetenv_sse_ctx): Likewise.
6092         (libc_feupdateenv_sse_ctx): Likewise.
6093         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6094         (libc_feholdexcept_setround_387_ctx): Likewise.
6095         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6096         (libc_feholdsetround_387_prec_ctx): Likewise.
6097         (libc_feholdsetround_387_ctx): Likewise.
6098         (libc_feholdsetround_387_53bit_ctx): Likewise.
6099         (libc_feholdsetround_sse_ctx): Likewise.
6100         (libc_feresetround_sse_ctx): Likewise.
6101         (libc_feresetround_387_ctx): Likewise.
6102         (libc_feupdateenv_387_ctx): Likewise.
6103         (libc_feholdexcept_setroundf_ctx): Define macro.
6104         (libc_fesetenvf_ctx): Likewise.
6105         (libc_feupdateenvf_ctx): Likewise.
6106         (libc_feholdsetroundf_ctx): Likewise.
6107         (libc_feresetroundf_ctx): Likewise.
6108         (libc_feholdexcept_setround_ctx): Likewise.
6109         (libc_fesetenv_ctx): Likewise.
6110         (libc_feupdateenv_ctx): Likewise.
6111         (libc_feholdsetround_ctx): Likewise.
6112         (libc_feresetround_ctx): Likewise.
6113         (libc_feholdexcept_setroundl_ctx): Likewise.
6114         (libc_feupdateenvl_ctx): Likewise.
6115         (libc_feholdsetroundl_ctx): Likewise.
6116         (libc_feresetroundl_ctx): Likewise.
6117         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6118         (libc_feresetround_53bit_ctx): Likewise.
6119
6120 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6121
6122         * locale/iso-639.def: Convert to UTF-8.
6123
6124 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6125
6126         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6127         (EXCEPTION_TESTS_double): Likewise.
6128         (EXCEPTION_TESTS_long_double): Likewise.
6129         (EXCEPTION_TESTS): Likewise.
6130         * math/libm-test.inc (test_exceptions): Only test exceptions if
6131         EXCEPTION_TESTS (FLOAT).
6132
6133 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6134
6135         * benchtests/Makefile (string-bench): Add strcpy_chk and
6136         stpcpy_chk.
6137         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6138         * benchtests/bench-stpcpy_chk.c: New file.
6139         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6140         * benchtests/bench-strcpy_chk.c: New file.
6141         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6142         code.
6143         (do_test): Likewise.
6144
6145 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6146
6147         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6148         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6149         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6150         with tabs where appropriate.
6151         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6152         dl-procinfo.h.
6153         [PPC_PLATFORM_PPC440]: Likewise.
6154         [PPC_PLATFORM_PPC464]: Likewise.
6155         [PPC_PLATFORM_PPC476]: Likewise.
6156         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6157         ppc464, and ppc476 platform strings merging from ports/
6158         dl-procinfo.h.
6159
6160 2013-06-11  Andreas Schwab  <schwab@suse.de>
6161
6162         [BZ #14991]
6163         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6164         (from_ucs4_idx): Regenerate.
6165         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6166         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6167         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6168         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6169         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6170         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6171         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6172         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6173         from FROM_LOOP and TO_LOOP specific macros.
6174         (BODY): Handle combining characters.
6175         * iconvdata/BIG5HKSCS.irreversible: Update.
6176         * iconvdata/BIG5HKSCS.precomposed: New file.
6177         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6178         characters.
6179         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6180
6181 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6182
6183         * include/sys/time.h: Fix indentation and add copyright header.
6184
6185         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6186         (do_test): Likewise.
6187         * string/test-memchr.c (do_one_test): Likewise.
6188         (do_test): Likewise.
6189         * string/test-memcmp.c (do_one_test): Likewise.
6190         (do_test): Likewise.
6191         * string/test-memcpy.c (do_one_test): Likewise.
6192         (do_test): Likewise.
6193         * string/test-memmem.c (do_one_test): Likewise.
6194         (do_test): Likewise.
6195         (do_random_tests): Likewise.
6196         * string/test-memmove.c (do_one_test): Likewise.
6197         (do_test): Likewise.
6198         * string/test-memset.c (do_one_test): Likewise.
6199         (do_test): Likewise.
6200         * string/test-rawmemchr.c (do_one_test): Likewise.
6201         (do_test): Likewise.
6202         * string/test-strcasecmp.c (do_one_test): Likewise.
6203         (do_test): Likewise.
6204         * string/test-strcasestr.c (do_one_test): Likewise.
6205         (do_test): Likewise.
6206         * string/test-strcat.c (do_one_test): Likewise.
6207         (do_test): Likewise.
6208         * string/test-strchr.c (do_one_test): Likewise.
6209         (do_test): Likewise.
6210         * string/test-strcmp.c (do_one_test): Likewise.
6211         (do_test): Likewise.
6212         * string/test-strcpy.c (do_one_test): Likewise.
6213         (do_test): Likewise.
6214         * string/test-string.h: Likewise.
6215         (test_init): Likewise.
6216         * string/test-strlen.c (do_one_test): Likewise.
6217         (do_test): Likewise.
6218         * string/test-strncasecmp.c (do_one_test): Likewise.
6219         (do_test): Likewise.
6220         * string/test-strncat.c (do_one_test): Likewise.
6221         (do_test): Likewise.
6222         * string/test-strncmp.c (do_one_test): Likewise.
6223         (do_test_limit): Likewise.
6224         (do_test): Likewise.
6225         * string/test-strncpy.c (do_one_test): Likewise.
6226         (do_test): Likewise.
6227         * string/test-strnlen.c (do_one_test): Likewise.
6228         (do_test): Likewise.
6229         * string/test-strpbrk.c (do_one_test): Likewise.
6230         (do_test): Likewise.
6231         * string/test-strrchr.c (do_one_test): Likewise.
6232         (do_test): Likewise.
6233         * string/test-strspn.c (do_one_test): Likewise.
6234         (do_test): Likewise.
6235         * string/test-strstr.c (do_one_test): Likewise.
6236         (do_test): Likewise.
6237
6238         * benchtests/Makefile (string-bench): Add string benchmarks.
6239         * benchtests/bench-bcopy-ifunc.c: New file.
6240         * benchtests/bench-bcopy.c: New file.
6241         * benchtests/bench-bzero-ifunc.c: New file.
6242         * benchtests/bench-bzero.c: New file.
6243         * benchtests/bench-memccpy-ifunc.c: New file.
6244         * benchtests/bench-memccpy.c: New file.
6245         * benchtests/bench-memchr-ifunc.c: New file.
6246         * benchtests/bench-memchr.c: New file.
6247         * benchtests/bench-memcmp-ifunc.c: New file.
6248         * benchtests/bench-memcmp.c: New file.
6249         * benchtests/bench-memmem-ifunc.c: New file.
6250         * benchtests/bench-memmem.c: New file.
6251         * benchtests/bench-memmove-ifunc.c: New file.
6252         * benchtests/bench-memmove.c: New file.
6253         * benchtests/bench-mempcpy-ifunc.c: New file.
6254         * benchtests/bench-mempcpy.c: New file.
6255         * benchtests/bench-memset-ifunc.c: New file.
6256         * benchtests/bench-memset.c: New file.
6257         * benchtests/bench-rawmemchr-ifunc.c: New file.
6258         * benchtests/bench-rawmemchr.c: New file.
6259         * benchtests/bench-stpcpy-ifunc.c: New file.
6260         * benchtests/bench-stpcpy.c: New file.
6261         * benchtests/bench-stpncpy-ifunc.c: New file.
6262         * benchtests/bench-stpncpy.c: New file.
6263         * benchtests/bench-strcasecmp-ifunc.c: New file.
6264         * benchtests/bench-strcasecmp.c: New file.
6265         * benchtests/bench-strcasestr-ifunc.c: New file.
6266         * benchtests/bench-strcasestr.c: New file.
6267         * benchtests/bench-strcat-ifunc.c: New file.
6268         * benchtests/bench-strcat.c: New file.
6269         * benchtests/bench-strchr-ifunc.c: New file.
6270         * benchtests/bench-strchr.c: New file.
6271         * benchtests/bench-strchrnul-ifunc.c: New file.
6272         * benchtests/bench-strchrnul.c: New file.
6273         * benchtests/bench-strcmp-ifunc.c: New file.
6274         * benchtests/bench-strcmp.c: New file.
6275         * benchtests/bench-strcpy-ifunc.c: New file.
6276         * benchtests/bench-strcpy.c: New file.
6277         * benchtests/bench-strcspn-ifunc.c: New file.
6278         * benchtests/bench-strcspn.c: New file.
6279         * benchtests/bench-strlen-ifunc.c: New file.
6280         * benchtests/bench-strlen.c: New file.
6281         * benchtests/bench-strncasecmp-ifunc.c: New file.
6282         * benchtests/bench-strncasecmp.c: New file.
6283         * benchtests/bench-strncat-ifunc.c: New file.
6284         * benchtests/bench-strncat.c: New file.
6285         * benchtests/bench-strncmp-ifunc.c: New file.
6286         * benchtests/bench-strncmp.c: New file.
6287         * benchtests/bench-strncpy-ifunc.c: New file.
6288         * benchtests/bench-strncpy.c: New file.
6289         * benchtests/bench-strnlen-ifunc.c: New file.
6290         * benchtests/bench-strnlen.c: New file.
6291         * benchtests/bench-strpbrk-ifunc.c: New file.
6292         * benchtests/bench-strpbrk.c: New file.
6293         * benchtests/bench-strrchr-ifunc.c: New file.
6294         * benchtests/bench-strrchr.c: New file.
6295         * benchtests/bench-strspn-ifunc.c: New file.
6296         * benchtests/bench-strspn.c: New file.
6297         * benchtests/bench-strstr-ifunc.c: New file.
6298         * benchtests/bench-strstr.c: New file.
6299
6300         * benchtests/Makefile: Disable parallel execution of targets.
6301         (string-bench): Add memcpy.
6302         (benchset): New variable to store a list of benchmark sets.
6303         (bench-func): Renamed from bench.
6304         (bench-set): New target.
6305         (bench): Depend on bench-func and bench-set.
6306         * benchtests/README: Add section on benchmark sets.
6307         * benchtests/bench-memcpy-ifunc.c: New file.
6308         * benchtests/bench-memcpy.c: New file.
6309         * benchtests/bench-string.h: New file.
6310
6311 2013-06-11  Andreas Schwab  <schwab@suse.de>
6312
6313         [BZ #15577]
6314         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6315         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6316         values in the triple.
6317         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6318         terminator in the group key.
6319
6320 2013-06-11  Andreas Jaeger  <aj@suse.de>
6321
6322         * po/zh_TW.po: Update Chinese (traditional) translation from
6323         translation project.
6324
6325 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6326
6327         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6328         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6329         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6330         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6331         (clock_getcpuclockid): Likewise.
6332         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6333         Add weak_alias and libc_hidden_def.
6334         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6335         * rt/clock_gettime.c (clock_gettime): Rename to
6336         __clock_gettime.  Add weak_alias and libc_hidden_def.
6337         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6338         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6339         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6340         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6341         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6342         Likewise.
6343         * rt/clock_settime.c (clock_settime): Rename to
6344         __clock_settime.  Add weak_alias and libc_hidden_def.
6345         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6346
6347 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6348
6349         * mach/err_boot.sub: Remove trailing whitespace.
6350         * mach/err_ipc.sub: Likewise.
6351         * mach/err_mach.sub: Likewise.
6352
6353         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6354         (ROUNDING_TESTS_double): Likewise.
6355         (ROUNDING_TESTS_long_double): Likewise.
6356         (ROUNDING_TESTS): Likewise.
6357         * math/libm-test.inc: Include <math-tests.h>.
6358         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6359         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6360         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6361         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6362
6363 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6364
6365         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6366         of assigning.
6367
6368 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6369
6370         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6371         otherwise empty TRANS lines.
6372         * sysdeps/gnu/errlist.c: Regenerated.
6373
6374         * catgets/gencat.c (error_print): Use (void) in function
6375         definition.
6376         * crypt/crypt_util.c (__init_des): Likewise.
6377         * crypt/speeds.c (Stop): Likewise.
6378         (main): Likewise.
6379         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6380         * inet/ruserpass.c (token): Likewise.
6381         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6382         * intl/localealias.c (extend_alias_table): Likewise.
6383         * intl/plural-exp.c (init_germanic_plural): Likewise.
6384         * libio/fcloseall.c (__fcloseall): Likewise.
6385         * libio/genops.c (_IO_flush_all): Likewise.
6386         (_IO_flush_all_linebuffered): Likewise.
6387         (_IO_cleanup): Likewise.
6388         (_IO_iter_begin): Likewise.
6389         (_IO_iter_end): Likewise.
6390         (_IO_list_lock): Likewise.
6391         (_IO_list_unlock): Likewise.
6392         (_IO_list_resetlock): Likewise.
6393         * libio/getchar.c (getchar): Likewise.
6394         * libio/getchar_u.c (getchar_unlocked): Likewise.
6395         * libio/getwchar.c (getwchar): Likewise.
6396         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6397         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6398         * login/getpt.c (__getpt): Likewise.
6399         * login/tst-utmp.c (main): Likewise.
6400         * malloc/hooks.c (__malloc_check_init): Likewise.
6401         * malloc/malloc.c (__malloc_stats): Likewise.
6402         * malloc/mtrace.c (tr_break): Likewise.
6403         (mtrace): Likewise.
6404         (muntrace): Likewise.
6405         * misc/fstab.c (endfsent): Likewise.
6406         * misc/getclktck.c (__getclktck): Likewise.
6407         * misc/getdtsz.c (__getdtablesize): Likewise.
6408         * misc/gethostid.c (gethostid): Likewise.
6409         * misc/getpagesize.c (__getpagesize): Likewise.
6410         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6411         (__get_nprocs): Likewise.
6412         (__get_phys_pages): Likewise.
6413         (__get_avphys_pages): Likewise.
6414         * misc/getttyent.c (getttyent): Likewise.
6415         (setttyent): Likewise.
6416         (endttyent): Likewise.
6417         * misc/getusershell.c (getusershell): Likewise.
6418         (endusershell): Likewise.
6419         (setusershell): Likewise.
6420         (initshells): Likewise.
6421         * misc/hsearch.c (__hdestroy): Likewise.
6422         * misc/sync.c (sync): Likewise.
6423         * misc/syslog.c (closelog_internal): Likewise.
6424         (closelog): Likewise.
6425         * misc/ttyslot.c (ttyslot): Likewise.
6426         * misc/vhangup.c (vhangup): Likewise.
6427         * posix/fork.c (__fork): Likewise.
6428         * posix/getegid.c (__getegid): Likewise.
6429         * posix/geteuid.c (__geteuid): Likewise.
6430         * posix/getgid.c (__getgid): Likewise.
6431         * posix/getpid.c (__getpid): Likewise.
6432         * posix/getppid.c (__getppid): Likewise.
6433         * posix/getuid.c (__getuid): Likewise.
6434         * posix/pause.c (pause): Likewise.
6435         * posix/setpgrp.c (setpgrp): Likewise.
6436         * posix/setsid.c (__setsid): Likewise.
6437         * posix/test-vfork.c (noop): Likewise.
6438         * resolv/gethnamaddr.c (_endhtent): Likewise.
6439         (_gethtent): Likewise.
6440         (ht_endhostent): Likewise.
6441         (gethostent): Likewise.
6442         (dns_service): Likewise.
6443         * stdlib/drand48.c (drand48): Likewise.
6444         * stdlib/lrand48.c (lrand48): Likewise.
6445         * stdlib/mrand48.c (mrand48): Likewise.
6446         * stdlib/rand.c (rand): Likewise.
6447         * stdlib/random.c (__random): Likewise.
6448         * stdlib/setenv.c (clearenv): Likewise.
6449         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6450         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6451         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6452         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6453         (__get_nprocs): Likewise.
6454         (__get_phys_pages): Likewise.
6455         (__get_avphys_pages): Likewise.
6456         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6457         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6458         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6459         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6460         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6461         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6462         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6463         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6464         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6465         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6466         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6467         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6468         * sysdeps/posix/clock.c (clock): Likewise.
6469         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6470         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6471         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6472         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6473         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6475         (__get_nprocs_conf): Likewise.
6476         (__get_phys_pages): Likewise.
6477         (__get_avphys_pages): Likewise.
6478         * time/clock.c (clock): Likewise.
6479         * time/tzset.c (__tzname_max): Likewise.
6480
6481 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6482
6483         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6484         (__bswap_32): Do not use "register".
6485         * crypt/crypt.c (_ufc_doit_r): Likewise.
6486         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6487         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6488         * gmon/gmon.c (__monstartup): Likewise.
6489         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6490         * hurd/hurdmalloc.c (more_memory): Likewise.
6491         (malloc): Likewise.
6492         (free): Likewise.
6493         (realloc): Likewise.
6494         (malloc_fork_prepare): Likewise.
6495         (malloc_fork_parent): Likewise.
6496         (malloc_fork_child): Likewise.
6497         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6498         (_svcauth_des): Likewise.
6499         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6500         * inet/inet_net.c (inet_network): Likewise.
6501         * inet/inet_netof.c (inet_netof): Likewise.
6502         * inet/rcmd.c (__validuser2_sa): Likewise.
6503         * io/fts.c (fts_open): Likewise.
6504         (fts_load): Likewise.
6505         (fts_close): Likewise.
6506         (fts_read): Likewise.
6507         (fts_children): Likewise.
6508         (fts_build): Likewise.
6509         (fts_stat): Likewise.
6510         (fts_sort): Likewise.
6511         (fts_alloc): Likewise.
6512         (fts_lfree): Likewise.
6513         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6514         (_IO_file_xsgetn): Likewise.
6515         (_IO_file_xsgetn_mmap): Likewise.
6516         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6517         (_IO_cookie_write): Likewise.
6518         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6519         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6520         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6521         * malloc/obstack.c (_obstack_begin): Likewise.
6522         (_obstack_begin_1): Likewise.
6523         (_obstack_newchunk): Likewise.
6524         (_obstack_allocated_p): Likewise.
6525         (obstack_free): Likewise.
6526         (_obstack_memory_used): Likewise.
6527         * misc/getttyent.c (getttynam): Likewise.
6528         (getttyent): Likewise.
6529         (skip): Likewise.
6530         (value): Likewise.
6531         * misc/getusershell.c (initshells): Likewise.
6532         * misc/syslog.c (__vsyslog_chk): Likewise.
6533         * misc/ttyslot.c (ttyslot): Likewise.
6534         * nis/nis_hash.c (__nis_hash): Likewise.
6535         * posix/fnmatch_loop.c (FCT): Likewise.
6536         * posix/getconf.c (print_all): Likewise.
6537         (main): Likewise.
6538         * posix/getopt.c (exchange): Likewise.
6539         * posix/glob.c (globfree): Likewise.
6540         (prefix_array): Likewise.
6541         (__glob_pattern_type): Likewise.
6542         * resolv/arpa/nameser.h (NS_GET16): Likewise.
6543         (NS_GET32): Likewise.
6544         (NS_PUT16): Likewise.
6545         (NS_PUT32): Likewise.
6546         * resolv/gethnamaddr.c (getanswer): Likewise.
6547         (gethostbyname2): Likewise.
6548         (gethostbyaddr): Likewise.
6549         (_gethtent): Likewise.
6550         (_gethtbyname2): Likewise.
6551         (_gethtbyaddr): Likewise.
6552         * resolv/ns_print.c (dst_s_get_int16): Likewise.
6553         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6554         * resolv/res_init.c (__res_vinit): Likewise.
6555         (net_mask): Likewise.
6556         * resolv/res_mkquery.c (outchar): Likewise.
6557         (PRINT): Likewise.
6558         * stdio-common/printf_fp.c (outchar): Likewise.
6559         (PRINT): Likewise.
6560         * stdio-common/printf_fphex.c (outchar): Likewise.
6561         (PRINT): Likewise.
6562         * stdio-common/printf_size.c (outchar): Likewise.
6563         (PRINT): Likewise.
6564         * stdio-common/test_rdwr.c (main): Likewise.
6565         * stdio-common/tfformat.c (matches): Likewise.
6566         * stdio-common/vfprintf.c (outchar): Likewise.
6567         (printf_unknown): Likewise.
6568         (buffered_vfprintf): Likewise.
6569         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6570         * stdio-common/xbug.c (AppendToBuffer): Likewise.
6571         (ReadFile): Likewise.
6572         * stdlib/qsort.c (SWAP): Likewise.
6573         (_quicksort): Likewise.
6574         * stdlib/setenv.c (__add_to_environ): Likewise.
6575         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6576         * stdlib/strtol_l.c (__strtol_l): Likewise.
6577         * stdlib/tst-strtod.c (main): Likewise.
6578         * stdlib/tst-strtol.c (main): Likewise.
6579         * stdlib/tst-strtoll.c (main): Likewise.
6580         * string/bits/string2.h (__strcmp_cc): Likewise.
6581         (__strcmp_cg): Likewise.
6582         (__strcspn_c1): Likewise.
6583         (__strcspn_c2): Likewise.
6584         (__strcspn_c3): Likewise.
6585         (__strspn_c1): Likewise.
6586         (__strspn_c2): Likewise.
6587         (__strspn_c3): Likewise.
6588         (__strsep_1c): Likewise.
6589         (__strsep_2c): Likewise.
6590         (__strsep_3c): Likewise.
6591         * string/memccpy.c (__memccpy): Likewise.
6592         * string/stpcpy.c (__stpcpy): Likewise.
6593         * string/strcmp.c (strcmp): Likewise.
6594         * string/strrchr.c (strrchr): Likewise.
6595         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6596         Likewise.
6597         * sysdeps/mach/hurd/getcwd.c
6598         (_hurd_canonicalize_directory_name_internal): Likewise.
6599         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6600         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6601         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6602         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6603         Likewise, in both definitions.
6604         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6605         definitions.
6606         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6607         64] (__bswap_64): Likewise.
6608         * time/test_time.c (main): Likewise.
6609         * time/tzfile.c (__tzfile_read): Likewise.
6610         (__tzfile_compute): Likewise.
6611         * time/tzset.c (__tzset_parse_tz): Likewise.
6612         (tzset_internal): Likewise.
6613         (compute_change): Likewise.
6614         * wcsmbs/wcscat.c (__wcscat): Likewise.
6615         * wcsmbs/wcschr.c (wcschr): Likewise.
6616         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6617         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6618         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6619         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6620         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6621         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6622         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6623         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6624         * wcsmbs/wmemset.c (wmemset): Likewise.
6625
6626 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6627
6628         * scripts/config.guess: Update to version 2013-05-16.
6629         * scripts/config.sub: Update to version 2013-04-24.
6630         * scripts/install-sh: Update to version 2011-11-20.07.
6631         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6632         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6633
6634 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6635
6636         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6637         * elf/sln.c: Likewise.
6638         * hurd/hurd/ioctl.h: Likewise.
6639         * hurd/hurdmalloc.c: Likewise.
6640         * hurd/xattr.c: Likewise.
6641         * include/shlib-compat.h: Likewise.
6642         * inet/ruserpass.c: Likewise.
6643         * libio/iofgets_u.c: Likewise.
6644         * libio/iofgetws_u.c: Likewise.
6645         * locale/programs/ld-identification.c: Likewise.
6646         * locale/programs/ld-time.c: Likewise.
6647         * mach/msg-destroy.c: Likewise.
6648         * nss/nss_files/files-netgrp.c: Likewise.
6649         * resolv/res_data.c: Likewise.
6650         * soft-fp/op-1.h: Likewise.
6651         * soft-fp/op-2.h: Likewise.
6652         * soft-fp/op-4.h: Likewise.
6653         * soft-fp/op-common.h: Likewise.
6654         * stdio-common/printf_fphex.c: Likewise.
6655         * stdlib/strtod_l.c: Likewise.
6656         * sunrpc/rpc/clnt.h: Likewise.
6657         * sysdeps/generic/framestate.c: Likewise.
6658         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6659         * sysdeps/i386/bsd-setjmp.S: Likewise.
6660         * sysdeps/i386/__longjmp.S: Likewise.
6661         * sysdeps/i386/setjmp.S: Likewise.
6662         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6663         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6664         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6665         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6666         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6667         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6668         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6669         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6670         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6671         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6672         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6673         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6674         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6675         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6676         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6677         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6678         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6679         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6680         * sysdeps/ieee754/support.c: Likewise.
6681         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6682         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6683         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6684         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6685         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6686         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6687         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6688         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6689         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6690         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6691         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6692         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6693         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6694         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6695         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6696         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6697         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6699
6700 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6701
6702         * posix/transbug.c: Remove executable mode.
6703
6704 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6705
6706         * crypt/speeds.c: Remove trailing whitespace.
6707         * dlfcn/default.c: Likewise.
6708         * elf/ifuncdep2.c: Likewise.
6709         * elf/ifuncmain1.c: Likewise.
6710         * elf/ifuncmain1vis.c: Likewise.
6711         * elf/testobj.h: Likewise.
6712         * elf/tst-stackguard1.c: Likewise.
6713         * gmon/sys/gmon.h: Likewise.
6714         * hurd/hurdmsg.c: Likewise.
6715         * hurd/new-fd.c: Likewise.
6716         * hurd/ports-get.c: Likewise.
6717         * iconvdata/ibm1008_420.c: Likewise.
6718         * inet/tst-getni1.c: Likewise.
6719         * inet/tst-getni2.c: Likewise.
6720         * libio/ioungetc.c: Likewise.
6721         * libio/wfiledoalloc.c: Likewise.
6722         * manual/libm-err-tab.pl: Likewise.
6723         * math/w_dremf.c: Likewise.
6724         * misc/ftruncate.c: Likewise.
6725         * posix/bug-glob2.c: Likewise.
6726         * posix/tst-pcre.c: Likewise.
6727         * posix/wait4.c: Likewise.
6728         * resolv/README: Likewise.
6729         * resolv/res_debug.h: Likewise.
6730         * resolv/tst-inet_ntop.c: Likewise.
6731         * setjmp/bug269-setjmp.c: Likewise.
6732         * soft-fp/extended.h: Likewise.
6733         * soft-fp/op-1.h: Likewise.
6734         * soft-fp/op-2.h: Likewise.
6735         * soft-fp/op-4.h: Likewise.
6736         * soft-fp/op-8.h: Likewise.
6737         * soft-fp/testit.c: Likewise.
6738         * stdio-common/bug16.c: Likewise.
6739         * stdlib/random.c: Likewise.
6740         * sunrpc/rpcsvc/rquota.x: Likewise.
6741         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6742         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6743         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6744         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6745         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6746         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6747         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6748         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6749         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6750         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6751         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6752         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6753         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6754         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6755         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6756         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6757         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6758         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6759         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6760         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6761         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6762         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6763         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6764         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6765         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6766         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6767         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6768         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6769         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6770         * sysdeps/ieee754/s_lib_version.c: Likewise.
6771         * sysdeps/mach/hurd/check_fds.c: Likewise.
6772         * sysdeps/mach/hurd/getsockname.c: Likewise.
6773         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6774         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6775         * sysdeps/powerpc/bits/link.h: Likewise.
6776         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6777         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6778         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6779         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6780         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6781         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6782         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6783         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6784         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6785         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6786         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6787         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6788         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6789         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6790         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6791         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6792         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6793         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6794         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6795         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6796         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6797         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6798         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6799         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6800         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6801         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6802         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6803         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6804         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6805         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6806         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6807         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6808         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6809         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6810         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6811         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6812         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6813         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6814         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6815         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6816         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6817         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6818         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6819         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6820         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6821         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6822         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6823         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6824         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6825         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6828         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6829         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6830         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6831         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6832         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6833         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6834         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6835         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6836         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6837         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6838         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6839         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6840         * sysdeps/powerpc/sysdep.h: Likewise.
6841         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6842         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6843         * sysdeps/sh/dl-trampoline.S: Likewise.
6844         * sysdeps/sh/memset.S: Likewise.
6845         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6846         * sysdeps/sh/strlen.S: Likewise.
6847         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6848         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6849         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6850         * sysdeps/sparc/sparc32/rem.S: Likewise.
6851         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6852         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6853         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6854         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6855         * sysdeps/sparc/sparc32/urem.S: Likewise.
6856         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6857         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6858         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6859         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6860         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6861         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6862         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6863         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6864         * sysdeps/unix/bsd/times.c: Likewise.
6865         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6866         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6870         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6871         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6872         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6873         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6874         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6875         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6876         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6877         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6878         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6879         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6880         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6881         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6882         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6883         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6884         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6885         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6886         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6887         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6888         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6889         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6890         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6891         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6892         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6893         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6894         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6895         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6896         * sysdeps/x86_64/strcspn.S: Likewise.
6897
6898 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6899
6900         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6901         generated file.  Regenerate properly from gen-translit.pl.
6902         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6903         locale/C-translit.h.
6904
6905 2013-06-05  Andreas Schwab  <schwab@suse.de>
6906
6907         [BZ #15100]
6908         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6909         week as 6 instead of -1.
6910         * time/tst-strptime.c (day_tests): Add test case.
6911
6912 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6913
6914         * sysdeps/generic/math_private.h
6915         (libc_feholdexcept_setround_53bit): Replace with
6916         libc_feholdsetround_53bit.
6917         (libc_feupdateenv_53bit): Replace with
6918         libc_feresetround_53bit.
6919         (SET_RESTORE_ROUND_53BIT): Adjust.
6920
6921 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6922
6923         * string/test-strchrnul.c: Add copyright header.
6924
6925         * posix/tst-getaddrinfo4.c: Increase test timeout.
6926
6927 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6928
6929         [BZ #15536]
6930         * math/libm-test.inc (MAX_EXP): Remove
6931         (MIN_EXP): Define.
6932         (ulp): Use MIN_EXP - MANT_DIG.
6933         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6934
6935 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6936
6937         * po/be.po: Revert last change.
6938         * po/zh_CN.po: Likewise.
6939         * po/header.pot: Likewise.
6940
6941 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6942
6943         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6944         link-libc-deps to empty as target-specific variable.
6945         * Makerules (link-libc-args): New variable.
6946         (libc-for-link): Likewise.
6947         (link-libc-deps): Likewise.
6948         (lib%.so): Depend on $(link-libc-deps).  Link with
6949         $(link-libc-args).
6950         (build-module): Link with $(link-libc-args).
6951         (build-module-asneeded): Likewise.
6952         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6953         list of objects.
6954         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6955         target-specific variable.
6956         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6957         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6958         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6959         libc.
6960         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6961         libc and ld.so.
6962         ($(objpfx)libpcprofile.so): Likewise.
6963         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6964         libc_nonshared.a.
6965         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6966         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6967         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6968         $(link-libc-deps).
6969         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6970         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6971         * login/Makefile ($(objpfx)libutil.so): Likewise.
6972         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6973         * math/Makefile ($(objpfx)libm.so): Likewise.
6974         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6975         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6976         variable instead of depending directly on libc.
6977         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6978         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6979         $(link-libc-deps).
6980         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6981         libc.
6982         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6983         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6984         ($(objpfx)libanl.so): Likewise.
6985         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6986         ld.so.
6987         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6988         $(link-libc-deps).
6989         * sysdeps/i386/fpu/Makefile: Remove file.
6990         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6991         ($(objpfx)libm.so): Remove dependency on ld.so.
6992
6993 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
6994
6995         [BZ # 15553]
6996         * nis/yp_xdr.c (XDRMAXNAME): Define.
6997         (XDRMAXRECORD): Define.
6998         (xdr_domainname): Use XDRMAXNAME.
6999         (xdr_mapname): Likewise.
7000         (xdr_peername): Likewise.
7001         (xdr_keydat): Use XDRMAXRECORD.
7002         (xdr_valdat): Likewise.
7003
7004 2013-05-30  Jeff Law  <law@redhat.com>
7005
7006         [BZ #14256]
7007         * manual/errno.texi (ESTALE): Update to account for more than
7008         just NFS file systems.
7009         * sysdeps/gnu/errlist.c: Regenerated.
7010
7011 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7012
7013         [BZ #15465]
7014         * elf/Makefile (tests): Add tst-null-argv.
7015         (modules-names):  Add tst-null-argv-lib.
7016         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7017         (tst-null-argv-ENV): Set environment for tst-null-argv.
7018         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7019         (RTLD_PROGNAME): New macro.
7020         * elf/tst-null-argv.c: New test case.
7021         * elf/tst-null-argv-lib.c: Library for test case.
7022         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7023         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7024         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7025         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7026         * elf/dl-init.c (call_init): Likewise.
7027         (_dl_init): Likewise.
7028         * elf/dl-load.c (print_search_path): Likewise.
7029         (_dl_map_object): Likewise.
7030         * elf/dl-lookup.c (do_lookup_x): Likewise.
7031         (add_dependency): Likewise.
7032         (_dl_lookup_symbol_x): Likewise.
7033         (_dl_debug_bindings): Likewise.
7034         * elf/dl-open.c (_dl_show_scope): Likewise.
7035         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7036         * elf/dl-version.c (match_symbol): Likewise.
7037         (_dl_check_map_versions): Likewise.
7038         * elf/rtld.c (dl_main): Likewise.
7039         (print_unresolved): Use RTLD_PROGNAME.
7040         (print_missing_version): Likewise.
7041         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7042         (elf_machine_rela): Likewise.
7043         * sysdeps/powerpc/powerpc32/dl-machine.c
7044         (__process_machine_rela): Likewise.
7045         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7046         Likewise.
7047         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7048         Likewise.
7049         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7050         Likewise.
7051         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7052         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7053         Likewise.
7054         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7055         Likewise.
7056         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7057
7058 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7059
7060         * po/be.po: Add descriptive title.
7061         * po/zh_CN.po: Likewise.
7062         * po/header.pot: Likewise.
7063
7064 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7065
7066         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7067         error message.
7068         (enlarge_archive): Likewise.
7069
7070 2013-05-28  Ben North  <ben@redfrontdoor.org>
7071
7072         * manual/arith.texi (frexp): It is the magnitude of the return
7073         value which lies in [0.5, 1), not the return value itself.
7074
7075 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7076
7077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7078
7079 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7080
7081         * stdio-common/bug26.c (main): Correct fscanf template.
7082
7083         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7084         declare _dl_skip_args.
7085
7086         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7087         Don't declare.
7088
7089         * manual/platform.texi: Add missing @end deftypefun.
7090
7091 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7092
7093         [BZ #15529]
7094         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7095         bit of mantissa of 2^16382.
7096         * math/libm-test.inc (hypot_test_data): Add more tests.
7097
7098         * math/libm-test.inc: Add drem and pow10 to list of tested
7099         functions.
7100         (pow10_test): New function.
7101         (drem_test): Likewise.
7102         (drem_test_tonearest): Likewise.
7103         (drem_test_towardzero): Likewise.
7104         (drem_test_downward): Likewise.
7105         (drem_test_upward): Likewise.
7106         (main): Call the new functions.
7107
7108         * math/libm-test.inc (finite_test_data): Remove.
7109         (finite_test): Run tests from isfinite_test_data.
7110         (gamma_test_data): Remove.
7111         (gamma_test): Run tests from lgamma_test_data.
7112         * sysdeps/i386/fpu/libm-test-ulps: Update.
7113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7114
7115 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7116
7117         * manual/platform.texi: Add PowerPC PPR function set documentation.
7118         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7119         implementation.
7120
7121 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7122
7123         * math/libm-test.inc (MAX_EXP): Define.
7124         (ULPDIFF): Define.
7125         (ulp): New function.
7126         (check_float_internal): Use ULPDIFF.
7127         (cpow_test): Disable failing test.
7128         (check_ulp): Test ulp() implemetnation.
7129         (main): Call check_ulp before starting tests.
7130
7131 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7132
7133         * math/gen-libm-test.pl (generate_testfile): Do not handle
7134         START_DATA and END_DATA.
7135         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7136         END_DATA.
7137         (acos_tonearest_test_data): Likewise.
7138         (acos_towardzero_test_data): Likewise.
7139         (acos_downward_test_data): Likewise.
7140         (acos_upward_test_data): Likewise.
7141         (acosh_test_data): Likewise.
7142         (asin_test_data): Likewise.
7143         (asin_tonearest_test_data): Likewise.
7144         (asin_towardzero_test_data): Likewise.
7145         (asin_downward_test_data): Likewise.
7146         (asin_upward_test_data): Likewise.
7147         (asinh_test_data): Likewise.
7148         (atan_test_data): Likewise.
7149         (atanh_test_data): Likewise.
7150         (atan2_test_data): Likewise.
7151         (cabs_test_data): Likewise.
7152         (cacos_test_data): Likewise.
7153         (cacosh_test_data): Likewise.
7154         (carg_test_data): Likewise.
7155         (casin_test_data): Likewise.
7156         (casinh_test_data): Likewise.
7157         (catan_test_data): Likewise.
7158         (catanh_test_data): Likewise.
7159         (cbrt_test_data): Likewise.
7160         (ccos_test_data): Likewise.
7161         (ccosh_test_data): Likewise.
7162         (ceil_test_data): Likewise.
7163         (cexp_test_data): Likewise.
7164         (cimag_test_data): Likewise.
7165         (clog_test_data): Likewise.
7166         (clog10_test_data): Likewise.
7167         (conj_test_data): Likewise.
7168         (copysign_test_data): Likewise.
7169         (cos_test_data): Likewise.
7170         (cos_tonearest_test_data): Likewise.
7171         (cos_towardzero_test_data): Likewise.
7172         (cos_downward_test_data): Likewise.
7173         (cos_upward_test_data): Likewise.
7174         (cosh_test_data): Likewise.
7175         (cosh_tonearest_test_data): Likewise.
7176         (cosh_towardzero_test_data): Likewise.
7177         (cosh_downward_test_data): Likewise.
7178         (cosh_upward_test_data): Likewise.
7179         (cpow_test_data): Likewise.
7180         (cproj_test_data): Likewise.
7181         (creal_test_data): Likewise.
7182         (csin_test_data): Likewise.
7183         (csinh_test_data): Likewise.
7184         (csqrt_test_data): Likewise.
7185         (ctan_test_data): Likewise.
7186         (ctan_tonearest_test_data): Likewise.
7187         (ctan_towardzero_test_data): Likewise.
7188         (ctan_downward_test_data): Likewise.
7189         (ctan_upward_test_data): Likewise.
7190         (ctanh_test_data): Likewise.
7191         (ctanh_tonearest_test_data): Likewise.
7192         (ctanh_towardzero_test_data): Likewise.
7193         (ctanh_downward_test_data): Likewise.
7194         (ctanh_upward_test_data): Likewise.
7195         (erf_test_data): Likewise.
7196         (erfc_test_data): Likewise.
7197         (exp_test_data): Likewise.
7198         (exp_tonearest_test_data): Likewise.
7199         (exp_towardzero_test_data): Likewise.
7200         (exp_downward_test_data): Likewise.
7201         (exp_upward_test_data): Likewise.
7202         (exp10_test_data): Likewise.
7203         (exp2_test_data): Likewise.
7204         (expm1_test_data): Likewise.
7205         (fabs_test_data): Likewise.
7206         (fdim_test_data): Likewise.
7207         (finite_test_data): Likewise.
7208         (floor_test_data): Likewise.
7209         (fma_test_data): Likewise.
7210         (fma_towardzero_test_data): Likewise.
7211         (fma_downward_test_data): Likewise.
7212         (fma_upward_test_data): Likewise.
7213         (fmax_test_data): Likewise.
7214         (fmin_test_data): Likewise.
7215         (fmod_test_data): Likewise.
7216         (fpclassify_test_data): Likewise.
7217         (frexp_test_data): Likewise.
7218         (gamma_test_data): Likewise.
7219         (hypot_test_data): Likewise.
7220         (ilogb_test_data): Likewise.
7221         (isfinite_test_data): Likewise.
7222         (isgreater_test_data): Likewise.
7223         (isgreaterequal_test_data): Likewise.
7224         (isinf_test_data): Likewise.
7225         (isless_test_data): Likewise.
7226         (islessequal_test_data): Likewise.
7227         (islessgreater_test_data): Likewise.
7228         (isnan_test_data): Likewise.
7229         (isnormal_test_data): Likewise.
7230         (issignaling_test_data): Likewise.
7231         (isunordered_test_data): Likewise.
7232         (j0_test_data): Likewise.
7233         (j1_test_data): Likewise.
7234         (jn_test_data): Likewise.
7235         (ldexp_test_data): Likewise.
7236         (lgamma_test_data): Likewise.
7237         (lrint_test_data): Likewise.
7238         (lrint_tonearest_test_data): Likewise.
7239         (lrint_towardzero_test_data): Likewise.
7240         (lrint_downward_test_data): Likewise.
7241         (lrint_upward_test_data): Likewise.
7242         (llrint_test_data): Likewise.
7243         (llrint_tonearest_test_data): Likewise.
7244         (llrint_towardzero_test_data): Likewise.
7245         (llrint_downward_test_data): Likewise.
7246         (llrint_upward_test_data): Likewise.
7247         (log_test_data): Likewise.
7248         (log10_test_data): Likewise.
7249         (log1p_test_data): Likewise.
7250         (log2_test_data): Likewise.
7251         (logb_test_data): Likewise.
7252         (logb_downward_test_data): Likewise.
7253         (lround_test_data): Likewise.
7254         (llround_test_data): Likewise.
7255         (modf_test_data): Likewise.
7256         (nearbyint_test_data): Likewise.
7257         (nextafter_test_data): Likewise.
7258         (nexttoward_test_data): Likewise.
7259         (pow_test_data): Likewise.
7260         (pow_tonearest_test_data): Likewise.
7261         (pow_towardzero_test_data): Likewise.
7262         (pow_downward_test_data): Likewise.
7263         (pow_upward_test_data): Likewise.
7264         (remainder_test_data): Likewise.
7265         (remainder_tonearest_test_data): Likewise.
7266         (remainder_towardzero_test_data): Likewise.
7267         (remainder_downward_test_data): Likewise.
7268         (remainder_upward_test_data): Likewise.
7269         (remquo_test_data): Likewise.
7270         (rint_test_data): Likewise.
7271         (rint_tonearest_test_data): Likewise.
7272         (rint_towardzero_test_data): Likewise.
7273         (rint_downward_test_data): Likewise.
7274         (rint_upward_test_data): Likewise.
7275         (round_test_data): Likewise.
7276         (scalb_test_data): Likewise.
7277         (scalbn_test_data): Likewise.
7278         (scalbln_test_data): Likewise.
7279         (signbit_test_data): Likewise.
7280         (sin_test_data): Likewise.
7281         (sin_tonearest_test_data): Likewise.
7282         (sin_towardzero_test_data): Likewise.
7283         (sin_downward_test_data): Likewise.
7284         (sin_upward_test_data): Likewise.
7285         (sincos_test_data): Likewise.
7286         (sinh_test_data): Likewise.
7287         (sinh_tonearest_test_data): Likewise.
7288         (sinh_towardzero_test_data): Likewise.
7289         (sinh_downward_test_data): Likewise.
7290         (sinh_upward_test_data): Likewise.
7291         (sqrt_test_data): Likewise.
7292         (tan_test_data): Likewise.
7293         (tan_tonearest_test_data): Likewise.
7294         (tan_towardzero_test_data): Likewise.
7295         (tan_downward_test_data): Likewise.
7296         (tan_upward_test_data): Likewise.
7297         (tanh_test_data): Likewise.
7298         (tgamma_test_data): Likewise.
7299         (trunc_test_data): Likewise.
7300         (y0_test_data): Likewise.
7301         (y1_test_data): Likewise.
7302         (yn_test_data): Likewise.
7303         (significand_test_data): Likewise.
7304
7305         * math/gen-libm-test.pl (@functions): Remove variable.
7306         (generate_testfile): Don't handle START and END lines.
7307         * math/libm-test.inc (START): New macro.
7308         (END): Likewise.
7309         (END_COMPLEX): Likewise.
7310         (acos_test): Use END macro without arguments.
7311         (acos_test_tonearest): Likewise.
7312         (acos_test_towardzero): Likewise.
7313         (acos_test_downward): Likewise.
7314         (acos_test_upward): Likewise.
7315         (acosh_test): Likewise.
7316         (asin_test): Likewise.
7317         (asin_test_tonearest): Likewise.
7318         (asin_test_towardzero): Likewise.
7319         (asin_test_downward): Likewise.
7320         (asin_test_upward): Likewise.
7321         (asinh_test): Likewise.
7322         (atan_test): Likewise.
7323         (atanh_test): Likewise.
7324         (atan2_test): Likewise.
7325         (cabs_test): Likewise.
7326         (cacos_test): Use END_COMPLEX macro without arguments.
7327         (cacosh_test): Likewise.
7328         (carg_test): Use END macro without arguments.
7329         (casin_test): Use END_COMPLEX macro without arguments.
7330         (casinh_test): Likewise.
7331         (catan_test): Likewise.
7332         (catanh_test): Likewise.
7333         (cbrt_test): Use END macro without arguments.
7334         (ccos_test): Use END_COMPLEX macro without arguments.
7335         (ccosh_test): Likewise.
7336         (ceil_test): Use END macro without arguments.
7337         (cexp_test): Use END_COMPLEX macro without arguments.
7338         (cimag_test): Use END macro without arguments.
7339         (clog_test): Use END_COMPLEX macro without arguments.
7340         (clog10_test): Likewise.
7341         (conj_test): Likewise.
7342         (copysign_test): Use END macro without arguments.
7343         (cos_test): Likewise.
7344         (cos_test_tonearest): Likewise.
7345         (cos_test_towardzero): Likewise.
7346         (cos_test_downward): Likewise.
7347         (cos_test_upward): Likewise.
7348         (cosh_test): Likewise.
7349         (cosh_test_tonearest): Likewise.
7350         (cosh_test_towardzero): Likewise.
7351         (cosh_test_downward): Likewise.
7352         (cosh_test_upward): Likewise.
7353         (cpow_test): Use END_COMPLEX macro without arguments.
7354         (cproj_test): Likewise.
7355         (creal_test): Use END macro without arguments.
7356         (csin_test): Use END_COMPLEX macro without arguments.
7357         (csinh_test): Likewise.
7358         (csqrt_test): Likewise.
7359         (ctan_test): Likewise.
7360         (ctan_test_tonearest): Likewise.
7361         (ctan_test_towardzero): Likewise.
7362         (ctan_test_downward): Likewise.
7363         (ctan_test_upward): Likewise.
7364         (ctanh_test): Likewise.
7365         (ctanh_test_tonearest): Likewise.
7366         (ctanh_test_towardzero): Likewise.
7367         (ctanh_test_downward): Likewise.
7368         (ctanh_test_upward): Likewise.
7369         (erf_test): Use END macro without arguments.
7370         (erfc_test): Likewise.
7371         (exp_test): Likewise.
7372         (exp_test_tonearest): Likewise.
7373         (exp_test_towardzero): Likewise.
7374         (exp_test_downward): Likewise.
7375         (exp_test_upward): Likewise.
7376         (exp10_test): Likewise.
7377         (exp2_test): Likewise.
7378         (expm1_test): Likewise.
7379         (fabs_test): Likewise.
7380         (fdim_test): Likewise.
7381         (finite_test): Likewise.
7382         (floor_test): Likewise.
7383         (fma_test): Likewise.
7384         (fma_test_towardzero): Likewise.
7385         (fma_test_downward): Likewise.
7386         (fma_test_upward): Likewise.
7387         (fmax_test): Likewise.
7388         (fmin_test): Likewise.
7389         (fmod_test): Likewise.
7390         (fpclassify_test): Likewise.
7391         (frexp_test): Likewise.
7392         (gamma_test): Likewise.
7393         (hypot_test): Likewise.
7394         (ilogb_test): Likewise.
7395         (isfinite_test): Likewise.
7396         (isgreater_test): Likewise.
7397         (isgreaterequal_test): Likewise.
7398         (isinf_test): Likewise.
7399         (isless_test): Likewise.
7400         (islessequal_test): Likewise.
7401         (islessgreater_test): Likewise.
7402         (isnan_test): Likewise.
7403         (isnormal_test): Likewise.
7404         (issignaling_test): Likewise.
7405         (isunordered_test): Likewise.
7406         (j0_test): Likewise.
7407         (j1_test): Likewise.
7408         (jn_test): Likewise.
7409         (ldexp_test): Likewise.
7410         (lgamma_test): Likewise.
7411         (lrint_test): Likewise.
7412         (lrint_test_tonearest): Likewise.
7413         (lrint_test_towardzero): Likewise.
7414         (lrint_test_downward): Likewise.
7415         (lrint_test_upward): Likewise.
7416         (llrint_test): Likewise.
7417         (llrint_test_tonearest): Likewise.
7418         (llrint_test_towardzero): Likewise.
7419         (llrint_test_downward): Likewise.
7420         (llrint_test_upward): Likewise.
7421         (log_test): Likewise.
7422         (log10_test): Likewise.
7423         (log1p_test): Likewise.
7424         (log2_test): Likewise.
7425         (logb_test): Likewise.
7426         (logb_test_downward): Likewise.
7427         (lround_test): Likewise.
7428         (llround_test): Likewise.
7429         (modf_test): Likewise.
7430         (nearbyint_test): Likewise.
7431         (nextafter_test): Likewise.
7432         (nexttoward_test): Likewise.
7433         (pow_test): Likewise.
7434         (pow_test_tonearest): Likewise.
7435         (pow_test_towardzero): Likewise.
7436         (pow_test_downward): Likewise.
7437         (pow_test_upward): Likewise.
7438         (remainder_test): Likewise.
7439         (remainder_test_tonearest): Likewise.
7440         (remainder_test_towardzero): Likewise.
7441         (remainder_test_downward): Likewise.
7442         (remainder_test_upward): Likewise.
7443         (remquo_test): Likewise.
7444         (rint_test): Likewise.
7445         (rint_test_tonearest): Likewise.
7446         (rint_test_towardzero): Likewise.
7447         (rint_test_downward): Likewise.
7448         (rint_test_upward): Likewise.
7449         (round_test): Likewise.
7450         (scalb_test): Likewise.
7451         (scalbn_test): Likewise.
7452         (scalbln_test): Likewise.
7453         (signbit_test): Likewise.
7454         (sin_test): Likewise.
7455         (sin_test_tonearest): Likewise.
7456         (sin_test_towardzero): Likewise.
7457         (sin_test_downward): Likewise.
7458         (sin_test_upward): Likewise.
7459         (sincos_test): Likewise.
7460         (sinh_test): Likewise.
7461         (sinh_test_tonearest): Likewise.
7462         (sinh_test_towardzero): Likewise.
7463         (sinh_test_downward): Likewise.
7464         (sinh_test_upward): Likewise.
7465         (sqrt_test): Likewise.
7466         (tan_test): Likewise.
7467         (tan_test_tonearest): Likewise.
7468         (tan_test_towardzero): Likewise.
7469         (tan_test_downward): Likewise.
7470         (tan_test_upward): Likewise.
7471         (tanh_test): Likewise.
7472         (tgamma_test): Likewise.
7473         (trunc_test): Likewise.
7474         (y0_test): Likewise.
7475         (y1_test): Likewise.
7476         (yn_test): Likewise.
7477         (significand_test): Likewise.
7478
7479 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7480
7481         [BZ #15381]
7482         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7483
7484 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7485
7486         [BZ #14894]
7487         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7488         __ppc_mdoio and __ppc_mdoom.
7489         * manual/platform.texi: Document new functions __ppc_yield,
7490         __ppc_mdoio and __ppc_mdoom.
7491
7492 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7493
7494         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7495         (main): Mention "tls" pseudo-hwcap is legacy.
7496         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7497
7498 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7499
7500         * math/gen-libm-test.pl (parse_args): Output only string of
7501         arguments as text for test name, not full call or descriptions of
7502         tests for extra outputs.
7503         (generate_testfile): Do not pass function name to parse_args.
7504         Generate this_func variable from START.
7505         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7506         field to arg_str.
7507         (struct test_ff_f_data): Likewise.
7508         (test_ff_f_data_nexttoward): Likewise.
7509         (struct test_fi_f_data): Likewise.
7510         (struct test_fl_f_data): Likewise.
7511         (struct test_if_f_data): Likewise.
7512         (struct test_fff_f_data): Likewise.
7513         (struct test_c_f_data): Likewise.
7514         (struct test_f_f1_data): Likewise.  Remove field extra_name.
7515         (struct test_fF_f1_data): Likewise.
7516         (struct test_ffI_f1_data): Likewise.
7517         (struct test_c_c_data): Rename test_name field to arg_str.
7518         (struct test_cc_c_data): Likewise.
7519         (struct test_f_i_data): Likewise.
7520         (struct test_ff_i_data): Likewise.
7521         (struct test_f_l_data): Likewise.
7522         (struct test_f_L_data): Likewise.
7523         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
7524         and extra2_name.
7525         (COMMON_TEST_SETUP): New macro.
7526         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7527         (COMMON_TEST_CLEANUP): Likewise.
7528         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7529         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
7530         macros.
7531         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7532         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
7533         macros.
7534         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7535         (RUN_TEST_fff_f): Take argument string.  Call new setup and
7536         cleanup macros.
7537         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7538         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
7539         macros.
7540         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7541         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
7542         macros.
7543         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7544         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
7545         cleanup macros.
7546         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7547         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
7548         cleanup macros.
7549         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7550         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
7551         cleanup macros.
7552         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7553         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
7554         macros.
7555         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7556         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
7557         macros.
7558         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7559         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
7560         macros.
7561         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7562         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
7563         cleanup macros.
7564         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7565         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
7566         cleanup macros.
7567         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7568         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
7569         macros.
7570         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7571         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
7572         cleanup macros.
7573         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7574         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
7575         macros.
7576         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7577         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
7578         macros.
7579         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7580         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
7581         cleanup macros.
7582         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7583
7584 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7585
7586         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7587         to _sifields.sigfault.
7588         (si_addr_lsb): Define new macro.
7589         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7590         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7591         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7592
7593 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
7594
7595         [BZ #15441]
7596         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7597         returns -1.
7598         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7599         null return -1.
7600         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7601         loading the domain.
7602
7603 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7604
7605         * math/gen-libm-test.pl (parse_args): Do not include expected
7606         result in test name.
7607         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7608         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7609         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7610         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7611         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7613
7614 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7615
7616         * benchtests/Makefile: Sort function entries.
7617
7618         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7619         tanh, asinh, acosh, atanh.
7620         * benchtests/acos-inputs: New file.
7621         * benchtests/acosh-inputs: New file.
7622         * benchtests/asin-inputs: New file.
7623         * benchtests/asinh-inputs: New file.
7624         * benchtests/atanh-inputs: New file.
7625         * benchtests/cosh-inputs: New file.
7626         * benchtests/log-inputs: New file.
7627         * benchtests/sinh-inputs: New file.
7628         * benchtests/tanh-inputs: New file.
7629
7630 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7631
7632         [BZ #15339]
7633         * posix/tst-getaddrinfo4.c: New test.
7634         * posix/Makefile (tests): Add it.
7635
7636 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7637
7638         [BZ #15339]
7639         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7640         when no services were used.
7641         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7642         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7643
7644 2013-05-21  Andreas Schwab  <schwab@suse.de>
7645
7646         [BZ #15014]
7647         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7648         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7649         successful.
7650         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7651         redundant variable declarations and reallocation of buffer when
7652         parsing as IPv6 address.  Always set NSS status when called from
7653         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7654         buffer too small.  Correct computation of needed size.
7655         * nss/Makefile (tests): Add test-digits-dots.
7656         * nss/test-digits-dots.c: New test.
7657
7658 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7659
7660         * benchtests/Makefile: Remove instructions for adding
7661         benchmark tests.
7662         * benchtests/README: New file to explain how to execute and
7663         enhance the benchmark tests.
7664
7665 2013-05-21  Andreas Schwab  <schwab@suse.de>
7666
7667         [BZ #15493]
7668         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7669         * setjmp/tst-sigsetjmp.c: New test.
7670
7671 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7672
7673         * sysdeps/x86_64/memset.S (memset): New implementation.
7674         (__bzero): Likewise.
7675         (__memset_tail): New function.
7676
7677 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7678
7679         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7680         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7681         __memcpy_sse2_unaligned ifunc selection.
7682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7683         Add memcpy-sse2-unaligned.S.
7684         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7685         Add: __memcpy_sse2_unaligned.
7686
7687 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7688
7689         [BZ #15490]
7690         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7691         math_force_eval before restoring floating-point envrionment.
7692         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7693         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7694         Likewise.
7695         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7696         <math_private.h>.
7697         (__nearbyintl): Use math_force_eval before restoring
7698         floating-point environment.
7699         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7700
7701         * math/gen-libm-test.pl (special_functions): Remove.
7702         (parse_args): Don't handle TEST_extra.  Handle functions with no
7703         return value.
7704         * math/libm-test.inc (struct test_sincos_data): Replace with
7705         struct test_fFF_11_data.
7706         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7707         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7708         (sincos_test_data): Change element type to struct
7709         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7710         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7711         RUN_TEST_LOOP_sincos.
7712         * math/README.libm-test: Don't mention special handling of
7713         individual functions.
7714         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7715         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7716         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7717         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7718         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7720
7721         * math/gen-libm-test.pl (get_variable): Remove function.
7722         (parse_args): Don't show pointer parameters to call in test
7723         names.  Use "extra output N" in test names for extra outputs
7724         rather than naming variables.
7725
7726 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7727
7728         [BZ #15488]
7729         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7730         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7731         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7732         double tests.
7733         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7734         disable.
7735         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7736         check_long_double.
7737
7738         * math/gen-libm-test.pl (@tests): Remove variable.
7739         ($count): Likewise.
7740         (new_test): Remove function.
7741         (show_exceptions): New function.
7742         (special_functions): Use show_exceptions instead of new_test.
7743         (parse_args): Likewise.
7744         (generate_testfile): Pass only function name in generated call to
7745         print_max_error or print_complex_max_error.
7746         (get_ulps): Do not handle complex tests specially.
7747         (output_test): Rename to ...
7748         (get_all_ulps_for_test): ... this.  Return a string rather than
7749         printing to a file.  Require ulps to be present.
7750         (output_ulps): Generate arrays rather than #defines.
7751         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7752         (struct ulp_data): New type.
7753         (BUILD_COMPLEX_ULP): Remove macro.
7754         (compare_ulp_data): New function.
7755         (find_ulps): Likewise.
7756         (find_test_ulps): Likewise.
7757         (find_function_ulps): Likewise.
7758         (find_complex_function_ulps): Likewise.
7759         (print_max_error): Determine allowed ulps using
7760         find_function_ulps.
7761         (print_complex_max_error): Determine allowed ulps using
7762         find_complex_function_ulps.
7763         (check_float_internal): Determine max ulps using find_test_ulps.
7764         (check_float): Do not take max_ulp parameter.  Update call to
7765         check_float_internal.
7766         (check_complex): Likewise.
7767         (check_int): Do not take max_ulp parameter.
7768         (check_long): Likewise.
7769         (check_bool): Likewise.
7770         (check_longlong): Likewise.
7771         (struct test_f_f_data): Remove max_ulp field.
7772         (struct test_ff_f_data): Likewise.
7773         (struct test_ff_f_data_nexttoward): Likewise.
7774         (struct test_fi_f_data): Likewise.
7775         (struct test_fl_f_data): Likewise.
7776         (struct test_if_f_data): Likewise.
7777         (struct test_fff_f_data): Likewise.
7778         (struct test_c_f_data): Likewise.
7779         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7780         (struct test_fF_f1_data): Likewise.
7781         (struct test_ffI_f1_data): Likewise.
7782         (struct test_c_c_data): Remove max_ulp field.
7783         (struct test_cc_c_data): Likewise.
7784         (struct test_f_i_data): Likewise.
7785         (struct test_ff_i_data): Likewise.
7786         (struct test_f_l_data): Likewise.
7787         (struct test_f_L_data): Likewise.
7788         (struct test_sincos_data): Likewise.
7789         (RUN_TEST_f_f): Do not handle ulps.
7790         (RUN_TEST_LOOP_f_f): Likewise.
7791         (RUN_TEST_2_f): Likewise.
7792         (RUN_TEST_LOOP_2_f): Likewise.
7793         (RUN_TEST_fff_f): Likewise.
7794         (RUN_TEST_LOOP_fff_f): Likewise.
7795         (RUN_TEST_c_f): Likewise.
7796         (RUN_TEST_LOOP_c_f): Likewise.
7797         (RUN_TEST_f_f1): Likewise.
7798         (RUN_TEST_LOOP_f_f1): Likewise.
7799         (RUN_TEST_fF_f1): Likewise.
7800         (RUN_TEST_LOOP_fF_f1): Likewise.
7801         (RUN_TEST_fI_f1): Likewise.
7802         (RUN_TEST_LOOP_fI_f1): Likewise.
7803         (RUN_TEST_ffI_f1): Likewise.
7804         (RUN_TEST_LOOP_ffI_f1): Likewise.
7805         (RUN_TEST_c_c): Likewise.
7806         (RUN_TEST_LOOP_c_c): Likewise.
7807         (RUN_TEST_cc_c): Likewise.
7808         (RUN_TEST_LOOP_cc_c): Likewise.
7809         (RUN_TEST_f_i): Likewise.
7810         (RUN_TEST_LOOP_f_i): Likewise.
7811         (RUN_TEST_f_i_tg): Likewise.
7812         (RUN_TEST_LOOP_f_i_tg): Likewise.
7813         (RUN_TEST_ff_i_tg): Likewise.
7814         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7815         (RUN_TEST_f_b): Likewise.
7816         (RUN_TEST_LOOP_f_b): Likewise.
7817         (RUN_TEST_f_b_tg): Likewise.
7818         (RUN_TEST_LOOP_f_b_tg): Likewise.
7819         (RUN_TEST_f_l): Likewise.
7820         (RUN_TEST_LOOP_f_l): Likewise.
7821         (RUN_TEST_f_L): Likewise.
7822         (RUN_TEST_LOOP_f_L): Likewise.
7823         (RUN_TEST_sincos): Likewise.
7824         (RUN_TEST_LOOP_sincos): Likewise.
7825
7826 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7827
7828         [BZ #15480]
7829         [BZ #15485]
7830         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7831         main case of finite arguments, set rounding mode to FE_TONEAREST
7832         and discard exceptions.
7833         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7834         exceptions.
7835         (remainder_tonearest_test_data): New variable.
7836         (remainder_test_tonearest): New function.
7837         (remainder_towardzero_test_data): New variable.
7838         (remainder_test_towardzero): New function.
7839         (remainder_downward_test_data): New variable.
7840         (remainder_test_downward): New function.
7841         (remainder_upward_test_data): New variable.
7842         (remainder_test_upward): New function.
7843         (main): Call the new test functions.
7844
7845         * math/libm-test.inc (struct test_f_f1_data): Remove field
7846         extra_init.
7847         (struct test_fF_f1_data): Likewise.
7848         (struct test_ffI_f1_data): Likewise.
7849         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7850         based on value of EXTRA_EXPECTED.
7851         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7852         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7853         EXTRA_VAR based on value of EXTRA_EXPECTED.
7854         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7855         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7856         EXTRA_VAR based on value of EXTRA_EXPECTED.
7857         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7858         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7859         EXTRA_VAR based on value of EXTRA_EXPECTED.
7860         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7861         * math/gen-libm-test.pl (parse_args): Don't output initializers
7862         for extra output values.
7863
7864         * math/libm-test.inc (check_int): Expect result to be exactly
7865         equal to expected value and do not handle ulps.
7866         (check_long): Likewise.
7867         (check_longlong): Likewise.
7868
7869         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7870         exceptions.
7871         (cimag_test_data): Likewise.
7872         (conj_test_data): Likewise.
7873         (copysign_test_data): Likewise.
7874         (cproj_test_data): Likewise.
7875         (creal_test_data): Likewise.
7876         (fabs_test_data): Likewise.
7877         (fdim_test_data): Likewise.
7878         (finite_test_data): Likewise.
7879         (floor_test_data): Likewise.
7880         (fmax_test_data): Likewise.
7881         (fmin_test_data): Likewise.
7882         (fmod_test_data): Likewise.
7883         (fpclassify_test_data): Likewise.
7884         (frexp_test_data): Likewise.
7885         (ilogb_test_data): Likewise.
7886         (isfinite_test_data): Likewise.
7887         (isgreater_test_data): Likewise.
7888         (isgreaterequal_test_data): Likewise.
7889         (isinf_test_data): Likewise.
7890         (isless_test_data): Likewise.
7891         (islessequal_test_data): Likewise.
7892         (islessgreater_test_data): Likewise.
7893         (isnan_test_data): Likewise.
7894         (isnormal_test_data): Likewise.
7895         (issignaling_test_data): Likewise.
7896         (isunordered_test_data): Likewise.
7897         (ldexp_test_data): Likewise.
7898         (lrint_test_data): Likewise.
7899         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7900         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7901         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7902         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7903         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7904         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7905         test input.
7906         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7907         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7908         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7909         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7910         that test input.
7911         (lrint_downward_test_data): Test for "inexact" exceptions.
7912         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7913         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7914         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7915         test input.
7916         (lrint_upward_test_data): Test for "inexact" exceptions.
7917         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7918         test input.
7919         (llrint_test_data): Test for "inexact" exceptions.
7920         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7921         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7922         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7923         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7924         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7925         (llrint_downward_test_data): Test for "inexact" exceptions.
7926         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7927         (llrint_upward_test_data): Test for "inexact" exceptions.
7928         (logb_test_data): Likewise.
7929         (logb_downward_test_data): Likewise.
7930         (nextafter_test_data): Likewise.
7931         (nexttoward_test_data): Likewise.
7932         (remainder_test_data): Likewise.
7933         (remquo_test_data): Likewise.
7934         (scalbn_test_data): Likewise.
7935         (scalbln_test_data): Likewise.
7936         (signbit_test_data): Likewise.
7937         (sqrt_test_data): Likewise.
7938         (significand_test_data): Likewise.
7939
7940 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7941
7942         [BZ #15424]
7943         * benchtests/bench-modf.c (struct args): Mark arg0 as
7944         volatile.
7945         * scripts/bench.pl: Mark members of struct args as volatile.
7946
7947 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7948
7949         [BZ # 15497]
7950         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7951         negative infinity on POWER6 or lower.
7952         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7953
7954 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7955
7956         [BZ #15442]
7957         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7958         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7959         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7960         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7961         (_FP_SETQNAN): New macro.
7962         (_FP_SETQNAN_SEMIRAW): Likewise.
7963         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7964         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7965         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7966         (FP_EXTEND): Use _FP_FRAC_SNANP.
7967         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7968         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7969         into account.
7970         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7971         New macro.
7972         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7973         Likewise.
7974
7975 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7976
7977         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7978         with DIVIDE_BY_ZERO_EXCEPTION.
7979         (gamma_test_data): Likewise.
7980         (lgamma_test_data): Likewise.
7981         (log_test_data): Likewise.
7982         (log10_test_data): Likewise.
7983         (log2_test_data): Likewise.
7984         (tgamma_test_data): Likewise.
7985
7986         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7987         (acos_test_tonearest): Likewise.
7988         (acos_test_towardzero): Likewise.
7989         (acos_test_downward): Likewise.
7990         (acos_test_upward): Likewise.
7991         (acosh_test): Likewise.
7992         (asin_test): Likewise.
7993         (asin_test_tonearest): Likewise.
7994         (asin_test_towardzero): Likewise.
7995         (asin_test_downward): Likewise.
7996         (asin_test_upward): Likewise.
7997         (asinh_test): Likewise.
7998         (atan_test): Likewise.
7999         (atanh_test): Likewise.
8000         (atan2_test): Likewise.
8001         (cabs_test): Likewise.
8002         (cacos_test): Likewise.
8003         (cacosh_test): Likewise.
8004         (casin_test): Likewise.
8005         (casinh_test): Likewise.
8006         (catan_test): Likewise.
8007         (catanh_test): Likewise.
8008         (cbrt_test): Likewise.
8009         (ccos_test): Likewise.
8010         (ccosh_test): Likewise.
8011         (cexp_test): Likewise.
8012         (clog_test): Likewise.
8013         (clog10_test): Likewise.
8014         (cos_test): Likewise.
8015         (cos_test_tonearest): Likewise.
8016         (cos_test_towardzero): Likewise.
8017         (cos_test_downward): Likewise.
8018         (cos_test_upward): Likewise.
8019         (cosh_test): Likewise.
8020         (cosh_test_tonearest): Likewise.
8021         (cosh_test_towardzero): Likewise.
8022         (cosh_test_downward): Likewise.
8023         (cosh_test_upward): Likewise.
8024         (cpow_test): Likewise.
8025         (csin_test): Likewise.
8026         (csinh_test): Likewise.
8027         (csqrt_test): Likewise.
8028         (ctan_test): Likewise.
8029         (ctan_test_tonearest): Likewise.
8030         (ctan_test_towardzero): Likewise.
8031         (ctan_test_downward): Likewise.
8032         (ctan_test_upward): Likewise.
8033         (ctanh_test): Likewise.
8034         (ctanh_test_tonearest): Likewise.
8035         (ctanh_test_towardzero): Likewise.
8036         (ctanh_test_downward): Likewise.
8037         (ctanh_test_upward): Likewise.
8038         (erf_test): Likewise.
8039         (erfc_test): Likewise.
8040         (exp_test): Likewise.
8041         (exp_test_tonearest): Likewise.
8042         (exp_test_towardzero): Likewise.
8043         (exp_test_downward): Likewise.
8044         (exp_test_upward): Likewise.
8045         (exp10_test): Likewise.
8046         (exp2_test): Likewise.
8047         (expm1_test): Likewise.
8048         (fmod_test): Likewise.
8049         (gamma_test): Likewise.
8050         (hypot_test): Likewise.
8051         (j0_test): Likewise.
8052         (j1_test): Likewise.
8053         (jn_test): Likewise.
8054         (lgamma_test): Likewise.
8055         (log_test): Likewise.
8056         (log10_test): Likewise.
8057         (log1p_test): Likewise.
8058         (log2_test): Likewise.
8059         (logb_test_downward): Likewise.
8060         (pow_test): Likewise.
8061         (pow_test_tonearest): Likewise.
8062         (pow_test_towardzero): Likewise.
8063         (pow_test_downward): Likewise.
8064         (pow_test_upward): Likewise.
8065         (remainder_test): Likewise.
8066         (remquo_test): Likewise.
8067         (sin_test): Likewise.
8068         (sin_test_tonearest): Likewise.
8069         (sin_test_towardzero): Likewise.
8070         (sin_test_downward): Likewise.
8071         (sin_test_upward): Likewise.
8072         (sincos_test): Likewise.
8073         (sinh_test): Likewise.
8074         (sinh_test_tonearest): Likewise.
8075         (sinh_test_towardzero): Likewise.
8076         (sinh_test_downward): Likewise.
8077         (sinh_test_upward): Likewise.
8078         (sqrt_test): Likewise.
8079         (tan_test): Likewise.
8080         (tan_test_tonearest): Likewise.
8081         (tan_test_towardzero): Likewise.
8082         (tan_test_downward): Likewise.
8083         (tan_test_upward): Likewise.
8084         (tanh_test): Likewise.
8085         (tgamma_test): Likewise.
8086         (y0_test): Likewise.
8087         (y1_test): Likewise.
8088         (yn_test): Likewise.
8089
8090         * math/gen-libm-test.pl (adjust_arg): Remove function.
8091         (special_function): Remove argument $in_func.  Only handle
8092         generating output for tables of tests, not inside functions.
8093         (parse_args): Likewise.
8094         (generate_testfile): Remove variable $in_func.  Update call to
8095         parse_args.
8096         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8097         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8098         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8099         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8100         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8101         (MAX_VALUE_INIT): Rename macro to max_value.
8102         (MIN_VALUE_INIT): Rename macro to min_value.
8103         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8104         (plus_zero): Remove variable.
8105         (minus_zero): Likewise.
8106         (plus_infty): Likewise.
8107         (minus_infty): Likewise.
8108         (qnan_value): Likewise.
8109         (max_value): Likewise.
8110         (min_value): Likewise.
8111         (min_subnorm_value): Likewise.
8112
8113 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8114
8115         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8116         uint64_t or uint32_t usage.
8117         * crypt/sha256-block.c: Likewise.
8118         * crypt/sha256-crypt.c: Likewise.
8119         * crypt/sha256.c: Likewise.
8120         * crypt/sha512-block.c: Likewise.
8121         * crypt/sha512-crypt.c: Likewise.
8122         * crypt/sha512.c: Likewise.
8123         * debug/backtrace-tst.c: Likewise.
8124         * debug/pcprofiledump.c: Likewise.
8125         * elf/cache.c: Likewise.
8126         * elf/dl-cache.c: Likewise.
8127         * elf/dl-misc.c: Likewise.
8128         * elf/dl-profile.c: Likewise.
8129         * elf/dl-support.c: Likewise.
8130         * elf/ldconfig.c: Likewise.
8131         * elf/sprof.c: Likewise.
8132         * iconv/dummy-repertoire.c: Likewise.
8133         * iconv/iconv_charmap.c: Likewise.
8134         * iconv/skeleton.c: Likewise.
8135         * iconvdata/8bit-generic.c: Likewise.
8136         * iconvdata/cp737.h: Likewise.
8137         * iconvdata/cp775.h: Likewise.
8138         * iconvdata/ibm1008.h: Likewise.
8139         * iconvdata/ibm1025.h: Likewise.
8140         * iconvdata/ibm1046.h: Likewise.
8141         * iconvdata/ibm1097.h: Likewise.
8142         * iconvdata/ibm1112.h: Likewise.
8143         * iconvdata/ibm1122.h: Likewise.
8144         * iconvdata/ibm1123.h: Likewise.
8145         * iconvdata/ibm1124.h: Likewise.
8146         * iconvdata/ibm1129.h: Likewise.
8147         * iconvdata/ibm1130.h: Likewise.
8148         * iconvdata/ibm1132.h: Likewise.
8149         * iconvdata/ibm1133.h: Likewise.
8150         * iconvdata/ibm1137.h: Likewise.
8151         * iconvdata/ibm1140.h: Likewise.
8152         * iconvdata/ibm1141.h: Likewise.
8153         * iconvdata/ibm1142.h: Likewise.
8154         * iconvdata/ibm1143.h: Likewise.
8155         * iconvdata/ibm1144.h: Likewise.
8156         * iconvdata/ibm1145.h: Likewise.
8157         * iconvdata/ibm1146.h: Likewise.
8158         * iconvdata/ibm1147.h: Likewise.
8159         * iconvdata/ibm1148.h: Likewise.
8160         * iconvdata/ibm1149.h: Likewise.
8161         * iconvdata/ibm1153.h: Likewise.
8162         * iconvdata/ibm1154.h: Likewise.
8163         * iconvdata/ibm1155.h: Likewise.
8164         * iconvdata/ibm1156.h: Likewise.
8165         * iconvdata/ibm1157.h: Likewise.
8166         * iconvdata/ibm1158.h: Likewise.
8167         * iconvdata/ibm1160.h: Likewise.
8168         * iconvdata/ibm1161.h: Likewise.
8169         * iconvdata/ibm1162.h: Likewise.
8170         * iconvdata/ibm1163.h: Likewise.
8171         * iconvdata/ibm1164.h: Likewise.
8172         * iconvdata/ibm1166.h: Likewise.
8173         * iconvdata/ibm1167.h: Likewise.
8174         * iconvdata/ibm12712.h: Likewise.
8175         * iconvdata/ibm1390.h: Likewise.
8176         * iconvdata/ibm1399.h: Likewise.
8177         * iconvdata/ibm16804.h: Likewise.
8178         * iconvdata/ibm4517.h: Likewise.
8179         * iconvdata/ibm4899.h: Likewise.
8180         * iconvdata/ibm4909.h: Likewise.
8181         * iconvdata/ibm4971.h: Likewise.
8182         * iconvdata/ibm5347.h: Likewise.
8183         * iconvdata/ibm803.h: Likewise.
8184         * iconvdata/ibm856.h: Likewise.
8185         * iconvdata/ibm901.h: Likewise.
8186         * iconvdata/ibm902.h: Likewise.
8187         * iconvdata/ibm9030.h: Likewise.
8188         * iconvdata/ibm9066.h: Likewise.
8189         * iconvdata/ibm921.h: Likewise.
8190         * iconvdata/ibm922.h: Likewise.
8191         * iconvdata/ibm9448.h: Likewise.
8192         * iconvdata/isiri-3342.h: Likewise.
8193         * iconvdata/jis0201.h: Likewise.
8194         * include/link.h: Likewise.
8195         * include/netdb.h: Likewise.
8196         * inet/check_native.c: Likewise.
8197         * inet/check_pf.c: Likewise.
8198         * inet/getipv4sourcefilter.c: Likewise.
8199         * inet/getnameinfo.c: Likewise.
8200         * inet/getsourcefilter.c: Likewise.
8201         * inet/htonl.c: Likewise.
8202         * inet/setipv4sourcefilter.c: Likewise.
8203         * inet/setsourcefilter.c: Likewise.
8204         * inet/test-inet6_opt.c: Likewise.
8205         * inet/tst-network.c: Likewise.
8206         * locale/C-collate.c: Likewise.
8207         * locale/C-ctype.c: Likewise.
8208         * locale/C-time.c: Likewise.
8209         * locale/C-translit.h: Likewise.
8210         * locale/loadarchive.c: Likewise.
8211         * locale/programs/3level.h: Likewise.
8212         * locale/programs/charmap.c: Likewise.
8213         * locale/programs/charmap.h: Likewise.
8214         * locale/programs/ld-address.c: Likewise.
8215         * locale/programs/ld-collate.c: Likewise.
8216         * locale/programs/ld-ctype.c: Likewise.
8217         * locale/programs/ld-identification.c: Likewise.
8218         * locale/programs/ld-measurement.c: Likewise.
8219         * locale/programs/ld-messages.c: Likewise.
8220         * locale/programs/ld-monetary.c: Likewise.
8221         * locale/programs/ld-name.c: Likewise.
8222         * locale/programs/ld-numeric.c: Likewise.
8223         * locale/programs/ld-paper.c: Likewise.
8224         * locale/programs/ld-telephone.c: Likewise.
8225         * locale/programs/ld-time.c: Likewise.
8226         * locale/programs/linereader.c: Likewise.
8227         * locale/programs/locale.c: Likewise.
8228         * locale/programs/locarchive.c: Likewise.
8229         * locale/programs/locfile.h: Likewise.
8230         * locale/programs/repertoire.c: Likewise.
8231         * locale/programs/simple-hash.c: Likewise.
8232         * locale/programs/simple-hash.h: Likewise.
8233         * malloc/memusage.c: Likewise.
8234         * malloc/memusagestat.c: Likewise.
8235         * nis/nis_defaults.c: Likewise.
8236         * nis/nis_hash.c: Likewise.
8237         * nis/nis_print.c: Likewise.
8238         * nis/nis_xdr.c: Likewise.
8239         * nscd/connections.c: Likewise.
8240         * nscd/hstcache.c: Likewise.
8241         * nscd/nscd_gethst_r.c: Likewise.
8242         * nscd/nscd_getserv_r.c: Likewise.
8243         * nscd/nscd_helper.c: Likewise.
8244         * nscd/servicescache.c: Likewise.
8245         * nss/makedb.c: Likewise.
8246         * nss/nss_db/db-XXX.c: Likewise.
8247         * nss/nss_db/db-initgroups.c: Likewise.
8248         * nss/nss_db/db-netgrp.c: Likewise.
8249         * nss/nss_files/files-network.c: Likewise.
8250         * nss/nss_files/files-parse.c: Likewise.
8251         * posix/bug-regex5.c: Likewise.
8252         * posix/fnmatch_loop.c: Likewise.
8253         * posix/regcomp.c: Likewise.
8254         * posix/regexec.c: Likewise.
8255         * posix/tst-rfc3484-2.c: Likewise.
8256         * posix/tst-rfc3484-3.c: Likewise.
8257         * posix/tst-rfc3484.c: Likewise.
8258         * resolv/nss_dns/dns-canon.c: Likewise.
8259         * resolv/nss_dns/dns-network.c: Likewise.
8260         * resolv/res_init.c: Likewise.
8261         * resolv/res_mkquery.c: Likewise.
8262         * resolv/tst-aton.c: Likewise.
8263         * stdlib/cxa_atexit.c: Likewise.
8264         * stdlib/cxa_finalize.c: Likewise.
8265         * stdlib/gen-fpioconst.c: Likewise.
8266         * stdlib/strtol_l.c: Likewise.
8267         * string/tst-endian.c: Likewise.
8268         * sunrpc/auth_des.c: Likewise.
8269         * sunrpc/clnt_udp.c: Likewise.
8270         * sunrpc/rtime.c: Likewise.
8271         * sunrpc/svcauth_des.c: Likewise.
8272         * sunrpc/xdr.c: Likewise.
8273         * sunrpc/xdr_intXX_t.c: Likewise.
8274         * sunrpc/xdr_rec.c: Likewise.
8275         * sysdeps/generic/ldconfig.h: Likewise.
8276         * sysdeps/generic/ldsodefs.h: Likewise.
8277         * sysdeps/generic/memusage.h: Likewise.
8278         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8279         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8280         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8281         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8282         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8283         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8284         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8285         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8286         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8287         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8288         * sysdeps/posix/getaddrinfo.c: Likewise.
8289         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8290         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8291         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8292         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8293         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8294         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8295         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8296         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8297         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8298         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8299         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8300         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8301         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8302         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8303         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8304         * sysdeps/x86_64/dl-tls.h: Likewise.
8305         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8306         * time/alt_digit.c: Likewise.
8307         * time/era.c: Likewise.
8308         * wcsmbs/tst-c16c32-1.c: Likewise.
8309
8310 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8311
8312         * math/libm-test.inc (struct test_sincos_data): New type.
8313         (RUN_TEST_LOOP_sincos): New macro.
8314         (sincos_test_data): New variable.
8315         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8316
8317 2013-05-16  Richard Henderson  <rth@redhat.com>
8318
8319         * math/atest-exp2.c (LIMB64): New macro.
8320         (CONSTSZ): New macro.
8321         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8322         (hexdig): Move ...
8323         (print_mpn_fp): ... to function scope.
8324         (read_mpn_hex): Remove.
8325         (get_log2): Remove.
8326         (exp2_mpn): Use mp_log2.
8327         (main): Use mp_exp1.
8328
8329 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8330
8331         * math/libm-test.inc: Remove comment about not testing "inexact"
8332         exceptions.
8333         (INEXACT_EXCEPTION): New macro.
8334         (NO_INEXACT_EXCEPTION): Likewise.
8335         (INVALID_EXCEPTION_OK): Update value.
8336         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8337         (OVERFLOW_EXCEPTION_OK): Likewise.
8338         (UNDERFLOW_EXCEPTION_OK): Likewise.
8339         (IGNORE_ZERO_INF_SIGN): Likewise.
8340         (ERRNO_UNCHANGED): Likewise.
8341         (ERRNO_EDOM): Likewise.
8342         (ERRNO_ERANGE): Likewise.
8343         (test_exceptions): Handle testing "inexact" exceptions.
8344         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8345         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8346         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8347         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8348         INEXACT_EXCEPTION.
8349         (rint_towardzero_test_data): Likewise.
8350         (rint_downward_test_data): Likewise.
8351         (rint_upward_test_data): Likewise.
8352
8353         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8354         with OVERFLOW_EXCEPTION.
8355         (exp10_test_data): Likewise.
8356         (exp2_test_data): Likewise.
8357         (expm1_test_data): Likewise.
8358         (lgamma_test_data): Likewise.
8359         (pow_test_data): Likewise.
8360         (tgamma_test_data): Likewise.
8361         (yn_test_data): Remove duplicate test of overflow.
8362
8363         * math/libm-test.inc (struct test_cc_c_data): New type.
8364         (RUN_TEST_LOOP_cc_c): New macro.
8365         (cpow_test_data): New variable.
8366         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8367
8368         * math/libm-test.inc (struct test_f_L_data): New type.
8369         (RUN_TEST_LOOP_f_L): New macro.
8370         (llrint_test_data): New variable.
8371         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8372         (llrint_tonearest_test_data): New variable.
8373         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8374         (llrint_towardzero_test_data): New variable.
8375         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8376         (llrint_downward_test_data): New variable.
8377         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8378         (llrint_upward_test_data): New variable.
8379         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8380         (llround_test_data): New variable.
8381         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8382
8383 2013-05-13  Peter Collingbourne  <pcc@google.com>
8384
8385         * math/atest-exp2.c (get_log2): Remove const attribute.
8386
8387 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8388
8389         * math/libm-test.inc (struct test_f_l_data): New type.
8390         (RUN_TEST_LOOP_f_l): New macro.
8391         (lrint_test_data): New variable.
8392         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8393         (lrint_tonearest_test_data): New variable.
8394         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8395         (lrint_towardzero_test_data): New variable.
8396         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8397         (lrint_downward_test_data): New variable.
8398         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8399         (lrint_upward_test_data): New variable.
8400         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8401         (lround_test_data): New variable.
8402         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8403
8404 2013-05-15  Peter Collingbourne  <pcc@google.com>
8405
8406         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8407         (EXTRACT_WORDS64) Use where appropriate.
8408         (INSERT_WORDS64) Likewise.
8409
8410         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8411         constraints with x constraints.
8412         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8413
8414         * malloc/obstack.c (_obstack_compat): Add initializer.
8415
8416 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8417
8418         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8419         si_trapno and add si_addr_lsb to _sifields.sigfault.
8420         (si_trapno): Remove macro.
8421         (si_addr_lsb): Define new macro.
8422         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8423
8424 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8425
8426         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8427         instead of TEST_f_l.
8428         (llrint_test_tonearest): Likewise.
8429         (llrint_test_towardzero): Likewise.
8430         (llrint_test_downward): Likewise.
8431         (llrint_test_upward): Likewise.
8432         (llround_test): Likewise.
8433
8434         * math/libm-test.inc (struct test_f_i_data): Add comment.
8435         (RUN_TEST_LOOP_f_b): New macro.
8436         (RUN_TEST_LOOP_f_b_tg): Likewise.
8437         (finite_test_data): New variable.
8438         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8439         (isfinite_test_data): New variable.
8440         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8441         (isinf_test_data): New variable.
8442         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8443         (isnan_test_data): New variable.
8444         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8445         (isnormal_test_data): New variable.
8446         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8447         (issignaling_test_data): New variable.
8448         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8449         (signbit_test_data): New variable.
8450         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8451
8452         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8453         with INVALID_EXCEPTION.
8454         (acosh_test_data): Likewise.
8455         (asin_test_data): Likewise.
8456         (atanh_test_data): Likewise.
8457         (fmod_test_data): Likewise.
8458         (log_test_data): Likewise.
8459         (log10_test_data): Likewise.
8460         (log2_test_data): Likewise.
8461         (pow_test_data): Likewise.
8462         (sqrt_test_data): Likewise.
8463         (y0_test_data): Likewise.
8464         (y1_test_data): Likewise.
8465         (yn_test_data): Likewise.
8466
8467         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8468         function contents.
8469
8470         * math/libm-test.inc (struct test_ff_i_data): New type.
8471         (RUN_TEST_LOOP_ff_i_tg): New macro.
8472         (isgreater_test_data): New variable.
8473         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8474         (isgreaterequal_test_data): New variable.
8475         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8476         (isless_test_data): New variable.
8477         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8478         (islessequal_test_data): New variable.
8479         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8480         (islessgreater_test_data): New variable.
8481         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8482         (isunordered_test_data): New variable.
8483         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8484
8485 2013-05-14  David S. Miller  <davem@davemloft.net>
8486
8487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8488
8489 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8490
8491         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8492
8493         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8494         extra_test to int.
8495         (struct test_f_i_data): Change type of max_ulp to int.
8496
8497         * math/libm-test.inc (test_ffI_f1_data): New type.
8498         (RUN_TEST_LOOP_ffI_f1): New macro.
8499         (remquo_test_data): New variable.
8500         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8501
8502         * setjmp/tst-setjmp-fp.c: New file.
8503         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8504         (link-libm): New variable.
8505         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8506
8507         * math/libm-test.inc (struct test_f_i_data): New type.
8508         (RUN_TEST_LOOP_f_i): New macro.
8509         (RUN_TEST_LOOP_f_i_tg): Likewise.
8510         (fpclassify_test_data): New variable.
8511         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8512         (ilogb_test_data): New variable.
8513         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8514
8515         * math/libm-test.inc (scalbln_test): Correct function name in END
8516         call.
8517
8518         * math/libm-test.inc (struct test_f_f1_data): Add comment.
8519         (RUN_TEST_LOOP_fI_f1): New macro.
8520         (frexp_test_data): New variable.
8521         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8522
8523         * math/libm-test.inc (struct test_fF_f1_data): New type.
8524         (RUN_TEST_LOOP_fF_f1): New macro.
8525         (modf_test_data): New variable.
8526         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8527
8528         * math/libm-test.inc (struct test_f_f1_data): New type.
8529         (RUN_TEST_LOOP_f_f1): New macro.
8530         (gamma_test_data): New variable.
8531         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8532         (lgamma_test_data): New variable.
8533         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8534
8535 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
8536
8537         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8538         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8539         (main): Comment "tls" pseudo-hwcap.
8540
8541 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
8542
8543         * math/libm-test.inc (struct test_fl_f_data): New type.
8544         (RUN_TEST_LOOP_fl_f): New variable.
8545         (scalbln_test_data): New variable.
8546         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8547
8548         * math/libm-test.inc (struct test_fi_f_data): New type.
8549         (RUN_TEST_LOOP_fi_f): New macro.
8550         (ldexp_test_data): New variable.
8551         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8552         (scalbn_test_data): New variable.
8553         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8554
8555         * math/libm-test.inc (struct test_c_f_data): New type.
8556         (RUN_TEST_LOOP_c_f): New macro.
8557         (cabs_test_data): New variable.
8558         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8559         (carg_test_data): New variable.
8560         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8561         (cimag_test_data): New variable.
8562         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8563         (creal_test_data): New variable.
8564         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8565
8566         * math/libm-test.inc (struct test_if_f_data): New type.
8567         (RUN_TEST_LOOP_if_f): New macro.
8568         (jn_test_data): New variable.
8569         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8570         (yn_test_data): New variable.
8571         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8572
8573         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8574
8575 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8576
8577         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8578         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8579
8580 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8581
8582         * benchtests/Makefile (CPPFLAGS-nonlib): Add
8583         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8584         (bench-deps): Add bench-timing.h.
8585         * benchtests-bench-skeleton.c: Include bench-timing.h.
8586         (main): Use TIMING_* macros instead of clock_gettime.
8587         * benchtests/bench-timing.h: New file.
8588
8589         [BZ #14582]
8590         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8591         Renamed from _LIB_VERSION.
8592         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8593
8594 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
8595
8596         * math/libm-test.inc (struct test_fff_f_data): New type.
8597         (RUN_TEST_LOOP_fff_f): New macro.
8598         (fma_test_data): New variable.
8599         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8600         (fma_towardzero_test_data): New variable.
8601         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8602         (fma_downward_test_data): New variable.
8603         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8604         (fma_upward_test_data): New variable.
8605         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8606
8607         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8608         (struct test_c_c_data): New type.
8609         (RUN_TEST_LOOP_c_c): New macro.
8610         (cacos_test_data): New variable.
8611         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8612         (cacosh_test_data): New variable.
8613         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8614         (casin_test_data): New variable.
8615         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8616         (casinh_test_data): New variable.
8617         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8618         (catan_test_data): New variable.
8619         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8620         (catanh_test_data): New variable.
8621         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8622         (ccos_test_data): New variable.
8623         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8624         (ccosh_test_data): New variable.
8625         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8626         (cexp_test_data): New variable.
8627         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8628         (clog_test_data): New variable.
8629         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8630         (clog10_test_data): New variable.
8631         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8632         (conj_test_data): New variable.
8633         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8634         (cproj_test_data): New variable.
8635         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8636         (csin_test_data): New variable.
8637         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8638         (csinh_test_data): New variable.
8639         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8640         (csqrt_test_data): New variable.
8641         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8642         (ctan_test_data): New variable.
8643         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8644         (ctan_tonearest_test_data): New variable.
8645         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8646         (ctan_towardzero_test_data): New variable.
8647         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8648         (ctan_downward_test_data): New variable.
8649         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8650         (ctan_upward_test_data): New variable.
8651         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8652         (ctanh_test_data): New variable.
8653         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8654         (ctanh_tonearest_test_data): New variable.
8655         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8656         (ctanh_towardzero_test_data): New variable.
8657         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8658         (ctanh_downward_test_data): New variable.
8659         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8660         (ctanh_upward_test_data): New variable.
8661         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8662         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8663         of BUILD_COMPLEX.
8664
8665         * math/libm-test.inc (struct test_ff_f_data): New type.
8666         (struct test_ff_f_data_nexttoward): Likewise.
8667         (RUN_TEST_LOOP_2_f): New macro.
8668         (RUN_TEST_LOOP_ff_f): Likewise.
8669         (atan2_test_data): New variable.
8670         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8671         (copysign_test_data): New variable.
8672         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8673         (fdim_test_data): New variable.
8674         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8675         (fmax_test_data): New variable.
8676         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8677         (fmin_test_data): New variable.
8678         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8679         (fmod_test_data): New variable.
8680         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8681         (hypot_test_data): New variable.
8682         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8683         (nextafter_test_data): New variable.
8684         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8685         (nexttoward_test_data): New variable.
8686         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8687         (pow_test_data): New variable.
8688         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8689         (pow_tonearest_test_data): New variable.
8690         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8691         (pow_towardzero_test_data): New variable.
8692         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8693         (pow_downward_test_data): New variable.
8694         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8695         (pow_upward_test_data): New variable.
8696         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8697         (remainder_test_data): New variable.
8698         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8699         (scalb_test_data): New variable.
8700         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8701         * sysdeps/i386/fpu/libm-test-ulps: Update.
8702
8703 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8704
8705         * math/libm-test.inc (fma_test): Use max_value instead of local
8706         variable fltmax.
8707         (nextafter_test): Likewise.
8708
8709         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8710         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8711         (acos_downward_test_data): New variable.
8712         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8713         (acos_upward_test_data): New variable.
8714         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8715         (acosh_test_data): New variable.
8716         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8717         (asin_test_data): New variable.
8718         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8719         (asin_tonearest_test_data): New variable.
8720         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8721         (asin_towardzero_test_data): New variable.
8722         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8723         (asin_downward_test_data): New variable.
8724         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8725         (asin_upward_test_data): New variable.
8726         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8727         (asinh_test_data): New variable.
8728         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8729         (atan_test_data): New variable.
8730         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8731         (atanh_test_data): New variable.
8732         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8733         (cbrt_test_data): New variable.
8734         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8735         (ceil_test_data): New variable.
8736         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8737         (cos_test_data): New variable.
8738         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8739         (cos_tonearest_test_data): New variable.
8740         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8741         (cos_towardzero_test_data): New variable.
8742         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8743         (cos_downward_test_data): New variable.
8744         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8745         (cos_upward_test_data): New variable.
8746         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8747         (cosh_test_data): New variable.
8748         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8749         (cosh_tonearest_test_data): New variable.
8750         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8751         (cosh_towardzero_test_data): New variable.
8752         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8753         (cosh_downward_test_data): New variable.
8754         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8755         (cosh_upward_test_data): New variable.
8756         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8757         (erf_test_data): New variable.
8758         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8759         (erfc_test_data): New variable.
8760         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8761         (exp_test_data): New variable.
8762         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8763         (exp_tonearest_test_data): New variable.
8764         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8765         (exp_towardzero_test_data): New variable.
8766         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8767         (exp_downward_test_data): New variable.
8768         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8769         (exp_upward_test_data): New variable.
8770         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8771         (exp10_test_data): New variable.
8772         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8773         (exp2_test_data): New variable.
8774         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8775         (expm1_test_data): New variable.
8776         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8777         (fabs_test_data): New variable.
8778         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8779         (floor_test_data): New variable.
8780         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8781         (j0_test_data): New variable.
8782         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8783         (j1_test_data): New variable.
8784         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8785         (log_test_data): New variable.
8786         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8787         (log10_test_data): New variable.
8788         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8789         (log1p_test_data): New variable.
8790         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8791         (log2_test_data): New variable.
8792         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8793         (logb_test_data): New variable.
8794         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8795         (logb_downward_test_data): New variable.
8796         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8797         (nearbyint_test_data): New variable.
8798         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8799         (rint_test_data): New variable.
8800         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8801         (rint_tonearest_test_data): New variable.
8802         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8803         (rint_towardzero_test_data): New variable.
8804         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8805         (rint_downward_test_data): New variable.
8806         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8807         (rint_upward_test_data): New variable.
8808         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8809         (round_test_data): New variable.
8810         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8811         (sin_test_data): New variable.
8812         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8813         (sin_tonearest_test_data): New variable.
8814         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8815         (sin_towardzero_test_data): New variable.
8816         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8817         (sin_downward_test_data): New variable.
8818         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8819         (sin_upward_test_data): New variable.
8820         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8821         (sinh_test_data): New variable.
8822         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8823         (sinh_tonearest_test_data): New variable.
8824         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8825         (sinh_towardzero_test_data): New variable.
8826         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8827         (sinh_downward_test_data): New variable.
8828         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8829         (sinh_upward_test_data): New variable.
8830         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8831         (sqrt_test_data): New variable.
8832         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8833         (tan_test_data): New variable.
8834         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8835         (tan_tonearest_test_data): New variable.
8836         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8837         (tan_towardzero_test_data): New variable.
8838         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8839         (tan_downward_test_data): New variable.
8840         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8841         (tan_upward_test_data): New variable.
8842         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8843         (tanh_test_data): New variable.
8844         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8845         (tgamma_test_data): New variable.
8846         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8847         (trunc_test_data): New variable.
8848         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8849         (y0_test_data): New variable.
8850         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8851         (y1_test_data): New variable.
8852         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8853         (significand_test_data): New variable.
8854         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8855
8856 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8857
8858         [BZ #12387]
8859         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8860
8861 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8862
8863         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8864
8865 2013-05-10  Andreas Jaeger  <aj@suse.de>
8866
8867         [BZ #15448]
8868         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8869         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8870
8871 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8872
8873         * math/gen-libm-test.pl (adjust_arg): New function.
8874         (special_functions): Handle generating output in both functions
8875         and arrays.
8876         (parse_args): Likewise.
8877         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8878         $in_func argument to parse_args.
8879         * math/libm-test.inc (struct test_f_f_data): New type.
8880         (IF_ROUND_INIT_): New macro.
8881         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8882         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8883         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8884         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8885         (ROUND_RESTORE_): Likewise.
8886         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8887         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8888         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8889         (ROUND_RESTORE_FE_UPWARD): Likewise.
8890         (RUN_TEST_LOOP_f_f): New macro.
8891         (acos_test_data): New variable.
8892         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8893         (acos_tonearest_test_data): New variable.
8894         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8895
8896 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8897
8898         * benchtests/bench-skeleton.c (startup): Fix coding style.
8899
8900 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8901
8902         [BZ #6809]
8903         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8904         negative infinity argument.
8905         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8906         negative infinity argument.
8907         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8908         negative infinity argument.
8909         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8910         domain errors.
8911
8912 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8913
8914         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8915         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8916         * iconv/iconv_prog.c (main): Likewise.
8917         * locale/programs/charmap-dir.c (charmap_readdir)
8918         (fopen_uncompressed): Likewise.
8919         * locale/programs/locfile.c (siblings_uncached)
8920         (write_locale_data): Use lstat64 instead of lstat.
8921         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8922         stat.
8923
8924 2013-05-10  Andreas Jaeger  <aj@suse.de>
8925
8926         [BZ #15395]
8927         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8928         localization.
8929         Include <locale.h>.
8930
8931 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8932
8933         * elf/dl-close.c (_dl_close_worker): Add comments.
8934
8935 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8936
8937         [BZ #15359]
8938         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8939         high part of pi/2.
8940         (__ieee754_rem_pio2l): Update comments.
8941
8942         [BZ #15429]
8943         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8944         high part of pi/2.
8945         (__ieee754_rem_pio2l): Update comments.
8946
8947         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8948         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8949
8950         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8951         M_PI_4l.
8952
8953         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8954         (M_PI_34_LOG10El): Likewise.
8955         (M_PI2_LOG10El): Likewise.
8956         (M_PI4_LOG10El): Likewise.
8957         (M_PI_LOG10El): Likewise.
8958
8959 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8960
8961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8962
8963 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8964
8965         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8966         (MINUS_ZERO_INIT): Likewise.
8967         (PLUS_INFTY_INIT): Likewise.
8968         (MINUS_INFTY_INIT): Likewise.
8969         (QNAN_VALUE_INIT): Likewise.
8970         (MAX_VALUE_INIT): Likewise.
8971         (MIN_VALUE_INIT): Likewise.
8972         (MIN_SUBNORM_VALUE_INIT): Likewise.
8973         (plus_zero): Initialize with PLUS_ZERO_INIT.
8974         (minus_zero): Initialize with MINUS_ZERO_INIT.
8975         (plus_infty): Initialize with PLUS_INFTY_INIT.
8976         (minus_infty): Initialize with MINUS_INFTY_INIT.
8977         (qnan_value): Initialize with QNAN_VALUE_INIT.
8978         (max_value): Initialize with MAX_VALUE_INIT.
8979         (min_value): Initialize with MIN_VALUE_INIT.
8980         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8981
8982         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8983         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8984         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8985         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8986
8987         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8988         (RUN_TEST_2_f): Likewise.
8989         (RUN_TEST_ff_f): Likewise.
8990         (RUN_TEST_fi_f): Likewise.
8991         (RUN_TEST_fl_f): Likewise.
8992         (RUN_TEST_fff_f): Likewise.
8993         (RUN_TEST_c_f): Likewise.
8994         (RUN_TEST_f_f1): Likewise.
8995         (RUN_TEST_fF_f1): Likewise.
8996         (RUN_TEST_fI_f1): Likewise.
8997         (RUN_TEST_ffI_f1): Likewise.
8998         (RUN_TEST_c_c): Likewise.
8999         (RUN_TEST_cc_c): Likewise.
9000         (RUN_TEST_f_i): Likewise.
9001         (RUN_TEST_f_i_tg): Likewise.
9002         (RUN_TEST_ff_i_tg): Likewise.
9003         (RUN_TEST_f_b): Likewise.
9004         (RUN_TEST_f_b_tg): Likewise.
9005         (RUN_TEST_f_l): Likewise.
9006         (RUN_TEST_f_L): Likewise.
9007         (RUN_TEST_sincos): Likewise.
9008         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9009         whether to show exceptions.  Do not include ");\n" in return
9010         value.
9011         (special_functions): Output call to RUN_TEST_sincos instead of
9012         check_float calls.  Update calls to new_test.
9013         (parse_args): Output call to single RUN_TEST_* macro instead of
9014         check_* calls and other assignments.  Update calls to new_test.
9015
9016         [BZ #2546]
9017         [BZ #2560]
9018         [BZ #5159]
9019         [BZ #15426]
9020         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9021         input to result for tgamma overflow.
9022         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9023         (gamma_coeff): New variable.
9024         (NCOEFF): New macro.
9025         (gamma_positive): New function.
9026         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9027         underflow here.  Use gamma_positive instead of exp (lgamma) for
9028         other arguments.
9029         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9030         (gamma_coeff): New variable.
9031         (NCOEFF): New macro.
9032         (gammaf_positive): New function.
9033         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9034         underflow here.  Use gamma_positive instead of exp (lgamma) for
9035         other arguments.
9036         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9037         (gamma_coeff): New variable.
9038         (NCOEFF): New macro.
9039         (gammal_positive): New function.
9040         (__ieee754_gammal_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-128ibm/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, overflow and
9048         underflow here.  Handle NaN the same as positive infinity.  Remove
9049         check x < 0xffffffff for negative integers.  Use gamma_positive
9050         instead of exp (lgamma) for other arguments.
9051         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9052         (gamma_coeff): New variable.
9053         (NCOEFF): New macro.
9054         (gammal_positive): New function.
9055         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9056         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9057         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9058         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9059         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9060         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9061         * sysdeps/generic/math_private.h (__gamma_productf): New
9062         prototype.
9063         (__gamma_product): Likewise.
9064         (__gamma_productl): Likewise.
9065         * math/Makefile (libm-calls): Add gamma_product.
9066         * math/libm-test.inc (tgamma_test): Add more tests.
9067         * sysdeps/i386/fpu/libm-test-ulps: Update.
9068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9069
9070 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9071
9072         * benchtests/bench-skeleton.c (main): Preheat CPU.
9073
9074 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9075
9076         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9077
9078 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9079
9080         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9081         and _dl_skip_args_internal.
9082
9083 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9084
9085         * manual/message.texi (Message Translation): Talk about users.
9086         Message to key mapping impacts design.
9087
9088 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9089
9090         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9091
9092         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9093
9094         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9095         * sysdeps/wordsize-64/glob64.c: ... here.
9096
9097         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9098         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9099         New macros.
9100
9101         * debug/getlogin_r_chk.c: Moved to ...
9102         * login/getlogin_r_chk.c: ... here.
9103         * debug/Makefile (routines): Move getlogin_r_chk to ...
9104         * login/Makefile (routines): ... here.
9105         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9106         * login/Versions (libc: GLIBC_2.4): ... here.
9107
9108         * io/poll.c (__poll): Renamed from poll.
9109         Add libc_hidden_def.
9110         (poll): Define as weak alias.
9111
9112         * debug/ptsname_r_chk.c: Moved to ...
9113         * login/ptsname_r_chk.c: ... here.
9114         * debug/Makefile (routines): Move ptsname_r_chk to ...
9115         * login/Makefile (routines): ... here.
9116         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9117         * login/Versions (libc: GLIBC_2.4): ... here.
9118
9119         * posix/getlogin.c: Moved to ...
9120         * login/getlogin.c: ... here.
9121         * posix/getlogin_r.c: Moved to ...
9122         * login/getlogin_r.c: ... here.
9123         * posix/getlogin_r.c: Moved to ...
9124         * login/getlogin_r.c: ... here.
9125         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9126         * login/Makefile (routines): ... here.
9127         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9128         * login/Versions (libc: GLIBC_2.0): ... here.
9129
9130         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9131         (setrlimit): Define as weak alias.
9132
9133         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9134         Call __ names for open, ftruncate, and close.
9135         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9136         (truncate): Define as weak alias.
9137
9138 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9139
9140         * math/gen-libm-test.pl (parse_args): Initialize x before each
9141         test of frexp, modf and remquo.
9142
9143         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9144         test signgam value.
9145
9146 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9147
9148         [BZ #15418]
9149         [BZ #15419]
9150         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9151         internal tests.
9152         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9153
9154 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9155
9156         * elf/dl-writev.h: New file.
9157         * elf/dl-misc.c: Include it.
9158         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9159         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9160
9161 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9162
9163         * math/libm-test.inc (noXFails): Remove variable.
9164         (noXPasses): Likewise.
9165         (BUILD_COMPLEX_INT): Remove macro.
9166         (print_screen): Remove xfail argument.
9167         (print_screen_max_error): Likewise.
9168         (update_stats): Likewise.
9169         (print_max_error): Likewise.  Update calls to other affected
9170         functions.
9171         (print_complex_max_error): Likewise.
9172         (test_single_exception): Update calls to print_screen.
9173         (test_single_errno): Likewise.
9174         (check_float_internal): Remove xfail argument.  Update calls to
9175         other affected functions.
9176         (check_float): Likewise.
9177         (check_complex): Likewise.
9178         (check_int): Likewise.
9179         (check_long): Likewise.
9180         (check_bool): Likewise.
9181         (check_longlong): Likewise.
9182         (main): Don't print noXFails and noXPasses.
9183         * math/gen-libm-test.pl (top level): Don't mention expected
9184         failure handling in comment.
9185         (new_test): Don't handle expected failures.
9186         (parse_args): Don't mention expected failure handling in comment.
9187         (generate_testfile): Don't handle expected failures.
9188         (parse_ulps): Likewise.
9189         (print_ulps_file): Likewise.
9190         (get_failure): Remove function.
9191         (output_test): Don't handle expected failures.
9192         * make/README.libm-test: Don't mention expected failure handling.
9193
9194         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9195         (minus_zero): Likewise.
9196         (plus_infty): Likewise.
9197         (minus_infty): Likewise.
9198         (qnan_value): Likewise.
9199         (max_value): Likewise.
9200         (min_value): Likewise.
9201         (min_subnorm_value): Likewise.
9202         (initialize): Do not initialize those variables dynamically.
9203
9204 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9205
9206         * io/open.c (__open_2): Moved to ...
9207         * io/open_2.c: ... this new file.
9208         * io/open64.c (__open64_2): Moved to ...
9209         * io/open64_2.c: ... this new file.
9210         * io/openat.c (__openat_2): Moved to ...
9211         * io/openat_2.c: ... this new file.
9212         * io/openat64.c (__openat64_2): Moved to ...
9213         * io/openat64_2.c: ... this new file.
9214         * io/Makefile (routines): Add them.
9215         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9216         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9217         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9218         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9219         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9220         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9221         (__openat64): Add hidden_ver.
9222         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9223         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9224
9225         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9226         Separately conditionalize setting of GLRO(dl_sysinfo) so
9227         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9228         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9229
9230 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9231
9232         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9233         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9234         definition.
9235         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9236         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9237         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9238         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9239         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9240
9241 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9242
9243         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9244         test signgam value.
9245
9246         * math/libm-test.inc (hypot_test): Do not use
9247         IGNORE_ZERO_INF_SIGN.
9248
9249 2013-05-03  Andreas Jaeger  <aj@suse.de>
9250
9251         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9252         Linux 3.9.
9253         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9254         (PF_MAX): Adjust for VSOCK change.
9255
9256 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9257
9258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9259
9260 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9261
9262         [BZ #15264]
9263         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9264         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9265         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9266
9267 2013-05-02  David S. Miller  <davem@davemloft.net>
9268
9269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9270
9271 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9272
9273         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9274
9275 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9276
9277         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9278
9279 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9280
9281         [BZ #14952]
9282         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9283         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9284         Use __attribute__ ((__gnu_inline__)).
9285         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9286         Don't use __attribute__ ((__gnu_inline__)).
9287
9288 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9289
9290         [BZ #15423]
9291         * math/s_catan.c (__catan): Handle small real or imaginary part of
9292         input specially to avoid spurious underflow.
9293         * math/s_catanf.c (__catanf): Likewise.
9294         * math/s_catanh.c (__catanh): Likewise.
9295         * math/s_catanhf.c (__catanhf): Likewise.
9296         * math/s_catanhl.c (__catanhl): Likewise.
9297         * math/s_catanl.c (__catanl): Likewise.
9298         * math/libm-test.inc (catan_test): Add more tests.
9299         (catanh_test): Likewise.
9300         * sysdeps/i386/fpu/libm-test-ulps: Update.
9301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9302
9303 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9304
9305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9306
9307 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9308
9309         [BZ #15416]
9310         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9311         accurately for denominator in atan2.
9312         * math/s_catanf.c (__catanf): Likewise.
9313         * math/s_catanh.c (__catanh): Likewise.
9314         * math/s_catanhf.c (__catanhf): Likewise.
9315         * math/s_catanhl.c (__catanhl): Likewise.
9316         * math/s_catanl.c (__catanl): Likewise.
9317         * math/libm-test.inc (catan_test): Add more tests.
9318         (catanh_test): Likewise.
9319         * sysdeps/i386/fpu/libm-test-ulps: Update.
9320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9321
9322 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9323
9324         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9325
9326         * benchtests/Makefile (bench): Remove slow benchmarks.
9327         * benchtests/atan-inputs: Add slow benchmark inputs.
9328         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9329         (BENCH_FUNC): Accept variant offset.
9330         (VARIANT): Define.
9331         * benchtests/bench-skeleton.c (main): Run benchmark for each
9332         variant.
9333         * benchtests/cos-inputs: Add slow benchmark inputs.
9334         * benchtests/exp-inputs: Likewise.
9335         * benchtests/pow-inputs: Likewise.
9336         * benchtests/sin-inputs: Likewise.
9337         * benchtests/slowatan-inputs: Remove.
9338         * benchtests/slowatan.c: Remove.
9339         * benchtests/slowcos-inputs: Remove.
9340         * benchtests/slowcos.c: Remove.
9341         * benchtests/slowexp-inputs: Remove.
9342         * benchtests/slowexp.c: Remove.
9343         * benchtests/slowpow-inputs: Remove.
9344         * benchtests/slowpow.c: Remove.
9345         * benchtests/slowsin-inputs: Remove.
9346         * benchtests/slowsin.c: Remove.
9347         * benchtests/slowtan-inputs: Remove.
9348         * benchtests/slowtan.c: Remove.
9349         * benchtests/tan-inputs: Add slow benchmark inputs.
9350         * scripts/bench.pl: Parse comments and directives.
9351
9352         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9353         in CPPFLAGS.
9354         ($(objpfx)bench-%.c): Remove *-ITER.
9355         * benchtests/bench-modf.c: Remove definition of ITER.
9356         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9357         (main): Loop for DURATION seconds instead of fixed number of
9358         iterations.
9359         * scripts/bench.pl: Don't expect iterations in parameters.
9360
9361 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9362
9363         * io/fchdir.c (__fchdir): Renamed from fchdir.
9364         (fchdir): Define as weak alias.
9365
9366 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9367
9368         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9369         (ERRNO_EDOM): Likewise.
9370         (ERRNO_ERANGE): Likewise.
9371         (noErrnoTests): New variable.
9372         (init_max_error): Set errno to 0.
9373         (test_single_errno): New function.
9374         (test_errno): Likewise.
9375         (check_float_internal): Call test_errno.  Set errno to 0.
9376         (check_complex): Refer to errno tests in comment.
9377         (check_int): Call test_errno.  Set errno to 0.
9378         (check_long): Likewise.
9379         (check_bool): Likewise.
9380         (check_longlong): Likewise.
9381         (cos_test): Use ERRNO_* flags for errno tests instead of
9382         check_int.
9383         (expm1_test): Likewise.
9384         (fmod_test): Likewise.
9385         (ilogb_test): Likewise.
9386         (lgamma_test): Likewise.
9387         (pow_test): Likewise.
9388         (remainder_test): Likewise.
9389         (sin_test): Likewise.
9390         (tan_test): Likewise.
9391         (yn_test): Likewise.
9392         (initialize): Set errno to 0.
9393         (main): Print number of errno tests.
9394         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9395
9396 2013-04-29  Andreas Jaeger  <aj@suse.de>
9397
9398         [BZ #15084]
9399         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9400         and RES_USEVC.
9401
9402         [BZ #15085]
9403         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9404         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9405         unimplemented.
9406
9407         [BZ #15380]
9408         * stdlib/random.c (__initstate): Return NULL if
9409         __initstate fails.
9410
9411         [BZ #15086]
9412         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9413         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9414         RES_SNGLKUPREOP.
9415
9416 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9417
9418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9419
9420 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9421
9422         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9423         of individual tests.
9424         (casin_test): Likewise.
9425         (casinh_test): Likewise.
9426
9427 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9428
9429         [BZ #15409]
9430         * math/s_catan.c (__catan): Handle arguments with large real or
9431         imaginary part separately without squaring.
9432         * math/s_catanf.c (__catanf): Likewise.
9433         * math/s_catanh.c (__catanh): Likewise.
9434         * math/s_catanhf.c (__catanhf): Likewise.
9435         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9436         and redefine.
9437         (__catanhl): Handle arguments with large real or imaginary part
9438         separately without squaring.
9439         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9440         and redefine.
9441         (__catanl): Handle arguments with large real or imaginary part
9442         separately without squaring.
9443         * math/libm-test.inc (catan_test): Add more tests.
9444         (catanh_test): Likewise.
9445         * sysdeps/i386/fpu/libm-test-ulps: Update.
9446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9447
9448 2013-04-27  Andreas Jaeger  <aj@suse.de>
9449
9450         [BZ #15007]
9451         * stdlib/stdlib.h: Update guards for qecvt.
9452         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9453         <stdlib.h>.
9454
9455 2013-04-27  Allan McRae  <allan@archlinux.org>
9456
9457         * sysdeps/i386/fpu/libm-test-ulps: Update.
9458
9459 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9460
9461         [BZ #15406]
9462         * math/s_catan.c: Include <float.h>.
9463         (__catan): Ensure underflow exception occurs for underflowed
9464         result.
9465         * math/s_catanf.c: Include <float.h>.
9466         (__catanf): Ensure underflow exception occurs for underflowed
9467         result.
9468         * math/s_catanh.c: Include <float.h>.
9469         (__catanh): Ensure underflow exception occurs for underflowed
9470         result.
9471         * math/s_catanhf.c: Include <float.h>.
9472         (__catanhf): Ensure underflow exception occurs for underflowed
9473         result.
9474         * math/s_catanhl.c: Include <float.h>.
9475         (__catanhl): Ensure underflow exception occurs for underflowed
9476         result.
9477         * math/s_catanl.c: Include <float.h>.
9478         (__catanl): Ensure underflow exception occurs for underflowed
9479         result.
9480         * math/libm-test.inc (catan_test): Add more tests.
9481         (catanh_test): Likewise.
9482
9483         [BZ #15405]
9484         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9485         underflowed result.
9486         * math/s_ccoshf.c (__ccoshf): Likewise.
9487         * math/s_ccoshl.c (__ccoshl): Likewise.
9488         * math/s_csin.c (__csin): Likewise.
9489         * math/s_csinf.c (__csinf): Likewise.
9490         * math/s_csinh.c (__csinh): Likewise.
9491         * math/s_csinhf.c (__csinhf): Likewise.
9492         * math/s_csinhl.c (__csinhl): Likewise.
9493         * math/s_csinl.c (__csinl): Likewise.
9494         * math/libm-test.inc (ccos_test): Add more tests.
9495         (ccosh_test): Likewise.
9496         (csin_test): Likewise.
9497         (csinh_test): Likewise.
9498
9499 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9500
9501         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9502         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9503         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9504         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9505         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9506         powerpc/power5+/fpu folders.
9507         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9508
9509
9510 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9511
9512         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9513
9514 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
9515
9516         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9517         additions to variable.
9518         [$(config-machine) = x86_64] (modules-names): Likewise.
9519         ($(objpfx)tst-audit3): Remove dependency.
9520         ($(objpfx)tst-audit3.out): Likewise.
9521         ($(objpfx)tst-audit4): Likewise.
9522         ($(objpfx)tst-audit4.out): Likewise.
9523         ($(objpfx)tst-audit5): Likewise.
9524         ($(objpfx)tst-audit5.out): Likewise.
9525         ($(objpfx)tst-audit6): Likewise.
9526         ($(objpfx)tst-audit6.out): Likewise.
9527         ($(objpfx)tst-audit7): Likewise.
9528         ($(objpfx)tst-audit7.out): Likewise.
9529         (tst-audit3-ENV): Remove variable.
9530         (tst-audit4-ENV): Likewise.
9531         (tst-audit5-ENV): Likewise.
9532         (tst-audit6-ENV): Likewise.
9533         (tst-audit7-ENV): Likewise.
9534         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9535         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9536         addition to variable.
9537         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9538         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9539         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9540         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9541         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9542         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9543         tst-audit3, tst-audit4 and tst-audit5.
9544         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9545         tst-audit6 and tst-audit7.
9546         [$(subdir) = elf] (modules-names): Add audit modules for those
9547         tests.
9548         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9549         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9550         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9551         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9552         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9553         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9554         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9555         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9556         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9557         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9558         [$(subdir) = elf] (tst-audit3-ENV): New variable.
9559         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9560         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9561         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9562         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9563         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9564         Likewise.
9565         [$(subdir) = elf && $(config-cflags-avx) = yes]
9566         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9567         [$(subdir) = elf && $(config-cflags-avx) = yes]
9568         (CFLAGS-tst-auditmod4a.c): Likewise.
9569         [$(subdir) = elf && $(config-cflags-avx) = yes]
9570         (CFLAGS-tst-auditmod4b.c): Likewise.
9571         [$(subdir) = elf && $(config-cflags-avx) = yes]
9572         (CFLAGS-tst-auditmod6b.c): Likewise.
9573         [$(subdir) = elf && $(config-cflags-avx) = yes]
9574         (CFLAGS-tst-auditmod6c.c): Likewise.
9575         [$(subdir) = elf && $(config-cflags-avx) = yes]
9576         (CFLAGS-tst-auditmod7b.c): Likewise.
9577         * elf/tst-audit3.c: Move to ...
9578         * sysdeps/x86_64/tst-audit3.c: ... here.
9579         * elf/tst-audit4.c: Move to ...
9580         * sysdeps/x86_64/tst-audit4.c: ... here.
9581         * elf/tst-audit5.c: Move to ...
9582         * sysdeps/x86_64/tst-audit5.c: ... here.
9583         * elf/tst-audit6.c: Move to ...
9584         * sysdeps/x86_64/tst-audit6.c: ... here.
9585         * elf/tst-audit7.c: Move to ...
9586         * sysdeps/x86_64/tst-audit7.c: ... here.
9587         * elf/tst-auditmod3a.c: Move to ...
9588         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9589         * elf/tst-auditmod3b.c: Move to ...
9590         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9591         * elf/tst-auditmod4a.c: Move to ...
9592         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9593         * elf/tst-auditmod4b.c: Move to ...
9594         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9595         * elf/tst-auditmod5a.c: Move to ...
9596         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9597         * elf/tst-auditmod5b.c: Move to ...
9598         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9599         * elf/tst-auditmod6a.c: Move to ...
9600         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9601         * elf/tst-auditmod6b.c: Move to ...
9602         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9603         * elf/tst-auditmod6c.c: Move to ...
9604         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9605         * elf/tst-auditmod7a.c: Move to ...
9606         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9607         * elf/tst-auditmod7b.c: Move to ...
9608         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9609
9610 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9611
9612         [BZ #15366]
9613         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9614         define unconditionally.
9615         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9616         define unconditionally.
9617         (INT8_C, INT16_C, etc.): Likewise.
9618
9619 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9620
9621         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9622         __ehdr_start with hidden visibility.
9623
9624         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9625
9626 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9627
9628         * math/libm-test.inc (cos_test): Use accurate hex constants.
9629         (sincost_test): Likewise.
9630
9631 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9632
9633         * math/libm-test.inc (catan_test): Add more tests.
9634         (catanh_test): Likewise.
9635
9636         * math/s_catanf.c (__catanf): Use suffixed floating-point
9637         constants.
9638         * math/s_catanhf.c (__catanhf): Likewise.
9639         * math/s_catanhl.c (__catanhl): Likewise.
9640         * math/s_catanl.c (__catanl): Likewise.
9641
9642         [BZ #15394]
9643         * math/s_catan.c (__catan): Calculate imaginary part of result
9644         with log1p not log unless computing log of number close to 0.
9645         * math/s_catanf.c (__catanf): Likewise.
9646         * math/s_catanl.c (__catanl): Likewise.
9647         * math/s_catanh.c (__catanh): Calculate real part of result with
9648         log1p not log unless computing log of number close to 0.
9649         * math/s_catanhf.c (__catanhf): Likewise.
9650         * math/s_catanhl.c (__catanhl): Likewise.
9651         * math/libm-test.inc (catan_test): Add more tests.
9652         (catanh_test): Likewise.
9653         * sysdeps/i386/fpu/libm-test-ulps: Update.
9654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9655
9656 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9657
9658         * benchtests/Makefile: Mention files in which fast and slow
9659         paths of math functions are implemented.
9660
9661 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9662
9663         * sysdeps/posix/timespec_get.c: New file.
9664
9665 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9666
9667         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9668         POWER.
9669         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9670         for POWER.
9671         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9672         powerpc/power5/fpu folders.
9673         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9674         * benchtests/Makefile: Add modf testcase.
9675         * benchtests/bench-modf.c: New file: Benchmark test for mo
9676
9677 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9678
9679         [BZ #14888]
9680         * time/Makefile (tests): Add tst-strptime-whitespace.
9681         * time/strptime_l.c (get_number): Use ISSPACE.
9682         (__strptime_internal): Likewise.
9683         * time/tst-strptime-whitespace.c: New test case.
9684
9685 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9686
9687         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9688         member.
9689         (_nss_files_init): Set it here.
9690
9691 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9692
9693         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9694         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9695         unsigned.
9696
9697 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9698
9699         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9700
9701 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9702
9703         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9704         size just once.
9705
9706 2013-04-21  David S. Miller  <davem@davemloft.net>
9707
9708         * po/ru.po: Update Russion translation from translation project.
9709
9710 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9711
9712         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9713         and setfsgid.
9714
9715 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9716
9717         * configure.in: Remove i386 configure warning. Remove i386 case.
9718         * configure: Regenerate.
9719         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9720         Add example to error message.
9721         * sysdeps/i386/configure: Regenerate.
9722
9723 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9724
9725         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9726         slowtan.
9727         * benchtests/cos-inputs: New file.
9728         * benchtests/slowcos-inputs: New file.
9729         * benchtests/slowcos.c: New file.
9730         * benchtests/slowtan-inputs: New file.
9731         * benchtests/slowtan.c: New file.
9732         * benchtests/tan-inputs: New file.
9733
9734 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9735
9736         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9737         considered kosher.
9738
9739 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9740
9741         * benchtests/Makefile: Include cppflags-iterator.mk to add
9742         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9743
9744         * Makefile.in (bench-clean): New target.
9745         * benchtests/Makefile (bench-clean): Likewise.
9746
9747 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9748
9749         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9750
9751 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9752
9753         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9754
9755 2013-04-15  Andreas Schwab  <schwab@suse.de>
9756
9757         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9759         * nscd/pwdcache.c (cache_addpw): Likewise.
9760         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9761         more than recsize.
9762
9763 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9764
9765         * benchtests/Makefile (bench): Write all output to
9766         bench-out.tmp together.
9767
9768 2013-04-15  Andreas Schwab  <schwab@suse.de>
9769
9770         * nscd/nscd.c (main): Don't fork again after closing files.
9771
9772 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9773
9774         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9775
9776         * benchtests/Rules (bench-deps): Collect dependencies into a
9777         single variable.  Add Makefile to dependencies.
9778         ($(objpfx)bench-%.c): Depend on bench-deps.
9779
9780 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9781             Xavier Roche  <roche+kml2@exalead.com>
9782
9783         [BZ #15361]
9784         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9785         just that it's a file descriptor.
9786         * manual/llio.texi (Synchronizing AIO Operations): Update description
9787         for EBADF error from aio_fsync.
9788
9789 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9790
9791         * Rules (bench): Move target definition...
9792         * benchtests/Makefile: ... here.
9793
9794 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9795
9796         * math/libm-test.inc (cos_test): Fix PI/2 test.
9797         (sincos_test): Likewise.
9798         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9799         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9800
9801 2013-04-11  Andreas Schwab  <schwab@suse.de>
9802
9803         [BZ #13988]
9804         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9805         accept exponent character only when digits were seen.
9806         * stdio-common/Makefile (tests): Add bug26.
9807         * stdio-common/bug26.c: New file.
9808
9809         [BZ #14293]
9810         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9811         non-freeable.
9812
9813 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9814
9815         * Makeconfig (rtld-prefix): Define built linker prefix.
9816         * Rules (run-bench): Use it.
9817         * math/Makefile (run-regen-ulps): Likewise.
9818
9819         * Rules (bench): Remove eval.
9820
9821 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9822             Roland McGrath  <roland@hack.frob.com>
9823             Ondrej Bilka  <neleai@seznam.cz>
9824
9825         [BZ #15346]
9826         * time/getdate.c: Include ctype.h and alloca.h.
9827         (__getdate_r): Trim leading and trailing spaces of input.
9828         * time/tst-getdate.c (tests): Add tests with leading and
9829         trailing spaces.
9830
9831 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9832
9833         [BZ #14280]
9834         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9835         when computing value.
9836
9837 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9838
9839         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9840         Use testrun.sh to run libm tests.
9841
9842         [BZ #15309]
9843         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9844
9845 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9846
9847         [BZ #15264]
9848         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9849
9850 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9851
9852         * Makefile.in (regen-ulps): New target.
9853         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9854         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9855         [ifneq (no,$(PERL)] (regen-ulps): New target.
9856         [ifeq (no,$(PERL)] (regen-ulps): New target.
9857         * math/libm-test.inc (ulps_file_name): Define.
9858         (output_dir): New variable.
9859         (options): Add "output-dir" option.
9860         (parse_opt): Handle 'o' case.
9861         (main): If output_dir is non-NULL use it as a prefix
9862         otherwise use "".
9863         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9864
9865 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9866
9867         [BZ #10060, #10062]
9868         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9869         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9870         fail configure if __sync_val_compare_and_swap is not inlined.
9871         * sysdeps/i386/configure: Regenerate.
9872         * configure.in: Build for i686 when configured for i386.
9873         * configure: Regenerate.
9874         * README: Remove i386 reference.
9875
9876 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9877
9878         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9879         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9880
9881 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9882
9883         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9884         (lmsnanval): New variables.
9885         (F): Add conversion tests.
9886         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9887         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9888
9889         * stdio-common/tstdiomisc.c (F): Properly collect individual
9890         tests' results.
9891
9892         [BZ #14686, #15336]
9893         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9894         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9895         Instead, use input NaN values or generate a qNaN by arithmetic
9896         operation.  Also fix bugs to comply with the standard.
9897         * math/libm-test.inc (remainder_test): Add more tests.
9898
9899         [BZ #15335, #15342]
9900         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9902         input NaN values or generate a qNaN by arithmetic operation.
9903
9904         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9905         unreachable code.
9906
9907         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9908         definitions.
9909
9910 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9911
9912         [BZ #14478]
9913         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9914         underflowed result.
9915         * math/s_cexpf.c (__cexpf): Likewise.
9916         * math/s_cexpl.c (__cexpl): Likewise.
9917         * math/libm-test.inc (cexp_test): Add more tests.
9918
9919 2013-04-03  Andreas Schwab  <schwab@suse.de>
9920
9921         [BZ #15330]
9922         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9923         order arrays from heap if bigger than alloca cutoff.
9924
9925 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9926
9927         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9928         (SNAN_TESTS_double): Refer to GCC PR56831.
9929         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9930         GCC PR56828.
9931
9932 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9933
9934         * Rules (bench): Move bench.out after the run is complete.
9935
9936         * Rules (bench): Echo currently running benchmark.
9937
9938         * benchtests/Makefile (bench): Add atan and slowatan.
9939         * benchtests/atan-inputs: New file.
9940         * benchtests/slowatan-inputs: New file.
9941         * benchtests/slowatan.c: New file.
9942
9943         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9945         its value.
9946
9947         [BZ #15305]
9948         * sysdeps/unix/sysv/linux/kernel-features.h
9949         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9950         __ASSUME_XFS_RESTRICTED_CHOWN.
9951         * sysdeps/unix/sysv/linux/pathconf.c
9952         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9953         Save and restore errno.
9954
9955 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9956
9957         [BZ #15327]
9958         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9959         arguments using __kernel_casinh.
9960         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9961         arguments using __kernel_casinhf.
9962         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9963         arguments using __kernel_casinhl.
9964         * math/libm-test.inc (cacosh_test): Add more tests.
9965         * sysdeps/i386/fpu/libm-test-ulps: Update.
9966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9967
9968 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9969
9970         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9972
9973         * bench/Makefile (bench): Add sin and slowsin.
9974         * benchtests/sin-inputs: New file.
9975         * benchtests/slowsin-inputs: New file.
9976         * benchtests/slowsin.c: New file.
9977
9978         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9979         (bench): Add slowexp and slowpow.
9980         (exp-ITER): Increase iterations.
9981         (pow-ITER): Likewise.
9982         * benchtests/exp-inputs: Change input.
9983         * benchtests/pow-inputs: Likewise.
9984         * benchtests/slowexp-inputs: New file.
9985         * benchtests/slowexp.c: New file.
9986         * benchtests/slowpow-inputs: New file.
9987         * benchtests/slowpow.c: New file.
9988
9989 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9990
9991         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9992         instructions.
9993         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9994         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9995         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9996         * benchtests/Makefile: Add rint benchtest.
9997         * benchtests/rint-inputs: Input for rint benchtest.
9998
9999 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10000
10001         * Versions.def (libm): Add GLIBC_2.18.
10002         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10003         hidden libm prototypes.
10004         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10005         * math/Makefile (libm-calls): Add s_issignaling.
10006         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10007         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10008         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10009         declaration.
10010         * math/math.h [__USE_GNU] (issignaling): New macro.
10011         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10012         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10013         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10014         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10015         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10016         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10017         * manual/arith.texi (issignaling): New section.
10018         * manual/libm-err-tab.pl (@all_functions): Update comment.
10019         * math/gen-libm-test.pl (parse_args): Apply special handling for
10020         issignaling.
10021         * math/libm-test.inc (print_float, issignaling_test): New
10022         functions.
10023         (check_float_internal): Add issignaling checks.
10024         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10025         default definition.
10026         * sysdeps/powerpc/math-tests.h: New file.
10027         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10028         tests.
10029         * math/test-snan.c (TEST_FUNC): Likewise.
10030
10031 2013-03-30  David S. Miller  <davem@davemloft.net>
10032
10033         * po/de.po: Update from translation team.
10034
10035 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10036
10037         [BZ #10357]
10038         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10039         imaginary part less than 1.0 and real part less than 0.5
10040         specially.
10041         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10042         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10043         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10044         (cacos_test): Add more tests.
10045         (casin_test): Likewise.
10046         (casinh_test): Likewise.
10047         * sysdeps/i386/fpu/libm-test-ulps: Update.
10048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10049
10050 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10051
10052         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10053         ONE with its value.
10054
10055         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10056         (__pow_mp): Replace ONE and MONE with their values.
10057         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10058         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10059         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10060         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10061         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10062         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10063
10064         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10065
10066         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10067         (__pow_mp): Replace ZERO and MZERO with their values.
10068         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10069         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10070         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10071         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10072         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10073         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10074         (__sqr): Likewise.
10075
10076         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10077
10078         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10079
10080 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10081
10082         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10083         Declare with __attribute__ ((weak)).
10084         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10085         Call __call_tls_dtors only if it's not NULL.
10086
10087 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10088
10089         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10090         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10091         magic __ehdr_start linker symbol if it's defined.
10092         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10093         them up here if it was already done.
10094
10095         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10096         (_dl_aux_init): Use const in cast when setting it.
10097         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10098         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10099         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10100
10101         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10102         Declare them here.
10103         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10104         * csu/libc-tls.c: Nor here.
10105         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10106
10107         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10108         (__libc_message): Never call vsyslog.
10109
10110 2013-03-28  Alan Modra  <amodra@gmail.com>
10111
10112         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10113         Define as empty.
10114         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10115         Likewise.
10116
10117 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10118
10119         [BZ #15214]
10120         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10121         underflow.
10122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10123
10124 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10125
10126         [BZ #15304]
10127         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10128         Don't add gid passed as argument.
10129
10130         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10131
10132 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10133
10134         [BZ #15307]
10135         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10136         imaginary part between 1.0 and 1.5 and real part less than 0.5
10137         specially.
10138         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10139         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10140         * math/libm-test.inc (cacos_test): Add more tests.
10141         (casin_test): Likewise.
10142         (casinh_test): Likewise.
10143         * sysdeps/i386/fpu/libm-test-ulps: Update.
10144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10145
10146 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10147
10148         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10149         constants.
10150         (norm): Likewise.
10151         (denorm): Likewise.
10152         (__dbl_mp): Likewise.
10153         (add_magnitudes): Likewise.
10154         (sub_magnitudes): Likewise.
10155         (__add): Likewise.
10156         (__sub): Likewise.
10157         (__mul): Likewise.
10158         (__sqr): Likewise.
10159         (__inv): Likewise.
10160         (__dvd): Likewise.
10161
10162         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10163         commented code.
10164         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10165         (__dubcos): Likewise.
10166         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10167         (__ieee754_acos): Likewise.
10168         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10169         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10170         (__exp1): Likewise.
10171         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10172         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10173         (log1): Likewise.
10174         (my_log2): Likewise.
10175         (checkint): Likewise.
10176         * sysdeps/ieee754/dbl-64/e_remainder.c
10177         (__ieee754_remainder): Likewise.
10178         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10180         (bsloww): Likewise.
10181         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10182
10183         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10184         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10185         MANTISSA_STORE_T to store computations on mantissa.  Use
10186         macros for rounding and division.
10187         (denorm): Likewise.
10188         (__dbl_mp): Likewise.
10189         (add_magnitudes): Likewise.
10190         (sub_magnitudes): Likewise.
10191         (__mul): Likewise.
10192         (__sqr): Likewise.
10193         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10194         powers of two in terms of TWOPOW macro.
10195         (mp_no): Make type of mantissa as MANTISSA_T.
10196         [!RADIXI]: Define RADIXI.
10197         [!TWO52]: Define TWO52.
10198         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10199
10200 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10201
10202         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10203         llroundl symbol when building for PPC32.
10204
10205 2013-03-24  Mark H Weaver  <mhw@netris.org>
10206
10207         * manual/arith.texi (Normalization Functions): Fix prototypes for
10208         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10209
10210 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10211
10212         [BZ #13889]
10213         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10214         high value to check if expl overflow.
10215         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10216         to check for underflow and overflow.
10217         * math/libm-test.inc: Add exp test.
10218
10219 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10220
10221         [BZ #11120]
10222         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10223         with NOT_IN_libc.
10224
10225 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10226
10227         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10228         symbol.
10229
10230 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10231
10232         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10233         wrap blocks consisting of several statements.
10234
10235         * sysdeps/generic/math-tests.h: New file.
10236         * sysdeps/i386/fpu/math-tests.h: Likewise.
10237         * math/test-snan.c: Include it.
10238         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10239
10240 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10241
10242         [BZ #15285]
10243         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10244         (__ieee754_j0l): Do not improve calculations using cos of twice
10245         input for inputs above LDBL_MAX / 2.0L.
10246         (__ieee754_y0l): Likewise.
10247         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10248         (__ieee754_j1l): Do not improve calculations using cos of twice
10249         input for inputs above LDBL_MAX / 2.0L.
10250         (__ieee754_y1l): Likewise.
10251         * math/libm-test.inc (j0_test): Add another test.
10252         (j1_test): Likewise.
10253         (y0_test): Likewise.
10254         (y1_test): Likewise.
10255         * sysdeps/i386/fpu/libm-test-ulps: Update.
10256
10257 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10258
10259         * Rules ($(objpfx)bench-%.c): Include code from a C source
10260         file.
10261
10262 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10263
10264         [BZ #15287]
10265         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10266         imaginary part 1.0 and real part less than 0.5 specially.
10267         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10268         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10269         * math/libm-test.inc (cacos_test): Add more tests.
10270         (casin_test): Likewise.
10271         (casinh_test): Likewise.
10272         * sysdeps/i386/fpu/libm-test-ulps: Update.
10273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10274
10275 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10276
10277         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10278         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10279
10280 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10281
10282         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10283         * config.make.in (config-cflags-sse4): Remove variable.
10284         (config-cflags-avx): Likewise.
10285         (config-cflags-sse2avx): Likewise.
10286         (config-cflags-novzeroupper): Likewise.
10287         (config-asflags-i686): Likewise.
10288         (have-mfma4): Likewise.
10289         (have-as-vis3): Likewise.
10290         (MIG): Likewise.
10291         * configure.in (MIG): Do not AC_SUBST.
10292         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10293         (libc_cv_cc_sse4): Do not AC_SUBST.
10294         (libc_cv_cc_avx): Likewise.
10295         (libc_cv_cc_sse2avx): Likewise.
10296         (libc_cv_cc_novzeroupper): Likewise.
10297         (libc_cv_cc_fma4): Likewise.
10298         (libc_cv_as_i686): Likewise.
10299         (libc_cv_sparc_as_vis3): Likewise.
10300         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10301         LIBC_CONFIG_VAR.
10302         (config-asflags-i686): Likewise.
10303         (config-cflags-avx): Likewise.
10304         (config-cflags-sse2avx): Likewise.
10305         (have-mfma4): Likewise.
10306         (config-cflags-novzeroupper): Likewise.
10307         * sysdeps/mach/configure.in (MIG): Likewise.
10308         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10309         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10310         LIBC_CONFIG_VAR.
10311         (config-cflags-avx): Likewise.
10312         (config-cflags-sse2avx): Likewise.
10313         (have-mfma4): Likewise.
10314         (config-cflags-novzeroupper): Likewise.
10315         * configure: Regenerated.
10316         * sysdeps/i386/configure: Likewise.
10317         * sysdeps/mach/configure: Likewise.
10318         * sysdeps/sparc/configure: Likewise.
10319         * sysdeps/x86_64/configure: Likewise.
10320
10321 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10322
10323         [BZ #14812]
10324         * locale/programs/localedef.c (options): Put N_ translation marker
10325         on argument names, not just descriptions.
10326
10327 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10328
10329         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10330
10331 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10332
10333         [BZ #14176]
10334         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10335
10336 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10337
10338         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10339         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10340         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10341         [!BEFORE_ABORT] (before_abort): New function.
10342         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10343         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10344         (writev_for_fatal): New function.
10345         (WRITEV_FOR_FATAL): New macro; call that.
10346         (backtrace_and_maps): New function.
10347         (BEFORE_ABORT): New macro; call that.
10348         (struct str_list): Type removed.
10349         (__libc_message, __libc_fatal): Functions removed.
10350         Include <sysdeps/posix/libc_fatal.c> instead.
10351
10352 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10353
10354         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10355         constants.
10356         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10357         double constants.
10358
10359 2013-03-19  Andreas Schwab  <schwab@suse.de>
10360
10361         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10362         * sysdeps/gnu/configure: Regenerate.
10363
10364         * configure.in: Substitute libc_cv_rtlddir.
10365         * configure: Regenerate.
10366         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10367         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10368         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10369         * elf/Makefile (install-others, CFLAGS-interp.c)
10370         (ldso_install, common-ldd-rewrite): Likewise.
10371         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10372         $(inst_slibdir)/$(rtld-installed-name).
10373         * scripts/rellns-sh: Add -p option.
10374         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10375         for source.
10376
10377 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10378
10379         * manual/nptl.texi: Renamed to ...
10380         * manual/threads.texi: ... this.
10381         * manual/Makefile (chapters): Update.
10382
10383 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10384
10385         [BZ #14812]
10386         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10387         on argument names, not just descriptions.
10388         * malloc/memusagestat.c (options): Likewise.
10389         * nss/getent.c (options): Likewise.
10390
10391 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10392
10393         [BZ #14812]
10394         * iconv/iconv_prog.c (options): Put N_ translation marker
10395         on argument names, not just descriptions.
10396         * iconv/iconvconfig.c (options): Likewise.
10397
10398 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10399
10400         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10401         implementation which is faster on all x86_64 architectures.
10402         Tested on AMD, Intel Nehalem, SNB, IVB.
10403         * sysdeps/x86_64/strnlen.S: Likewise.
10404
10405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10406         Remove all multiarch strlen and strnlen versions.
10407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10408         Remove strlen and strnlen related parts.
10409
10410         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10411         Inline strlen part.
10412         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10413
10414         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10415         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10416         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10417         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10418         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10419         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10420
10421 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10422
10423         * manual/memory.texi (Malloc Tunable Parameters):
10424         Sort parameters alphabetically. Add comments for missing entries.
10425
10426 2013-03-17  David S. Miller  <davem@davemloft.net>
10427
10428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10429
10430 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10431
10432         [BZ #15283]
10433         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10434         for arguments at most half maximum finite value.
10435         * math/libm-test.inc (j0_test): Add more tests.
10436         (j1_test): Likewise.
10437         (y0_test): Likewise.
10438         (y1_test): Likewise.
10439         * sysdeps/i386/fpu/libm-test-ulps: Update.
10440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10441
10442         [BZ #14155]
10443         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10444         1 / x and functions P and Q for arguments above 0x1p256L.
10445         (__ieee754_y0l): Likewise.
10446         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10447         (__ieee754_y1l): Likewise.
10448         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10449         (j1_test): Likewise.
10450         (y0_test): Likewise.
10451         (y1_test): Likewise.
10452
10453 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10454
10455         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10456         variable.
10457
10458 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10459
10460         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10461         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10462         zero since it's initialized to EXEC_PAGESIZE.
10463
10464         * sysdeps/unix/sysv/linux/ldsodefs.h
10465         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10466         * sysdeps/generic/ldsodefs.h: ... here.
10467
10468 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10469
10470         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10471
10472         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10473         math/test-snan.c.
10474         * math/test-snan.c: Renamed from
10475         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10476         * math/Makefile (tests): Add test-snan.
10477         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10478         test-powerpc-snan.
10479
10480         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10481         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10482         functions.
10483         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10484         __builtin_nan family of functions.
10485         * math/libm-test.inc (initialize): Initialize qnan_value with
10486         __builtin_nan family of functions.
10487         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10488         Remove variables.
10489         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10490         Remove functions.
10491         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10492         storage class.  Initialize qNaN_var and sNaN_var with
10493         __builtin_nan and __builtin_nans families of functions,
10494         respectively.
10495
10496         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10497         (sqrt_test): Remove duplicate test with qNaN input.
10498         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10499         (round_test, signbit_test, significand_test): Note missing +/-Inf
10500         as well as qNaN tests.
10501
10502         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10503         qNaN_var.  Fix a few strings, too.
10504         * math/libm-test.inc (nan_value): Rename to qnan_value.
10505         * math/gen-libm-test.pl (%beautify): Adjust to that.
10506         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10507         * math/test-misc.c (main): Likewise.
10508         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10509         to __qnan_bytes, and __qnan_union, respectively.
10510         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10511         Likewise.
10512         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10513         and lqnanval, respectively.
10514         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10515         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10516         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10517         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10518
10519         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10520         * math/test-misc.c (main) [__x86_64__]: Enable test for long
10521         doubles.
10522
10523         * math/test-misc.c (main): Fix copy'n'pastos.
10524         * misc/tst-efgcvt.c (special): Likewise.
10525
10526         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10527         Remove declarations.
10528
10529 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10530
10531         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10532         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10533         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10534         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10535
10536 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10537
10538         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10539         macro to return vdso values correctly in IFUNC implementations.
10540         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10541         Optimization by using IFUNC.
10542
10543 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10544             Richard Henderson  <rth@redhat.com>
10545             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10546
10547         * Makefile.in (bench): New target.
10548         * NEWS: Mention the benchmark framework.
10549         * Rules (bench): Likewise.
10550         (binaries-bench): Generate binaries for functions to
10551         benchmark.
10552         * benchtests/Makefile: New makefile for benchmark tests.
10553         * benchtests/bench-skeleton.c: New skeleton file for benchmark
10554         programs.
10555         * benchtests/exp-inputs: New input file for EXP function.
10556         * benchtests/pow-inputs: New input file for POW function.
10557         * scripts/bench.pl: New script to generate source files for
10558         benchmark programs.
10559
10560 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10561
10562         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10563         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10564         computations on mantissa.  Use macros for rounding and
10565         division.
10566         (denorm): Likewise.
10567         (__dbl_mp): Likewise.
10568         (add_magnitudes): Likewise.
10569         (sub_magnitudes): Likewise.
10570         (__mul): Likewise.
10571         (__sqr): Likewise.
10572         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10573         powers of two in terms of TWOPOW macro.
10574         (mp_no): Make type of mantissa as MANTISSA_T.
10575         [!RADIXI]: Define RADIXI.
10576         [!TWO52]: Define TWO52.
10577         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10578
10579         * manual/nptl.texi (cindex): Modify threads to pthreads.
10580
10581 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
10582
10583         * sysdeps/x86_64/preconfigure: Regenerated.
10584
10585 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
10586
10587         [BZ #14155]
10588         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10589         0x1p28 and above.
10590         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10591         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10592         0x1p28 and above.
10593         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10594         * math/libm-test.inc (j0_test): Do not allow one spurious
10595         underflow exception.
10596         (y1_test): Likewise.
10597
10598 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10599
10600         * manual/Makefile (chapters): Add nptl.
10601         * manual/debug.texi (Debugging Support): Add link to Threads
10602         chapter.
10603         * manual/nptl.texi: New file.
10604
10605         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10606
10607 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10608
10609         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10610         for non-NULL pointer before the memory validity test. Pointed
10611         out by Holger Brunck <holger.brunck@keymile.com>.
10612
10613 2013-03-13  Andreas Schwab  <schwab@suse.de>
10614
10615         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10616         instead of .os.
10617
10618 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10619
10620         * timezone/zic.c: Update from tzcode 2013b.
10621
10622 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10623
10624         * manual/install.texi (Configuring and compiling):
10625         Mention i686 and i586.
10626         * INSTALL: Regenerate.
10627
10628 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10629
10630         * sysdeps/init_array/elf-init.c: New file.
10631         * csu/elf-init.c
10632         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10633         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10634
10635         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10636         __gmon_start__ as global, but as static with a .preinit_array pointer.
10637         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10638         * sysdeps/init_array/crti.S: New file, empty except for comments.
10639         * sysdeps/init_array/crtn.S: Likewise.
10640
10641 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10642
10643         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10644         definining bcopy.
10645         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10646         Remove Prefer_SSE_for_memop.
10647         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10648         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10649         HAS_PREFER_SSE_FOR_MEMOP.
10650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10651         memset-x86-64.
10652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10653         Remove bzero, memset ifunc support.
10654         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10655         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10656         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10657         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10658
10659 2013-03-11  Andreas Schwab  <schwab@suse.de>
10660
10661         [BZ #15234]
10662         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10663         by SHLIB_COMPAT.
10664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10665         (GLIBC_2.16): Remove pthread_atfork.
10666
10667 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10668
10669         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10670         (ptestcases.h): Likewise.
10671
10672 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10673
10674         * Makeconfig ($(common-objpfx)config.status): Depend on
10675         sysdeps/*/preconfigure{,.in} too.
10676
10677 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10678
10679         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10680         (__free_hook): Use void * instead of __malloc_ptr_t.
10681         (__malloc_hook): Likewise.
10682         (__realloc_hook): Likewise.
10683         (__memalign_hook): Likewise.
10684         (__after_morecore_hook): Likewise.
10685         * malloc/arena.c (save_malloc_hook): Likewise.
10686         (save_free_hook): Likewise.
10687         * malloc/hooks.c (malloc_hook_ini): Likewise.
10688         (realloc_hook_ini): Likewise.
10689         (memalign_hook_ini): Likewise.
10690         * malloc/malloc.c (malloc_hook_ini): Likewise.
10691         (realloc_hook_ini): Likewise.
10692         (memalign_hook_ini): Likewise.
10693         (__free_hook): Likewise.
10694         (__malloc_hook): Likewise.
10695         (__realloc_hook): Likewise.
10696         (__memalign_hook): Likewise.
10697         (__libc_malloc): Likewise.
10698         (__libc_free): Likewise.
10699         (__libc_realloc): Likewise.
10700         (__libc_memalign): Likewise.
10701         (__libc_valloc): Likewise.
10702         (__libc_pvalloc): Likewise.
10703         (__libc_calloc): Likewise.
10704         (__posix_memalign): Likewise.
10705         * malloc/morecore.c (__sbrk): Likewise.
10706         (__default_morecore): Likewise.
10707
10708         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10709
10710         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10711         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10712         __malloc_ptrdiff_t.
10713
10714         * malloc/malloc.h (__malloc_size_t): Remove macro.
10715         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10716         __malloc_size_t.
10717         (old_memalign_hook): Likewise.
10718         (old_realloc_hook): Likewise.
10719         (struct hdr): Likewise.
10720         (flood): Likewise.
10721         (mallochook): Likewise.
10722         (memalignhook): Likewise.
10723         (reallochook): Likewise.
10724         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10725         (tr_old_realloc_hook): Likewise.
10726         (tr_old_memalign_hook): Likewise.
10727         (tr_mallochook): Likewise.
10728         (tr_reallochook): Likewise.
10729         (tr_memalignhook): Likewise.
10730
10731 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10732
10733         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10734         default_ldbl_pack and using as default implementation.
10735         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10736         implementation.
10737         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10738         redundant definition.
10739         (ldbl_insert_mantissa): Likewise.
10740         (ldbl_canonicalize): Likewise.
10741         (ldbl_nearbyint): Likewise.
10742         (ldbl_pack): Rename to ldbl_pack_ppc.
10743         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10744         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10745         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10746
10747 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10748
10749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10750         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10751         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10752         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10754         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10755         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10756         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10757
10758 2013-03-07  Andreas Jaeger  <aj@suse.de>
10759
10760         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10761         bits/mman-linux.h.
10762
10763 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10764
10765         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10766         Include mpa.h and declare __MPEXP.
10767         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10768         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10769         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10770         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10771         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10772         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10773         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10774
10775         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10776         (__slowpow): Use long double EXPL and LOGL functions to
10777         compute POW.
10778         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10779         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10780         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10781         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10782         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10783         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10784
10785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10786         intermediate variable to calculate exponent.
10787         (__sqr): Likewise.
10788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10789         Likewise.
10790         (__sqr): Likewise.
10791
10792         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10793         [!NO__SQR]: Define __sqr.
10794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10795         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10796         sysdeps/ieee754/dbl-64/mpa.c.
10797         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10798
10799         [BZ #12723]
10800         * posix/Makefile (tests): Add tst-pathconf.
10801         * posix/tst-pathconf.c: New test case.
10802         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10803         _PC_PIPE_BUF.
10804         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10805
10806 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10807
10808         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10809
10810 2013-03-06  Andreas Jaeger  <aj@suse.de>
10811
10812         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10813         definition via __MAP_ANONYMOUS.
10814
10815         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10816         it's not part of Linux headers.
10817
10818         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10819         (MAP_HUGE_MASK): Define.
10820
10821         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10822         Define.
10823         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10824         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10825         Define.
10826         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10827         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10828         Define.
10829         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10830         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10831         Define.
10832         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10833
10834         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10835         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10836         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10837         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10838         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10839         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10840
10841         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10842         Handle f2fs.
10843
10844         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10845         Handle f2fs and efivarfs.
10846
10847         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10848         f2fs.
10849
10850         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10851         (EFIVARFS_MAGIC): Add.
10852         (F2FS_LINK_MAX): Add.
10853
10854 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10855
10856         * stdio-common/vfprintf.c: Replace __builtin_expect with
10857         __glibc_unlikely.
10858
10859 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10860
10861         [BZ #13550]
10862         * sysdeps/generic/bp-sym.h: Remove file.
10863         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10864         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10865         <bp-sym.h> and <bp-asm.h>.
10866         (__longjmp): Don't use BP_SYM.
10867         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10868         and <bp-asm.h>.
10869         (memcpy): Don't use BP_SYM.
10870         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10871         <bp-sym.h> and <bp-asm.h>.
10872         (memcpy): Don't use BP_SYM.
10873         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10874         <bp-asm.h>.
10875         (memcpy): Don't use BP_SYM.
10876         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10877         <bp-asm.h>.
10878         (memset): Don't use BP_SYM.
10879         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10880         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10881         (__bzero): Don't use BP_SYM.
10882         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10883         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10884         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10885         <bp-sym.h> and <bp-asm.h>.
10886         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10887         pointers.
10888         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10889         <bp-sym.h> and <bp-asm.h>.
10890         (memcpy): Don't use BP_SYM.
10891         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10892         <bp-sym.h> and <bp-asm.h>.
10893         (memset): Don't use BP_SYM.
10894         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10895         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10896         (__bzero): Don't use BP_SYM.
10897         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10898         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10899         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10900         <bp-sym.h> and <bp-asm.h>.
10901         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10902         pointers.
10903         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10904         <bp-sym.h> and <bp-asm.h>.
10905         (memcpy): Don't use BP_SYM.
10906         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10907         <bp-sym.h> and <bp-asm.h>.
10908         (memset): Don't use BP_SYM.
10909         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10910         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10911         (__bzero): Don't use BP_SYM.
10912         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10913         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10914         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10915         <bp-sym.h> and <bp-asm.h>.
10916         (__memchr): Don't use BP_SYM.
10917         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10918         <bp-sym.h> and <bp-asm.h>.
10919         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10920         pointers.
10921         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10922         <bp-sym.h> and <bp-asm.h>.
10923         (memcpy): Don't use BP_SYM.
10924         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10925         <bp-sym.h> and <bp-asm.h>.
10926         (__mempcpy): Don't use BP_SYM.
10927         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10928         <bp-sym.h> and <bp-asm.h>.
10929         (__memrchr): Don't use BP_SYM.
10930         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10931         <bp-sym.h> and <bp-asm.h>.
10932         (memset): Don't use BP_SYM.
10933         (__bzero): Likewise.
10934         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10935         <bp-sym.h> and <bp-asm.h>.
10936         (__rawmemchr): Don't use BP_SYM.
10937         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10938         <bp-sym.h> and <bp-asm.h>.
10939         (__STRCMP): Don't use BP_SYM.
10940         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10941         <bp-sym.h> and <bp-asm.h>.
10942         (strchr): Don't use BP_SYM.
10943         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10944         <bp-sym.h> and <bp-asm.h>.
10945         (__strchrnul): Don't use BP_SYM.
10946         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10947         <bp-sym.h> and <bp-asm.h>.
10948         (strlen): Don't use BP_SYM.
10949         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10950         <bp-sym.h> and <bp-asm.h>.
10951         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10952         pointers.
10953         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10954         <bp-sym.h> and <bp-asm.h>.
10955         (__strnlen): Don't use BP_SYM.
10956         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10957         <bp-sym.h> and <bp-asm.h>.
10958         (__GI__setjmp): Don't use BP_SYM.
10959         (_setjmp): Likewise.
10960         (__sigsetjmp): Likewise.
10961         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10962         (L(start_addresses)): Don't use BP_SYM.
10963         (_start): Likewise.
10964         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10965         <bp-asm.h>.
10966         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10967         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10968         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10969         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10970         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10971         <bp-asm.h>.
10972         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10973         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10974         about bounded pointers.
10975         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10976         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10977         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10978         <bp-asm.h>.
10979         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10980         about bounded pointers.  Remove GKM FIXME comments.
10981         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10982         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10983         <bp-asm.h>.
10984         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10985         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10986         Remove GKM FIXME comments.
10987         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10988         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10989         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10990         <bp-asm.h>.
10991         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10992         about bounded pointers.  Remove GKM FIXME comment.
10993         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10994         and <bp-asm.h>.
10995         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10996         pointers.
10997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10998         <bp-sym.h> and <bp-asm.h>.
10999         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11001         <bp-sym.h> and <bp-asm.h>.
11002         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11003         comment.
11004
11005 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11006
11007         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11008         call free(NULL).
11009
11010 2013-03-05  David S. Miller  <davem@davemloft.net>
11011
11012         * po/es.po: Update from translation team.
11013
11014 2013-03-05  Andreas Jaeger  <aj@suse.de>
11015
11016         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11017         <bits/mman-linux.h>.
11018         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11019         is fine.
11020         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11021         <bits/mman-linux.h> to end of file.
11022         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11023         is fine.
11024         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11025         <bits/mman-linux.h> to end of file.
11026         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11027         is fine.
11028         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11029         <bits/mman-linux.h> to end of file.
11030
11031         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11032         (MCL_CURRENT, MCL_FUTURE): Define here.
11033
11034 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11035
11036         [BZ #15232]
11037         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11038         attribute_hidden.
11039         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11040
11041 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11042
11043         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11044         fourth parameter needed for rt_sigprocmask syscall.
11045         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11046         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11047         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11048         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11049         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11050         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11051
11052 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11053
11054         [BZ #13550]
11055         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11056         comment about bounded pointers.
11057         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11058         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11059
11060 2013-03-04  Andreas Jaeger  <aj@suse.de>
11061
11062         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11063         common definitions.
11064
11065         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11066         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11067         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11068         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11069         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11070         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11071
11072 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11073
11074         [BZ #15055]
11075         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11076         __ieee754_sqrl instead of __sqrl.
11077
11078 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11079
11080         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11081         * sysdeps/powerpc/fpu_control.h: ... here.
11082         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11083         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11084         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11085         * sysdeps/powerpc/bits/mathinline.h: ... here.
11086
11087 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11088
11089         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11090         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11091         to just [NEED_DL_SYSINFO_DSO].
11092         * elf/dl-support.c: Likewise.
11093         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11094         * elf/rtld.c (dl_main): Likewise.
11095         * elf/setup-vdso.h (setup_vdso): Likewise.
11096         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11097         * sysdeps/unix/sysv/linux/dl-sysdep.c
11098         (_dl_discover_osversion): Likewise.
11099
11100 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11101
11102         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11103         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11104
11105 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11106
11107         * NEWS: Mention libm performance improvements and non-x86 PI
11108         futex support.
11109
11110         * csu/libc-start.c (__pthread_initialize_minimal): Change
11111         function arguments.
11112         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11113
11114 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11115
11116         [BZ #13550]
11117         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11118         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11119         <bp-sym.h> and <bp-asm.h>.
11120         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11121         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11122         and <bp-asm.h>.
11123         (memcpy): Don't use BP_SYM.
11124         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11125         <bp-asm.h>.
11126         (__mpn_add_n): Don't use BP_SYM.
11127         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11128         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11129         and <bp-asm.h>.
11130         (__mpn_addmul_1): Don't use BP_SYM.
11131         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11132         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11133         <bp-sym.h>.
11134         (_setjmp): Don't use BP_SYM.
11135         (__novmx_setjmp): Likewise.
11136         (__GI__setjmp): Likewise.
11137         (__vmx_setjmp): Likewise.
11138         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11139         <bp-sym.h>.
11140         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11141         (__bzero): Don't use BP_SYM.
11142         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11143         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11144         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11145         <bp-sym.h> and <bp-asm.h>.
11146         (memcpy): Don't use BP_SYM.
11147         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11148         <bp-sym.h> and <bp-asm.h>.
11149         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11150         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11151         <bp-sym.h> and <bp-asm.h>.
11152         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11153         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11154         <bp-asm.h>.
11155         (__mpn_lshift): Don't use BP_SYM.
11156         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11157         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11158         <bp-asm.h>.
11159         (memset): Don't use BP_SYM.
11160         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11161         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11162         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11163         <bp-asm.h>.
11164         (__mpn_mul_1): Don't use BP_SYM.
11165         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11166         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11167         <bp-sym.h> and <bp-asm.h>.
11168         (memcmp): Don't use BP_SYM.
11169         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11170         <bp-sym.h> and <bp-asm.h>.
11171         (memcpy): Don't use BP_SYM.
11172         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11173         <bp-sym.h> and <bp-asm.h>.
11174         (memset): Don't use BP_SYM.
11175         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11176         <bp-sym.h> and <bp-asm.h>.
11177         (strncmp): Don't use BP_SYM.
11178         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11179         <bp-sym.h> and <bp-asm.h>.
11180         (memcpy): Don't use BP_SYM.
11181         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11182         <bp-sym.h> and <bp-asm.h>.
11183         (memset): Don't use BP_SYM.
11184         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11185         <bp-sym.h> and <bp-asm.h>.
11186         (__memchr): Don't use BP_SYM.
11187         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11188         <bp-sym.h> and <bp-asm.h>.
11189         (memcmp): Don't use BP_SYM.
11190         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11191         <bp-sym.h> and <bp-asm.h>.
11192         (memcpy): Don't use BP_SYM.
11193         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11194         <bp-sym.h> and <bp-asm.h>.
11195         (__mempcpy): Don't use BP_SYM.
11196         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11197         <bp-sym.h> and <bp-asm.h>.
11198         (__memrchr): Don't use BP_SYM.
11199         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11200         <bp-sym.h> and <bp-asm.h>.
11201         (memset): Don't use BP_SYM.
11202         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11203         <bp-sym.h> and <bp-asm.h>.
11204         (__rawmemchr): Don't use BP_SYM.
11205         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11206         <bp-sym.h> and <bp-asm.h>.
11207         (__STRCMP): Don't use BP_SYM.
11208         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11209         <bp-sym.h> and <bp-asm.h>.
11210         (strchr): Don't use BP_SYM.
11211         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11212         <bp-sym.h> and <bp-asm.h>.
11213         (__strchrnul): Don't use BP_SYM.
11214         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11215         <bp-sym.h> and <bp-asm.h>.
11216         (strlen): Don't use BP_SYM.
11217         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11218         <bp-sym.h> and <bp-asm.h>.
11219         (strncmp): Don't use BP_SYM.
11220         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11221         <bp-sym.h> and <bp-asm.h>.
11222         (__strnlen): Don't use BP_SYM.
11223         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11224         <bp-asm.h>.
11225         (__mpn_rshift): Don't use BP_SYM.
11226         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11227         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11228         <bp-sym.h> and <bp-asm.h>.
11229         (__sigsetjmp): Don't use BP_SYM.
11230         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11231         (L(start_addresses)): Don't use BP_SYM.
11232         (_start): Likewise.
11233         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11234         <bp-asm.h>.
11235         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11236         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11237         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11238         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11239         <bp-asm.h>.
11240         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11241         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11242         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11243         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11244         <bp-asm.h>.
11245         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11246         comments.
11247         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11248         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11249         <bp-asm.h>.
11250         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11251         FIXME comments.
11252         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11253         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11254         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11255         <bp-asm.h>.
11256         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11257         comment.
11258         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11259         and <bp-asm.h>.
11260         (strncmp): Don't use BP_SYM,
11261         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11262         <bp-asm.h>.
11263         (__mpn_sub_n): Don't use BP_SYM.
11264         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11265         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11266         and <bp-asm.h>.
11267         (__mpn_submul_1): Don't use BP_SYM.
11268         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11270         <bp-sym.h> and <bp-asm.h>.
11271         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11273         <bp-sym.h> and <bp-asm.h>.
11274         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11275         comment.
11276
11277 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11278
11279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11280         Use ZK to minimize writes to Z.
11281         (sub_magnitudes): Simplify code a bit.
11282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11283         Use ZK to minimize writes to Z.
11284         (sub_magnitudes): Simplify code a bit.
11285
11286 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11287
11288         * csu/gmon-start.c: Add special exception to license text.
11289
11290 2013-02-27  Richard Henderson  <rth@redhat.com>
11291
11292         * scripts/config.guess: Update from config.git.
11293         * scripts/config.sub: Likewise.
11294
11295 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11296
11297         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11298
11299         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11300
11301         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11302
11303         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11304
11305         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11306
11307 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11308
11309         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11310         [$(build-shared = yes].
11311
11312 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11313
11314         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11315         (__mul): Reduce iterations for calculating mantissa.
11316
11317         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11318         MPTWO.
11319         (__mpranred): Likewise.
11320
11321         [BZ #15160]
11322         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11323         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11324
11325 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11326
11327         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11328         Define __attribute__.
11329
11330 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11331
11332         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11333         unused.
11334         * posix/regex_internal.h (__attribute): Remove.
11335         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11336         (re_string_context_at): Likewise.
11337         (bitset_not): Use __attribute__ and mark function as possibly
11338         unused.
11339         (bitset_merge): Likewise.
11340         (bitset_mask): Likewise.
11341         (re_string_char_size_at): Likewise.
11342         (re_string_wchar_at): Likewise.
11343         (re_string_elem_size_at): Likewise.
11344
11345 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11346
11347         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11348         code.
11349         (cc32): Likewise.
11350
11351         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11352         (__acr): Likewise.
11353         (__cpy): Likewise.
11354         (norm): Likewise.
11355         (denorm): Likewise.
11356         (__dbl_mp): Likewise.
11357         (add_magnitudes): Likewise.
11358         (sub_magnitudes): Likewise.
11359         (__mul): Likewise.
11360         (__inv): Likewise.
11361
11362         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11363         style.
11364
11365         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11366         style.
11367
11368         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11369         code.
11370
11371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11372         up changes with default code.
11373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11374         Likewise.
11375
11376 2013-02-24  Allan McRae  <allan@archlinux.org>
11377
11378         * manual/socket.texi (The Internet Namespace): Order menu items
11379         to match that in the file.
11380
11381         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11382         node listing of the info page menu.
11383
11384 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11385
11386         [BZ #13550]
11387         * sysdeps/i386/bp-asm.h: Remove file.
11388         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11389         (PARMS): Do not use macros from bp-asm.h.
11390         (S1): Likewise.
11391         (S2): Likewise.
11392         (SIZE): Likewise.
11393         (__mpn_add_n): Do not use BP_SYM
11394         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11395         "bp-asm.h".
11396         (PARMS): Do not use macros from bp-asm.h.
11397         (S1): Likewise.
11398         (SIZE): Likewise.
11399         (__mpn_addmul_1): Do not use BP_SYM
11400         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11401         "bp-asm.h".
11402         (PARMS): Do not use macros from bp-asm.h.
11403         (SIGMSK): Likewise.
11404         (_setjmp): Likewise.  Do not use BP_SYM.
11405         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11406         "bp-asm.h".
11407         (PARMS): Do not use macros from bp-asm.h.
11408         (SIGMSK): Likewise.
11409         (setjmp): Likewise.  Do not use BP_SYM.
11410         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11411         "bp-asm.h".
11412         (PARMS): Do not use macros from bp-asm.h.
11413         (__frexp): Do not use BP_SYM.
11414         (frexp): Likewise.
11415         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11416         "bp-asm.h".
11417         (PARMS): Do not use macros from bp-asm.h.
11418         (__frexpf): Do not use BP_SYM.
11419         (frexpf): Likewise.
11420         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11421         "bp-asm.h".
11422         (PARMS): Do not use macros from bp-asm.h.
11423         (__frexpl): Do not use BP_SYM.
11424         (frexpl): Likewise.
11425         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11426         "bp-asm.h".
11427         (PARMS): Do not use macros from bp-asm.h.
11428         (__remquo): Do not use BP_SYM.
11429         (remquo): Likewise.
11430         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11431         "bp-asm.h".
11432         (PARMS): Do not use macros from bp-asm.h.
11433         (__remquof): Do not use BP_SYM.
11434         (remquof): Likewise.
11435         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11436         "bp-asm.h".
11437         (PARMS): Do not use macros from bp-asm.h.
11438         (__remquol): Do not use BP_SYM.
11439         (remquol): Likewise.
11440         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11441         "bp-asm.h".
11442         (PARMS): Do not use macros from bp-asm.h.
11443         (DEST): Likewise.
11444         (SRC): Likewise.
11445         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11446         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11447         "bp-asm.h".
11448         (PARMS): Do not use macros from bp-asm.h.
11449         (strlen): Do not use BP_SYM.
11450         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11451         "bp-asm.h".
11452         (PARMS): Do not use macros from bp-asm.h.
11453         (S1): Likewise.
11454         (S2): Likewise.
11455         (SIZE): Likewise.
11456         (__mpn_add_n): Do not use BP_SYM.
11457         * sysdeps/i386/i586/addmul_1.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         (SIZE): Likewise.
11462         (__mpn_addmul_1): Do not use BP_SYM.
11463         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11464         weak_alias.
11465         (bzero): Likewise.
11466         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11467         "bp-asm.h".
11468         (PARMS): Do not use macros from bp-asm.h.
11469         (S): Likewise.
11470         (SIZE): Likewise.
11471         (__mpn_lshift): Do not use BP_SYM.
11472         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11473         "bp-asm.h".
11474         (PARMS): Do not use macros from bp-asm.h.
11475         (DEST): Likewise.
11476         (SRC): Likewise.
11477         (LEN): Likewise.
11478         (memcpy): Likewise.  Do not use BP_SYM.
11479         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11480         libc_hidden_def and weak_alias.
11481         (mempcpy): Do not use BP_SYM in weak_alias.
11482         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11483         "bp-asm.h".
11484         (PARMS): Do not use macros from bp-asm.h.
11485         (DEST): Likewise.
11486         (LEN): Likewise.
11487         [!BZERO_P] (CHR): Likewise.
11488         (memset): Likewise.  Do not use BP_SYM.
11489         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11490         "bp-asm.h".
11491         (PARMS): Do not use macros from bp-asm.h.
11492         (S1): Likewise.
11493         (SIZE): Likewise.
11494         (__mpn_mul_1): Do not use BP_SYM.
11495         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11496         "bp-asm.h".
11497         (PARMS): Do not use macros from bp-asm.h.
11498         (S): Likewise.
11499         (SIZE): Likewise.
11500         (__mpn_rshift): Do not use BP_SYM.
11501         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11502         "bp-asm.h".
11503         (PARMS): Do not use macros from bp-asm.h.
11504         (STR): Likewise.
11505         (CHR): Likewise.
11506         (strchr): Likewise.  Do not use BP_SYM.
11507         (index): Do not use BP_SYM in weak_alias.
11508         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11509         "bp-asm.h".
11510         (PARMS): Do not use macros from bp-asm.h.
11511         (DEST): Likewise.
11512         (SRC): Likewise.
11513         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
11514         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11515         "bp-asm.h".
11516         (PARMS): Do not use macros from bp-asm.h.
11517         (strlen): Do not use BP_SYM.
11518         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11519         "bp-asm.h".
11520         (PARMS): Do not use macros from bp-asm.h.
11521         (S1): Likewise.
11522         (S2): Likewise.
11523         (SIZE): Likewise.
11524         (__mpn_sub_n): Do not use BP_SYM.
11525         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
11530         (__mpn_submul_1): Do not use BP_SYM.
11531         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11532         "bp-asm.h".
11533         (PARMS): Do not use macros from bp-asm.h.
11534         (S1): Likewise.
11535         (S2): Likewise.
11536         (SIZE): Likewise.
11537         (__mpn_add_n): Do not use BP_SYM.
11538         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11539         weak_alias.
11540         (bzero): Likewise.
11541         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11542         "bp-asm.h".
11543         (PARMS): Do not use macros from bp-asm.h.
11544         (BLK2): Likewise.
11545         (LEN): Likewise.
11546         (memcmp): Do not use BP_SYM.
11547         (bcmp): Do not use BP_SYM in weak_alias.
11548         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11549         "bp-asm.h".
11550         (PARMS): Do not use macros from bp-asm.h.
11551         (DEST): Likewise.
11552         (SRC): Likewise.
11553         (LEN): Likewise.
11554         (memcpy): Likewise.  Do not use BP_SYM.
11555         * sysdeps/i386/i686/memmove.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         (memmove): Likewise.  Do not use BP_SYM.
11562         * sysdeps/i386/i686/mempcpy.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         (__mempcpy): Likewise.  Do not use BP_SYM.
11569         (mempcpy): Do not use BP_SYM in weak_alias.
11570         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11571         "bp-asm.h".
11572         (PARMS): Do not use macros from bp-asm.h.
11573         (DEST): Likewise.
11574         (LEN): Likewise.
11575         [!BZERO_P] (CHR): Likewise.
11576         (memset): Likewise.  Do not use BP_SYM.
11577         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11578         "bp-asm.h".
11579         (PARMS): Do not use macros from bp-asm.h.
11580         (STR2): Likewise.
11581         (strcmp): Do not use BP_SYM.
11582         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11583         "bp-asm.h".
11584         (PARMS): Do not use macros from bp-asm.h.
11585         (STR): Likewise.
11586         (DELIM): Likewise.
11587         [USE_AS_STRTOK_R] (SAVE): Likewise.
11588         (FUNCTION): Likewise.  Do not use BP_SYM.
11589         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11590         aliases.
11591         (strtok_r): Likewise.
11592         (__GI___strtok_r): Likewise.
11593         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11594         (PARMS): Do not use macros from bp-asm.h.
11595         (S): Likewise.
11596         (SIZE): Likewise.
11597         (__mpn_lshift): Do not use BP_SYM.
11598         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11599         (PARMS): Do not use macros from bp-asm.h.
11600         (STR): Likewise.
11601         (CHR): Likewise.
11602         (__memchr): Do not use BP_SYM.
11603         (memchr): Do not use BP_SYM in weak_alias.
11604         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11605         (PARMS): Do not use macros from bp-asm.h.
11606         (BLK2): Likewise.
11607         (LEN): Likewise.
11608         (memcmp): Do not use BP_SYM.
11609         (bcmp): Do not use BP_SYM in weak_alias.
11610         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11611         (PARMS): Do not use macros from bp-asm.h.
11612         (S1): Likewise.
11613         (SIZE): Likewise.
11614         (__mpn_mul_1): Do not use BP_SYM.
11615         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11616         "bp-asm.h".
11617         (PARMS): Do not use macros from bp-asm.h.
11618         (STR): Likewise.
11619         (CHR): Likewise.
11620         (__rawmemchr): Do not use BP_SYM.
11621         (rawmemchr): Do not use BP_SYM in weak_alias.
11622         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11623         (PARMS): Do not use macros from bp-asm.h.
11624         (S): Likewise.
11625         (SIZE): Likewise.
11626         (__mpn_rshift): Do not use BP_SYM.
11627         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11628         (PARMS): Do not use macros from bp-asm.h.
11629         (SIGMSK): Likewise.
11630         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11631         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11632         (_start): Do not use BP_SYM.
11633         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11634         (PARMS): Do not use macros from bp-asm.h.
11635         (DEST): Likewise.
11636         (SRC): Likewise.
11637         (__stpcpy): Likewise.  Do not use BP_SYM.
11638         (stpcpy): Do not use BP_SYM in weak_alias.
11639         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11640         "bp-asm.h".
11641         (PARMS): Do not use macros from bp-asm.h.
11642         (DEST): Likewise.
11643         (SRC): Likewise.
11644         (LEN): Likewise.
11645         (__stpncpy): Likewise.  Do not use BP_SYM.
11646         (stpncpy): Do not use BP_SYM in weak_alias.
11647         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11648         (PARMS): Do not use macros from bp-asm.h.
11649         (STR): Likewise.
11650         (CHR): Likewise.
11651         (strchr): Likewise.  Do not use BP_SYM.
11652         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11653         "bp-asm.h".
11654         (PARMS): Do not use macros from bp-asm.h.
11655         (STR): Likewise.
11656         (CHR): Likewise.
11657         (__strchrnul): Likewise.  Do not use BP_SYM.
11658         (strchrnul): Do not use BP_SYM in weak_alias.
11659         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11660         "bp-asm.h".
11661         (PARMS): Do not use macros from bp-asm.h.
11662         (STOP): Likewise.
11663         (strcspn): Do not use BP_SYM.
11664         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11665         "bp-asm.h".
11666         (PARMS): Do not use macros from bp-asm.h.
11667         (STR): Likewise.
11668         (STOP): Likewise.
11669         (strpbrk): Likewise.  Do not use BP_SYM.
11670         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11671         "bp-asm.h".
11672         (PARMS): Do not use macros from bp-asm.h.
11673         (STR): Likewise.
11674         (CHR): Likewise.
11675         (strrchr): Likewise.  Do not use BP_SYM.
11676         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11677         (PARMS): Do not use macros from bp-asm.h.
11678         (SKIP): Likewise.
11679         (strspn): Do not use BP_SYM.
11680         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11681         (PARMS): Do not use macros from bp-asm.h.
11682         (STR): Likewise.
11683         (DELIM): Likewise.
11684         (SAVE): Likewise.
11685         (FUNCTION): Likewise.  Do not use BP_SYM.
11686         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11687         aliases.
11688         (strtok_r): Likewise.
11689         (__GI___strtok_r): Likewise.
11690         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11691         (PARMS): Do not use macros from bp-asm.h.
11692         (S1): Likewise.
11693         (S2): Likewise.
11694         (SIZE): Likewise.
11695         (__mpn_sub_n): Do not use BP_SYM.
11696         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11697         "bp-asm.h".
11698         (PARMS): Do not use macros from bp-asm.h.
11699         (S1): Likewise.
11700         (SIZE): Likewise.
11701         (__mpn_submul_1): Do not use BP_SYM.
11702         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11703         <bp-sym.h>.
11704         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11705         and <bp-asm.h>.
11706         (PARMS): Do not use macros from bp-asm.h.
11707         (FLAGS): Likewise.
11708         (PTID): Likewise.
11709         (TLS): Likewise.
11710         (CTID): Likewise.
11711         (__clone): Do not use BP_SYM.
11712         (clone): Do not use BP_SYM in weak_alias.
11713         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11714         and <bp-asm.h>.
11715         (PARMS): Do not use macros from bp-asm.h.
11716         (LEN): Likewise.
11717         (__mmap64): Do not use BP_SYM.
11718         (mmap64): Do not use BP_SYM in weak_alias.
11719         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11720         <bp-sym.h> and <bp-asm.h>.
11721         (PARMS): Do not use macros from bp-asm.h.
11722         (__posix_fadvise64_l64): Do not use BP_SYM.
11723         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11724         (PARMS): Do not use macros from bp-asm.h.
11725         (NSOPS): Likewise.
11726         (semtimedop): Do not use BP_SYM.
11727         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11728         and <bp-asm.h>.
11729
11730 2013-02-21  Allan McRae  <allan@archlinux.org>
11731
11732         * manual/message.texi (Charset conversion in gettext):
11733         Move @end statement to beginning of line.
11734
11735 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11736
11737         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11738         static.
11739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11740         Likewise.
11741
11742         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11743         (denorm): Likewise.
11744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11745         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11746
11747 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11748
11749         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11750         tail-call to the resolved function if pltexit isn't needed.
11751
11752 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11753
11754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11755         or Y being zero as being unlikely.
11756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11757         Likewise.
11758
11759 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11760
11761         * manual/nss.texi (System Databases and Name Service Switch):
11762         Remove frobnicate @pxref.
11763
11764 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11765
11766         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11767         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11768
11769 2013-02-20  Petr Machata  <pmachata@redhat.com>
11770
11771         * elf/elf.h (R_ARM_TARGET1): New macro.
11772         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11773         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11774         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11775         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11776         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11777         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11778         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11779         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11780         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11781         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11782         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11783         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11784         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11785         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11786         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11787         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11788         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11789         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11790         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11791         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11792         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11793         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11794         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11795         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11796         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11797         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11798         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11799         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11800         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11801         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11802         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11803         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11804         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11805         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11806         (R_ARM_THM_GOT_BREL12): Likewise.
11807         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11808         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11809         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11810         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11811         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11812         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11813         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11814         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11815         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11816
11817 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11818
11819         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11820         __attribute_used__ to __attribute__ ((unused)).
11821
11822 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11823
11824         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11825         powerpc mpa.c.
11826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11827         comment formatting.
11828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11829
11830 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11831
11832         [BZ #13550]
11833         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11834         Remove macro.
11835         (ENTER): Remove both macro definitions.
11836         (LEAVE): Likewise.
11837         (CHECK_BOUNDS_LOW): Likewise.
11838         (CHECK_BOUNDS_HIGH): Likewise.
11839         (CHECK_BOUNDS_BOTH): Likewise.
11840         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11841         (RETURN_BOUNDED_POINTER): Likewise.
11842         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11843         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11844         (POP_ERRNO_LOCATION_RETURN): Likewise.
11845         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11846         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11847         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11848         macros.
11849         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11850         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11851         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11852         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11853         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11854         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11855         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11856         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11857         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11858         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11859         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11860         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11861         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11862         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11863         removed macros.
11864         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11865         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11866         macros.
11867         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11868         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11869         * sysdeps/i386/i586/memset.S (memset): Likewise.
11870         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11871         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11872         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11873         macros.
11874         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11875         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11876         Change uses of L(2) to L(out).
11877         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11878         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11879         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11880         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11881         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11882         removed macros.
11883         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11884         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11885         macros.
11886         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11887         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11888         (RETURN): Do not use macro LEAVE.
11889         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11890         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11891         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11892         * sysdeps/i386/i686/memset.S (memset): Likewise.
11893         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11894         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11895         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11896         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11897         Likewise.
11898         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11899         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11900         L(1_2) and L(1_3) into L(1).
11901         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11902         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11903         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11904         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11905         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11906         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11907         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11908         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11909         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11910         macros.
11911         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11912         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11913         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11914         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11915         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11916         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11917         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11918         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11919         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11920         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11921         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11922         * sysdeps/i386/strspn.S (strspn): Likewise.
11923         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11924         conditional code.
11925         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11926         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11927         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11928         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11929         L(1_3) into L(1_1).
11930         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11931         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11932         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11933         macros.
11934         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11935
11936 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11937
11938         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11939         macro.
11940
11941 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11942
11943         * math/atest-exp.c (exp_mpn): Remove ROUND.
11944         * math/atest-exp2.c (exp_mpn): Likewise.
11945         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11946
11947         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11948         * stdlib/tst-tls-atexit-lib.c: Likewise.
11949         * stdlib/tst-tls-atexit.c: Likewise.
11950
11951 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11952
11953         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11954         and __attribute_alloc_size__.
11955
11956 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11957
11958         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11959         __attribute_alloc_size__.
11960         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11961         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11962
11963 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11964
11965         * include/programs/xmalloc.h: New file.
11966         * catgets/gencat.c: Include it.
11967         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11968         * elf/pldd.c: Likewise.
11969         * iconv/iconv_charmap.c: Likewise.
11970         * iconv/iconvconfig.c: Likewise.
11971         * iconv/strtab.c: Likewise.
11972         * locale/programs/locale.c: Likewise.
11973         * locale/programs/localedef.h: Likewise.
11974         * locale/programs/simple-hash.c: Likewise.
11975         * nscd/nscd.h: Likewise.
11976         * nss/makedb.c: Likewise.
11977         * sysdeps/generic/ldconfig.h: Likewise.
11978
11979 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11980
11981         * Versions.def: Add GLIBC_2.18.
11982         * include/link.h (struct link_map): New member l_tls_dtor_count.
11983         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11984         (__call_tls_dtors): Likewise.
11985         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11986         __cxa_thread_atexit_impl.
11987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11988         Likewise.
11989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11990         Likewise.
11991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11992         Likewise.
11993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11994         Likewise.
11995         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11997         Likewise.
11998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11999         Likewise.
12000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12002         Likewise.
12003         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12004         (tests): Add test case tst-tls-atexit.
12005         (modules-names): Add shared library for tst-tls-atexit.
12006         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12007         (GLIBC_PRIVATE): Add __call_tls_dtors.
12008         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12009         for libstdc++.
12010         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12011         * stdlib/tst-tls-atexit.c: New test case.
12012         * stdlib/tst-tls-atexit-lib.c: New test case.
12013
12014         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12015
12016         * elf/Versions (ld): Add _dl_find_dso_for_object.
12017         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12018         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12019         (dl_open_worker): Use _dl_find_dso_for_object.
12020         * elf/dl-sym.c (do_sym): Likewise.
12021         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12022
12023 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12024
12025         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12026         Syntactic changes only.
12027         (_dl_runtime_profile): Do a tail-call to the resolved function.
12028
12029 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12030
12031         [BZ #13550]
12032         * sysdeps/x86_64/bp-asm.h: Remove file.
12033         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12034         <bp-sym.h> and <bp-asm.h>.
12035         (__clone): Do not use BP_SYM.
12036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12037         <bp-sym.h> and <bp-asm.h>.
12038         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12039         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12040         "bp-asm.h".
12041         (_setjmp): Do not use BP_SYM.
12042         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12043         "bp-asm.h".
12044         (setjmp): Do not use BP_SYM.
12045         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12046         libc_hidden_def.
12047         (mempcpy): Do not use BP_SYM in weak_alias.
12048         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12049         "bp-asm.h".
12050         (strchr): Do not use BP_SYM.
12051         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12052         "bp-asm.h".
12053         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12054         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12055         (_start): Do not use BP_SYM.
12056         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12057         "bp-asm.h".
12058         (strcat): Do not use BP_SYM.
12059         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12060         "bp-asm.h".
12061         (STRCMP): Do not use BP_SYM.
12062         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12063         "bp-asm.h".
12064         (STRCPY): Do not use BP_SYM.
12065         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12066         "bp-asm.h".
12067         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12068         "bp-asm.h".
12069         (FUNCTION): Do not use BP_SYM.
12070         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12071         weak_alias.
12072         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12073
12074 2013-02-17  Andreas Jaeger  <aj@suse.de>
12075
12076         * time/Versions: Sort entries.
12077         * string/Versions: Likewise.
12078         * resolv/Versions: Likewise.
12079         * posix/Versions: Likewise.
12080         * iconv/Versions: Likewise.
12081         * elf/Versions: Likewise.
12082         * wcsmbs/Versions: Likewise.
12083
12084 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12085
12086         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12087         loop termination condition.
12088
12089         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12090         variable to calculate EZ.
12091         (__sqr): Likewise.
12092
12093         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12094         the lower precision input.
12095
12096 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12097
12098         [BZ #13550]
12099         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12100         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12101         (run-via-rtld-prefix): Do not handle %-bp tests.
12102         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12103         (all-object-suffixes): Remove .ob.
12104         (bppfx): Remove variable.
12105         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12106         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12107         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12108         [$(build-bounded) = yes] (libtype.ob): Likewise.
12109         * Makerules (elide-routines.ob): Remove variable.
12110         (do-tests-clean): Do not handle *-bp.out.
12111         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12112         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12113         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12114         (tests): Do not include $(tests-bp.out).
12115         (xtests): Do not include $(xtests-bp.out).
12116         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12117         [$(build-bounded) = yes] ($(addprefix
12118         $(objpfx),$(binaries-bounded))): Remove rule.
12119         ($(objpfx)%-bp.out): Remove rule.
12120         * config.make.in (build-bounded): Remove variable.
12121         * crypt/Makefile [$(build-bounded) = yes]
12122         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12123         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12124         append to variable.
12125         [$(build-bounded) = yes] (install-lib): Likewise.
12126         [$(build-bounded) = yes] (generated): Likewise.
12127         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12128         Remove rule.
12129         * intl/Makefile [$(build-bounded) = yes]
12130         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12131         * math/Makefile [$(build-bounded) = yes]
12132         ($(tests:%=$(objpfx)%-bp): Likewise.
12133         * misc/Makefile [$(build-bounded) = yes]
12134         ($(objpfx)tst-tsearch-bp): Likewise.
12135         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12136         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12137         Remove dependency.
12138         * string/Makefile (o-objects.ob): Remove variable.
12139         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12140         (CFLAGS-.ob): Remove variable.
12141         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12142         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12143         both definitions of variable.
12144         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12145         (ASFLAGS-.ob): Remove variable.
12146
12147 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12148
12149         [BZ #13550]
12150         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12151         Remove __BOUNDED_POINTERS__ from condition.
12152         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12153         * string/bits/string2.h [!__NO_STRING_INLINES &&
12154         !__BOUNDED_POINTERS__]: Likewise.
12155         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12156         Likewise.
12157         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12158         Remove conditional code.
12159         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12160         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12161         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12162         condition.
12163
12164         [BZ #13550]
12165         * csu/libc-start.c: Do not include <bp-sym.h>.
12166         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12167         * elf/dl-open.c: Do not include <bp-sym.h>.
12168         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12169         * math/fegetenv.c: Do not include <bp-sym.h>.
12170         (fegetenv): Do not use BP_SYM in versioned symbols.
12171         * nptl/sysdeps/pthread/bits/libc-lockP.h
12172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12173         <bp-sym.h>.
12174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12175         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12177         (__pthread_mutex_destroy): Likewise.
12178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12179         (__pthread_mutex_lock): Likewise.
12180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12181         (__pthread_mutex_trylock): Likewise.
12182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12183         (__pthread_mutex_unlock): Likewise.
12184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12185         (__pthread_mutexattr_init): Likewise.
12186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12187         (__pthread_mutexattr_destroy): Likewise.
12188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12189         (__pthread_mutexattr_settype): Likewise.
12190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12191         (__pthread_rwlock_init): Likewise.
12192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12193         (__pthread_rwlock_destroy): Likewise.
12194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12195         (__pthread_rwlock_rdlock): Likewise.
12196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12197         (__pthread_rwlock_tryrdlock): Likewise.
12198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12199         (__pthread_rwlock_wrlock): Likewise.
12200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12201         (__pthread_rwlock_trywrlock): Likewise.
12202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12203         (__pthread_rwlock_unlock): Likewise.
12204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12205         (__pthread_key_create): Likewise.
12206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12207         (__pthread_setspecific): Likewise.
12208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12209         (__pthread_getspecific): Likewise.
12210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12211         Likewise.
12212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12213         (_pthread_cleanup_push_defer): Likewise.
12214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12215         (_pthread_cleanup_pop_restore): Likewise.
12216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12217         (pthread_setcancelstate): Likewise.
12218         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12219         <bp-sym.h>.
12220         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12221         (memchr): Do not use BP_SYM in weak_alias.
12222         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12223         (fegetenv): Do not use BP_SYM in versioned symbols.
12224         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12225         (fesetenv): Do not use BP_SYM in versioned symbols.
12226         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12227         (feupdateenv): Do not use BP_SYM in versioned symbols.
12228         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12229         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12230         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12231         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12232         (open64): Do not use BP_SYM in weak_alias.
12233         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12234         (fegetenv): Do not use BP_SYM in versioned symbols.
12235         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12236         (fesetenv): Do not use BP_SYM in versioned symbols.
12237         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12238         (feupdateenv): Do not use BP_SYM in versioned symbols.
12239         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12240         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12241         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12242         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12243         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12244         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12245         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12246         <bp-sym.h>.
12247         (__libc_start_main): Do not use BP_SYM.
12248
12249 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12250
12251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12252         redundant return line.
12253         (norm): Likewise.
12254         (denorm): Likewise.
12255         (dbl_mp): Likewise.
12256         (sub_magnitudes): Likewise.
12257         (__add): Likewise.
12258         (__sub): Likewise.
12259         (__mul): Likewise.
12260         (__inv): Likewise.
12261         (__dvd): Likewise.
12262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12263         (norm): Likewise.
12264         (denorm): Likewise.
12265         (dbl_mp): Likewise.
12266         (sub_magnitudes): Likewise.
12267         (__add): Likewise.
12268         (__sub): Likewise.
12269         (__mul): Likewise.
12270         (__inv): Likewise.
12271         (__dvd): Likewise.
12272
12273         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12274         instead of __mul.
12275         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12276         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12277         (cc32): Likewise.
12278
12279         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12280         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12282         of __mul for squares.
12283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12284         function
12285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12286         Likewise.
12287         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12288         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12289
12290 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12291
12292         [BZ #13550]
12293         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12294         code.
12295         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12296         prototype or function definition.  Rename ubp_* variables and
12297         parameters.  Remove argv definitions conditional on
12298         [__BOUNDED_POINTERS__].
12299         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12300         * elf/dl-runtime.c (_dl_fixup): Likewise.
12301         * include/set-hooks.h (RUN_HOOK): Likewise.
12302         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12303         definition.
12304         * string/strcpy.c (strcpy): Do not use __unbounded.
12305         * sysdeps/generic/frame.h (struct layout): Likewise.
12306         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12307         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12308         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12309         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12310         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12311         (__backtrace): Likewise.
12312         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12313         use __ptrvalue.
12314         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12315         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12316         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12317         Likewise.
12318         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12319         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12320         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12321         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12322         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12323         Do not use __unbounded.
12324         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12325         Rename __unboundedrlimits parameter to rlimits in prototype.
12326         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12327         Do not use __unbounded.
12328         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12329         not use __ptrvalue.
12330         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12331         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12332         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12333         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12334         __ptrvalue or __unbounded.
12335         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12336         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12337         use __unbounded.
12338         (__new_msgctl): Do not use __ptrvalue.
12339         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12340         __unbounded.
12341         (__libc_msgrcv): Do not use __ptrvalue.
12342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12343         startup_info): Do not use __unbounded.
12344         (__libc_start_main): Likewise.  Rename ubp_* variables and
12345         parameters.  Remove argv definitions conditional on
12346         [__BOUNDED_POINTERS__].
12347         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12348         __ptrvalue.
12349         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12350         use __unbounded.
12351         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12352         or __ptrvalue.
12353         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12354         use __unbounded.
12355         (__new_shmctl): Do not use __ptrvalue.
12356         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12357         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12358         Likewise.
12359         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12360         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12361         (__libc_sigaction): Likewise.
12362         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12363         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12364         Likewise.
12365         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12366
12367 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12368
12369         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12370
12371         * string/mempcpy.c: Implement by calling memcpy.
12372
12373 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12374
12375         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12376
12377         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12378         evaluation.
12379
12380         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12381         values in the mantissa.
12382
12383         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12384         minimize writes to Z.
12385         (sub_magnitudes): Simplify code a bit.
12386
12387 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12388
12389         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12390         from the message.  The linker prefixes all warnings with that already.
12391
12392 2013-02-12  Andreas Schwab  <schwab@suse.de>
12393
12394         [BZ #15078]
12395         * posix/regexec.c (extend_buffers): Add parameter min_len.
12396         (check_matching): Pass minimum needed length.
12397         (clean_state_log_if_needed): Likewise.
12398         (get_subexp): Likewise.
12399         * posix/Makefile (tests): Add bug-regex34.
12400         (bug-regex34-ENV): Define.
12401         * posix/bug-regex34.c: New file.
12402
12403         [BZ #11561]
12404         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12405         elements compare against the byte sequence of it, not its name.
12406         * posix/Makefile (tests): Add bug-regex35.
12407         (bug-regex35-ENV): Define.
12408         * posix/bug-regex35.c: New file.
12409
12410 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12411
12412         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12413         comment.
12414         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12415         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12416         (CHECK_EOL): Add undef.
12417
12418 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12419
12420         * bits/stdlib-bsearch.h: New file.
12421         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12422         * stdlib/stdlib.h: Likewise.
12423
12424 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12425
12426         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12427         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12428         declaration.
12429         * manual/search.texi (Array Search Function): Add missing const in
12430         lfind prototype.
12431         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12432         declaration to use rlim_t.
12433         (Basic Scheduling Functions): Remove erroneous const from
12434         sched_getparam prototype.  Remove erroneous * from
12435         sched_get_priority_max and sched_get_priority_min prototypes.
12436         (Resource Usage): Fix summary @comment on vtimes to refer to
12437         sys/vtimes.h rather than vtimes.h.
12438         Add missing *s in vtimes prototype.
12439         (Limits on Resources): Fix ulimit prototype to return long int.
12440         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12441         prototypes to use long int rather than double.
12442         (BSD Random): Fix initstate and setstate to use char *, not void *.
12443         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12444         prototype to make second argument 'struct aiocb64 *const[]'.
12445         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12446         (Status of AIO Operations): Remove erroneous const in aio_return and
12447         aio_return64 prototypes.
12448         (Synchronizing I/O): Fix sync prototype to return void.
12449         * manual/startup.texi (Suboptions): Remove an erroneous const in
12450         getsubopt prototype.
12451         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12452         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12453         use size_t rather than int.
12454         (Scanning All Users): Likewise for getpwent_r.
12455         (Setting Groups): Add missing const to setgroups prototype.
12456         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12457         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12458         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12459         'const void *' rather than 'const char *'.
12460         (Host Address Functions): Likewise for inet_ntop.
12461         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12462         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12463         ssize_t for return value.
12464         (Sending Data): Likewise for send, sendto, sendmsg.
12465         (Socket Option Functions): Add a missing const in setsockopt prototype.
12466         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12467         use wchar_t for the argument.
12468         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12469         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12470         take no arguments.
12471         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12472         double/float/long double for second argument.
12473         Fix return types of significand, significandf, significandl.
12474         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12475         argument in fchmod prototype.
12476         (File Owner): Use uid_t and gid_t in fchown prototype.
12477         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12478         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12479         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12480         use 'const struct dirent **' as argument types to CMP function pointer
12481         argument.
12482         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12483         (File Times): Fix summary magic @comment for struct utimbuf and utime
12484         to refer to utime.h, not time.h.
12485         * manual/string.texi (Argz Functions): Add missing const in
12486         argz_extract and argz_next prototypes.
12487         (Finding Tokens in a String): Likewise for basename.
12488         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12489         (Copying and Concatenation): Fix typo in wmemmove prototype.
12490         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12491         (Signal Stack): Remove erroneous const in sigstack prototype.
12492         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12493         prototype.
12494         (Simple Calendar Time): Likewise for stime.
12495         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12496         prototype.
12497         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12498         say sys/sysctl.h instead.
12499         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12500         and vsyslog prototypes.
12501
12502 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12503
12504         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12505         Remove.
12506
12507 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12508
12509         * misc/sys/mman.h: Fix typo in mremap comment.
12510
12511 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12512
12513         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12514         the '\0' terminator.
12515
12516 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12517
12518         [BZ #13550]
12519         * debug/segfault.c: Don't include <bp-checks.h>.
12520         * sysdeps/generic/bp-checks.h: Remove file.
12521         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12522         (__GETDENTS): Don't use CHECK_N.
12523         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12524         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12525         (__getgroups): Don't use CHECK_N.
12526         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12527         (setgroups): Don't use CHECK_N.
12528         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12529         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12530         (__libc_msgrcv): Don't use CHECK_N.
12531         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12532         (__libc_msgsnd): Don't use CHECK_N.
12533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12534         <bp-checks.h>.
12535         (__libc_pread): Don't use CHECK_N.
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12537         include <bp-checks.h>.
12538         (__libc_pread64): Don't use CHECK_N.
12539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12540         include <bp-checks.h>.
12541         (__libc_pwrite): Don't use CHECK_N.
12542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12543         include <bp-checks.h>.
12544         (__libc_pwrite64): Don't use CHECK_N.
12545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12546         <bp-checks.h>.
12547         (__libc_pread): Don't use CHECK_N.
12548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12549         include <bp-checks.h>.
12550         (__libc_pread64): Don't use CHECK_N.
12551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12552         include <bp-checks.h>.
12553         (__libc_pwrite): Don't use CHECK_N.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12555         include <bp-checks.h>.
12556         (__libc_pwrite64): Don't use CHECK_N.
12557         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12558         (do_pread): Don't use CHECK_N.
12559         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12560         (do_pread64): Don't use CHECK_N.
12561         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12562         (do_pwrite): Don't use CHECK_N.
12563         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12564         (do_pwrite64): Don't use CHECK_N.
12565         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12566         (__libc_readv): Don't use CHECK_N.
12567         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12568         (semop): Don't use CHECK_N.
12569         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12570         <bp-checks.h>.
12571         (semtimedop): Don't use CHECK_N.
12572         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12573         (__libc_pread): Don't use CHECK_N.
12574         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12575         <bp-checks.h>.
12576         (__libc_pread64): Don't use CHECK_N.
12577         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12578         <bp-checks.h>.
12579         (__libc_pwrite): Don't use CHECK_N.
12580         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12581         <bp-checks.h>.
12582         (__libc_pwrite64): Don't use CHECK_N.
12583         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12584         <bp-checks.h>.
12585         (__libc_msgrcv): Don't use CHECK_N.
12586         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12587         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
12588         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12589         (__libc_writev): Don't use CHECK_N.
12590
12591 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12592
12593         * string/strcpy.c: Removed unused variable.
12594
12595         * Makeconfig (+sysdep-includes): Define with := rather than =.
12596         Use an existing include/ subdir of each sysdeps dir before it.
12597
12598 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12599
12600         * nscd/connection.c (register_traced_file): Comment function.
12601         [HAVE_INOTIFY] (union __inev): Define.
12602         [HAVE_INOTIFY] (inotify_check_files): New function.
12603         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12604         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12605         clear_db_cache.
12606         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12607
12608 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12609
12610         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12611         loaded if not already and that a failure is permanent.
12612
12613 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12614
12615         [BZ #15006]
12616         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12617         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12618
12619 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12620
12621         [BZ #13550]
12622         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12623         (CHECK_1_NULL_OK): Likewise.
12624         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12625         (__fxstat): Do not use CHECK_1.
12626         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12627         <bp-checks.h>.
12628         (___fxstat64): Do not use CHECK_1.
12629         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12630         <bp-checks.h>.
12631         (__fxstatat): Do not use CHECK_1.
12632         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12633         <bp-checks.h>.
12634         (__fxstatat64): Do not use CHECK_1.
12635         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12636         <bp-checks.h>.
12637         (__fxstat): Do not use CHECK_1.
12638         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12639         <bp-checks.h>.
12640         (__fxstatat): Do not use CHECK_1.
12641         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12642         <bp-checks.h>.
12643         (__getresgid): Do not use CHECK_1.
12644         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12645         <bp-checks.h>.
12646         (__getresuid): Do not use CHECK_1.
12647         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12648         <bp-checks.h>.
12649         (__lxstat): Do not use CHECK_1.
12650         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12651         <bp-checks.h>.
12652         (__old_msgctl): Do not use CHECK_1.
12653         (__new_msgctl): Likewise.
12654         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12655         <bp-checks.h>.
12656         (__new_setrlimit): Do not use CHECK_1.
12657         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12658         <bp-checks.h>.
12659         (__old_shmctl): Do not use CHECK_1.
12660         (__new_shmctl): Likewise.
12661         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12662         <bp-checks.h>.
12663         (__xstat): Do not use CHECK_1.
12664         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12665         (__lxstat): Do not use CHECK_1.
12666         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12667         <bp-checks.h>.
12668         (___lxstat64): Do not use CHECK_1.
12669         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12670         (__old_msgctl): Do not use CHECK_1.
12671         (__new_msgctl): Likewise.
12672         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12673         <bp-checks.h>.
12674         (__gettimeofday): Do not use CHECK_1.
12675         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12676         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12677         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12678         <bp-checks.h>.
12679         (__gettimeofday): Do not use CHECK_1.
12680         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12681         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12682         (__new_shmctl): Do not use CHECK_1.
12683         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12684         <bp-checks.h>.
12685         (do_sigtimedwait): Do not use CHECK_1.
12686         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12687         <bp-checks.h>.
12688         (do_sigwaitinfo): Do not use CHECK_1.
12689         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12690         <bp-checks.h>.
12691         (msgctl): Do not use CHECK_1.
12692         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12693         <bp-checks.h>.
12694         (shmctl): Do not use CHECK_1.
12695         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12696         (ustat): Do not use CHECK_1.
12697         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12698         <bp-checks.h>.
12699         (__fxstat): Do not use CHECK_1.
12700         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12701         <bp-checks.h>.
12702         (__fxstatat): Do not use CHECK_1.
12703         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12704         <bp-checks.h>.
12705         (__lxstat): Do not use CHECK_1.
12706         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12707         <bp-checks.h>.
12708         (__xstat): Do not use CHECK_1.
12709         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12710         (__xstat): Do not use CHECK_1.
12711         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12712         (___xstat64): Do not use CHECK_1.
12713
12714         [BZ #13550]
12715         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12716         definitions.
12717         (CHECK_BOUNDS_HIGH): Likewise.
12718         * string/strcpy.c: Do not include <bp-checks.h>.
12719         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12720
12721 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12722
12723         * nscd/nscd-client.h (__nscd_drop_map_ref):
12724         Add __attribute__ ((unused)).
12725         * nis/nss-nisplus.h (niserr2nss): Likewise.
12726
12727         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12728         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12729
12730         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12731         Remove inline keyword.
12732         * include/rounding-mode.h (round_away): Likewise.
12733         * libio/wfileops.c (adjust_wide_data): Likewise.
12734         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12735         (__m128i_strloadu_tolower): Likewise.
12736         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12737         (__m128i_strloadu_tolower): Likewise.
12738         * time/mktime.c (ydhms_diff): Likewise.
12739         * locale/elem-hash.h (elem_hash): Likewise.
12740         * locale/setlocale.c (setdata): Likewise.
12741         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12742         (re_string_wchar_at): Likewise.
12743         (bitset_not, bitset_merge, bitset_mask): Likewise.
12744         [!(__GNUC__ > 3)] (inline): Remove macro.
12745         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12746         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12747         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12748         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12749         * string/memcmp.c (memcmp_bytes): Likewise.
12750         * locale/programs/locarchive.c (compute_hashval): Likewise.
12751         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12752         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12753         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12754         * nss/getent.c (print_rpc, print_protocols): Likewise.
12755         (print_passwd, print_group, print_aliases): Likewise.
12756         * nis/nss-nisplus.h (niserr2nss): Likewise.
12757         * nscd/connections.c (restart_p): Likewise.
12758         Change return type to bool.
12759
12760 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12761
12762         * Makeconfig (all-Depend-files): Add existing
12763         $(sorted-subdirs:=/Depend) files.
12764         (all-subdirs): Remove nss.
12765         * sysdeps/unix/inet/Subdirs: Add it here instead.
12766         * hesiod/Depend: New file.
12767
12768         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12769         instead of calling alloca.
12770
12771         * io/lseek.c (__lseek): Rename to __libc_lseek.
12772         Define __lseek as an alias.
12773
12774         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12775
12776 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12777
12778         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12779         else clause and remove check for non-standard endianness.
12780
12781 2013-02-04  David S. Miller  <davem@davemloft.net>
12782
12783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12784
12785 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12786
12787         [BZ #13550]
12788         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12789         (__ubp_memchr): Remove prototype.
12790         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12791         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12792         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12793         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12794         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12795         Remove alias.
12796         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12797         (__ubp_memchr): Likewise.
12798         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12799         (__ubp_memchr): Likewise.
12800         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12801         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12802         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12803         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12804         CHECK_STRING.
12805         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12806         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12807         (__getcwd): Do not use CHECK_STRING.
12808         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12809         <bp-checks.h>.
12810         (__real_chown): Do not use CHECK_STRING.
12811         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12812         <bp-checks.h>.
12813         (fchownat): Do not use CHECK_STRING.
12814         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12815         CHECK_STRING.
12816         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12817         <bp-checks.h>.
12818         (__lchown): Do not use CHECK_STRING.
12819         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12820         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12821         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12822         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12824         include <bp-checks.h>.
12825         (truncate64): Do not use CHECK_STRING.
12826         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12827         <bp-checks.h>.
12828         (__real_chown): Do not use CHECK_STRING.
12829         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12830         <bp-checks.h>.
12831         (__lchown): Do not use CHECK_STRING.
12832         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12833         <bp-checks.h>.
12834         (__chown): Do not use CHECK_STRING.
12835         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12836         <bp-checks.h>.
12837         (truncate64): Do not use CHECK_STRING.
12838         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12839         Likewise.
12840         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12841         (__xmknod): Do not use CHECK_STRING.
12842         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12843         <bp-checks.h>.
12844         (__xmknodat): Do not use CHECK_STRING.
12845         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12846         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12847
12848 2013-02-04  Andreas Schwab  <schwab@suse.de>
12849
12850         [BZ #14142]
12851         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12852         * include/netdb.h: Likewise for h_errno.
12853         * elf/tst-stackguard1.c: Include <tls.h>.
12854
12855 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12856
12857         * elf/link.h (struct link_map): Extend the l_addr comment.
12858         * include/link.h (struct link_map): Likewise.
12859
12860 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12861
12862         [BZ #13550]
12863         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12864         (BOUNDED_1): Remove macro.
12865         * debug/backtrace.c: Don't include <bp-checks.h>.
12866         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12867         (__backtrace): Likewise.
12868         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12869         <bp-checks.h>.
12870         (__backtrace): Don't use BOUNDED_1.
12871         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12872         <bp-checks.h>.
12873         (__backtrace): Don't use BOUNDED_1.
12874         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12875         (__backtrace): Don't use BOUNDED_1.
12876         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12877         (shmat): Don't use BOUNDED_N.
12878
12879 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12880
12881         [BZ #13550]
12882         * sysdeps/generic/bp-start.h: Remove file.
12883         * csu/libc-start.c: Don't include <bp-start.h>.
12884         (LIBC_START_MAIN): Set up __environ directly instead of using
12885         INIT_ARGV_and_ENVIRON.
12886         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12887         <bp-start.h>.
12888
12889         [BZ #13550]
12890         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12891         definitions.
12892         (CHECK_FCNTL): Likewise.
12893         (CHECK_N_PAGES): Likewise.
12894
12895         [BZ #13550]
12896         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12897         definitions.
12898         (CHECK_SIGSET_NULL_OK): Likewise.
12899         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12900         <bp-checks.h>.
12901         (sigpending): Don't use CHECK_SIGSET.
12902         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12903         <bp-checks.h>.
12904         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12905         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12906         <bp-checks.h>.
12907         (do_sigsuspend): Don't use CHECK_SIGSET.
12908         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12909         use CHECK_SIGSET.
12910         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12911         (do_sigwait): Don't use CHECK_SIGSET.
12912         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12913         use CHECK_SIGSET.
12914         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12915         include <bp-checks.h>.
12916         (sigpending): Don't use CHECK_SIGSET.
12917         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12918         include <bp-checks.h>.
12919         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12920         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12921         <bp-checks.h>.
12922         (sigpending): Don't use CHECK_SIGSET.
12923         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12924         <bp-checks.h>.
12925         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12926
12927         [BZ #13550]
12928         * sysdeps/generic/bp-semctl.h: Remove file.
12929         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12930         <bp-checks.h> and <bp-semctl.h>.
12931         (__old_semctl): Don't use CHECK_SEMCTL.
12932         (__new_semctl): Likewise.
12933         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12934         and <bp-semctl.h>.
12935         (__old_semctl): Don't use CHECK_SEMCTL.
12936         (__new_semctl): Likewise.
12937         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12938         <bp-checks.h> and <bp-semctl.h>.
12939         (__old_semctl): Don't use CHECK_SEMCTL.
12940         (__new_semctl): Likewise.
12941         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12942         <bp-checks.h> and <bp-semctl.h>.
12943         (semctl): Don't use CHECK_SEMCTL.
12944
12945         [BZ #13550]
12946         * Makerules (elide-bp-thunks): Remove variable.
12947         (elide-routines.oS): Don't use $(elide-bp-thunks).
12948         (elide-routines.os): Likewise.
12949         (elide-routines.o): Likewise.
12950         (elide-routines.op): Likewise.
12951         (elide-routines.og): Likewise.
12952         (objects): Don't use $(bp-thunks).
12953         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12954         include.
12955         (common-generated): Do not add s-proto-bp.d.
12956         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12957         (int): Likewise.
12958         (typ): Likewise.
12959         Do not generate makefile rules for bounded-pointer thunks.
12960         * sysdeps/generic/bp-thunks.h: Remove file.
12961         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12962         * sysdeps/unix/s-proto-bp.S: Likewise.
12963
12964         [BZ #15062]
12965         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12966         parts of result separately when argument is not close to line from
12967         -i to i and one part of argument is small.
12968         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12969         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12970         * math/libm-test.inc (cacos_test): Add more tests.
12971         (casin_test): Likewise.
12972         (casinh_test): Likewise.
12973         * sysdeps/i386/fpu/libm-test-ulps: Update.
12974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12975
12976 2013-01-31  David S. Miller  <davem@davemloft.net>
12977
12978         * po/de.po: Update from translation team.
12979
12980 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12981
12982         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12983
12984 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12985
12986         * configure.in (_AC_PROG_CC_C89): New definition.
12987         * configure: Regenerate.
12988
12989         * configure.in (AC_PROG_CPP): New definition.
12990         * configure: Regenerate.
12991
12992 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12993
12994         * debug/tst-backtrace.h: New file.
12995         * debug/tst-backtrace2.c: Include tst-backtrace.h.
12996         (ret): Remove variable.
12997         (x): Likewise.
12998         (FAIL): Remove macro.
12999         (NO_INLINE): Likewise.
13000         (fn1): Use match function instead of strstr.
13001         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13002         (ret): Remove variable.
13003         (x): Likewise.
13004         (FAIL): Remove macro.
13005         (NO_INLINE): Likewise.
13006         (fn): Use match function instead of strstr.
13007         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13008         (ret): Remove variable.
13009         (x): Likewise.
13010         (FAIL): Remove macro.
13011         (NO_INLINE): Likewise.
13012         (handle_signal): Use match function instead of strstr.
13013         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13014         (ret): Remove variable.
13015         (x): Likewise.
13016         (FAIL): Remove macro.
13017         (NO_INLINE): Likewise.
13018         (handle_signal): Use match function instead of strstr.
13019
13020 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13021
13022         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13023
13024 2013-01-23  David S. Miller  <davem@davemloft.net>
13025
13026         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13027         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13028         argument of CAS if possible.
13029         * sysdeps/sparc/sparc64/bits/atomic.h
13030         (__arch_compare_and_exchange_val_32_acq): Likewise.
13031         (__arch_compare_and_exchange_val_64_acq): Likewise.
13032
13033 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13034
13035         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13036         * sysdeps/posix/ulimit.c: ... this.
13037         Include <limits.h>.
13038         * sysdeps/unix/bsd/ulimit.c: Remove file.
13039
13040 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13041
13042         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13043         (LDFLAGS-tst-array5): Likewise.
13044
13045 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13046
13047         [BZ #15036]
13048         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13049         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13050         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13051         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13052
13053 2013-01-21  David S. Miller  <davem@davemloft.net>
13054
13055         * sysdeps/sparc/backtrace.c: New file.
13056         * sysdeps/sparc/sparc32/backtrace.h: New file.
13057         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13058         * sysdeps/sparc/sparc64/backtrace.h: New file.
13059         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13060         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13061         -funwind-tables.
13062
13063 2013-01-21  Andreas Schwab  <schwab@suse.de>
13064
13065         [BZ #15020]
13066         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13067         closed its stdout.
13068
13069 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13070
13071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13072         "mpa2.h".
13073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13074
13075 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13076             Mark Mitchell  <mark@codesourcery.com>
13077             Tom de Vries  <tom@codesourcery.com>
13078             Paul Pluzhnikov  <ppluzhnikov@google.com>
13079
13080         * debug/tst-backtrace2.c: New file.
13081         * debug/tst-backtrace3.c: Likewise.
13082         * debug/tst-backtrace4.c: Likewise.
13083         * debug/tst-backtrace5.c: Likewise.
13084         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13085         (CFLAGS-tst-backtrace3.c): Likewise.
13086         (CFLAGS-tst-backtrace4.c): Likewise.
13087         (CFLAGS-tst-backtrace5.c): Likewise.
13088         (LDFLAGS-tst-backtrace2): Likewise.
13089         (LDFLAGS-tst-backtrace3): Likewise.
13090         (LDFLAGS-tst-backtrace4): Likewise.
13091         (LDFLAGS-tst-backtrace5): Likewise.
13092         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13093         tst-backtrace4 and tst-backtrace5.
13094
13095 2013-01-18  Anton Blanchard  <anton@samba.org>
13096             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13097
13098         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13099         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13100         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13101         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13103         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13104         "+r" and remove output regs list as redundant.  Add explicit inline
13105         asm to specify register of return val to work around compiler codegen
13106         bug.  Remove (int) cast on return value.  Add return type parameter to
13107         use in macro so that this macro does not truncate return value for
13108         64-bit values.
13109         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13110         pass to INTERNAL_VSYSCALL_NCS.
13111         (INLINE_VSYSCALL): Add 'long int' as return type to
13112         INTERNAL_VSYSCALL_NCS macro invocation.
13113         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13114         INTERNAL_VSYSCALL_NCS macro invocation.
13115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13116
13117 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13118
13119         [BZ #14496]
13120         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13121         Fix application of SIMD FP exception mask.
13122
13123         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13124         mp_no from a power of two.
13125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13126         __mpexp_twomm1.  Use __pow_mp.
13127
13128         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13129         multiplication.
13130
13131 2013-01-17  David S. Miller  <davem@davemloft.net>
13132
13133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13134
13135 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13136
13137         [BZ #15023]
13138         * include/complex.h: Condition contents on [!_COMPLEX_H].
13139         (__kernel_casinhf): New prototype.
13140         (__kernel_casinh): Likewise.
13141         (__kernel_casinhl): Likewise.
13142         * math/Makefile (libm_calls): Add k_casinh.
13143         * math/k_casinh.c: New file.
13144         * math/k_casinhf.c: Likewise.
13145         * math/k_casinhl.c: Likewise.
13146         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13147         finite nonzero arguments.
13148         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13149         finite nonzero arguments.
13150         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13151         finite nonzero arguments.
13152         * math/s_casinh.c: Do not include <float.h>.
13153         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13154         * math/s_casinhf.c: Do not include <float.h>.
13155         (__casinhf): Move code for finite nonzero arguments to
13156         k_casinhf.c.
13157         * math/s_casinhl.c: Do not include <float.h>.
13158         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13159         redefine.
13160         (__casinhl): Move code for finite nonzero arguments to
13161         k_casinhl.c.
13162         * math/libm-test.inc (cacos_test): Add more tests.
13163         * sysdeps/i386/fpu/libm-test-ulps: Update.
13164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13165
13166 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13167
13168         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13169         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13170         [!HAVE_MREMAP]: Remove [defined linux] case.
13171         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13172
13173 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13174
13175         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13176
13177 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13178
13179         * elf/elf.h (R_386_SIZE32): New relocation.
13180         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13181         R_386_SIZE32.
13182         (elf_machine_rela): Likewise.
13183         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13184         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13185
13186 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13187
13188         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13189         (FP_FAST_FMA): Do not define.
13190         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13191         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13192         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13193         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13194         !_SOFT_FLOAT]: Likewise.
13195         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13196         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13197         value.
13198         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13199         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13200         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13201         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13202         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13203         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13204         file.
13205
13206 2013-01-16  Andreas Schwab  <schwab@suse.de>
13207
13208         [BZ #14327]
13209         * include/stdlib.h (__mktemp): Add declaration.
13210         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13211         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13212
13213 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13214
13215         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13216         definitions.
13217         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13218         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13219         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13220         definitions here.
13221         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13222         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13223         definitions.
13224         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13225         and ONE.
13226         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13227         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13228         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13229         definitions.
13230         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13231         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13232         definitions.
13233         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13234
13235         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13236
13237 2013-01-15  David S. Miller  <davem@davemloft.net>
13238
13239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13240         trunc{,f} to libm-sysdep_routes.
13241         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13243         file.
13244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13246         file.
13247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13248         file.
13249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13251         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13252         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13253         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13254         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13255         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13256         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13257
13258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13259         nearbyint{,f} to libm-sysdep_routes.
13260         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13262         New file.
13263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13264         file.
13265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13266         New file.
13267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13268         file.
13269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13271         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13272         file.
13273         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13274         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13275         file.
13276         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13277         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13278         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13279
13280         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13281         libc_feholdexcept and libc_fesetenv.
13282
13283 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13284
13285         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13286
13287 2013-01-14  David S. Miller  <davem@davemloft.net>
13288
13289         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13290         (SPARC_ASM_VIS2_IFUNC): Likewise.
13291         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13293         use of 'siam' instruction.
13294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13295         Likewise.
13296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13297         Likewise.
13298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13299         Likewise.
13300         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13305         file.
13306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13307         file.
13308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13309         file.
13310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13311         file.
13312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13317         new VIS2 routines.
13318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13321         Likewise.
13322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13323         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13327         routines to libm-sysdep_routines.
13328         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13329
13330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13331         fdim/fdimf to libm-sysdep_routines.
13332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13333         file.
13334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13336         file.
13337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13340         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13341         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13342         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13343         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13344
13345 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13346
13347         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13348         to optimize copies.
13349
13350         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13353
13354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13355         local variable MPTWO.
13356         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13357         Likewise.
13358
13359 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13360
13361         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13362         GLOB_NOESCAPE.
13363
13364 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13365
13366         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13367
13368 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13369
13370         * manual/pattern.texi (glob_t): Document gl_flags.
13371         (glob64_t): Likewise.
13372
13373 2013-01-11  David S. Miller  <davem@davemloft.net>
13374
13375         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13376         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13377         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13378         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13379         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13380         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13381         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13382         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13383         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13384         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13385         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13386         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13387         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13388
13389         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13390         sparc V9 rather than using V8 code.
13391         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13392         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13393
13394         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13395         Move to...
13396         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13397         Here.
13398
13399 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13400
13401         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13402         not in the main loop.
13403         * configure: Regenerated.
13404
13405 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13406
13407         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13408         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13409         to just #else.
13410         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13411         [!__GLIBC_HAVE_LONG_LONG] case.
13412         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13413         condition to just #else.
13414         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13415         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13416         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13417         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13418         unconditional.
13419         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13420         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13421         #elif condition to just #else.
13422         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13423         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13424         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13425         #elif condition to just #else.
13426
13427 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13428
13429         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13430         (EF_MIPS_ARCH_64): Fix value.
13431         (EF_MIPS_ARCH_32R2): New.
13432         (EF_MIPS_ARCH_64R2): New.
13433
13434 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13435
13436         * Makeconfig (+link-pie-before-libc): New.
13437         (+link-pie-after-libc): Likewise.
13438         (+link-pie-tests): Likewise.
13439         (+link-pie): Rewritten.
13440         (link-before-libc): Remove $(config-LDFLAGS).
13441         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13442         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13443         (config-LDFLAGS): Renamed to ...
13444         (rtld-LDFLAGS): This.
13445         (rtld-tests-LDFLAGS): New macro.
13446         (link-libc-rpath-link): Likewise.
13447         (link-libc-tests-rpath-link): Likewise.
13448         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13449         (link-libc): Prepand $(link-libc-rpath-link).
13450         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13451         (test-program-prefix): New macro.
13452         (test-via-rtld-prefix): Likewise.
13453         (test-program-cmd): Likewise.
13454         (host-test-program-cmd): Likewise.
13455         * Makefile ($(common-objpfx)testrun.sh): Replace
13456         $(run-program-prefix) with $(test-program-prefix).
13457         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13458         $(rtld-LDFLAGS).
13459         ($(common-objpfx)shlib.lds): Likewise.
13460         (build-module-helper): Likewise.
13461         ($(common-objpfx)format.lds): Likewise.
13462         * Rules (binaries-pie-tests): New.
13463         (binaries-pie-notests): Likewise.
13464         (binaries-pie): Rewritten.
13465         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13466         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13467         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13468         (make-test-out): Replace $(host-built-program-cmd) with
13469         $(host-test-program-cmd).
13470         * config.make.in (build-hardcoded-path-in-tests): New variable.
13471         * configure.in (--enable-hardcoded-path-in-tests): New configure
13472         option.
13473         (hardcoded_path_in_tests): New AC_SUBST.
13474         * configure: Regenerated.
13475         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13476         $(built-program-cmd) with $(test-program-cmd).
13477         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13478         (test_program_cmd): This.
13479         * elf/Makefile ($(objpfx)order.out): Run test with
13480         $(test-program-prefix).
13481         ($(objpfx)order2.out): Likewise.
13482         ($(objpfx)tst-initorder.out): Likewise.
13483         ($(objpfx)tst-initorder2.out): Likewise.
13484         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13485         $(test-program-cmd).
13486         ($(objpfx)tst-array1-static.out): Likewise.
13487         ($(objpfx)tst-array2.out): Likewise.
13488         ($(objpfx)tst-array3.out): Likewise.
13489         ($(objpfx)tst-array4.out): Likewise.
13490         ($(objpfx)tst-array5.out): Likewise.
13491         ($(objpfx)tst-array5-static.out): Likewise.
13492         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13493         $(test-program-cmd).
13494         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13495         $(run-program-prefix) with $(test-program-prefix).
13496         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13497         (test_program_prefix): This.
13498         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13499         $(run-program-prefix) with $(test-program-prefix).
13500         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13501         (test_program_prefix): This.
13502         * iconvdata/tst-tables.sh: Likewise.
13503         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13504         $(run-program-prefix) with $(test-program-prefix).
13505         ($(objpfx)tst-translit.out): Likewise.
13506         ($(objpfx)tst-gettext2.out): Likewise.
13507         ($(objpfx)tst-gettext4.out): Likewise.
13508         ($(objpfx)tst-gettext6.out): Likewise.
13509         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13510         (test_program_prefix): This.
13511         * intl/tst-gettext2.sh: Likewise.
13512         * intl/tst-gettext4.sh  Likewise.
13513         * intl/tst-gettext6.sh: Likewise.
13514         * intl/tst-translit.sh: Likewise.
13515         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13516         with $(test-program-cmd).
13517         * libio/Makefile ($(objpfx)test-freopen.out): Replace
13518         $(run-program-prefix) with $(test-program-prefix).
13519         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13520         (test_program_prefix): This.
13521         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13522         $(run-program-prefix) with $(test-program-prefix).
13523         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13524         (test_program_prefix): This.
13525         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13526         * posix/Makefile ($(objpfx)globtest.out): Replace
13527         $(run-via-rtld-prefix) and $(test-wrapper) with
13528         $(test-program-prefix) and $(test-via-rtld-prefix).
13529         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13530         $(test-program-prefix).
13531         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13532         $(host-test-program-cmd).
13533         (tst-spawn-ARGS): Likewise.
13534         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13535         $(test-program-prefix).
13536         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13537         (test_via_rtld_prefix): This.
13538         (test_wrapper): Renamed to ...
13539         (test_program_prefix): This.
13540         (run_program_prefix): Replaced by test_program_prefix.
13541         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13542         (test_program_prefix): This.
13543         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13544         with $(host-test-program-cmd).
13545         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13546         $(run-program-prefix) with $(test-program-prefix).
13547         ($(objpfx)tst-printf.out): Likewise.
13548         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13549         $(test-program-cmd).
13550         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13551         (test_program_prefix): This.
13552         * stdio-common/tst-unbputc.sh: Likewise.
13553         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13554         $(run-program-prefix) with $(test-program-prefix).
13555         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13556         (test_program_prefix): This.
13557         * string/Makefile ($(objpfx)tst-svc.out):  Replace
13558         $(built-program-cmd) with $(test-program-cmd).
13559
13560 2013-01-11  Andreas Jaeger  <aj@suse.de>
13561
13562         [BZ #15003]
13563         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13564         value. Sync with Linux 3.7.
13565
13566 2013-01-10  David S. Miller  <davem@davemloft.net>
13567
13568         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13569         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13570         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13571
13572 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13573
13574         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13575         never set.
13576         * configure: Regenerated.
13577
13578 2013-01-10  David S. Miller  <davem@davemloft.net>
13579
13580         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13581         sparc V9 rather than using V8 code.
13582         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13583         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13584
13585 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13586
13587         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13588         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13589         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13590         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13591         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13592         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13593         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13594         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13595         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13596         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13597         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13598         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13599         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13600         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13601         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13602         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13603         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13604         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13605         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13606         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13607         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13608         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13609         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13610         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13611         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13612         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13613         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13614
13615 2013-01-10  David S. Miller  <davem@davemloft.net>
13616
13617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13618
13619 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13620
13621         * posix/Makefile (tests-static): New variable.
13622         (tests): Add $(tests-static).
13623         (tst-exec-static-ARGS): New variable.
13624         (tst-spawn-static-ARGS): Likewise.
13625         * posix/tst-exec-static.c: New file.
13626         * posix/tst-spawn-static.c: Likewise.
13627         * posix/tst-exec.c: Support run directly.
13628         * posix/tst-spawn.c: Likewise.
13629
13630 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13631
13632         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13633         long.
13634         * math/bits/mathcalls.h (llrint): Likewise.
13635         (llround): Likewise.
13636         * stdlib/stdlib.h (struct drand48_data): Likewise.
13637         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13638         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13639         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13640         Likewise.
13641         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13642         Likewise.
13643         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13644         (elf_greg_t): Likewise.
13645         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13646         (__jmp_buf): Likewise.
13647         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13648         definitions.
13649         (llrint): Likewise, for all definitions.
13650         (llrintl): Likewise.
13651
13652         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13653         Remove [__GNUC__] condition.
13654         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13655         condition to just [__USE_ISOC99].
13656         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13657
13658 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13659
13660         [BZ #14200]
13661         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13662         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13663         defined.
13664         (_POSIX_V6_ILP32_OFF32): Likewise.
13665         (_XBS5_ILP32_OFF32): Likewise.
13666         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13667         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13668
13669 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13670
13671         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13672
13673         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13674         doubles __mpexp_twomm1.  Adjust usage.
13675         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13676         Remove.
13677
13678 2013-01-10  Andreas Schwab  <schwab@suse.de>
13679
13680         [BZ #14964]
13681         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13682         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13683
13684 2013-01-09  David S. Miller  <davem@davemloft.net>
13685
13686         [BZ #15003]
13687         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13688         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13689         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13690         TCP_FASTOPEN): Define.
13691         (tcp_repair_opt): New structure.
13692         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13693         enum values.
13694         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13695         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13696         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13697         (tcp_cookie_transactions): New structure.
13698
13699 2013-01-09  Anton Blanchard  <anton@samba.org>
13700
13701         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13702         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13703         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13704         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13705
13706 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13707
13708         * include/features.h (__USE_ANSI): Remove.
13709
13710 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13711
13712         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13713
13714         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13715
13716 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13717
13718         * sysdeps/s390/fpu/libm-test-ulps: Update.
13719
13720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13721
13722         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13723         (__acr): Likewise.
13724         (__cpy): Likewise.
13725         (norm): Likewise.
13726         (denorm): Likewise.
13727         (__mp_dbl): Likewise.
13728         (__dbl_mp): Likewise.
13729         (add_magnitudes): Likewise.
13730         (sub_magnitudes): Likewise.
13731         (__add): Likewise.
13732         (__sub): Likewise.
13733         (__mul): Likewise.
13734         (__inv): Likewise.
13735         (__dvd): Likewise.
13736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13737         (__acr): Likewise.
13738         (__cpy): Likewise.
13739         (norm): Likewise.
13740         (denorm): Likewise.
13741         (__mp_dbl): Likewise.
13742         (__dbl_mp): Likewise.
13743         (add_magnitudes): Likewise.
13744         (sub_magnitudes): Likewise.
13745         (__add): Likewise.
13746         (__sub): Likewise.
13747         (__mul): Likewise.
13748         (__inv): Likewise.
13749         (__dvd): Likewise.
13750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13751         (__acr): Likewise.
13752         (__cpy): Likewise.
13753         (norm): Likewise.
13754         (denorm): Likewise.
13755         (__mp_dbl): Likewise.
13756         (__dbl_mp): Likewise.
13757         (add_magnitudes): Likewise.
13758         (sub_magnitudes): Likewise.
13759         (__add): Likewise.
13760         (__sub): Likewise.
13761         (__mul): Likewise.
13762         (__inv): Likewise.
13763         (__dvd): Likewise.
13764
13765 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13766
13767         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13768         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13769         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13770         2 && __USE_EXTERN_INLINES]: Likewise.
13771
13772 2013-01-08  Andreas Jaeger  <aj@suse.de>
13773
13774         [BZ# 14985]
13775         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13776         Remove.
13777         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13778         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13779
13780 2013-01-07  Anton Blanchard  <anton@samba.org>
13781
13782         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13783         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13784         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13785         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13786         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13787         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13788         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13789         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13791         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13792         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13793         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13794         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13795         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13796         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13797         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13798         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13799         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13800         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13801         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13802         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13803         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13804         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13805         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13806         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13807         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13808         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13809         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13810         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13811         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13812         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13814         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13815         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13816         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13817         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13818         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13819         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13820         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13821         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13822         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13823         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13824         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13825
13826 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13827
13828         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13829         (__MALLOC_PMT): Likewise.
13830         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13831         [__GNUC__], only on [_LIBC].
13832         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13833         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13834         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13835         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13836         forward declaration.
13837         (realloc_hook_ini): Likewise.
13838         (memalign_hook_ini): Likewise.
13839         (__libc_memalign): Do not use __MALLOC_PMT in variable
13840         declaration.
13841         (__libc_valloc): Likewise.
13842         (__libc_pvalloc): Likewise.
13843         (__libc_calloc): Likewise.
13844         (__posix_memalign): Likewise.
13845
13846         [BZ #14996]
13847         * math/s_casinh.c: Include <float.h>.
13848         (__casinh): Do not do computation with squaring and square root
13849         for large arguments.
13850         * math/s_casinhf.c: Include <float.h>.
13851         (__casinhf): Do not do computation with squaring and square root
13852         for large arguments.
13853         * math/s_casinhl.c: Include <float.h>.
13854         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13855         (__casinhl): Do not do computation with squaring and square root
13856         for large arguments.
13857         * math/libm-test.inc (casin_test): Add more tests.
13858         (casinh_test): Likewise.
13859         * sysdeps/i386/fpu/libm-test-ulps: Update.
13860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13861
13862 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13863
13864         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13865         (__x86_64_raw_data_cache_size): Likewise.
13866         (__x86_64_data_cache_size_half): Likewise.
13867         (__x86_64_raw_data_cache_size_half): Likewise.
13868         (__x86_64_shared_cache_size): Likewise.
13869         (__x86_64_raw_shared_cache_size): Likewise.
13870         (__x86_64_shared_cache_size_half): Likewise.
13871         (__x86_64_raw_shared_cache_size_half): Likewise.
13872         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13873         to ...
13874         (__x86_data_cache_size): This.
13875         (__x86_64_raw_data_cache_size): Renamed to ...
13876         (__x86_raw_data_cache_size): This.
13877         (__x86_64_data_cache_size_half): Renamed to ...
13878         (__x86_data_cache_size_half): This.
13879         (__x86_64_raw_data_cache_size_half): Renamed to ...
13880         (__x86_raw_data_cache_size_half): This.
13881         (__x86_64_shared_cache_size): Renamed to ...
13882         (__x86_shared_cache_size): This.
13883         (__x86_64_raw_shared_cache_size): Renamed to ...
13884         (__x86_raw_shared_cache_size): This.
13885         (__x86_64_shared_cache_size_half): Renamed to ...
13886         (__x86_shared_cache_size_half): This.
13887         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13888         (__x86_raw_shared_cache_size_half): This.
13889         * sysdeps/x86_64/memcpy.S: Updated.
13890         * sysdeps/x86_64/memset.S: Likewise.
13891         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13892         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13893         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13894
13895 2013-01-04  David S. Miller  <davem@davemloft.net>
13896
13897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13898
13899 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13900
13901         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13902         1 to avoid redefinition warning.
13903         (__USE_GNU): Don't define.
13904         (init_signaling_nan): Protoize.
13905
13906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13907
13908 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13909
13910         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13912         (__cpymn): Likewise.
13913         (norm): Remove commented code.
13914         (denorm): Likewise.
13915         (__mp_dbl): Likewise.
13916         (__inv): Likewise.
13917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13918         (__cpymn): Likewise.
13919         (norm): Remove commented code.
13920         (denorm): Likewise.
13921         (__mp_dbl): Likewise.
13922         (__inv): Likewise.
13923
13924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13925         mp_no value for 1.0 and 2.0.
13926         (norm): Use RADIXI instead of radixi.d.
13927         (denorm): Likewise.
13928         (__mul): Use 0.0 instead of zero.d.
13929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13930         mp_no value for 1.0 and 2.0.
13931         (norm): Use RADIXI instead of radixi.d.
13932         (denorm): Likewise.
13933         (__mul): Use 0.0 instead of zero.d.
13934
13935 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13936
13937         [BZ #14994]
13938         * math/s_casinh.c (__casinh): Reduce finite argument to first
13939         quadrant then set signs of results at the end.
13940         * math/s_casinhf.c (__casinhf): Likewise.
13941         * math/s_casinhl.c (__casinhl): Likewise.
13942         * math/libm-test.inc (casin_test): Add more tests.
13943         (casinh_test): Likewise.
13944         * sysdeps/i386/fpu/libm-test-ulps: Update.
13945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13946
13947 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13948
13949         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13950
13951         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13952
13953         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13954         declarations.
13955         (denorm): Likewise.
13956         (__mp_dbl): Likewise.
13957         (__inv): Likewise.
13958
13959         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13960         and adjust the header comment.
13961
13962         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13963         variable name from declaration.
13964
13965 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13966
13967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13968         Initialize COMMON_CPUID_INDEX_7 element.
13969         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13970         (CPUID_RTM): Likewise.
13971         (HAS_RTM): Likewise.
13972         (COMMON_CPUID_INDEX_7): New enum.
13973
13974 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13975
13976         [BZ #14981]
13977         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13978         size is zero, record memory as freed.
13979
13980 2013-01-03  Andreas Jaeger  <aj@suse.de>
13981
13982         * po/ia.po: Add new Interlingua translation.
13983
13984 2012-01-03  Allan McRae  <allan@archlinux.org>
13985
13986         * locale/programs/localedef.c: Fix description of '--posix' flag.
13987
13988 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13989
13990         * NEWS: Update dates in second copyright notice.
13991         * README: Update copyright dates in example.
13992         * manual/libc.texinfo: Update copyright dates.
13993         * scripts/test-installation.pl: Update copyright date in --version
13994         output.
13995
13996         * hurd/ctty-input.c: Fix copyright notice formatting.
13997         * hurd/ctty-output.c: Likewise.
13998         * hurd/dtable.c: Likewise.
13999         * hurd/hurd-raise.c: Likewise.
14000         * hurd/hurdprio.c: Likewise.
14001         * hurd/msgportdemux.c: Likewise.
14002         * misc/sys/file.h: Likewise.
14003         * misc/sys/ioctl.h: Likewise.
14004         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14005         * sysdeps/mach/hurd/chdir.c: Likewise.
14006         * sysdeps/mach/hurd/fchdir.c: Likewise.
14007         * sysdeps/mach/hurd/rename.c: Likewise.
14008         * sysdeps/mach/hurd/rmdir.c: Likewise.
14009         * sysdeps/mach/hurd/seekdir.c: Likewise.
14010         * sysdeps/mach/hurd/setsid.c: Likewise.
14011         * sysdeps/posix/wait3.c: Likewise.
14012
14013         * All files with FSF copyright notices: Update copyright dates
14014         using scripts/update-copyrights.
14015         * intl/plural.c: Regenerated.
14016         * locale/programs/charmap-kw.h: Likewise.
14017         * locale/programs/locfile-kw.h: Likewise.
14018
14019 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14020
14021         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14022         four values.
14023
14024         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14025         calculation loop and add branch prediction.
14026
14027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14028         check access beyond bounds of m1np.
14029
14030         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14031         MPTWO.
14032         (__inv): Remove local variable MPTWO to use the global
14033         constant.
14034         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14035         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14036         variable MPTWO.
14037         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14038         MP3HALFS static const.
14039
14040 2013-01-01  David S. Miller  <davem@davemloft.net>
14041
14042         * po/ca.po: Update from translation team.
14043
14044 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14045
14046         * scripts/update-copyrights: New file.
14047         * Makeconfig: Reformat copyright notice.
14048         * ctype/ctype.h: Likewise.
14049         * debug/swprintf_chk.c: Likewise.
14050         * elf/dl-cache.c: Likewise.
14051         * elf/dl-debug.c: Likewise.
14052         * elf/dl-object.c: Likewise.
14053         * grp/initgroups.c: Likewise.
14054         * hurd/Makefile: Likewise.
14055         * hurd/hurd/signal.h: Likewise.
14056         * hurd/hurdfault.c: Likewise.
14057         * hurd/hurdioctl.c: Likewise.
14058         * hurd/hurdlookup.c: Likewise.
14059         * hurd/intr-msg.c: Likewise.
14060         * iconv/gconv_open.c: Likewise.
14061         * libio/swprintf.c: Likewise.
14062         * locale/lc-ctype.c: Likewise.
14063         * locale/nl_langinfo.c: Likewise.
14064         * mach/Machrules: Likewise.
14065         * mach/Makefile: Likewise.
14066         * malloc/obstack.h: Likewise.
14067         * manual/Makefile: Likewise.
14068         * manual/tsort.awk: Likewise.
14069         * misc/bits/stab.def: Likewise.
14070         * nis/nis_print_group_entry.c: Likewise.
14071         * nis/nis_table.c: Likewise.
14072         * nis/nss_compat/compat-pwd.c: Likewise.
14073         * nis/nss_compat/compat-spwd.c: Likewise.
14074         * po/Makefile: Likewise.
14075         * posix/fnmatch.c: Likewise.
14076         * posix/regex.h: Likewise.
14077         * resolv/Makefile: Likewise.
14078         * resolv/nss_dns/dns-network.c: Likewise.
14079         * resolv/res_hconf.c: Likewise.
14080         * scripts/gen-sorted.awk: Likewise.
14081         * soft-fp/soft-fp.h: Likewise.
14082         * stdio-common/printf.h: Likewise.
14083         * stdlib/monetary.h: Likewise.
14084         * stdlib/random.c: Likewise.
14085         * stdlib/random_r.c: Likewise.
14086         * sysdeps/generic/Makefile: Likewise.
14087         * sysdeps/gnu/Makefile: Likewise.
14088         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14089         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14090         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14091         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14092         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14093         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14094         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14095         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14096         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14097         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14098         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14099         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14100         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14101         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14102         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14103         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14104         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14105         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14106         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14107         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14108         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14109         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14110         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14111         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14112         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14113         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14114         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14115         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14116         * sysdeps/mach/hurd/errnos.awk: Likewise.
14117         * sysdeps/mach/hurd/fork.c: Likewise.
14118         * sysdeps/mach/hurd/getcwd.c: Likewise.
14119         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14120         * sysdeps/mach/hurd/mmap.c: Likewise.
14121         * sysdeps/mach/hurd/utimes.c: Likewise.
14122         * sysdeps/mach/hurd/xmknod.c: Likewise.
14123         * sysdeps/posix/profil.c: Likewise.
14124         * sysdeps/posix/readdir_r.c: Likewise.
14125         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14126         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14127         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14128         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14130         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14131         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14132         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14134         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14135         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14136         * sysdeps/pthread/lio_listio.c: Likewise.
14137         * sysdeps/sparc/dl-procinfo.h: Likewise.
14138         * sysdeps/unix/i386/sysdep.S: Likewise.
14139         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14140         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14141         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14142         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14144         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14145         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14146         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14147         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14148         * sysdeps/wordsize-32/divdi3.c: Likewise.
14149         * time/sys/time.h: Likewise.
14150         * wcsmbs/Makefile: Likewise.
14151
14152 2013-01-01  David S. Miller  <davem@davemloft.net>
14153
14154         * po/fr.po: Update from translation team.
14155
14156         * catgets/gencat.c: Update copyright year.
14157         * csu/version.c: Likewise.
14158         * debug/catchsegv.sh: Likewise.
14159         * debug/pcprofiledump.c: Likewise.
14160         * debug/xtrace.sh: Likewise.
14161         * elf/ldconfig.c: Likewise.
14162         * elf/ldd.bash.in: Likewise.
14163         * elf/pldd.c: Likewise.
14164         * elf/sotruss.ksh: Likewise.
14165         * elf/sprof.c: Likewise.
14166         * iconv/iconv_prog.c: Likewise.
14167         * iconv/iconvconfig.c: Likewise.
14168         * locale/programs/locale.c: Likewise.
14169         * locale/programs/localedef.c: Likewise.
14170         * login/programs/pt_chown.c: Likewise.
14171         * malloc/memusage.sh: Likewise.
14172         * malloc/memusagestat.c: Likewise.
14173         * malloc/mtrace.pl: Likewise.
14174         * nscd/nscd.c: Likewise.
14175         * nss/getent.c: Likewise.
14176         * nss/makedb.c: Likewise.
14177         * posix/getconf.c: Likewise.
14178
14179 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14180
14181         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14182         numbers.
14183
14184 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14185
14186         * math/bits/mathcalls.h (modf): Use __nonnull.
14187
14188 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14189
14190         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14191         (split): Use macro CN instead of the bare value.
14192         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14193         could be used.
14194         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14195         instead of the bare value.
14196         (power1): Likewise.
14197
14198 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14199
14200         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14201         __ATAN_TWOM.
14202         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14203
14204         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14205         their values.
14206         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14207         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14208         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14209         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14210
14211 2012-12-28  Andreas Jaeger  <aj@suse.de>
14212
14213         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14214         values are from Linux 3.7.
14215
14216         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14217         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14218
14219 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14220
14221         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14222         TRUE case.
14223
14224         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14225         (norm): Likewise.
14226         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14227         variables with preprocessor constants.
14228         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14229         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14230         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14231
14232 2012-12-27  Bruno Haible  <bruno@clisp.org>
14233
14234         [BZ #14317]
14235         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14236         only if needed.
14237
14238 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14239
14240         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14241         and use variable directly.
14242         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14243
14244         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14245         MPONE.
14246         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14247         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14248         variable MPONE.
14249         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14250         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14251         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14252         include directive.  Remove local variable MPONE.
14253         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14254         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14255         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14256
14257 2012-12-25  David S. Miller  <davem@davemloft.net>
14258
14259         * version.h (RELEASE): Set to "development".
14260         (VERSION): Set to "2.17.90".
14261         * NEWS: Add 2.18 section.
14262
14263 2012-12-21  David S. Miller  <davem@davemloft.net>
14264
14265         * po/hr.po: Update from translation team.
14266
14267 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14268
14269         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14270
14271 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14272
14273         * NEWS:  Mention new memcpy for MIPS.
14274
14275 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14276
14277         * manual/contrib.texi (Contributors): Spelling correction.
14278
14279 2012-12-15  David S. Miller  <davem@davemloft.net>
14280
14281         * po/ru.po: Update from translation team.
14282
14283 2012-12-13  David S. Miller  <davem@davemloft.net>
14284
14285         * NEWS: Mention IFUNC testsuite enhancements.
14286
14287         * po/pl.po: Update from translation team.
14288         * po/bg.po: Likewise.
14289
14290         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14291         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14292
14293 2012-12-11  David S. Miller  <davem@davemloft.net>
14294
14295         * po/sv.po: Update from translation team.
14296
14297         * po/vi.po: Update from translation team.
14298
14299         * po/cs.po: Update from translation team.
14300
14301         * po/de.po: Update from translation team.
14302         * po/eo.po: Likewise.
14303         * po/nl.po: Likewise.
14304
14305 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14306
14307         [BZ #14246]
14308         * manual/argp.texi (Argp Helper Functions): Move node to follow
14309         Argp Parsing State.
14310
14311         [BZ #14872]
14312         * manual/conf.texi (Limits on File System Capacity): Mention if
14313         terminating null is included in the max size.
14314
14315 2012-12-10  Andreas Jaeger  <aj@suse.de>
14316
14317         * po/cs.po: Update from translation team.
14318
14319 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14320
14321         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14322         void pointer and cast to uintptr_t.
14323         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14324         path.
14325         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14326         * sysdeps/s390/s390-64/memset.S: Likewise.
14327
14328 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14329
14330         [BZ #14833]
14331         * menual/message.texi (Message Translation): Fix typos.
14332         (Helper programs for gettext): Likewise.
14333
14334 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14335
14336         [BZ #14898]
14337         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14338         Change to -1.
14339
14340 2012-12-07  David S. Miller  <davem@davemloft.net>
14341
14342         * po/libc.pot: Update.
14343
14344 2012-12-07  Richard Henderson  <rth@redhat.com>
14345
14346         [BZ #10114]
14347         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14348         normal/normal case to before the switch.
14349         (_FP_DIV): Likewise.
14350
14351 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14352             Mike Frysinger  <vapier@gentoo.org>
14353
14354         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14355         check for __NR_fadvise64_64.
14356
14357 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14358
14359         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14360         0, not just to plain "0" as a statement.
14361         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14362         with cw.
14363
14364 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14365
14366         * NEWS: Use sourceware.org in Bugzilla URL.
14367
14368 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14369
14370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14371         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14372
14373         * stdio-common/tst-put-error.c (do_test): Add newline to the
14374         padded test to ensure flush.
14375
14376 2012-12-05  Jeff Law  <law@redhat.com>
14377
14378         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14379
14380 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14381
14382         * README: Don't refer to ports add-on as distributed separately.
14383         Mention AArch64 in list of systems supported in the ports add-on.
14384
14385         * LICENSES: Add more non-FSF copyright and license notices.
14386
14387         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14388         ((unused)).
14389
14390         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14391
14392         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14393         10000 as width of padded output.
14394
14395 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14396
14397         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14398
14399         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14400         variable LX with __attribute__ ((unused)).
14401         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14402         Likewise.
14403         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14404         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14405         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14406         with __attribute__ ((unused)).
14407
14408 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14409
14410         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14411
14412 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14413
14414         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14415         (CFLAGS-nldbl-acos.c): New variable.
14416         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14417         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14418         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14419         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14420         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14421         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14422         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14423         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14424         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14425         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14426         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14427         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14428         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14429         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14430         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14431         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14432         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14433         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14434         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14435         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14436         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14437         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14438         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14439         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14440         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14441         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14442         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14443         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14444         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14445         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14446         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14447         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14448         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14449         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14450         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14451         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14452         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14453         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14454         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14455         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14456         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14457         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14458         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14459         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14460         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14461         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14462         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14463         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14464         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14465         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14466         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14467         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14468         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14469         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14470         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14471         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14472         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14473         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14474         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14475         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14476         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14477         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14478         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14479         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14480         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14481         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14482         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14483         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14484         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14485         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14486         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14487         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14488         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14489         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14490         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14491         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14492         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14493         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14494         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14495         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14496         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14497         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14498         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14499         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14500         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14501         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14502         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14503         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14504         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14505         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14506         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14507         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14508         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14509         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14510         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14511         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14512         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14513
14514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14515         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14516
14517         [BZ #14914]
14518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14519         whole low double instead of just low 47 bits when splitting values
14520         into two parts.
14521
14522 2012-12-03  Allan McRae  <allan@archlinux.org>
14523
14524         * manual/stdio.texi (Predefined Printf Handlers): Remove
14525         @hsep and @vsep usage.
14526
14527 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
14528
14529         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14530         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14531
14532 2012-12-03  Jeff Law  <law@redhat.com>
14533
14534         * time/sys/time.h (settimeofday): Do not mark TV argument
14535         as __nonnull.
14536
14537 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
14538
14539         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14540         when currently writing and seek to current position when not.
14541         * libio/Makefile (tests): Remove bug-fclose1.
14542         * libio/bug-fclose1.c: Delete.
14543
14544 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
14545
14546         * manual/arith.texi (feenableexcept): Fix typo.
14547         (fedisableexcept): Likewise.
14548
14549 2012-11-30  Roland McGrath  <roland@hack.frob.com>
14550
14551         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14552         second, differently-typed declaration, rather than a cast.
14553
14554 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14555
14556         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14557         * include/rpc/svc.h: ... here.
14558
14559 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
14560
14561         [BZ #13013]
14562         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14563         depending n and resplen2 to catch cases where answer
14564         equals answerp2.
14565
14566 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
14567
14568         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14569         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14570
14571 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
14572
14573         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14574
14575 2012-11-29  Roland McGrath  <roland@hack.frob.com>
14576
14577         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14578
14579 2012-11-28  Jeff Law  <law@redhat.com>
14580
14581         [BZ #13761]
14582         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14583         dataset_temporary.  Track alloca usage into alloca_used.
14584         If dataset is large allocate and release it via malloc/free.
14585
14586 2012-06-04  Florian Weimer  <fweimer@redhat.com>
14587
14588         [BZ #14197]
14589         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14590
14591 2012-11-28  David S. Miller  <davem@davemloft.net>
14592
14593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14594
14595 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14596
14597         [BZ #14803]
14598         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14599         of pi/2 rounded to nearest to 64 bits.
14600         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14601         nearest to 64 bits.
14602         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14603         bits.
14604
14605 2012-11-28  Jeff Law <law@redhat.com>
14606             Martin Osvald <mosvald@redhat.com>
14607
14608         [BZ #14889]
14609         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14610         * sunrpc/svc.c: Include time.h.
14611         (__svc_accept_failed): New function.
14612         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14613         any reason other than EINTR, call __svc_accept_failed.
14614         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14615         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14616
14617 2012-11-28  Andreas Schwab  <schwab@suse.de>
14618
14619         * scripts/abilist.awk: Also handle indirect functions in .opd
14620         section.
14621
14622 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14623
14624         [BZ #13881]
14625         * sysdeps/x86/fpu/powl_helper.c: New file.
14626         * sysdeps/x86/fpu/Makefile: Likewise.
14627         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14628         (p3): New object.
14629         (__ieee754_powl): Use __powl_helper for finite arguments except
14630         integer exponents below 8.
14631         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14632         (p3): New object.
14633         (__ieee754_powl): Use __powl_helper for finite arguments except
14634         integer exponents below 8.
14635         * math/libm-test.inc (pow_test): Add more tests and enable some
14636         previously disabled tests.
14637         * sysdeps/i386/fpu/libm-test-ulps: Update.
14638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14639
14640 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14641             Carlos O'Donell  <carlos_odonell@mentor.com>
14642
14643         * nss/makedb.c (is_prime): Assert that input is odd and greater
14644         than 4.  Note that fact in a comment too.
14645         (next_prime): Add 4 to input.
14646
14647 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14648
14649         [BZ #11741]
14650         * libio/Makefile (tests): Add test case tst-fwrite-error.
14651         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14652         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14653         * libio/tst-fwrite-error.c: New test case.
14654
14655 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14656
14657         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14658         before casting to void *.
14659         * include/libc-internal.h (__pointer_type): New macro.
14660         (__integer_if_pointer_type_sub): Likewise.
14661         (__integer_if_pointer_type): Likewise.
14662         (cast_to_integer): Likewise.
14663         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14664         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14665         before casting to atomic64_t.
14666         (atomic_exchange_acq): Likewise.
14667         (__arch_exchange_and_add_body): Likewise.
14668         (__arch_add_body): Likewise.
14669         (atomic_add_negative): Likewise.
14670         (atomic_add_zero): Likewise.
14671
14672 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14673
14674         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14675         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14676         (add_fdes): Likewise.
14677         (linear_search_fdes): Likewise.
14678         (binary_search_unencoded_fdes): Likewise.
14679
14680 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14681
14682         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14683
14684 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14685
14686         * configure.in: Autodetect C++ header directories.
14687         * configure: Regenerated.
14688
14689 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14690
14691         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14692
14693 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14694
14695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14696
14697 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14698
14699         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14700         LDBL_MANT_DIG == 106]: Disable some tests.
14701         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14702         Likewise.
14703         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14704         Likewise.
14705
14706         [BZ #14871]
14707         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14708         input for small inputs.  Return +/- pi/2 for large inputs.
14709         * math/libm-test.inc (atan_test): Add more tests.
14710
14711         * sysdeps/generic/unwind-dw2-fde-glibc.c
14712         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14713         __attribute__ ((unused)).
14714
14715         [BZ #14645]
14716         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14717         x * y if x and y are nonzero and z is zero.
14718
14719         [BZ #14811]
14720         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14721         nonzero exponents with absolute value below 0x1p-117 to +/-
14722         0x1p-117.
14723
14724         [BZ #14869]
14725         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14726         up arguments below 2**-450, not just those below 2**-500.
14727         * math/libm-test.inc (hypot_test): Add another test.
14728
14729         [BZ #14868]
14730         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14731         Return a+b for ratio over 2**120, not 2**60.
14732         * math/libm-test.inc (hypot_test): Add another test.
14733
14734         * math/libm-test.inc (clog_test): Use
14735         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14736         (clog10_test): Likewise.
14737
14738         [BZ #6778]
14739         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14740
14741 2012-11-22  Andreas Schwab  <schwab@suse.de>
14742
14743         * sysdeps/i386/fpu/libm-test-ulps: Update.
14744
14745 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14746
14747         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14748         printf output with newline.
14749
14750 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14751
14752         [BZ #14865]
14753         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14754         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14755         -z nodlopen, -z initfirst and -z execstack support.
14756         * configure: Regenerated.
14757
14758         * elf/elf.h (DF_1_NODIRECT): New macro.
14759         (DF_1_IGNMULDEF): Likewise.
14760         (DF_1_NOKSYMS): Likewise.
14761         (DF_1_NOHDR): Likewise.
14762         (DF_1_EDITED): Likewise.
14763         (DF_1_NORELOC): Likewise.
14764         (DF_1_SYMINTPOSE): Likewise.
14765         (DF_1_GLOBAUDIT): Likewise.
14766         (DF_1_SINGLETON): Likewise.
14767         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14768         DT_1_SUPPORTED_MASK bits.
14769         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14770
14771 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14772
14773         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14774
14775 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14776
14777         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14778         macro.
14779
14780         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14781         (sendmmsg): Move declarations...
14782         * socket/sys/socket.h: ... here.
14783         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14784         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14785         include it from...
14786         * socket/recvmmsg.c: ... this new file.
14787         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14788         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14789         definition of __sendmmsg hidden.
14790         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14791         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14792         Move ENOSYS stub into and include it from...
14793         * socket/sendmmsg.c: ... this new file.
14794         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14795         (sysdep_routines): Move recvmmsg and sendmmsg...
14796         * socket/Makefile (routines): ... here.
14797         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14798         (GLIBC_PRIVATE): Add __sendmmsg.
14799         * include/sys/socket.h (__sendmmsg): Add declarations.
14800         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14801         sendmmsg.
14802
14803 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14804
14805         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14806         variable I1 with __attribute__ ((unused)).
14807         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14808
14809 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14810
14811         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14812         DUMMY variables with __attribute__ ((unused)).
14813
14814         * bits/byteswap.h: Include <bits/types.h>.
14815         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14816
14817 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14818
14819         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14820         string_t.  Do not manually set errno.
14821         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14822         length with __strnlen.  Make sure to both set errno and return it on
14823         failure.
14824
14825 2012-11-19  David S. Miller  <davem@davemloft.net>
14826
14827         With help from Joseph Myers.
14828         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14829         very large arguments properly.
14830         * math/libm-test.inc (atan_test): New tests.
14831         (atan2_test): New tests.
14832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14833         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14834
14835 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14836
14837         [BZ #14856]
14838         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14839         Define to 3.
14840
14841         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14842         [POSIX] (EADDRNOTAVAIL): Likewise.
14843         [POSIX] (EAFNOSUPPORT): Likewise.
14844         [POSIX] (EALREADY): Likewise.
14845         [POSIX] (ECONNABORTED): Likewise.
14846         [POSIX] (ECONNREFUSED): Likewise.
14847         [POSIX] (ECONNRESET): Likewise.
14848         [POSIX] (EDESTADDRREQ): Likewise.
14849         [POSIX] (EDQUOT): Likewise.
14850         [POSIX] (EHOSTUNREACH): Likewise.
14851         [POSIX] (EIDRM): Likewise.
14852         [POSIX] (EISCONN): Likewise.
14853         [POSIX] (ELOOP): Likewise.
14854         [POSIX] (EMULTIHOP): Likewise.
14855         [POSIX] (ENETDOWN): Likewise.
14856         [POSIX] (ENETUNREACH): Likewise.
14857         [POSIX] (ENOBUFS): Likewise.
14858         [POSIX] (ENODATA): Likewise.
14859         [POSIX] (ENOLINK): Likewise.
14860         [POSIX] (ENOMSG): Likewise.
14861         [POSIX] (ENOPROTOOPT): Likewise.
14862         [POSIX] (ENOSR): Likewise.
14863         [POSIX] (ENOSTR): Likewise.
14864         [POSIX] (ENOTCONN): Likewise.
14865         [POSIX] (ENOTSOCK): Likewise.
14866         [POSIX] (EOPNOTSUPP): Likewise.
14867         [POSIX] (EOVERFLOW): Likewise.
14868         [POSIX] (EPROTO): Likewise.
14869         [POSIX] (EPROTONOSUPPORT): Likewise.
14870         [POSIX] (EPROTOTYPE): Likewise.
14871         [POSIX] (ESTALE): Likewise.
14872         [POSIX] (ETIME): Likewise.
14873         [POSIX] (ETXTBSY): Likewise.
14874         [POSIX] (EWOULDBLOCK): Likewise.
14875         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14876         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14877         [POSIX] (SEEK_CUR): Likewise.
14878         [POSIX] (SEEK_END): Likewise.
14879         [POSIX || UNIX98] (mode_t): Do not require.
14880         [POSIX] (off_t): Likewise.
14881         [POSIX] (pid_t): Likewise.
14882         [POSIX] (sys/stat.h): Do not allow header.
14883         [POSIX] (unistd.h): Likewise.
14884         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14885         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14886         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14887         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14888         require.
14889         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14890         sigevent): Specify elements.
14891         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14892         entry.
14893         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14894         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14895
14896         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14897         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14898         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14899         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14900         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14901         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14902         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14903         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14904         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14905         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14906         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14907         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14908         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14909         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14910         Likewise.
14911         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14912         Likewise.
14913         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14914         Likewise.
14915         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14916         Likewise.
14917         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14918         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14919         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14920         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14921         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14922         Specify lower bound on value.
14923         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14924         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14925         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14926         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14927         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14928         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14929         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14930         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14931         value.
14932         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14933         as optional.
14934         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14935         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14936         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14937         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14938         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14939         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14940         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14941         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14942         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14943         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14944         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14945         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14946         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14947         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14948         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14949         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14950         entry.
14951         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14952         optional.
14953         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14954         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14955         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14956         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14957         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14958         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14959         Likewise.
14960         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14961         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14962         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14963         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14964         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14965         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14966         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14967         as optional.
14968         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14969         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14970         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14971         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14972         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14973         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14974         specify as optional.
14975         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14976         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14977         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14978         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14979         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14980         [XPG3] (NL_LANGMAX): Likewise.
14981         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14982         [POSIX || XPG3] (NL_NMAX): Likewise.
14983         [POSIX || XPG3] (NL_SETMAX): Likewise.
14984         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14985         [XPG3] (NZERO): Likewise.
14986         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14987         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14988         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14989         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14990         (REG_ERANGE): Expect.
14991         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14992         optional-constant.
14993         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14994         Use (void) in prototype.
14995         [POSIX] (*_t): Allow.
14996         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14997         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14998         (WRDE_BADVAL): Expect.
14999
15000         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15001         expect.
15002         [XPG3 || XPG4] (O_RSYNC): Likewise.
15003         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15004         Likewise.
15005         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15006         [XPG3 || XPG4] (sigqueue): Likewise.
15007         [XPG3 || XPG4] (sigtimedwait): Likewise.
15008         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15009         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15010         [XPG3 || XPG4] (vsnprintf): Likewise.
15011         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15012         Likewise.
15013         [XPG3 || XPG4] (blksize_t): Likewise.
15014         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15015         Likewise.
15016         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15017         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15018         [XPG3 || XPG4] (struct itimerspec): Likewise.
15019         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15020         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15021         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15022         [XPG3 || XPG4] (clockid_t): Likewise.
15023         [XPG3 || XPG4] (timer_t): Likewise.
15024         [XPG3 || XPG4] (clock_getres): Likewise.
15025         [XPG3 || XPG4] (clock_gettime): Likewise.
15026         [XPG3 || XPG4] (clock_settime): Likewise.
15027         [XPG3 || XPG4] (nanosleep): Likewise.
15028         [XPG3 || XPG4] (timer_create): Likewise.
15029         [XPG3 || XPG4] (timer_delete): Likewise.
15030         [XPG3 || XPG4] (timer_gettime): Likewise.
15031         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15032         [XPG3 || XPG4] (timer_settime): Likewise.
15033         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15034         [XPG3 || XPG4] (getlogin_r): Likewise.
15035         [XPG3 || XPG4] (pread): Likewise.
15036         [XPG3 || XPG4] (pthread_atfork): Likewise.
15037         [XPG3 || XPG4] (pwrite): Likewise.
15038
15039         [BZ #14835]
15040         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15041         <bits/siginfo.h>.
15042
15043 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15044
15045         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15046         finalizing MALLSTREAM.
15047
15048         * sysdeps/mach/hurd/syncfs.c: New file.
15049
15050 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15051
15052         [BZ #14719]
15053         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15054         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15055         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15056         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15057         (_nss_dns_gethostbyname4_r): Likewise.
15058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15059         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15060
15061 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15062
15063         [BZ #13763]
15064         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15065
15066 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15067
15068         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15069         * elf/cache.c (print_entry): Print ",AArch64" for
15070         FLAG_AARCH64_LIB64
15071
15072         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15073         * elf/cache.c (print_entry): Print ",hard-float" for
15074         FLAG_ARM_LIBHF.
15075
15076 2012-11-18  David S. Miller  <davem@davemloft.net>
15077
15078         With help from Joseph Myers.
15079         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15080         cutoff to 2**-13.
15081         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15082         cutoff to 2**-25.
15083         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15084         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15085         small.
15086         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15087         * math/libm-test.inc (y0_test): New tests.
15088         (y1_test): New tests.
15089         * sysdeps/i386/fpu/libm-test-ulps: Update.
15090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15092
15093 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15094
15095         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15096         64-bit targets.
15097         * configure: Regenerated.
15098
15099 2012-11-17  David S. Miller  <davem@davemloft.net>
15100
15101         [BZ #14811]
15102         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15103         nonzero exponents with absolute value below 0x1p-128 to +/-
15104         0x1p-128.
15105
15106 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15107
15108         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15109
15110         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15111
15112         * posix/getconf-speclist.c: New file.
15113         * posix/posix-envs.def: Likewise.
15114         * posix/confstr.c (START_ENV_GROUP): New macro.
15115         (END_ENV_GROUP): Likewise.
15116         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15117         (KNOWN_PRESENT_ENV_STRING): Likewise.
15118         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15119         (UNKNOWN_ENVIRONMENT): Likewise.
15120         (confstr): Include posix-envs.def instead of handling
15121         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15122         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15123         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15124         (END_ENV_GROUP): Likewise.
15125         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15126         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15127         (UNKNOWN_ENVIRONMENT): Likewise.
15128         (__sysconf): Include posix-envs.def instead of handling associated
15129         cases directly here.
15130         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15131         preprocessing getconf-speclist.c rather than running getconf or
15132         generating empty file.
15133
15134 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15135
15136         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15137
15138 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15139
15140         [BZ #14672]
15141         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15142
15143 2012-11-16  David S. Miller  <davem@davemloft.net>
15144
15145         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15146         smaller than LDBL_EPSILON/2.0L, just return xm1.
15147
15148 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15149
15150         * elf/tst-array1.c (init): Set constructor priority to 1000.
15151         (fini): Set destructor priority to 1000.
15152         * elf/tst-array2dep.c: Likewise.
15153
15154 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15155
15156         [BZ #11741]
15157         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15158         (_IO_new_file_xsputn): Also return EOF if none of the input
15159         data was written when overflow failed.
15160         * libio/iopadn.c (_IO_padn): Likewise.
15161         * libio/iowpadn.c (_IO_wpadn): Likewise.
15162         * stdio-common/tst-put-error.c: Add copyright notice.
15163         (do_test): Add case for printing padded string.
15164         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15165         _IO_padn returned error.
15166         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15167         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15168         return EOF.
15169
15170 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15171
15172         * libio/libioP.h: Add comment note that the references to C++
15173         bits are now obsolete.
15174
15175 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15176
15177         * math/libm-test.inc (check_complex): Use asprintf.
15178
15179 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15180
15181         * debug/pcprofiledump.c (print_version): Update copyright year.
15182         * malloc/memusagestat.c (print_version): Likewise.
15183
15184 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15185
15186         [BZ #14831]
15187         * elf/Makefile (tests): Add tst-audit8.
15188         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15189         ($(objpfx)tst-audit8.out): New target.
15190         (tst-audit8-ENV): New variable.
15191         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15192         audit if l_reloc_result is NULL.
15193         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15194         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15195         * elf/tst-audit8.c: New file.
15196
15197 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15198
15199         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15200         * misc/Makefile (CFLAGS-select.c): Define.
15201         * posix/Makefile (CFLAGS-pause.c): Define.
15202
15203 2012-11-13  David S. Miller  <davem@davemloft.net>
15204
15205         * crypt/Makefile: Move test targets after toplevel Rules
15206         inclusion.  Grab any necessary sysdep routines when linking.
15207         * crypt/md5.c (md5_process_block): Remove define, we will always
15208         name it __md5_process_block.
15209         (md5_finish_ctx): Update md5_process_block call.
15210         (md5_stream): Likewise.
15211         (md5_process_bytes): Likewise.
15212         (md5_process_block): Rename to __md5_process_block and move to ...
15213         * crypt/md5-block.c: ... here.
15214         * crypt/sha256.c (sha256_process_block): Move to ...
15215         * crypt/sha256-block.c: ... here.
15216         * crypt/sha512.c (sha512_process_block): Move to ...
15217         * crypt/sha512-block.c: ... here.
15218         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15219         path.
15220         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15221         * sysdeps/sparc/sparc64/multiarch/Makefile
15222         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15223         crypt subdir.
15224         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15225         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15226         multiarch changes.
15227         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15228         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15229         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15230         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15231         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15232         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15233         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15234         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15235         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15236         file.
15237         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15238         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15239         file.
15240         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15241
15242 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15243
15244         * timezone/tzselect.ksh: Update from tzcode git revision
15245         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15246         * timezone/zdump.c: Likewise.
15247         * timezone/zic.c: Likewise.
15248         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15249         in TZVERSION setting, not $(PKGVERSION).
15250         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15251         REPORT_BUGS_TO settings.
15252
15253         [BZ #14838]
15254         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15255         macro.
15256
15257 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15258
15259         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15260         detection to immediately after _FP_ROUND().
15261         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15262         bits are 0.
15263
15264 2012-11-11  David S. Miller  <davem@davemloft.net>
15265
15266         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15267         inttypes.h
15268         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15269         __close rather than their public counterparts.
15270
15271 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15272
15273         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15274         file.
15275         [UNIX98] (sem_timedwait): Do not expect.
15276         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15277         [XPG4 || UNIX98] (sockatmark): Do not expect.
15278         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15279         (clock_getcpuclockid): Do not expect.
15280         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15281         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15282         Do not expect.
15283         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15284         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15285         [UNIX98] (vwscanf): Likewise.
15286         [UNIX98] (vswscanf): Likewise.
15287
15288 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15289
15290         * timezone/version.h: Remove file.
15291         * timezone/README: Do not refer to version.h.
15292         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15293         $(objpfx)version.h.
15294         ($(objpfx)zdump.o): Likewise.
15295         ($(objpfx)version.h): New target.
15296
15297         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15298         2012i.
15299         * timezone/README: Don't mention modification to tzselect.ksh.
15300         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15301         work on unmodified tzselect.ksh.  Substitute version numbers in
15302         tzselect.ksh.
15303
15304         * Makefile (format-me): Remove.
15305         (INSTALL): Adjust indentation.  Use commands directly instead of
15306         using $(format-me).
15307
15308         * aclocal.m4 (ACX_PKGVERSION): New macro.
15309         (ACX_BUGURL): Likewise.
15310         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15311         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15312         (REPORT_BUGS_TO): Likewise.
15313         * configure: Regenerated.
15314         * config.h.in (PKGVERSION): New macro.
15315         (REPORT_BUGS_TO): Likewise.
15316         * config.make.in (PKGVERSION): New variable.
15317         (PKGVERSION_TEXI): Likewise.
15318         (REPORT_BUGS_TO): Likewise.
15319         (REPORT_BUGS_TEXI): Likewise.
15320         * Makefile (format-me): Use -I$(common-objpfx)manual.
15321         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15322         ($(common-objpfx)manual/%): New target.
15323         (manual/%): Remove target.
15324         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15325         (print_version): Use PKGVERSION.
15326         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15327         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15328         and REPORT_BUGS_TO.
15329         ($(objpfx)xtrace): Likewise.
15330         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15331         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15332         (print_version): Use PKGVERSION.
15333         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15334         (do_version): Use PKGVERSION.
15335         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15336         REPORT_BUGS_TO.
15337         (common-ldd-rewrite): Likewise.
15338         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15339         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15340         (print_version): Use PKGVERSION.
15341         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15342         * elf/pldd.c (argp_program_bug_address): Remove variable.
15343         (more_help): New function.
15344         (argp): Use more_help.
15345         (print_version): Use PKGVERSION.
15346         * elf/sln.c (main): Use PKGVERSION.
15347         (usage): Use REPORT_BUGS_TO.
15348         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15349         (top level): Use PKGVERSION.
15350         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15351         (print_version): Use PKGVERSION.
15352         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15353         (print_version): Use PKGVERSION.
15354         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15355         (print_version): Use PKGVERSION.
15356         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15357         (print_version): Use PKGVERSION.
15358         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15359         (print_version): Use PKGVERSION.
15360         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15361         (print_version): Use PKGVERSION.
15362         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15363         and BUGURL.
15364         ($(objpfx)memusage): Likewise.
15365         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15366         (do_version): Use PKGVERSION.
15367         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15368         (print_version): Use PKGVERSION.
15369         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15370         ($PKGVERSION): New variable.
15371         ($REPORT_BUGS_TO): Likewise.
15372         (usage): Use $REPORT_BUGS_TO.
15373         (top level): Use $PKGVERSION.
15374         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15375         ($(objpfx)pkgvers.texi): New rule.
15376         ($(objpfx)stamp-pkgvers): Likewise.
15377         * manual/install.texi: Include pkgvers.texi.
15378         (--with-pkgversion): Document new configure option.
15379         (--with-bugurl): Likewise.
15380         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15381         than necessarily for this particular distribution.  Use
15382         REPORT_BUGS_TO for where to report bugs.
15383         * INSTALL: Regenerated.
15384         * manual/libc.texinfo: Include pkgvers.texi.
15385         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15386         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15387         (print_version): Use PKGVERSION.
15388         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15389         (print_version): Use PKGVERSION.
15390         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15391         (print_version): Use PKGVERSION.
15392         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15393         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15394         macro.
15395         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15396         (print_version): Use PKGVERSION.
15397         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15398         (print_version): Use PKGVERSION.
15399         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15400         and PKGVERSION.
15401
15402         * timezone/checktab.awk: Update from tzcode 2012i.
15403         * timezone/ialloc.c: Likewise.
15404         * timezone/private.h: Likewise.
15405         * timezone/scheck.c: Likewise.
15406         * timezone/tzfile.h: Likewise.
15407         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15408         (TZVERSION): Hardcode tzcode version number.
15409         * timezone/zdump.c: Update from tzcode 2012i.
15410         * timezone/zic.c: Likewise.
15411         * timezone/version.h: New file.
15412         * timezone/README: Describe version.h.  Update upstream location.
15413
15414         [BZ #14824]
15415         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15416         (mktemp): Enable declaration.
15417         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15418         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15419         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15421         Likewise.
15422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15423         Likewise.
15424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15425         Likewise.
15426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15427         Likewise.
15428         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15429         Likewise.
15430         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15431         Likewise.
15432
15433         [BZ #14821]
15434         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15435         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15436         for copies of such integer values.
15437         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15438         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15439
15440 2012-11-09  Andreas Jaeger  <aj@suse.de>
15441
15442         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15443         definitions and declarations that are provided by
15444         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15445
15446 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15447
15448         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15449         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15450         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15451         definition.
15452
15453 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15454
15455         * elf/elf.h: Update comment before AArch64 relocations.
15456
15457 2012-11-07  David S. Miller  <davem@davemloft.net>
15458
15459         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15460         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15461         (__start_context): Declare.
15462         (__makecontext_ret): Delete.
15463         (__makecontext): Hook up __start_context instead of
15464         __makecontext_ret.
15465         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15466         (sysdep_routines): Add __start_context when in stdlib.
15467
15468 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15469
15470         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15471         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15472         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15473         hardcoded "nm".
15474         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15475         (READELF): New variable.  Use it instead of hardcoded "readelf".
15476
15477 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15478
15479         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15480         * sysdeps/x86/Makefile: Here.
15481         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15482         * sysdeps/x86/tst-xmmymm.sh: This.
15483
15484 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15485
15486         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15487         expectations.
15488         [UNIX98] (pthread_barrier_t): Do not expect.
15489         [UNIX98] (pthread_barrierattr_t): Likewise.
15490         [UNIX98] (pthread_spinlock_t): Likewise.
15491         [UNIX98] (pthread_barrier_destroy): Likewise.
15492         [UNIX98] (pthread_barrier_init): Likewise.
15493         [UNIX98] (pthread_barrier_wait): Likewise.
15494         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15495         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15496         [UNIX98] (pthread_barrierattr_init): Likewise.
15497         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15498         [UNIX98] (pthread_getcpuclockid): Likewise.
15499         [UNIX98] (pthread_mutex_timedlock): Likewise.
15500         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15501         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15502         [UNIX98] (pthread_sigmask): Likewise.
15503         [UNIX98] (pthread_spin_destroy): Likewise.
15504         [UNIX98] (pthread_spin_init): Likewise.
15505         [UNIX98] (pthread_spin_lock): Likewise.
15506         [UNIX98] (pthread_spin_trylock): Likewise.
15507         [UNIX98] (pthread_spin_unlock): Likewise.
15508         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15509         Do not expect.
15510         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15511         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15512         [XPG3 || XPG4] (pthread_cond_t): Likewise.
15513         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15514         [XPG3 || XPG4] (pthread_key_t): Likewise.
15515         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15516         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15517         [XPG3 || XPG4] (pthread_once_t): Likewise.
15518         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15519         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15520         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15521         [XPG3 || XPG4] (pthread_t): Likewise.
15522
15523         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15524         not expect.
15525         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15526
15527         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15528         Change function return type to int.
15529
15530         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15531         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15532         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15533         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15534         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15535         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15536         [!POSIX] (posix_madvise): Likewise.
15537         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15538         && !UNIX98].
15539         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15540         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15541         (mode_t): Likewise.
15542         (posix_mem_offset): Likewise.
15543         (posix_typed_mem_get_info): Likewise.
15544         (posix_typed_mem_open): Likewise.
15545
15546         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15547         Change condition to [XOPEN2K8].
15548
15549         * conform/conformtest.pl: Preprocess allow-header data with -x c
15550         instead of from stdin.
15551         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15552         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15553         [C99-based standards] (cerfc): Likewise.
15554         [C99-based standards] (cexp2): Likewise.
15555         [C99-based standards] (cexpm1): Likewise.
15556         [C99-based standards] (clog10): Likewise.
15557         [C99-based standards] (clog1p): Likewise.
15558         [C99-based standards] (clog2): Likewise.
15559         [C99-based standards] (clgamma): Likewise.
15560         [C99-based standards] (ctgamma): Likewise.
15561         [C99-based standards] (cerff): Likewise.
15562         [C99-based standards] (cerfcf): Likewise.
15563         [C99-based standards] (cexp2f): Likewise.
15564         [C99-based standards] (cexpm1f): Likewise.
15565         [C99-based standards] (clog10f): Likewise.
15566         [C99-based standards] (clog1pf): Likewise.
15567         [C99-based standards] (clog2f): Likewise.
15568         [C99-based standards] (clgammaf): Likewise.
15569         [C99-based standards] (ctgammaf): Likewise.
15570         [C99-based standards] (cerfl): Likewise.
15571         [C99-based standards] (cerfcl): Likewise.
15572         [C99-based standards] (cexp2l): Likewise.
15573         [C99-based standards] (cexpm1l): Likewise.
15574         [C99-based standards] (clog10l): Likewise.
15575         [C99-based standards] (clog1pl): Likewise.
15576         [C99-based standards] (clog2l): Likewise.
15577         [C99-based standards] (clgammal): Likewise.
15578         [C99-based standards] (ctgammal): Likewise.
15579         * conform/data/inttypes.h-data [C99-based standards]: Include
15580         stdint.h-data.  Remove all expectations for stdint.h contents.
15581         [C99-based standards] (PRI*): Do not allow.
15582         [C99-based standards] (SCN*): Likewise.
15583         [C99-based standards] (*_t): Likewise.
15584         [C99-based-standards] (PRId8): Expect macro.
15585         [C99-based-standards] (PRIi8): Likewise.
15586         [C99-based-standards] (PRIo8): Likewise.
15587         [C99-based-standards] (PRIu8): Likewise.
15588         [C99-based-standards] (PRIx8): Likewise.
15589         [C99-based-standards] (PRIX8): Likewise.
15590         [C99-based-standards] (SCNd8): Likewise.
15591         [C99-based-standards] (SCNi8): Likewise.
15592         [C99-based-standards] (SCNo8): Likewise.
15593         [C99-based-standards] (SCNu8): Likewise.
15594         [C99-based-standards] (SCNx8): Likewise.
15595         [C99-based-standards] (PRIdLEAST8): Likewise.
15596         [C99-based-standards] (PRIiLEAST8): Likewise.
15597         [C99-based-standards] (PRIoLEAST8): Likewise.
15598         [C99-based-standards] (PRIuLEAST8): Likewise.
15599         [C99-based-standards] (PRIxLEAST8): Likewise.
15600         [C99-based-standards] (PRIXLEAST8): Likewise.
15601         [C99-based-standards] (SCNdLEAST8): Likewise.
15602         [C99-based-standards] (SCNiLEAST8): Likewise.
15603         [C99-based-standards] (SCNoLEAST8): Likewise.
15604         [C99-based-standards] (SCNuLEAST8): Likewise.
15605         [C99-based-standards] (SCNxLEAST8): Likewise.
15606         [C99-based-standards] (PRIdFAST8): Likewise.
15607         [C99-based-standards] (PRIiFAST8): Likewise.
15608         [C99-based-standards] (PRIoFAST8): Likewise.
15609         [C99-based-standards] (PRIuFAST8): Likewise.
15610         [C99-based-standards] (PRIxFAST8): Likewise.
15611         [C99-based-standards] (PRIXFAST8): Likewise.
15612         [C99-based-standards] (SCNdFAST8): Likewise.
15613         [C99-based-standards] (SCNiFAST8): Likewise.
15614         [C99-based-standards] (SCNoFAST8): Likewise.
15615         [C99-based-standards] (SCNuFAST8): Likewise.
15616         [C99-based-standards] (SCNxFAST8): Likewise.
15617         [C99-based-standards] (PRId16): Likewise.
15618         [C99-based-standards] (PRIi16): Likewise.
15619         [C99-based-standards] (PRIo16): Likewise.
15620         [C99-based-standards] (PRIu16): Likewise.
15621         [C99-based-standards] (PRIx16): Likewise.
15622         [C99-based-standards] (PRIX16): Likewise.
15623         [C99-based-standards] (SCNd16): Likewise.
15624         [C99-based-standards] (SCNi16): Likewise.
15625         [C99-based-standards] (SCNo16): Likewise.
15626         [C99-based-standards] (SCNu16): Likewise.
15627         [C99-based-standards] (SCNx16): Likewise.
15628         [C99-based-standards] (PRIdLEAST16): Likewise.
15629         [C99-based-standards] (PRIiLEAST16): Likewise.
15630         [C99-based-standards] (PRIoLEAST16): Likewise.
15631         [C99-based-standards] (PRIuLEAST16): Likewise.
15632         [C99-based-standards] (PRIxLEAST16): Likewise.
15633         [C99-based-standards] (PRIXLEAST16): Likewise.
15634         [C99-based-standards] (SCNdLEAST16): Likewise.
15635         [C99-based-standards] (SCNiLEAST16): Likewise.
15636         [C99-based-standards] (SCNoLEAST16): Likewise.
15637         [C99-based-standards] (SCNuLEAST16): Likewise.
15638         [C99-based-standards] (SCNxLEAST16): Likewise.
15639         [C99-based-standards] (PRIdFAST16): Likewise.
15640         [C99-based-standards] (PRIiFAST16): Likewise.
15641         [C99-based-standards] (PRIoFAST16): Likewise.
15642         [C99-based-standards] (PRIuFAST16): Likewise.
15643         [C99-based-standards] (PRIxFAST16): Likewise.
15644         [C99-based-standards] (PRIXFAST16): Likewise.
15645         [C99-based-standards] (SCNdFAST16): Likewise.
15646         [C99-based-standards] (SCNiFAST16): Likewise.
15647         [C99-based-standards] (SCNoFAST16): Likewise.
15648         [C99-based-standards] (SCNuFAST16): Likewise.
15649         [C99-based-standards] (SCNxFAST16): Likewise.
15650         [C99-based-standards] (PRId32): Likewise.
15651         [C99-based-standards] (PRIi32): Likewise.
15652         [C99-based-standards] (PRIo32): Likewise.
15653         [C99-based-standards] (PRIu32): Likewise.
15654         [C99-based-standards] (PRIx32): Likewise.
15655         [C99-based-standards] (PRIX32): Likewise.
15656         [C99-based-standards] (SCNd32): Likewise.
15657         [C99-based-standards] (SCNi32): Likewise.
15658         [C99-based-standards] (SCNo32): Likewise.
15659         [C99-based-standards] (SCNu32): Likewise.
15660         [C99-based-standards] (SCNx32): Likewise.
15661         [C99-based-standards] (PRIdLEAST32): Likewise.
15662         [C99-based-standards] (PRIiLEAST32): Likewise.
15663         [C99-based-standards] (PRIoLEAST32): Likewise.
15664         [C99-based-standards] (PRIuLEAST32): Likewise.
15665         [C99-based-standards] (PRIxLEAST32): Likewise.
15666         [C99-based-standards] (PRIXLEAST32): Likewise.
15667         [C99-based-standards] (SCNdLEAST32): Likewise.
15668         [C99-based-standards] (SCNiLEAST32): Likewise.
15669         [C99-based-standards] (SCNoLEAST32): Likewise.
15670         [C99-based-standards] (SCNuLEAST32): Likewise.
15671         [C99-based-standards] (SCNxLEAST32): Likewise.
15672         [C99-based-standards] (PRIdFAST32): Likewise.
15673         [C99-based-standards] (PRIiFAST32): Likewise.
15674         [C99-based-standards] (PRIoFAST32): Likewise.
15675         [C99-based-standards] (PRIuFAST32): Likewise.
15676         [C99-based-standards] (PRIxFAST32): Likewise.
15677         [C99-based-standards] (PRIXFAST32): Likewise.
15678         [C99-based-standards] (SCNdFAST32): Likewise.
15679         [C99-based-standards] (SCNiFAST32): Likewise.
15680         [C99-based-standards] (SCNoFAST32): Likewise.
15681         [C99-based-standards] (SCNuFAST32): Likewise.
15682         [C99-based-standards] (SCNxFAST32): Likewise.
15683         [C99-based-standards] (PRId64): Likewise.
15684         [C99-based-standards] (PRIi64): Likewise.
15685         [C99-based-standards] (PRIo64): Likewise.
15686         [C99-based-standards] (PRIu64): Likewise.
15687         [C99-based-standards] (PRIx64): Likewise.
15688         [C99-based-standards] (PRIX64): Likewise.
15689         [C99-based-standards] (SCNd64): Likewise.
15690         [C99-based-standards] (SCNi64): Likewise.
15691         [C99-based-standards] (SCNo64): Likewise.
15692         [C99-based-standards] (SCNu64): Likewise.
15693         [C99-based-standards] (SCNx64): Likewise.
15694         [C99-based-standards] (PRIdLEAST64): Likewise.
15695         [C99-based-standards] (PRIiLEAST64): Likewise.
15696         [C99-based-standards] (PRIoLEAST64): Likewise.
15697         [C99-based-standards] (PRIuLEAST64): Likewise.
15698         [C99-based-standards] (PRIxLEAST64): Likewise.
15699         [C99-based-standards] (PRIXLEAST64): Likewise.
15700         [C99-based-standards] (SCNdLEAST64): Likewise.
15701         [C99-based-standards] (SCNiLEAST64): Likewise.
15702         [C99-based-standards] (SCNoLEAST64): Likewise.
15703         [C99-based-standards] (SCNuLEAST64): Likewise.
15704         [C99-based-standards] (SCNxLEAST64): Likewise.
15705         [C99-based-standards] (PRIdFAST64): Likewise.
15706         [C99-based-standards] (PRIiFAST64): Likewise.
15707         [C99-based-standards] (PRIoFAST64): Likewise.
15708         [C99-based-standards] (PRIuFAST64): Likewise.
15709         [C99-based-standards] (PRIxFAST64): Likewise.
15710         [C99-based-standards] (PRIXFAST64): Likewise.
15711         [C99-based-standards] (SCNdFAST64): Likewise.
15712         [C99-based-standards] (SCNiFAST64): Likewise.
15713         [C99-based-standards] (SCNoFAST64): Likewise.
15714         [C99-based-standards] (SCNuFAST64): Likewise.
15715         [C99-based-standards] (SCNxFAST64): Likewise.
15716         [C99-based-standards] (PRIdMAX): Likewise.
15717         [C99-based-standards] (PRIiMAX): Likewise.
15718         [C99-based-standards] (PRIoMAX): Likewise.
15719         [C99-based-standards] (PRIuMAX): Likewise.
15720         [C99-based-standards] (PRIxMAX): Likewise.
15721         [C99-based-standards] (PRIXMAX): Likewise.
15722         [C99-based-standards] (SCNdMAX): Likewise.
15723         [C99-based-standards] (SCNiMAX): Likewise.
15724         [C99-based-standards] (SCNoMAX): Likewise.
15725         [C99-based-standards] (SCNuMAX): Likewise.
15726         [C99-based-standards] (SCNxMAX): Likewise.
15727         [C99-based-standards] (PRIdPTR): Likewise.
15728         [C99-based-standards] (PRIiPTR): Likewise.
15729         [C99-based-standards] (PRIoPTR): Likewise.
15730         [C99-based-standards] (PRIuPTR): Likewise.
15731         [C99-based-standards] (PRIxPTR): Likewise.
15732         [C99-based-standards] (PRIXPTR): Likewise.
15733         [C99-based-standards] (SCNdPTR): Likewise.
15734         [C99-based-standards] (SCNiPTR): Likewise.
15735         [C99-based-standards] (SCNoPTR): Likewise.
15736         [C99-based-standards] (SCNuPTR): Likewise.
15737         [C99-based-standards] (SCNxPTR): Likewise.
15738         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15739         allow.
15740         * conform/data/stdint.h-data: Update comments to clarify
15741         requirements.
15742         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15743         type.
15744         [C99-based standards] (INT8_MAX): Likewise.
15745         [C99-based standards] (INT16_MIN): Likewise.
15746         [C99-based standards] (INT16_MAX): Likewise.
15747         [C99-based standards] (INT32_MIN): Likewise.
15748         [C99-based standards] (INT32_MAX): Likewise.
15749         [C99-based standards] (INT64_MIN): Likewise.
15750         [C99-based standards] (INT64_MAX): Likewise.
15751         [C99-based standards] (UINT8_MAX): Likewise.
15752         [C99-based standards] (UINT16_MAX): Likewise.
15753         [C99-based standards] (UINT32_MAX): Likewise.
15754         [C99-based standards] (UINT64_MAX): Likewise.
15755         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15756         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15757         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15758         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15759         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15760         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15761         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15762         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15763         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15764         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15765         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15766         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15767         [C99-based standards] (INT_FAST8_MIN): Likewise.
15768         [C99-based standards] (INT_FAST8_MAX): Likewise.
15769         [C99-based standards] (INT_FAST16_MIN): Likewise.
15770         [C99-based standards] (INT_FAST16_MAX): Likewise.
15771         [C99-based standards] (INT_FAST32_MIN): Likewise.
15772         [C99-based standards] (INT_FAST32_MAX): Likewise.
15773         [C99-based standards] (INT_FAST64_MIN): Likewise.
15774         [C99-based standards] (INT_FAST64_MAX): Likewise.
15775         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15776         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15777         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15778         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15779         [C99-based standards] (INTPTR_MIN): Likewise.
15780         [C99-based standards] (INTPTR_MAX): Likewise.
15781         [C99-based standards] (UINTPTR_MAX): Likewise.
15782         [C99-based standards] (INTMAX_MIN): Likewise.
15783         [C99-based standards] (INTMAX_MAX): Likewise.
15784         [C99-based standards] (UINTMAX_MAX): Likewise.
15785         [C99-based standards] (PTRDIFF_MIN): Likewise.
15786         [C99-based standards] (PTRDIFF_MAX): Likewise.
15787         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15788         [C99-based standards] (SIZE_MAX): Likewise.
15789         [C99-based standards] (WCHAR_MAX): Likewise.
15790         [C99-based standards] (WINT_MAX): Likewise.
15791         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15792         constraint on value.
15793         [C99-based standards] (WCHAR_MIN): Likewise.
15794         [C99-based standards] (WINT_MIN): Likewise.
15795         [C99-based standards] (*_t): Allow.
15796         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15797         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15798         Include math.h-data and complex.h-data.  Remove all expectations
15799         of math.h and complex.h contents.
15800         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15801         at end of line.
15802         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15803         (struct tm): Expect tag.
15804         [C99-based-standards] (wcstof): Expect function.
15805         [C99-based-standards] (wcstold): Likewise.
15806         [C99-based-standards] (wcstoll): Likewise.
15807         [C99-based-standards] (wcstoull): Likewise.
15808         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15809         macro-int-constant.  Specify type.
15810         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15811         constraint on value.
15812         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15813         Specify type.
15814         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15815         Specify value.
15816         [ISO C standards]: Do not allow headers.
15817         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15818         wcs[abcdefghijklmnopqrstuvwxyz]*.
15819         [ISO C standards] (*_t): Do not allow.
15820         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15821         Expect function.
15822         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15823         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15824         Specify type.
15825         [ISO C standards]: Do not allow headers.
15826         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15827         is[abcdefghijklmnopqrstuvwxyz]*.
15828         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15829         to[abcdefghijklmnopqrstuvwxyz]*.
15830         [ISO C standards] (*_t): Do not allow.
15831         * conform/data/stdalign.h-data: New file.
15832         * conform/data/stdbool.h-data: Likewise.
15833         * conform/data/stdnoreturn.h-data: Likewise.
15834
15835 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15836
15837         [BZ #14815]
15838         * manual/filesys.texi (Directory Entries): Typo fix.
15839         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15840
15841 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15842
15843         * elf/elf.h (EM_AARCH64): New macro.
15844         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15845         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15846         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15847         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15848         (R_AARCH64_TLSDESC): Likewise.
15849         (NT_ARM_TLS): Likewise.
15850         (NT_ARM_HW_BREAK): Likewise.
15851         (NT_ARM_HW_WATCH): Likewise.
15852
15853 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15854
15855         [BZ #14811]
15856         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15857         (__ieee754_powl): Saturate nonzero exponents with absolute value
15858         below 0x1p-79 to +/- 0x1p-79.
15859         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15860         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15861         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15862         nonzero exponents with absolute value below 0x1p-32 to +/-
15863         0x1p-32.
15864         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15865         (__ieee754_powl): Saturate nonzero exponents with absolute value
15866         below 0x1p-79 to +/- 0x1p-79.
15867         * math/libm-test.inc (pow_test): Add more tests.
15868
15869 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15870
15871         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15872         _dl_s390_cap_flags with kernel. Increase string length.
15873         (_dl_s390_platforms): Add z196 and zEC12.
15874
15875 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15876
15877         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15878         Change XOPEN21K to XOPEN2K.
15879
15880 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15881
15882         * string/memmove.c: Use memcpy when possible.
15883
15884 2012-11-06  Andreas Jaeger  <aj@suse.de>
15885
15886         * po/eo.po: Update from translation team.
15887
15888 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15889
15890         [BZ #14793]
15891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15892         exponent and small x and y exponents, scale x or y up.  Increase
15893         by 2 the exponent used in scaling up.
15894         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15895         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15896         * math/libm-test.inc (fma_test): Add more tests.
15897         (fma_test_towardzero): Likewise.
15898         (fma_test_downward): Likewise.
15899         (fma_test_upward): Likewise.
15900
15901 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15902
15903         [BZ #14805]
15904         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15905         fenv_t *.
15906
15907         [BZ #14801]
15908         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15909         namespace for names of struct fields.
15910         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15911         fenv_t fields.
15912         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15913         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15914
15915 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15916
15917         [BZ #3665]
15918         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15919
15920 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15921
15922         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15923         PTR_DEMANGLE.
15924
15925         [BZ #5246]
15926         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15927         PTR_DEMANGLE.
15928
15929 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15930
15931         [BZ #14797]
15932         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15933         definitely overflow as x * y not x * y + z.
15934         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15935         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15936         * math/libm-test.inc (fma_test): Add more tests.
15937         (fma_test_towardzero): Likewise.
15938         (fma_test_downward): Likewise.
15939         (fma_test_upward): Likewise.
15940
15941 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15942
15943         [BZ #157]
15944
15945         * include/stub-tag.h: Remove file.
15946         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15947         '#include' of it.
15948         * manual/maint.texi (Porting): Don't reference it.
15949         * Makerules ($(objpfx)stubs): Likewise.
15950         * dirent/closedir.c: Don't include <stub-tag.h>.
15951         * dirent/dirfd.c: Likewise.
15952         * dirent/fdopendir.c: Likewise.
15953         * dirent/getdents.c: Likewise.
15954         * dirent/getdents64.c: Likewise.
15955         * dirent/opendir.c: Likewise.
15956         * dirent/readdir.c: Likewise.
15957         * dirent/readdir64.c: Likewise.
15958         * dirent/readdir64_r.c: Likewise.
15959         * dirent/readdir_r.c: Likewise.
15960         * dirent/rewinddir.c: Likewise.
15961         * dirent/seekdir.c: Likewise.
15962         * dirent/telldir.c: Likewise.
15963         * gmon/profil.c: Likewise.
15964         * grp/setgroups.c: Likewise.
15965         * inet/if_index.c: Likewise.
15966         * io/access.c: Likewise.
15967         * io/chdir.c: Likewise.
15968         * io/chmod.c: Likewise.
15969         * io/chown.c: Likewise.
15970         * io/close.c: Likewise.
15971         * io/dup.c: Likewise.
15972         * io/dup2.c: Likewise.
15973         * io/dup3.c: Likewise.
15974         * io/euidaccess.c: Likewise.
15975         * io/faccessat.c: Likewise.
15976         * io/fchdir.c: Likewise.
15977         * io/fchmod.c: Likewise.
15978         * io/fchmodat.c: Likewise.
15979         * io/fchown.c: Likewise.
15980         * io/fchownat.c: Likewise.
15981         * io/fcntl.c: Likewise.
15982         * io/flock.c: Likewise.
15983         * io/fstatfs.c: Likewise.
15984         * io/fstatfs64.c: Likewise.
15985         * io/fstatvfs.c: Likewise.
15986         * io/fstatvfs64.c: Likewise.
15987         * io/futimens.c: Likewise.
15988         * io/fxstat.c: Likewise.
15989         * io/fxstat64.c: Likewise.
15990         * io/fxstatat.c: Likewise.
15991         * io/fxstatat64.c: Likewise.
15992         * io/getcwd.c: Likewise.
15993         * io/isatty.c: Likewise.
15994         * io/lchmod.c: Likewise.
15995         * io/lchown.c: Likewise.
15996         * io/link.c: Likewise.
15997         * io/linkat.c: Likewise.
15998         * io/lseek.c: Likewise.
15999         * io/lseek64.c: Likewise.
16000         * io/lxstat64.c: Likewise.
16001         * io/mkdir.c: Likewise.
16002         * io/mkdirat.c: Likewise.
16003         * io/mkfifo.c: Likewise.
16004         * io/mkfifoat.c: Likewise.
16005         * io/open.c: Likewise.
16006         * io/open64.c: Likewise.
16007         * io/openat.c: Likewise.
16008         * io/openat64.c: Likewise.
16009         * io/pipe.c: Likewise.
16010         * io/pipe2.c: Likewise.
16011         * io/poll.c: Likewise.
16012         * io/posix_fadvise.c: Likewise.
16013         * io/posix_fadvise64.c: Likewise.
16014         * io/posix_fallocate.c: Likewise.
16015         * io/posix_fallocate64.c: Likewise.
16016         * io/read.c: Likewise.
16017         * io/readlink.c: Likewise.
16018         * io/readlinkat.c: Likewise.
16019         * io/rmdir.c: Likewise.
16020         * io/sendfile.c: Likewise.
16021         * io/sendfile64.c: Likewise.
16022         * io/statfs.c: Likewise.
16023         * io/statfs64.c: Likewise.
16024         * io/statvfs.c: Likewise.
16025         * io/statvfs64.c: Likewise.
16026         * io/symlink.c: Likewise.
16027         * io/symlinkat.c: Likewise.
16028         * io/ttyname.c: Likewise.
16029         * io/ttyname_r.c: Likewise.
16030         * io/umask.c: Likewise.
16031         * io/unlink.c: Likewise.
16032         * io/unlinkat.c: Likewise.
16033         * io/utime.c: Likewise.
16034         * io/utimensat.c: Likewise.
16035         * io/write.c: Likewise.
16036         * io/xmknod.c: Likewise.
16037         * io/xmknodat.c: Likewise.
16038         * io/xstat.c: Likewise.
16039         * io/xstat64.c: Likewise.
16040         * login/getpt.c: Likewise.
16041         * login/grantpt.c: Likewise.
16042         * login/unlockpt.c: Likewise.
16043         * math/e_acoshl.c: Likewise.
16044         * math/e_acosl.c: Likewise.
16045         * math/e_asinl.c: Likewise.
16046         * math/e_atan2l.c: Likewise.
16047         * math/e_atanhl.c: Likewise.
16048         * math/e_coshl.c: Likewise.
16049         * math/e_expl.c: Likewise.
16050         * math/e_fmodl.c: Likewise.
16051         * math/e_gammal_r.c: Likewise.
16052         * math/e_hypotl.c: Likewise.
16053         * math/e_j0l.c: Likewise.
16054         * math/e_j1l.c: Likewise.
16055         * math/e_jnl.c: Likewise.
16056         * math/e_lgammal_r.c: Likewise.
16057         * math/e_log10l.c: Likewise.
16058         * math/e_log2l.c: Likewise.
16059         * math/e_logl.c: Likewise.
16060         * math/e_powl.c: Likewise.
16061         * math/e_rem_pio2l.c: Likewise.
16062         * math/e_sinhl.c: Likewise.
16063         * math/e_sqrtl.c: Likewise.
16064         * math/fclrexcpt.c: Likewise.
16065         * math/fedisblxcpt.c: Likewise.
16066         * math/feenablxcpt.c: Likewise.
16067         * math/fegetenv.c: Likewise.
16068         * math/fegetexcept.c: Likewise.
16069         * math/fegetround.c: Likewise.
16070         * math/feholdexcpt.c: Likewise.
16071         * math/fesetenv.c: Likewise.
16072         * math/fesetround.c: Likewise.
16073         * math/feupdateenv.c: Likewise.
16074         * math/fgetexcptflg.c: Likewise.
16075         * math/fraiseexcpt.c: Likewise.
16076         * math/fsetexcptflg.c: Likewise.
16077         * math/ftestexcept.c: Likewise.
16078         * math/k_cosl.c: Likewise.
16079         * math/k_rem_pio2l.c: Likewise.
16080         * math/k_sinl.c: Likewise.
16081         * math/k_tanl.c: Likewise.
16082         * math/s_asinhl.c: Likewise.
16083         * math/s_atanl.c: Likewise.
16084         * math/s_cbrtl.c: Likewise.
16085         * math/s_erfl.c: Likewise.
16086         * math/s_expm1l.c: Likewise.
16087         * math/s_log1pl.c: Likewise.
16088         * math/s_tanhl.c: Likewise.
16089         * misc/acct.c: Likewise.
16090         * misc/brk.c: Likewise.
16091         * misc/chflags.c: Likewise.
16092         * misc/chroot.c: Likewise.
16093         * misc/fchflags.c: Likewise.
16094         * misc/fgetxattr.c: Likewise.
16095         * misc/flistxattr.c: Likewise.
16096         * misc/fremovexattr.c: Likewise.
16097         * misc/fsetxattr.c: Likewise.
16098         * misc/fsync.c: Likewise.
16099         * misc/ftruncate.c: Likewise.
16100         * misc/futimes.c: Likewise.
16101         * misc/futimesat.c: Likewise.
16102         * misc/getdomain.c: Likewise.
16103         * misc/getdtsz.c: Likewise.
16104         * misc/gethostid.c: Likewise.
16105         * misc/gethostname.c: Likewise.
16106         * misc/getloadavg.c: Likewise.
16107         * misc/getpagesize.c: Likewise.
16108         * misc/getsysstats.c: Likewise.
16109         * misc/getxattr.c: Likewise.
16110         * misc/gtty.c: Likewise.
16111         * misc/ioctl.c: Likewise.
16112         * misc/lgetxattr.c: Likewise.
16113         * misc/listxattr.c: Likewise.
16114         * misc/llistxattr.c: Likewise.
16115         * misc/lremovexattr.c: Likewise.
16116         * misc/lsetxattr.c: Likewise.
16117         * misc/lutimes.c: Likewise.
16118         * misc/madvise.c: Likewise.
16119         * misc/mincore.c: Likewise.
16120         * misc/mlock.c: Likewise.
16121         * misc/mlockall.c: Likewise.
16122         * misc/mmap.c: Likewise.
16123         * misc/mprotect.c: Likewise.
16124         * misc/msync.c: Likewise.
16125         * misc/munlock.c: Likewise.
16126         * misc/munlockall.c: Likewise.
16127         * misc/munmap.c: Likewise.
16128         * misc/preadv.c: Likewise.
16129         * misc/preadv64.c: Likewise.
16130         * misc/ptrace.c: Likewise.
16131         * misc/pwritev.c: Likewise.
16132         * misc/pwritev64.c: Likewise.
16133         * misc/readv.c: Likewise.
16134         * misc/reboot.c: Likewise.
16135         * misc/remap_file_pages.c: Likewise.
16136         * misc/removexattr.c: Likewise.
16137         * misc/revoke.c: Likewise.
16138         * misc/select.c: Likewise.
16139         * misc/setdomain.c: Likewise.
16140         * misc/setegid.c: Likewise.
16141         * misc/seteuid.c: Likewise.
16142         * misc/sethostid.c: Likewise.
16143         * misc/sethostname.c: Likewise.
16144         * misc/setregid.c: Likewise.
16145         * misc/setreuid.c: Likewise.
16146         * misc/setxattr.c: Likewise.
16147         * misc/sstk.c: Likewise.
16148         * misc/stty.c: Likewise.
16149         * misc/swapoff.c: Likewise.
16150         * misc/swapon.c: Likewise.
16151         * misc/sync.c: Likewise.
16152         * misc/syncfs.c: Likewise.
16153         * misc/syscall.c: Likewise.
16154         * misc/truncate.c: Likewise.
16155         * misc/ualarm.c: Likewise.
16156         * misc/usleep.c: Likewise.
16157         * misc/ustat.c: Likewise.
16158         * misc/utimes.c: Likewise.
16159         * misc/vhangup.c: Likewise.
16160         * misc/writev.c: Likewise.
16161         * posix/_exit.c: Likewise.
16162         * posix/alarm.c: Likewise.
16163         * posix/execve.c: Likewise.
16164         * posix/fexecve.c: Likewise.
16165         * posix/fork.c: Likewise.
16166         * posix/fpathconf.c: Likewise.
16167         * posix/getaddrinfo.c: Likewise.
16168         * posix/getegid.c: Likewise.
16169         * posix/geteuid.c: Likewise.
16170         * posix/getgid.c: Likewise.
16171         * posix/getgroups.c: Likewise.
16172         * posix/getlogin.c: Likewise.
16173         * posix/getlogin_r.c: Likewise.
16174         * posix/getpgid.c: Likewise.
16175         * posix/getpid.c: Likewise.
16176         * posix/getppid.c: Likewise.
16177         * posix/getresgid.c: Likewise.
16178         * posix/getresuid.c: Likewise.
16179         * posix/getsid.c: Likewise.
16180         * posix/getuid.c: Likewise.
16181         * posix/glob64.c: Likewise.
16182         * posix/nanosleep.c: Likewise.
16183         * posix/pathconf.c: Likewise.
16184         * posix/pause.c: Likewise.
16185         * posix/posix_madvise.c: Likewise.
16186         * posix/pread.c: Likewise.
16187         * posix/pread64.c: Likewise.
16188         * posix/pwrite.c: Likewise.
16189         * posix/pwrite64.c: Likewise.
16190         * posix/sched_getaffinity.c: Likewise.
16191         * posix/sched_getp.c: Likewise.
16192         * posix/sched_gets.c: Likewise.
16193         * posix/sched_primax.c: Likewise.
16194         * posix/sched_primin.c: Likewise.
16195         * posix/sched_rr_gi.c: Likewise.
16196         * posix/sched_setaffinity.c: Likewise.
16197         * posix/sched_setp.c: Likewise.
16198         * posix/sched_sets.c: Likewise.
16199         * posix/sched_yield.c: Likewise.
16200         * posix/setgid.c: Likewise.
16201         * posix/setlogin.c: Likewise.
16202         * posix/setpgid.c: Likewise.
16203         * posix/setresgid.c: Likewise.
16204         * posix/setresuid.c: Likewise.
16205         * posix/setsid.c: Likewise.
16206         * posix/setuid.c: Likewise.
16207         * posix/sleep.c: Likewise.
16208         * posix/spawni.c: Likewise.
16209         * posix/sysconf.c: Likewise.
16210         * posix/times.c: Likewise.
16211         * posix/wait.c: Likewise.
16212         * posix/wait3.c: Likewise.
16213         * posix/wait4.c: Likewise.
16214         * posix/waitpid.c: Likewise.
16215         * resolv/gai_sigqueue.c: Likewise.
16216         * resource/getpriority.c: Likewise.
16217         * resource/getrlimit.c: Likewise.
16218         * resource/getrusage.c: Likewise.
16219         * resource/nice.c: Likewise.
16220         * resource/setpriority.c: Likewise.
16221         * resource/setrlimit.c: Likewise.
16222         * resource/ulimit.c: Likewise.
16223         * rt/aio_cancel.c: Likewise.
16224         * rt/aio_fsync.c: Likewise.
16225         * rt/aio_read.c: Likewise.
16226         * rt/aio_sigqueue.c: Likewise.
16227         * rt/aio_suspend.c: Likewise.
16228         * rt/aio_write.c: Likewise.
16229         * rt/clock_getres.c: Likewise.
16230         * rt/clock_gettime.c: Likewise.
16231         * rt/clock_nanosleep.c: Likewise.
16232         * rt/clock_settime.c: Likewise.
16233         * rt/lio_listio.c: Likewise.
16234         * rt/mq_close.c: Likewise.
16235         * rt/mq_getattr.c: Likewise.
16236         * rt/mq_notify.c: Likewise.
16237         * rt/mq_open.c: Likewise.
16238         * rt/mq_receive.c: Likewise.
16239         * rt/mq_send.c: Likewise.
16240         * rt/mq_setattr.c: Likewise.
16241         * rt/mq_timedreceive.c: Likewise.
16242         * rt/mq_timedsend.c: Likewise.
16243         * rt/mq_unlink.c: Likewise.
16244         * rt/shm_open.c: Likewise.
16245         * rt/shm_unlink.c: Likewise.
16246         * rt/timer_create.c: Likewise.
16247         * rt/timer_delete.c: Likewise.
16248         * rt/timer_getoverr.c: Likewise.
16249         * rt/timer_gettime.c: Likewise.
16250         * rt/timer_settime.c: Likewise.
16251         * setjmp/__longjmp.c: Likewise.
16252         * setjmp/setjmp.c: Likewise.
16253         * signal/kill.c: Likewise.
16254         * signal/killpg.c: Likewise.
16255         * signal/raise.c: Likewise.
16256         * signal/sigaction.c: Likewise.
16257         * signal/sigaltstack.c: Likewise.
16258         * signal/sigblock.c: Likewise.
16259         * signal/sigignore.c: Likewise.
16260         * signal/sigintr.c: Likewise.
16261         * signal/signal.c: Likewise.
16262         * signal/sigpause.c: Likewise.
16263         * signal/sigpending.c: Likewise.
16264         * signal/sigqueue.c: Likewise.
16265         * signal/sigreturn.c: Likewise.
16266         * signal/sigset.c: Likewise.
16267         * signal/sigsetmask.c: Likewise.
16268         * signal/sigstack.c: Likewise.
16269         * signal/sigsuspend.c: Likewise.
16270         * signal/sigtimedwait.c: Likewise.
16271         * signal/sigvec.c: Likewise.
16272         * signal/sigwait.c: Likewise.
16273         * signal/sigwaitinfo.c: Likewise.
16274         * signal/sysv_signal.c: Likewise.
16275         * socket/accept.c: Likewise.
16276         * socket/accept4.c: Likewise.
16277         * socket/bind.c: Likewise.
16278         * socket/connect.c: Likewise.
16279         * socket/getpeername.c: Likewise.
16280         * socket/getsockname.c: Likewise.
16281         * socket/getsockopt.c: Likewise.
16282         * socket/isfdtype.c: Likewise.
16283         * socket/listen.c: Likewise.
16284         * socket/recv.c: Likewise.
16285         * socket/recvfrom.c: Likewise.
16286         * socket/recvmsg.c: Likewise.
16287         * socket/send.c: Likewise.
16288         * socket/sendmsg.c: Likewise.
16289         * socket/sendto.c: Likewise.
16290         * socket/setsockopt.c: Likewise.
16291         * socket/shutdown.c: Likewise.
16292         * socket/sockatmark.c: Likewise.
16293         * socket/socket.c: Likewise.
16294         * socket/socketpair.c: Likewise.
16295         * stdio-common/ctermid.c: Likewise.
16296         * stdio-common/cuserid.c: Likewise.
16297         * stdio-common/remove.c: Likewise.
16298         * stdio-common/rename.c: Likewise.
16299         * stdio-common/renameat.c: Likewise.
16300         * stdio-common/tempname.c: Likewise.
16301         * stdlib/getcontext.c: Likewise.
16302         * stdlib/makecontext.c: Likewise.
16303         * stdlib/setcontext.c: Likewise.
16304         * stdlib/swapcontext.c: Likewise.
16305         * stdlib/system.c: Likewise.
16306         * streams/fattach.c: Likewise.
16307         * streams/fdetach.c: Likewise.
16308         * streams/getmsg.c: Likewise.
16309         * streams/getpmsg.c: Likewise.
16310         * streams/putmsg.c: Likewise.
16311         * streams/putpmsg.c: Likewise.
16312         * sysdeps/unix/bsd/getpt.c: Likewise.
16313         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16314         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16315         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16317         Likewise.
16318         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16319         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16320         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16321         * sysvipc/msgctl.c: Likewise.
16322         * sysvipc/msgget.c: Likewise.
16323         * sysvipc/msgrcv.c: Likewise.
16324         * sysvipc/msgsnd.c: Likewise.
16325         * sysvipc/semctl.c: Likewise.
16326         * sysvipc/semget.c: Likewise.
16327         * sysvipc/semop.c: Likewise.
16328         * sysvipc/semtimedop.c: Likewise.
16329         * sysvipc/shmat.c: Likewise.
16330         * sysvipc/shmctl.c: Likewise.
16331         * sysvipc/shmdt.c: Likewise.
16332         * sysvipc/shmget.c: Likewise.
16333         * termios/tcdrain.c: Likewise.
16334         * termios/tcflow.c: Likewise.
16335         * termios/tcflush.c: Likewise.
16336         * termios/tcgetattr.c: Likewise.
16337         * termios/tcgetpgrp.c: Likewise.
16338         * termios/tcsendbrk.c: Likewise.
16339         * termios/tcsetattr.c: Likewise.
16340         * termios/tcsetpgrp.c: Likewise.
16341         * time/adjtime.c: Likewise.
16342         * time/clock.c: Likewise.
16343         * time/getitimer.c: Likewise.
16344         * time/gettimeofday.c: Likewise.
16345         * time/setitimer.c: Likewise.
16346         * time/settimeofday.c: Likewise.
16347         * time/stime.c: Likewise.
16348         * time/time.c: Likewise.
16349
16350 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16351
16352         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16353         /usr/old/bin.
16354
16355         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16356         instead of spaces.
16357         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16358
16359 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16360
16361         [BZ #14796]
16362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16363         FE_TONEAREST before applying Dekker multiplication and Knuth
16364         addition.  Clear inexact exceptions and check for exact zero
16365         results afterwards.
16366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16367         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16368         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16369         * math/libm-test.inc (fma_test): Add more tests.
16370         (fma_test_towardzero): Likewise.
16371         (fma_test_downward): Likewise.
16372         (fma_test_upward): Likewise.
16373         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16374         function.
16375         (libc_fesetround): New macro.
16376         (libc_fesetroundf): Likewise.
16377         (libc_fesetroundl): Likewise.
16378         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16379         function.
16380         (libc_fesetround_387): Likewise.
16381         (libc_fesetroundf): New macro.
16382         (libc_fesetround): Likewise.
16383         (libc_fesetroundl): Likewise.
16384         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16385         function.
16386         (libc_fesetroundf): New macro.
16387         (libc_fesetround): Likewise.
16388         (libc_fesetroundl): Likewise.
16389         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16390         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16391         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16392         libm_hidden_ver.
16393         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16394         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16395         libm_hidden_def.
16396         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16397         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16398         libm_hidden_ver.
16399         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16400         libm_hidden_def.
16401
16402         [BZ #3439]
16403         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16404         integer constant usable in #if and use that to give value to enum
16405         constant.
16406         (FE_DIVBYZERO): Likewise.
16407         (FE_UNDERFLOW): Likewise.
16408         (FE_OVERFLOW): Likewise.
16409         (FE_INVALID): Likewise.
16410         (FE_INVALID_SNAN): Likewise.
16411         (FE_INVALID_ISI): Likewise.
16412         (FE_INVALID_IDI): Likewise.
16413         (FE_INVALID_ZDZ): Likewise.
16414         (FE_INVALID_IMZ): Likewise.
16415         (FE_INVALID_COMPARE): Likewise.
16416         (FE_INVALID_SOFTWARE): Likewise.
16417         (FE_INVALID_SQRT): Likewise.
16418         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16419         (FE_TONEAREST): Likewise.
16420         (FE_TOWARDZERO): Likewise.
16421         (FE_UPWARD): Likewise.
16422         (FE_DOWNWARD): Likewise.
16423         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16424         (FE_DIVBYZERO): Likewise.
16425         (FE_OVERFLOW): Likewise.
16426         (FE_UNDERFLOW): Likewise.
16427         (FE_INEXACT): Likewise.
16428         (FE_TONEAREST): Likewise.
16429         (FE_DOWNWARD): Likewise.
16430         (FE_UPWARD): Likewise.
16431         (FE_TOWARDZERO): Likewise.
16432         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16433         (FE_UNDERFLOW): Likewise.
16434         (FE_OVERFLOW): Likewise.
16435         (FE_DIVBYZERO): Likewise.
16436         (FE_INVALID): Likewise.
16437         (FE_TONEAREST): Likewise.
16438         (FE_TOWARDZERO): Likewise.
16439         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16440         (FE_OVERFLOW): Likewise.
16441         (FE_UNDERFLOW): Likewise.
16442         (FE_DIVBYZERO): Likewise.
16443         (FE_INEXACT): Likewise.
16444         (FE_TONEAREST): Likewise.
16445         (FE_TOWARDZERO): Likewise.
16446         (FE_UPWARD): Likewise.
16447         (FE_DOWNWARD): Likewise.
16448         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16449         (FE_DIVBYZERO): Likewise.
16450         (FE_OVERFLOW): Likewise.
16451         (FE_UNDERFLOW): Likewise.
16452         (FE_INEXACT): Likewise.
16453         (FE_TONEAREST): Likewise.
16454         (FE_DOWNWARD): Likewise.
16455         (FE_UPWARD): Likewise.
16456         (FE_TOWARDZERO): Likewise.
16457
16458 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16459
16460         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16461
16462 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16463
16464         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16465         commands.  Quote $PWD.
16466         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16467         -x" by "export".
16468         (remove_newlines): Remove.
16469
16470 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16471
16472         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16473         * stdlib/stdlib.h (atof): Moved to ...
16474         * include/bits/stdlib-float.h: Here.  New file.
16475         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16476         * stdlib/bits/stdlib-float.h: New file.
16477         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16478         -mno-sse -mno-mmx.
16479         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16480         <xmmintrin.h>.
16481
16482 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16483
16484         * conform/conformtest.pl (@headers): Add fenv.h.
16485         * conform/data/fenv.h-data: New file.
16486         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16487         include of <math/fenv.h>.
16488
16489         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16490         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16491         && !UNIX98].  Enables tests for XOPEN2K8.
16492         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16493         POSIX2008]: Likewise.
16494
16495         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16496         (struct rusage): Do not expect type or its members.
16497
16498         [BZ #3439]
16499         * math/math.h (FP_NAN): Define macro to integer constant usable in
16500         #if and use that to give value to enum constant.
16501         (FP_INFINITE): Likewise.
16502         (FP_ZERO): Likewise.
16503         (FP_SUBNORMAL): Likewise.
16504         (FP_NORMAL): Likewise.
16505
16506 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16507
16508         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16509         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16510         arguments.
16511
16512 2012-11-02  Roland McGrath  <roland@hack.frob.com>
16513
16514         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16515         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16516         autoconf-time if not.
16517         * configure.in: Remove AC_PREREQ.
16518
16519 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16520
16521         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16522         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16523         of the internal implementation.
16524
16525 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16526
16527         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16528         except include of <misc/sys/syslog.h>.
16529
16530 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16531
16532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16533         function returns with a NULL context exit with zero.
16534
16535 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16536
16537         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16538
16539 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
16540
16541         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16542         (run_program_cmd): This.
16543         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16544         (tst_langinfo): New variable.  Use it.
16545
16546 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
16547
16548         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16549         floating point opcodes.
16550
16551 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16552
16553         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16554         variable.
16555
16556         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16557
16558         * sysdeps/mach/hurd/powerpc: Remove directory.
16559         * sysdeps/mach/powerpc: Likewise.
16560
16561 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16562
16563         * scripts/check-local-headers.sh: Ignore c++ headers.
16564
16565 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16566
16567         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16568         __libc_cleanup_region_start argument.
16569
16570 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
16571
16572         [BZ #14784]
16573         [BZ #14785]
16574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16575         x * y using scaling, not as x * y + z.
16576         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16577         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16578         * math/libm-test.inc (fma_test): Add more tests.
16579         (fma_test_towardzero): Likewise.
16580         (fma_test_downward): Likewise.
16581         (fma_test_upward): Likewise.
16582
16583 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16584
16585         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16586
16587 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16588
16589         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16590         New variable.
16591
16592 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
16593
16594         * rt/tst-shm.c (worker): Correct checking for mmap failure.
16595
16596 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16597
16598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16599         Fix sort order.
16600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16601         Likewise.
16602
16603 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16604
16605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16606         Fix the order of the list for glibc 2.17.
16607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16608         Likewise.
16609
16610 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16611
16612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16613
16614 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16615
16616         [BZ #14610]
16617         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16618         for low part of x being zero before using __atanl (y).
16619         * math/libm-test.inc (atan2_test): Add another test.
16620
16621         * manual/install.texi (Configuring and compiling): Document
16622         general use of test-wrapper and test-wrapper-env.
16623         * INSTALL: Regenerated.
16624
16625         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16626         (__fma): Do not extract and scale down low bits on after-rounding
16627         systems when result rounded to normal precision would have normal
16628         exponent.
16629         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16630         (__fmal): Do not extract and scale down low bits on after-rounding
16631         systems when result rounded to normal precision would have normal
16632         exponent.
16633         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16634         (__fmal): Do not extract and scale down low bits on after-rounding
16635         systems when result rounded to normal precision would have normal
16636         exponent.
16637         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16638         macro.
16639         (fma_test): Add more tests.
16640         (fma_test_towardzero): Likewise.
16641         (fma_test_downward): Likewise.
16642         (fma_test_upward): Likewise.
16643
16644 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16645
16646         * sysdeps/i386/tininess.h: Renamed to ...
16647         * sysdeps/x86/tininess.h: This.
16648         * sysdeps/x86_64/tininess.h: Removed.
16649
16650 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16651
16652         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16653         input.  Use $(build-program-cmd).
16654         ($(objpfx)tst-array1-static.out): Likewise.
16655         ($(objpfx)tst-array2.out): Likewise.
16656         ($(objpfx)tst-array3.out): Likewise.
16657         ($(objpfx)tst-array4.out): Likewise.
16658         ($(objpfx)tst-array5.out): Likewise.
16659         ($(objpfx)tst-array5-static.out): Likewise.
16660
16661 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16662
16663         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16664         if defined.
16665
16666         * nss/nsswitch.h (nss_interface_function): Provide new
16667         macro for use with NSS functions.
16668         * grp/initgroups.c: Use new macro.
16669         * nss/getXXbyYY.c: Likewise.
16670         * nss/getXXbyYY_r.c: Likewise.
16671         * nss/getXXent.c: Likewise.
16672         * nss/getXXent_r.c: Likewise.
16673         * sysdeps/posix/getaddrinfo.c: Likewise.
16674
16675 2012-10-30  Andreas Jaeger  <aj@suse.de>
16676
16677         * po/ru.po: Update Russion translation from translation project.
16678
16679 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16680
16681         [BZ #14152]
16682         [BZ #14783]
16683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16684         result and shift together with sticky bit instead of replicating
16685         round-to-nearest rounding.
16686         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16687         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16688         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16689         missing underflow exceptions.
16690         (fma_test_towardzero): Add more tests.
16691         (fma_test_downward): Likewise.
16692         (fma_test_upward): Likewise.
16693
16694         [BZ #14047]
16695         * sysdeps/generic/tininess.h: New file.
16696         * sysdeps/i386/tininess.h: Likewise.
16697         * sysdeps/sh/tininess.h: Likewise.
16698         * sysdeps/x86_64/tininess.h: Likewise.
16699         * stdlib/tst-strtod-underflow.c: Likewise.
16700         * stdlib/tst-tininess.c: Likewise.
16701         * stdlib/strtod_l.c: Include <tininess.h>.
16702         (round_and_return): Do not set errno for exact underflow cases.
16703         Force an underflow exception when setting errno for underflow.
16704         Determine underflow based on rounding to normal precision if
16705         TININESS_AFTER_ROUNDING.
16706         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16707         ERANGE for exact underflow cases.
16708         * stdlib/Makefile (tests): Add tst-tininess and
16709         tst-strtod-underflow.
16710         ($(objpfx)tst-tininess): Use $(link-libm).
16711         ($(objpfx)tst-strtod-underflow): Likewise.
16712
16713 2012-10-30  Andreas Jaeger  <aj@suse.de>
16714
16715         [BZ#14767]
16716         * elf/Makefile (tests): Remove conditional for have-initfini-array
16717         since this is now always required and the variable does not exist
16718         anymore.
16719         (tests-static): Likewise.
16720         (modules-names): Likewise.
16721
16722         * po/eo.po: Add Esperanto translation from translation project.
16723
16724         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16725         merged with constructor/destructor.
16726         (init_array): Likewise.
16727         * elf/tst-array2dep.c (fini_array): Likewise.
16728         (init_array): Likewise.
16729
16730 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16731
16732         * manual/message.texi: Delete @cartouche tags.
16733
16734 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16735
16736         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16737         EOPNOTSUPP.
16738         * sysdeps/mach/hurd/fsync.c: Likewise.
16739
16740         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16741         [_POSIX_REALTIME_SIGNALS]: Change condition to
16742         [_POSIX_REALTIME_SIGNALS > 0].
16743
16744 2012-10-27  Andreas Jaeger  <aj@suse.de>
16745
16746         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16747         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16748         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16749         [__WORDSIZE != 64]: Likewise.
16750
16751 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16752
16753         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16754         *  iconvdata/tst-tables.sh: Likewise.
16755
16756 2012-10-25  David S. Miller  <davem@davemloft.net>
16757
16758         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16759         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16760         of strtoull.
16761
16762         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16763         ifunc-impl-list.c
16764         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16765         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16766         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16767         file.
16768
16769 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16770
16771         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16772         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16773         __getdirentries.
16774
16775 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16776             Jim Blandy  <jimb@codesourcery.com>
16777
16778         * scripts/cross-test-ssh.sh: New file.
16779         * manual/install.texi (Configuring and compiling): Document use of
16780         cross-test-ssh.sh.
16781         * INSTALL: Regenerated.
16782
16783 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16784
16785         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16786         EOPNOTSUPP.
16787
16788 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16789
16790         * Makeconfig (run-program-prefix): Fix comment.
16791
16792 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16793             Jim Blandy  <jimb@codesourcery.com>
16794
16795         * Makeconfig (test-wrapper): New variable,
16796         (test-wrapper-env): Likewise.
16797         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16798         (run-built-tests): Define to yes.
16799         (run-program-prefix): Use $(test-wrapper).
16800         (built-program-cmd): Likewise.
16801         * Rules (make-test-out): Use $(test-wrapper-env) and
16802         $(host-built-program-cmd).
16803         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16804         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16805         tst-pathopt.sh.
16806         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16807         $(test-wrapper-env) to tst-rtld-load-self.sh.
16808         ($(objpfx)order2.out): Use $(test-wrapper).
16809         ($(objpfx)tst-initorder.out): Likewise.
16810         ($(objpfx)tst-initorder2.out): Likewise.
16811         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16812         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16813         (test_wrapper_env): New variable.  Use it to run ld.so.
16814         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16815         Use it to run ld.so.
16816         (test_wrapper_env): Likewise.
16817         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16818         $(test-wrapper) to run-iconv-test.sh.
16819         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16820         (ICONV): Use $test_wrapper.
16821         * posix/Makefile ($(objpfx)globtest.out): Pass
16822         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16823         globtest.sh, not $(run-program-prefix).
16824         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16825         (test_wrapper): Likewise.
16826         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16827         set together with run_via_rtld_prefix.
16828         (run_program_prefix): Define in terms of test_wrapper and
16829         run_via_rtld_prefix.
16830
16831 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16832
16833         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16834         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16835         Targets removed.
16836
16837         [BZ #14743]
16838         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16839         Declare __clock_getres, __clock_gettime, __clock_settime,
16840         __clock_nanosleep, and __clock_getcpuclockid.
16841         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16842         Remove librt_hidden_def (clock_gettime).
16843         * sysdeps/unix/clock_gettime.c: Likewise.
16844         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16845         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16846         * rt/clock_getres.c: Define __clock_getres as an alias.
16847         * sysdeps/posix/clock_getres.c: Likewise.
16848         * rt/clock_settime.c: Define __clock_settime as an alias.
16849         * sysdeps/unix/clock_settime.c: Likewise.
16850         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16851         * sysdeps/unix/clock_nanosleep.c: Likewise.
16852         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16853         * rt/clock-compat.c: New file.
16854         * rt/Makefile (librt-routines): Add clock-compat and move
16855         $(clock-routines) to ...
16856         (routines): ... here, new variable.
16857         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16858         Don't add get_clockfreq here.
16859         * rt/Versions (libc: GLIBC_2.17): New version set.
16860         Add clock_* symbols here.
16861         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16862         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16863         (GLIBC_2.17): Add clock_* symbols.
16864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16866         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16868         Likewise.
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16870         Likewise.
16871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16875         * NEWS: Mention the move.
16876
16877         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16878         Use __open, __read, __close rather than their public counterparts.
16879         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16880         (__get_clockfreq_via_cpuinfo): Likewise.
16881         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16882         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16883
16884         * config.h.in (HAVE_IFUNC): New #undef.
16885         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16886         was successful.
16887         * configure: Regenerated.
16888
16889 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16890
16891         * configure.in: Move READELF check to start of file.
16892         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16893         libc_cv_asm_gnu_indirect_function in the process.
16894         * configure: Regenerated.
16895
16896 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16897
16898         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16899         send the output to /dev/null.
16900         (libc_cv_cc_with_libunwind): Likewise.
16901         (libc_cv_as_noexecstack): Likewise.
16902         * configure: Regenerate.
16903
16904 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16905
16906         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16907
16908         * posix/globtest.sh (TMPDIR): Do not set.
16909         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16910         (testout): Likewise.
16911
16912 2012-10-24  Andreas Jaeger  <aj@suse.de>
16913
16914         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16915         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16916         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16917         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16918         posix_fadvise64, posix_fallocate64.
16919
16920         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16921         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16922         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16923         Likewise.
16924         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16925         Likewise.
16926         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16927
16928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16929         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16930         <bits/fcntl-linux.h>.
16931         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16932
16933         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16934         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16935         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16936         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16937         [__WORDSIZE != 64]: Likewise.
16938
16939 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16940
16941         * Makeconfig (run-built-tests): New variable.
16942         * Rules [$(cross-compiling) = yes]: Change condition to
16943         [$(run-built-tests) = no].
16944         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16945         to [$(run-built-tests) = yes].
16946         * elf/Makefile [$(cross-compiling) = no]: Likewise
16947         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16948         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16949         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16950         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16951         * io/Makefile [$(cross-compiling) = no]: Likewise.
16952         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16953         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16954         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16955         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16956         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16957         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16958         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16959         * string/Makefile [$(cross-compiling) = no]: Likewise.
16960
16961         * posix/Makefile ($(objpfx)globtest.out): Pass
16962         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16963         $(rtld-installed-name).
16964         * posix/globtest.sh (elf_objpfx): Remove variable.
16965         (rtld_installed_name): Likewise.
16966         (library_path): Likewise.
16967         (run_program_prefix): New variable.  Use for running globtest
16968         binary.
16969
16970 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16971             Joseph Myers  <joseph@codesourcery.com>
16972
16973         * Makeconfig (host-built-program-cmd): New variable.
16974         * elf/Makefile (tst-stackguard1-ARGS): Use
16975         $(host-built-program-cmd).
16976         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16977         (tst-spawn-ARGS): Likewise.
16978         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16979
16980 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16981             Jim Blandy  <jimb@codesourcery.com>
16982
16983         * Makeconfig (run-via-rtld-prefix): New variable.
16984         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16985         (built-program-cmd): Likewise.
16986
16987 2012-10-22  Andreas Jaeger  <aj@suse.de>
16988
16989         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16990         __O_RSYNC if it exists, otherwise to O_SYNC.
16991
16992 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
16993             Joseph Myers  <joseph@codesourcery.com>
16994
16995         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16996         /dev/null.
16997         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16998         from /dev/null
16999         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17000         /dev/null.
17001
17002 2012-10-22  Andreas Jaeger  <aj@suse.de>
17003
17004         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17005         Define always.
17006         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17007
17008         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17009         bits/fcntl-linux.h.
17010
17011         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17012         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17013
17014         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17015         to __O_LARGEFILE.
17016         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17017         to __O_LARGEFILE.
17018
17019 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17020             Joseph Myers  <joseph@codesourcery.com>
17021
17022         * config.make.in (NM): New variable.
17023
17024 2012-10-21  Andreas Jaeger  <aj@suse.de>
17025
17026         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17027         definitions and declarations that are provided by
17028         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17029
17030 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17031
17032         [BZ #14683]
17033         * elf/Makefile (tests-static): Add tst-leaks1-static.
17034         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17035         ($(objpfx)tst-leaks1-static): New rule.
17036         ($(objpfx)tst-leaks1-static-mem): Likewise.
17037         (tst-leaks1-static-ENV): New macro.
17038         * elf/dl-open.c (dl_open_worker): Check the main application
17039         only if SHARED is defined.
17040         * elf/tst-leaks1-static.c: New file.
17041
17042 2012-10-20  Andreas Jaeger  <aj@suse.de>
17043
17044         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17045         generic values for Linux.
17046         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17047         and declarations that are provided by <bits/fcntl-linux.h> and
17048         include <bits/fcntl-linux.h>.
17049         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17051
17052 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17053
17054         * io/fcntl.h: Move include of <bits/types.h> to the top and
17055         include it unconditionally.
17056
17057 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17058
17059         * wcsmbs/Makefile (tests-ifunc): New variable.
17060         (tests): Add $(tests-ifunc).
17061         * wcsmbs/test-wcschr-ifunc.c: New file.
17062         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17063         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17064         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17065         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17066         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17067
17068         * string/Makefile (tests-ifunc): New variable.
17069         (tests): Add $(tests-ifunc).
17070         * string/test-memccpy.c (TEST_NAME): New macro.
17071         * string/test-memchr.c (TEST_NAME): Likewise.
17072         * string/test-memcmp.c (TEST_NAME): Likewise.
17073         * string/test-memcpy.c (TEST_NAME): Likewise.
17074         * string/test-memmem.c (TEST_NAME): Likewise.
17075         * string/test-memmove.c (TEST_NAME): Likewise.
17076         * string/test-memset.c (TEST_NAME): Likewise.
17077         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17078         * string/test-stpcpy.c (TEST_NAME): Likewise.
17079         * string/test-stpncpy.c (TEST_NAME): Likewise.
17080         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17081         * string/test-strcasestr.c (TEST_NAME): Likewise.
17082         * string/test-strcat.c (TEST_NAME): Likewise.
17083         * string/test-strchr.c (TEST_NAME): Likewise.
17084         * string/test-strcmp.c(TEST_NAME): Likewise.
17085         * string/test-strcpy.c (TEST_NAME): Likewise.
17086         * string/test-strcspn.c (TEST_NAME): Likewise.
17087         * string/test-strlen.c (TEST_NAME): Likewise.
17088         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17089         * string/test-strncmp.c (TEST_NAME): Likewise.
17090         * string/test-strncpy.c (TEST_NAME): Likewise.
17091         * string/test-strnlen.c (TEST_NAME): Likewise.
17092         * string/test-strpbrk.c (TEST_NAME): Likewise.
17093         * string/test-strrchr.c (TEST_NAME): Likewise.
17094         * string/test-strspn.c (TEST_NAME): Likewise.
17095         * string/test-strstr.c (TEST_NAME): Likewise.
17096         * string/test-bcopy-ifunc.c: New file.
17097         * string/test-bzero-ifunc.c: Likewise.
17098         * string/test-memccpy-ifunc.c: Likewise.
17099         * string/test-memchr-ifunc.c: Likewise.
17100         * string/test-memcmp-ifunc.c: Likewise.
17101         * string/test-memcpy-ifunc.c: Likewise.
17102         * string/test-memmem-ifunc.c: Likewise.
17103         * string/test-memmove-ifunc.c: Likewise.
17104         * string/test-mempcpy-ifunc.c: Likewise.
17105         * string/test-memset-ifunc.c: Likewise.
17106         * string/test-rawmemchr-ifunc.c: Likewise.
17107         * string/test-stpcpy-ifunc.c: Likewise.
17108         * string/test-stpncpy-ifunc.c: Likewise.
17109         * string/test-strcasecmp-ifunc.c: Likewise.
17110         * string/test-strcasestr-ifunc.c: Likewise.
17111         * string/test-strcat-ifunc.c: Likewise.
17112         * string/test-strchr-ifunc.c: Likewise.
17113         * string/test-strchrnul-ifunc.c: Likewise.
17114         * string/test-strcmp-ifunc.c: Likewise.
17115         * string/test-strcpy-ifunc.c: Likewise.
17116         * string/test-strcspn-ifunc.c: Likewise.
17117         * string/test-strlen-ifunc.c: Likewise.
17118         * string/test-strncasecmp-ifunc.c: Likewise.
17119         * string/test-strncat-ifunc.c: Likewise.
17120         * string/test-strncmp-ifunc.c: Likewise.
17121         * string/test-strncpy-ifunc.c: Likewise.
17122         * string/test-strnlen-ifunc.c: Likewise.
17123         * string/test-strpbrk-ifunc.c: Likewise.
17124         * string/test-strrchr-ifunc.c: Likewise.
17125         * string/test-strspn-ifunc.c: Likewise.
17126         * string/test-strstr-ifunc.c: Likewise.
17127
17128         * debug/Makefile (tests-ifunc): New variable.
17129         (tests): Add $(tests-ifunc).
17130         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17131         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17132         * debug/test-stpcpy_chk-ifunc.c: New file.
17133         * debug/test-strcpy_chk-ifunc.c: Likewise.
17134
17135 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17136
17137         [BZ #13601]
17138         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17139         header is not read in.
17140
17141 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17142
17143         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17144         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17145         directly.  Pass built executable to script as
17146         $(built-program-cmd).
17147         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17148         $testprogram without using LD_LIBRARY_PATH and $ldso.
17149
17150         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17151         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17152         $(rtld-installed-name).
17153         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17154         (rtld_installed_name): Likewise.
17155         (library_path): Likewise.
17156         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17157         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17158         $(run-program-prefix) to tst-tables.sh.
17159         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17160         it to run tst-table-from and tst-table-to.
17161         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17162         Pass it to tst-table.sh.
17163         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17164         $(run-program-prefix) to tst-gettext.sh.
17165         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17166         tst-translit.sh.
17167         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17168         tst-gettext2.sh.
17169         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17170         to run tst-gettext.
17171         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17172         to run tst-gettext2.
17173         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17174         to run tst-translit.
17175         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17176         $(run-program-prefix) to tst-mtrace.sh.
17177         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17178         to run tst-mtrace.
17179         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17180         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17181         $(rtld-installed-name).
17182         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17183         (rtld_installed_name): Likewise.
17184         (run_program_prefix): New variable.  Use it to run wordexp-test.
17185
17186         * Makeconfig (ARCH): Remove all definitions.
17187         (machine): Likewise.
17188         [ARCH]: Remove conditional code.
17189         [!objdir]: Give error.
17190         [!objdir] (objpfx): Remove.
17191         [!objdir] (common-objpfx): Likewise.
17192         [!objdir] (common-objdir): Likewise.
17193         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17194         AC_CONFIG_FILES call.
17195         * configure: Regenerated.
17196
17197         [BZ #13888]
17198         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17199         or TMPDIR.
17200         (testout): Likewise.
17201
17202         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17203         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17204         $(rtld-installed-name).
17205         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17206         (rtld_installed_name): Likwise.
17207         (runit): Remove function.
17208         (run_getconf): New variable,  Use it for running getconf binary.
17209
17210 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17211
17212         [BZ #14716]
17213         * string/test-memmem.c (check_result): New function.
17214         (do_one_test): Use it.
17215         (check1): New function.
17216         (test_main): Use it.
17217
17218 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17219
17220         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17221
17222 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17223
17224         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17225         (_G_LSEEK64): Likewise.
17226         (_G_MMAP64): Likewise.
17227         (_G_FSTAT64): Likewise.
17228         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17229         (_G_LSEEK64): Likewise.
17230         (_G_MMAP64): Likewise.
17231         (_G_FSTAT64): Likewise.
17232         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17233         unconditional.  Call __mmap64 directly.
17234         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17235         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17236         __lseek64 directly.
17237         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17238         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17239         __mmap64 directly.
17240         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17241         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17242         __lseek64 directly.
17243         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17244         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17245         __lseek64 directly.
17246         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17247         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17248         __lseek64 directly.
17249         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17250         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17251         __fxstat64 directly.
17252         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17253         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17254         unconditional.
17255         (freopen64) [!_G_OPEN64]: Remove conditional code.
17256         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17257         unconditional.
17258         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17259         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17260         unconditional.
17261         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17262         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17263         unconditional.
17264         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17265         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17266         unconditional.
17267         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17268         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17269         unconditional.
17270         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17271         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17272         unconditional.
17273         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17274         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17275         unconditional.
17276         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17277
17278 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17279
17280         [BZ #12140]
17281         * manual/memory.texi (Malloc Tunable Parameters): Add note
17282         about free list pointers overwriting some perturb bytes.
17283         Wording suggested by Roland McGrath.
17284
17285 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17286
17287         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17288         (lgamma_test): Likewise.
17289         (tgamma_test): Likewise.
17290
17291 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17292
17293         [BZ #14700]
17294         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17295         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17296
17297 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17298
17299         * NEWS: Mention BZ #14716.
17300         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17301         when removing AVAILABLE1_USES_J macro.
17302
17303 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17304
17305         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17306         (__bswap_64): __uint64_t for unsigned 64-bit int.
17307
17308 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17309
17310         * include/string.h (memmem): Declare libc hidden alias.
17311         * string/memmem.c (memmem): Define libc hidden alias.
17312         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17313         __read, __close instead of open, read, close.
17314
17315 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17316
17317         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17318         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17319         global and hidden.
17320         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17321         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17322         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17323         Likewise.
17324         (__rawmemchr_sse2): Likewise.
17325         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17326         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17327         (__strchr_sse2): Likewise.
17328         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17329         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17330         (__strcasecmp_sse2): Likewise.
17331         (__strncasecmp_sse2): Likewise.
17332         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17333         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17334         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17335         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17336         (__strrchr_sse2): Likewise.
17337         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17338         ifunc-impl-list.c.
17339         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17340         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17341         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17342         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17343         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17344         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17345         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17346         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17347         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17348         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17349         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17350         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17351         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17352         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17353         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17354         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17355         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17356         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17357         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17358         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17359         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17360         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17361         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17362         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17363         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17364         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17365         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17366         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17367         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17368         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17369
17370         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17371         global and hidden.
17372         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17373         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17374         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17375         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17376         Likewise.
17377         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17378         Likewise.
17379         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17380         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17381         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17382         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17383         ifunc-impl-list.c.
17384         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17385         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17386         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17387         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17388         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17389         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17390         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17391         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17392         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17393         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17394         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17395         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17396         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17397         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17398         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17399         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17400         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17401         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17402         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17403         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17404         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17405         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17406         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17407         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17408         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17409         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17410         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17411         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17412         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17413         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17414         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17415         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17416         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17417         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17418         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17419         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17420         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17421         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17422         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17423         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17424         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17425
17426         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17427         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17428         * include/ifunc-impl-list.h: New file.
17429         * misc/ifunc-impl-list.c: Likewise.
17430         * misc/Makefile (routines): Add ifunc-impl-list.
17431         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17432         * string/test-string.h: Include <ifunc-impl-list.h>.
17433         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17434         impl_array): New variables.
17435         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17436         are defined.
17437         (test_init): Call __libc_ifunc_impl_list to initialize
17438         func_list if TEST_IFUNC and TEST_NAME are defined.
17439
17440         * string/Makefile (strop-tests): Add bcopy and bzero.
17441         * string/test-bcopy.c: New file.
17442         * string/test-bzero.c: Likewise.
17443         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17444         defined.
17445         * string/test-memset.c: Support bzero test if TEST_BZERO is
17446         defined.
17447         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17448         __libc_memmove.
17449         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17450         __libc_memset.
17451         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17452         of memset.
17453
17454 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17455
17456         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17457         * configure: Regenerated.
17458
17459         * Makeconfig (+link-static-before-libc): Don't include
17460         $(link-static-libc).
17461
17462         * libio/libio.h (_IO_pos_t): Remove.
17463
17464 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17465
17466         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17467         McGrath.
17468
17469 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17470
17471         * crypt/crypt-entry.c: Include fips-private.h.
17472         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17473         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17474         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17475         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17476
17477 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17478
17479         * crypt/crypt-private.h: Include stdbool.h.
17480         (_ufc_setup_salt_r): Return bool.
17481         * crypt/crypt-entry.c: Include errno.h.
17482         (__crypt_r): Return NULL with EINVAL for bad salt.
17483         * crypt/crypt_util.c (bad_for_salt): New.
17484         (_ufc_setup_salt_r): Check that salt is long enough and within
17485         the specified alphabet.
17486         * crypt/badsalttest.c: New file.
17487         * crypt/Makefile (tests): Add it.
17488         ($(objpfx)badsalttest): New.
17489
17490 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17491
17492         * NEWS: Add entry for BZ #14602.
17493
17494 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17495
17496         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17497         type-generic.
17498         * math/libm-test.inc: Update comment listing what functions and
17499         macros are tested.
17500         (isgreater_test): New function.
17501         (isgreaterequal_test): Likewise.
17502         (isless_test): Likewise.
17503         (islessequal_test): Likewise.
17504         (islessgreater_test): Likewise.
17505         (isunordered_test): Likewise.
17506         (main): Call the new functions.
17507
17508 2012-10-09  Roland McGrath  <roland@hack.frob.com>
17509
17510         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17511         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17512         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17513         * sysdeps/i386/configure: Regenerated.
17514         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17515         * sysdeps/mach/configure: Regenerated.
17516         * sysdeps/mach/hurd/configure: Regenerated.
17517         * sysdeps/powerpc/configure: Regenerated.
17518         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17519         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17520         * sysdeps/s390/s390-32/configure: Regenerated.
17521         * sysdeps/s390/s390-64/configure: Regenerated.
17522         * sysdeps/sh/configure: Regenerated.
17523         * sysdeps/sparc/configure: Regenerated.
17524         * sysdeps/unix/sysv/linux/configure: Regenerated.
17525         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17526         * sysdeps/x86_64/configure: Regenerated.
17527
17528         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17529         defined.  Don't check if MAP is NULL.
17530
17531 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17532
17533         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17534         (_G_stat64): Likewise.
17535         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17536         (_G_stat64): Likewise.
17537         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17538         instead of struct _G_stat64.
17539         * libio/fileops.c (mmap_remap_check): Likewise.
17540         (decide_maybe_mmap): Likewise.
17541         (_IO_new_file_seekoff): Likewise.
17542         (_IO_file_stat): Likewise.
17543         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17544         _G_off64_t.
17545         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17546         instead of struct _G_stat64.
17547         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17548
17549 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
17550
17551         [BZ #14602]
17552         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17553         Replace with ...
17554         (CHECK_EOL): New macro.
17555         (two_way_short_needle): Check beginning of haystack for EOL.  Use
17556         CHECK_EOL.
17557         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17558         Replace with CHECK_EOL.
17559         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17560         Replace with CHECK_EOL.
17561
17562 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
17563
17564         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17565         type-generic.
17566         * math/libm-test.inc: Update comment listing what functions and
17567         macros are tested.
17568         (finite_test): New function.
17569         (isinf_test): Likewise.
17570         (isnan_test): Likewise.
17571         (fpclassify_test): Test subnormal input.
17572         (isfinite_test): Likewise.
17573         (isnormal_test): Likewise.
17574         (main): Call the new functions.
17575
17576 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
17577
17578         [BZ #14660]
17579         * Makerules (%.dynsym): Force C locale when running
17580         $(OBJDUMP) --dynamic-syms.
17581
17582 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
17583
17584         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17585         <stdint.h>.
17586
17587 2012-10-06  David S. Miller  <davem@davemloft.net>
17588
17589         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17590         upper 32-bits of the length value in %o2 since we use branch-on-register
17591         tests which consider the entire 64-bit register.
17592
17593 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
17594
17595         * string/test-strstr.c (check2): Add a test for page boundary.
17596
17597 2012-10-05  David S. Miller  <davem@davemloft.net>
17598
17599         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17600         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17601         file.
17602         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17603         sysdep_routines.
17604         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17605         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17606         and bzero when HWCAP_SPARC_CRYPTO is present.
17607
17608 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17609
17610         [BZ #14602]
17611         * string/test-strstr.c (check2): New function.
17612         (test_main): Call check2.
17613
17614         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17615         and bug-strchr1.
17616         * string/bug-strcasestr1.c (do_test): Moved to ...
17617         * string/test-strcasestr.c (check1): Here.  New function.
17618         (do_one_test): Break out result checking code into ...
17619         (check_result): This.  New function.
17620         (do_one_test): Call check_result.
17621         (test_main): Call check1.
17622         * string/bug-strchr1.c (do_test): Moved to ...
17623         * string/test-strchr.c (check1): Here.  New function.
17624         (do_one_test): Break out result checking code into ...
17625         (check_result): This.  New function.
17626         (do_one_test): Call check_result.
17627         (test_main): Call check1.
17628         * string/bug-strstr1.c (main): Moved to ...
17629         * string/test-strstr.c (check1): Here.  New function.
17630         (do_one_test): Break out result checking code into ...
17631         (check_result): This.  New function.
17632         (do_one_test): Call check_result.
17633         (test_main): Call check1.
17634         * string/bug-strcasestr1.c: Removed.
17635         * string/bug-strchr1.c: Likewise.
17636         * string/bug-strstr1.c: Likewise.
17637
17638         * elf/Makefile (dl-routines): Add hwcaps.
17639         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17640         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17641         (_dl_important_hwcaps): Moved to ...
17642         * elf/dl-hwcaps.c: Here.  New file.
17643         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17644
17645         [BZ #14557]
17646         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17647         if IS_IN_rtld isn't defined.
17648
17649         * elf/dl-support.c (_dl_sysinfo_map): New.
17650         Include "get-dynamic-info.h" and "setup-vdso.h".
17651         (_dl_non_dynamic_init): Call setup_vdso.
17652         * elf/dynamic-link.h: Don't include <assert.h>.
17653         (elf_get_dynamic_info): Moved to ...
17654         * elf/get-dynamic-info.h: Here.  New file.
17655         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17656         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17657         * elf/setup-vdso.h: Here.  New file.
17658         * elf/rtld.c: Include "setup-vdso.h".
17659         (dl_main): Call setup_vdso.
17660
17661 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17662
17663         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17664         creal in comment listing functions tested.  List finite, isinf,
17665         isnan, isless, islessequal, isgreater, isgreaterequal,
17666         islessgreater, isunordered, lgamma_r and pow10 as functions and
17667         macros not tested.  Mention which functions not tested are aliases
17668         for other functions.  Fix typo.  Note that signs of NaNs are not
17669         tested.
17670
17671         * scripts/config.guess: Update from config.git.
17672         * scripts/config.sub: Likewise.
17673
17674 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17675
17676         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17677         * misc/madvise.c (madvise): Renamed to __madvise.
17678         Make madvise a weak alias.
17679         * include/sys/mman.h: Declare __madvise.
17680         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17681         * sysdeps/unix/syscalls.list
17682         (madvise): Make __madvise the strong name, and madvise a weak alias.
17683         * sysdeps/unix/sysv/linux/syscalls.list
17684         (madvise, mmap): Remove redundant entries.
17685         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17686         * malloc/malloc.c (mtrim): Likewise.
17687         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17688
17689 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17690
17691         * sysdeps/mach/hurd/dl-cache.c: File removed.
17692         * config.h.in (USE_LDCONFIG): New #undef.
17693         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17694         * configure: Regenerated.
17695         * elf/Makefile (dl-routines): Add dl-cache only under
17696         [$(use-ldconfig) = yes].
17697         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17698         cache on [USE_LDCONFIG].
17699         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17700         [USE_LDCONFIG].
17701         * elf/rtld.c (dl_main): Likewise.
17702
17703 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17704
17705         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17706         _SC_LEVEL4_CACHE_LINESIZE.
17707
17708 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17709
17710         * sysdeps/unix/bsd/confstr.h: File removed.
17711
17712 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17713
17714         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17715         sys/sdt-config.h.
17716
17717 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17718
17719         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17720         Make 'mapoff' field ElfW(Off) rather than off_t.
17721
17722 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17723
17724         * nscd/Makefile: Remove nscd-cflags and all its users.
17725         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17726         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17727
17728         [BZ #10631]
17729         * malloc.c (malloc_printerr): Clarify error message.
17730
17731 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17732
17733         [BZ #14648]
17734         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17735         Set bit_FMA_Usable if FMA is supported.
17736         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17737         macro.
17738         (bit_FMA4_Usable): Updated.
17739         (index_FMA_Usable): New macro.
17740         (CPUID_FMA): Likewise
17741         (HAS_FMA): Defined with bit_FMA_Usable.
17742
17743 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17744
17745         * bits/types.h (__swblk_t): Type removed.
17746         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17747         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17748         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17749         (__SWBLK_T_TYPE): Likewise.
17750         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17751         (__SWBLK_T_TYPE): Likewise.
17752         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17753         (__SWBLK_T_TYPE): Likewise.
17754         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17755         (__SWBLK_T_TYPE): Likewise.
17756
17757 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17758             Honza Horak <hhorak@redhat.com>
17759
17760         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17761         (xdr_mapname): Use YPMAXMAP as maxsize.
17762         (xdr_peername): Use YPMAXPEER as maxsize.
17763         (xdr_keydat): Use YPAXRECORD as maxsize.
17764         (xdr_valdat): Use YPMAXRECORD as maxsize.
17765
17766 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17767
17768         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17769
17770         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17771         * csu/init-first.c: ... here.
17772         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17773         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17774         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17775         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17776         * sysdeps/i386/init-first.c: File removed.
17777         * sysdeps/sh/init-first.c: File removed.
17778
17779 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17780
17781         [BZ #14645]
17782         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17783         if x * y might underflow to zero and z is zero.
17784         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17785         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17786         * math/libm-test.inc (min_subnorm_value): New variable.
17787         (fma_test): Add more tests.
17788         (fma_test_towardzero): Likewise.
17789         (fma_test_downward): Likewise
17790         (fma_test_upward): Likewise.
17791         (initialize): Set min_subnorm_value.
17792
17793 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17794
17795         [BZ #14638]
17796         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17797         0 + 0.
17798         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17799         mode for addition resulting in exact zero.
17800         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17801         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17802         exact 0 + 0.
17803         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17804         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17805         * math/libm-test.inc (fma_test): Add more tests.
17806         (fma_test_towardzero): New function.
17807         (fma_test_downward): Likewise.
17808         (fma_test_upward): Likewise.
17809         (main): Call the new functions.
17810
17811 2012-09-28  David S. Miller  <davem@davemloft.net>
17812
17813         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17814
17815 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17816
17817         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17818         instead of SIGALRM.
17819
17820         * sysdeps/gnu/_G_config.h: Moved to ...
17821         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17822         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17823         * sysdeps/generic/_G_config.h: ... here.
17824
17825         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17826
17827         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17828
17829         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17830         Conditionalize target on [libnss_test1.so-version].
17831
17832         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17833
17834         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17835         (elfobjdir): Move out of conditionals.
17836
17837         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17838         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17839         (__nss_lookup_function): Conditionalize label remove_from_tree on
17840         [!DO_STATIC_NSS || SHARED], matching its only use.
17841
17842 2012-09-28  David S. Miller  <davem@davemloft.net>
17843
17844         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17845         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17846         file.
17847         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17848         sysdep_routines.
17849         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17850         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17851         when HWCAP_SPARC_CRYPTO is present.
17852
17853 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17854
17855         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17856
17857 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17858
17859         [BZ #6530]
17860         * stdio-common/vfprintf.c (process_string_arg): Revert
17861         2000-07-22 change.
17862
17863 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17864
17865         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17866         for testcase.
17867         * stdio-common/tst-sprintf.c: Include <locale.h>
17868         (main): Test sprintf's handling of incomplete multibyte
17869         characters.
17870
17871 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17872
17873         * elf/dl-runtime.c (VERSYMIDX): Removed.
17874         * elf/dl-version.c (VERSYMIDX): Likewise.
17875         * elf/do-rel.h (VERSYMIDX): Likewise.
17876         (VALIDX): Likewise.
17877         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17878         * elf/rtld.c (VALIDX): Likewise.
17879         (ADDRIDX): Likewise.
17880         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17881         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17882         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17883         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17884         (VALIDX): Likewise.
17885         (ADDRIDX): Likewise.
17886
17887 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17888
17889         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17890
17891 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17892
17893         [BZ #11438]
17894         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17895         to global scope.
17896         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17897         addresses are in the same scope as 192.0.2/24.
17898         * posix/gai.conf: Document new scope table defaults.
17899
17900 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17901
17902         [BZ #5298]
17903         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17904         for ftell.  Compute offsets from write pointers instead.
17905         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17906
17907 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17908
17909         [BZ #14543]
17910         * libio/Makefile (tests): New test case tst-fseek.
17911         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17912         combination works in wide mode.
17913         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17914         state when the external buffer state changes.
17915
17916 2012-09-27  David S. Miller  <davem@davemloft.net>
17917
17918         [BZ #14376]
17919         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17920         pass reloc->r_addend in as the 'high' argument to
17921         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17922
17923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17924
17925 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17926
17927         * rt/tst-aio2.c: Include <pthread.h>.
17928         * rt/tst-aio3.c: Likewise.
17929
17930 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17931
17932         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17933
17934 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17935
17936         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17937         contents on [SHARED].
17938
17939 2012-09-26  Marek Polacek  <polacek@redhat.com>
17940
17941         [BZ #14530]
17942         [BZ #13741]
17943         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17944         for C++ and GCC <4.3 as well as for non GCC compilers.
17945
17946 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17947
17948         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17949
17950 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17951
17952         * Makefile.in (all, install): Declare with .PHONY.
17953         Reported by Michael Hope <michael.hope@linaro.org>.
17954
17955 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17956
17957         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17958         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17959         system header.
17960         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17961         Likewise.
17962         (sydep_routines): Add the new and the internal functions.
17963         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17964         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17966         (GLIBC_2.17): Add the new function.
17967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17968         (GLIBC_2.17): Likewise.
17969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17970         (GLIBC_2.17): Likewise.
17971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17972         (GLIBC_2.17): Likewise.
17973         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17974
17975 2012-09-25  Alan Modra  <amodra@gmail.com>
17976
17977         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17978         Add release barrier before setting once_control to say
17979         initialisation is done.  Add hints on lwarx.  Use macro in
17980         place of isync.
17981         (clear_once_control): Add release barrier.
17982
17983 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17984
17985         [BZ #13629]
17986         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17987         specially.
17988         * math/s_clog10.c (__clog10): Likewise.
17989         * math/s_clog10f.c (__clog10f): Likewise.
17990         * math/s_clog10l.c (__clog10l): Likewise.
17991         * math/s_clogf.c (__clogf): Likewise.
17992         * math/s_clogl.c (__clogl): Likewise.
17993         * math/Makefile (libm-calls): Add x2y2m1.
17994         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17995         (__x2y2m1): Likewise.
17996         (__x2y2m1l): Likewise.
17997         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17998         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17999         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18000         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18001         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18002         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18003         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18004         * sysdeps/i386/fpu/libm-test-ulps: Update.
18005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18006
18007         [BZ #14621]
18008         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18009         int as type of variable DEPTH.
18010         (glob): Use size_t instead of int as type of variables NEWCOUNT
18011         and OLD_PATHC.
18012
18013 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18014
18015         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18016         Add s_sincosf-sse2.
18017         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18018         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18019         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18020         macros for using routine as __sincosf_ia32.
18021         Use macro for function declaration and weak_alias.
18022         * sysdeps/i386/fpu/libm-test-ulps: Update.
18023
18024         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18025         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18026
18027         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18028         subnormal argument.
18029         * math/s_cexpf.c (__cexpf): Likewise.
18030         * math/s_csinf.c (__csinf): Likewise.
18031         * math/s_csinhf.c (__csinhf): Likewise.
18032         * math/s_ctanf.c (__ctanf): Likewise.
18033         * math/s_ctanhf.c (__ctanhf): Likewise.
18034         * math/s_ccosh.c (__ccoshf): Likewise.
18035         * math/s_cexp.c (__cexpl): Likewise.
18036         * math/s_csin.c (__csin): Likewise.
18037         * math/s_csinh.c (__csinh): Likewise.
18038         * math/s_ctan.c (__ctan): Likewise.
18039         * math/s_ctanh.c (ctanh): Likewise.
18040         * math/s_ccoshl.c (__ccoshl): Likewise.
18041         * math/s_cexpl.c (__cexpl): Likewise.
18042         * math/s_csinl.c (__csinl): Likewise.
18043         * math/s_csinhl.c (__csinhl): Likewise.
18044         * math/s_ctanl.c (__ctanl): Likewise.
18045         * math/s_ctanhl.c (__ctanhl): Likewise.
18046
18047 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18048
18049         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18050         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18051         (_IO_off_t): Define to __off_t, not _G_off_t.
18052         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18053         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18054         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18055         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18056         type of __dummy and __dummy2 fields.
18057         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18058         (_G_ssize_t): Likewise.
18059         (_G_off_t): Likewise.
18060         (_G_pid_t): Likewise.
18061         (_G_uid_t): Likewise.
18062         (_G_wchar_t): Likewise.
18063         (_G_wint_t): Likewise.
18064         * sysdeps/gnu/_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/mach/hurd/_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
18079 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18080
18081         * malloc/arena.c: Include malloc-sysdep.h.
18082         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18083         is sufficient to shrink the heap or an unmap is needed.
18084         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18085         new function check_may_shrink_heap.
18086         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18087         new function check_may_shrink_heap.
18088
18089 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18090
18091         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18092         comments.
18093
18094 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18095
18096         * catgets/test-gencat.sh: Add "set -e".
18097         * elf/tst-pathopt.sh: Likewise.
18098         * grp/tst_fgetgrent.sh: Likewise.
18099         * iconvdata/run-iconv-test.sh: Likewise.
18100         * intl/tst-gettext.sh: Likewise.
18101         * intl/tst-gettext2.sh: Likewise.
18102         * intl/tst-gettext4.sh: Likewise.
18103         * intl/tst-gettext6.sh: Likewise.
18104         * intl/tst-translit.sh: Likewise.
18105         * io/ftwtest-sh: Likewise.
18106         * libio/test-freopen.sh: Likewise.
18107         * malloc/tst-mtrace.sh: Likewise.
18108         * posix/globtest.sh: Likewise.
18109         * posix/tst-getconf.sh: Likewise.
18110         * posix/wordexp-tst.sh: Likewise.
18111         * stdio-common/tst-printf.sh: Likewise.
18112         * stdio-common/tst-unbputc.sh: Likewise.
18113         * stdlib/tst-fmtmsg.sh: Likewise.
18114         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18115         * catgets/Makefile: Do not specify -e option when running
18116         testsuite shell scripts.
18117         * elf/Makefile: Likewise.
18118         * grp/Makefile: Likewise.
18119         * iconvdata/Makefile: Likewise.
18120         * intl/Makefile: Likewise.
18121         * io/Makefile: Likewise.
18122         * libio/Makefile: Likewise.
18123         * malloc/Makefile: Likewise.
18124         * posix/Makefile: Likewise.
18125         * stdio-common/Makefile: Likewise.
18126         * stdlib/Makefile: Likewise.
18127         * sysdeps/x86_64/Makefile: Likewise.
18128
18129         * io/ftwtest-sh: Add copyright header.
18130         * posix/globtest.sh: Likewise.
18131         * posix/tst-getconf.sh: Likewise.
18132         * posix/wordexp-tst.sh: Likewise.
18133         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18134
18135 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18136
18137         [BZ #13679]
18138         * Makeconfig (+link): Defined as $(+link-static) if
18139         $(build-shared) isn't yes.
18140         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18141         isn't yes.
18142         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18143
18144         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18145
18146         [BZ #14562]
18147         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18148         new chunk size with MALLOC_ALIGN_MASK.
18149
18150 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18151
18152         [BZ #5044]
18153         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18154         <rounding-mode.h>.
18155         (__printf_fphex): Determine rounding using get_rounding_mode and
18156         round_away.
18157         * stdio-common/tst-printf-round.c (struct hex_test): New
18158         structure.
18159         (hex_tests): New variable.
18160         (test_hex_in_one_mode): New function.
18161         (do_test): Also run tests for hex float output.
18162
18163 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18164
18165         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18166         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18167         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18168         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18169         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18170         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18171         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18172         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18173
18174 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18175
18176         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18177         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18178         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18179         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18180
18181 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18182
18183         [BZ #14579]
18184         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18185         mode only.
18186         * elf/tst-rtld-load-self.sh: New test.
18187         * elf/Makefile: Run it.
18188
18189 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18190
18191         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18192         (tst-writev-ENV): Remove.
18193         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18194
18195 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18196
18197         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18198
18199 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18200
18201         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18202         unconditional.
18203         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18204         Likewise.
18205         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18206         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18207         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18208         Likewise.
18209
18210 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18211
18212         [BZ #14587]
18213         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18214         * config.make.in (have-cpp-asm-debuginfo): Removed.
18215         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18216         * configure: Regenerated.
18217
18218 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18219
18220         [BZ #5044]
18221         * stdio-common/printf_fp.c: Include <stdbool.h> and
18222         <rounding-mode.h>.
18223         (___printf_fp): Determine rounding using get_rounding_mode and
18224         round_away.
18225         * stdio-common/tst-printf-round.c: New file.
18226         * stdio-common/Makefile (tests): Add tst-printf-round.
18227         (link-libm): New variable.
18228         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18229
18230 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18231
18232         [BZ #14576]
18233         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18234         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18235         Likewise.
18236         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18237         Likewise.
18238
18239 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18240
18241         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18242         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18243         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18244         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18245
18246 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18247
18248         [BZ #14518]
18249         * include/rounding-mode.h: New file.
18250         * sysdeps/generic/get-rounding-mode.h: Likewise.
18251         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18252         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18253         (MAX_VALUE): New macro.
18254         (MIN_VALUE): Likewise.
18255         (overflow_value): New function.
18256         (underflow_value): Likewise.
18257         (round_and_return): Use overflow_value and underflow_value to
18258         determine return values in overflow and underflow cases.  Use
18259         round_away to determine rounding depending on rounding mode.
18260         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18261         determine return values in overflow and underflow cases.
18262         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18263         (struct test_results): New structure.
18264         (struct test): Use struct test_results to store expected results
18265         for all rounding modes.
18266         (TEST): Include expected results for all rounding modes.
18267         (test_in_one_mode): New function.
18268         (do_test): Use test_in_one_mode to compute and check results.
18269         Check results for all rounding modes.
18270         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18271         $(link-libm).
18272
18273 2012-12-09  Allan McRae  <allan@archlinux.org>
18274
18275         * sysdeps/i386/fpu/libm-test-ulps: Update
18276
18277 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18278
18279         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18280         (_G_int32_t): Likewise.
18281         (_G_uint16_t): Likewise.
18282         (_G_uint32_t): Likewise.
18283         (_G_HAVE_BOOL): Likewise.
18284         (_G_HAVE_ATEXIT): Likewise.
18285         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18286         (_G_HAVE_IO_FILE_OPEN): Likewise.
18287         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18288         (_G_int32_t): Likewise.
18289         (_G_uint16_t): Likewise.
18290         (_G_uint32_t): Likewise.
18291         (_G_HAVE_BOOL): Likewise.
18292         (_G_HAVE_ATEXIT): Likewise.
18293         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18294         (_G_HAVE_IO_FILE_OPEN): Likewise.
18295         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18296         (_G_int32_t): Likewise.
18297         (_G_uint16_t): Likewise.
18298         (_G_uint32_t): Likewise.
18299         (_G_HAVE_BOOL): Likewise.
18300         (_G_HAVE_ATEXIT): Likewise.
18301         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18302         (_G_HAVE_IO_FILE_OPEN): Likewise.
18303
18304 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18305
18306         * csu/libc-tls.c: Update copyright years.
18307
18308 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18309
18310         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18311         [!_G_USING_THUNKS]: Remove conditional code.
18312         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18313         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18314
18315         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18316         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18317         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18318         (_G_VTABLE_LABEL_PREFIX): Likewise.
18319         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18320         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18321         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18322         (_G_VTABLE_LABEL_PREFIX): Likewise.
18323         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18324         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18325         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18326         (_G_VTABLE_LABEL_PREFIX): Likewise.
18327         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18328
18329 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18330
18331         * libio/Makefile: Include ../Makeconfig before tests.
18332         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18333         only if $(build-shared) is yes.
18334
18335         * iconv/gconv_db.c: Update copyright years.
18336
18337 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18338
18339         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18340         unwind info if defined PIC. Fix special cases description.
18341         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18342
18343         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18344         DP_HI_MASK entry.
18345         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18346
18347 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18348
18349         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18350
18351         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18352         is NULL.
18353
18354         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18355         (LDLIBS-tst-chk4): This.
18356         (LDFLAGS-tst-chk5): Renamed to ...
18357         (LDLIBS-tst-chk5): This.
18358         (LDFLAGS-tst-chk6): Renamed to ...
18359         (LDLIBS-tst-chk6): This.
18360         (LDFLAGS-tst-lfschk4): Renamed to ...
18361         (LDLIBS-tst-lfschk4): This.
18362         (LDFLAGS-tst-lfschk5): Renamed to ...
18363         (LDLIBS-tst-lfschk5): This.
18364         (LDFLAGS-tst-lfschk6): Renamed to ...
18365         (LDLIBS-tst-lfschk6): This.
18366
18367         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18368         on $(common-objpfx)soversions.mk.
18369
18370 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18371
18372         [BZ #10014]
18373         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18374         example host name.
18375
18376 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18377
18378         * malloc/arena.c (arena_get_retry): New function that gets
18379         another arena for the caller to try its request on.
18380         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18381         current arena cannot fulfill the request.
18382         (__libc_memalign): Likewise.
18383         (__libc_memalign): Likewise.
18384         (__libc_pvalloc): Likewise.
18385         (__libc_calloc): Likewise.
18386
18387 2012-09-05  John Tobey  <john.tobey@gmail.com>
18388
18389         [BZ #13542]
18390         * manual/arith.texi (Operations on Complex): Fix description
18391         of carg branch cut.
18392
18393 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18394
18395         [BZ #10014]
18396         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18397         host name.
18398
18399         [BZ #10038]
18400         * manual/memory.texi (Memory): Make order of menu items match
18401         order of sections.
18402
18403 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18404
18405         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18406         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18407         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18408
18409 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18410
18411         * csu/libc-tls.c (static_dtv): Renamed to ...
18412         (_dl_static_dtv): This.  Make it global.
18413         (_dl_initial_dtv): Removed.
18414         (__libc_setup_tls): Updated.
18415         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18416         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18417         DL_INITIAL_DTV.
18418
18419 2012-09-06  Petr Machata  <pmachata@redhat.com>
18420
18421         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18422         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18423         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18424         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18425
18426 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18427
18428         [BZ #14545]
18429         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18430         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18431         freeing dtv[-1].
18432
18433 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18434
18435         [BZ #14544]
18436         * Makeconfig (link-static-before-libc): Replace $(+prector)
18437         with $(+prectorT).
18438         (link-static-after-libc): Replace $(+postctor) with
18439         $(+postctorT).
18440         (link-bounded): Replace $(+prector)/$(+postctor) with
18441         $(+prectorT)/$(+postctorT).
18442         (+prectorT): New macro.
18443         (+postctorT): Likewise.
18444
18445 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18446
18447         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18448         (round_str): Handle values above the maximum for IBM long double
18449         as inexact.
18450         * stdlib/tst-strtod-round.c (tests): Regenerated.
18451
18452 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18453
18454         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18455         assembler flag.
18456         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18457         zarch_nohighgprs around the zarch optimized routines.
18458         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18459         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18460         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18461         for zarch.
18462
18463 2012-09-05  David S. Miller  <davem@davemloft.net>
18464
18465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18466
18467         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18468         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18469         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18470         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18471         entries.
18472
18473 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18474
18475         * malloc/arena.c: Fold copyright years.
18476         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18477
18478 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18479
18480         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18481
18482 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18483
18484         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18485
18486 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18487
18488         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18489         change internal state upon failure.
18490
18491 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18492
18493         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18494         * malloc/memusage.c (mmap): Likewise.
18495         (mmap64, mremap): Likewise.  Adjust name in comment.
18496
18497 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18498
18499         * libio/fileops.c: Fix typos in comments.
18500         * libio/oldfileops.c: Likewise.
18501         * libio/wfileops.c: Likewise.
18502
18503 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18504
18505         [BZ #1349]
18506         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18507         (tst-malloc-usable-ENV): Set environment for test case.
18508         * malloc/hooks.c (malloc_check_get_size): New function to get
18509         requested size.
18510         * malloc/malloc.c (musable): Use malloc_check_get_size.
18511         * malloc/tst-malloc-usable.c: New test case.
18512
18513 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18514
18515         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18516
18517 2012-09-05  Allan McRae  <allan@archlinux.org>
18518
18519         [BZ #13966]
18520         * configure.in (CXX_SYSINCLUDES): Use compiler output to
18521         determine header location.
18522         * configure: Regenerated.
18523
18524 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18525
18526         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18527         float format.
18528         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18529         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18530         format.
18531         (test): Regenerate.
18532
18533 2012-09-04  David S. Miller  <davem@davemloft.net>
18534
18535         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18536         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18537         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18538
18539 2012-09-04  Florian Weimer  <fweimer@redhat.com>
18540
18541         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18542         failures.
18543
18544         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18545
18546 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
18547
18548         [BZ #9914]
18549         * libio/iogetdelim.c: Include <limits.h>.
18550         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18551         + len + 1 would overflow.
18552
18553 2012-09-03  Andreas Jaeger  <aj@suse.de>
18554
18555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18556         * sysdeps/i386/fpu/libm-test-ulps: Update.
18557
18558 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18559
18560         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18561         Add s_sinf-sse2, s_conf-sse2.
18562
18563         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18564         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18565         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18566         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18567
18568         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18569         for using routine as __sinf_ia32.
18570         Use macro for function declaration and weak_alias.
18571         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18572         for using routine as __cosf_ia32.
18573         Use macro for function declaration and weak_alias.
18574
18575         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18576         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18577
18578         * sysdeps/x86_64/fpu/s_sinf.S: New file.
18579         * sysdeps/x86_64/fpu/s_cosf.S: New file.
18580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18581
18582         * math/libm-test.inc (cos_test): Add more test cases.
18583         (sin_test): Likewise.
18584         (sincos_test): Likewise.
18585
18586 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18587
18588         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18589         (IFUNC_RESOLVE): Make pointers to the specialized implementations
18590         hidden.
18591         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18592
18593 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
18594
18595         [BZ #14538]
18596         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18597         first element of the GOT.
18598         (elf_machine_load_address): Return the difference between
18599         the runtime address of _DYNAMIC and elf_machine_dynamic ().
18600
18601 2012-09-01  Allan McRae  <allan@archlinux.org>
18602
18603         [BZ #13412]
18604         * configure.in (AWK): Require gawk version 3.0 or later.
18605         * configure: Regenerated.
18606
18607 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18608
18609         * sysdeps/unix/sysv/linux/kernel-features.h
18610         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18611         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18612         [__NR_clock_getres]: Make code unconditional.
18613         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18614         (clock_getcpuclockid): Remove code left unreachable by removal of
18615         conditionals.
18616         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18617         code unconditional.
18618         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18619         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18620         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18621         Make code unconditional.
18622         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18623         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18624         * sysdeps/unix/sysv/linux/clock_settime.c
18625         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18626         conditional code.
18627         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18628         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18629
18630 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18631
18632         [BZ #14476]
18633         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18634         scripts/test-installation.pl.
18635
18636         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18637         and $ld_so_version if it is set.
18638
18639 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18640
18641         [BZ #14516]
18642         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18643         failure if reading from procfs failed.
18644         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18645
18646 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18647
18648         * sysdeps/unix/sysv/linux/kernel-features.h
18649         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18650         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18651         Remove conditional code.
18652         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18653         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18654         Remove conditional code.
18655         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18656         * sysdeps/unix/sysv/linux/i386/fxstat.c
18657         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18658         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18659         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18660         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18662         * sysdeps/unix/sysv/linux/i386/lxstat.c
18663         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18664         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18665         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18666         Remove conditional code.
18667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18668         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18669         Remove conditional code.
18670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18671         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18672         <kernel-features.h>.
18673         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18674         Remove.
18675         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18676         Remove conditional code.
18677         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18678         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18679         Remove conditional.
18680
18681 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18682
18683         [BZ #5400]
18684         * NEWS: Add fixed bug number.
18685
18686 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18687
18688         [BZ #14519]
18689         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18690         underflowing exponent in case of negative sign.
18691         * stdlib/tst-strtod-round-data: Add more tests.
18692         * stdlib/tst-strtod-round.c (tests): Regenerated.
18693
18694         [BZ #3479]
18695         * stdlib/strtod_l.c (NDIG): Remove.
18696         (HEXNDIG): Likewise.
18697         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18698         smallest representable value.
18699         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18700         lie within an exact representation of 1/2 ulp of the result.
18701         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18702         unconditionally.
18703         (TENS_P9_IDX): Define unconditionally.
18704         (TENS_P9_SIZE): Likewise.
18705         (TENS_P10_IDX): Likewise.
18706         (TENS_P10_SIZE): Likewise.
18707         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18708         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18709         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18710         entries for 10^2^13 and 10^2^14.
18711         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18712         (TENS_P13_IDX): Define.
18713         (TENS_P13_SIZE): Likewise.
18714         (TENS_P14_IDX): Likewise.
18715         (TENS_P14_SIZE): Likewise.
18716         (_fpioconst_pow10): Change array size to
18717         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18718         unconditional.
18719         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18720         1024]: Add entries for 10^2^13 and 10^2^14.
18721         [LAST_POW10 > _LAST_POW10]: Remove #error.
18722         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18723         (_fpioconst_pow10): Change array size to
18724         FPIOCONST_POW10_ARRAY_SIZE.
18725         * stdlib/gen-fpioconst.c: New file.
18726         * stdlib/gen-tst-strtod-round.c: Likewise.
18727         * stdlib/tst-strtod-round-data: Likewise.
18728         * stdlib/tst-strtod-round.c: Likewise.
18729         * stdlib/Makefile (tests): Add tst-strtod-round.
18730
18731         [BZ #14459]
18732         * stdlib/strtod_l.c: Include <stdint.h>.
18733         (NDEBUG): Do not define.
18734         (round_and_return): Change EXPONENT parameter to type intmax_t.
18735         Rearrange calculations to avoid internal overflow possibilities.
18736         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18737         Rearrange calculations to avoid internal overflow possibilities.
18738         Assert that number fits inside MPNSIZE limbs.
18739         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18740         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18741         calculations and add assertions to avoid internal overflow
18742         possibilities.  Add casts to avoid signed/unsigned operations.
18743         * stdlib/tst-strtod-overflow.c: New file.
18744         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18745
18746 2012-08-25  Marek Polacek  <polacek@redhat.com>
18747
18748         * time/time.h: Fix some typos in comments.
18749
18750 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18751
18752         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18753         * posix/tst-rfc3484-2.c: Likewise.
18754         * posix/tst-rfc3484-3.c: Likewise.
18755
18756 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18757
18758         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18759         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18760
18761 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18762
18763         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18764         #include of fxstatat64.c.
18765
18766 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18767
18768         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18769         * shadow/getspent_r.c: Likewise.
18770         * shadow/getspnam.c: Likewise.
18771         * shadow/getspnam_r.c: Likewise.
18772         * gshadow/getsgent.c: Likewise.
18773         * gshadow/getsgent_r.c: Likewise.
18774         * gshadow/getsgnam.c: Likewise.
18775         * gshadow/getsgnam_r.c: Likewise.
18776         * inet/getnetbyad.c: Likewise.
18777         * inet/getnetbyad_r.c: Likewise.
18778         * inet/getnetbynm.c: Likewise.
18779         * inet/getnetbynm_r.c: Likewise.
18780         * inet/getnetent.c: Likewise.
18781         * inet/getnetent_r.c: Likewise.
18782         * inet/getproto.c: Likewise.
18783         * inet/getproto_r.c: Likewise.
18784         * inet/getprtent.c: Likewise.
18785         * inet/getprtent_r.c: Likewise.
18786         * inet/getprtname.c: Likewise.
18787         * inet/getprtname_r.c: Likewise.
18788         * inet/getrpcbyname.c: Likewise.
18789         * inet/getrpcbyname_r.c: Likewise.
18790         * inet/getrpcbynumber.c: Likewise.
18791         * inet/getrpcbynumber_r.c: Likewise.
18792         * inet/getrpcent.c: Likewise.
18793         * inet/getrpcent_r.c: Likewise.
18794         * inet/getaliasent.c: Likewise.
18795         * inet/getaliasent_r.c: Likewise.
18796         * inet/getaliasname.c: Likewise.
18797         * inet/getaliasname_r.c: Likewise.
18798         * nscd/getgrgid_r.c: Likewise.
18799         * nscd/getgrnam_r.c: Likewise.
18800         * nscd/gethstbyad_r.c: Likewise.
18801         * nscd/gethstbynm3_r.c: Likewise.
18802         * nscd/getpwnam_r.c: Likewise.
18803         * nscd/getpwuid_r.c: Likewise.
18804         * nscd/getsrvbynm_r.c: Likewise.
18805         * nscd/getsrvbypt_r.c: Likewise.
18806         * nscd/gai.c: Likewise.
18807
18808         * configure.in (build_nscd): New substituted variable, set
18809         by --disable-build-nscd and defaults to $use_nscd.
18810         * configure: Regenerated.
18811         * config.make.in (build-nscd): New substituted variable.
18812         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18813         Change conditional to require [$(build-nscd) = yes] as well.
18814         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18815
18816         [BZ# 13696]
18817         * configure.in (use_nscd): New substituted variable, set by
18818         --disable-nscd.  If enabled, define USE_NSCD.
18819         * configure: Regenerated.
18820         * config.h.in: Add USE_NSCD.
18821         * config.make.in (use-nscd): New substituted variable.
18822         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18823         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18824         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18825         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18826         (CFLAGS-getgrnam_r.c): Likewise.
18827         (CFLAGS-initgroups.c): Likewise.
18828         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18829         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18830         Variables removed.
18831         * inet/getnetgrent_r.c
18832         (nscd_setnetgrent): New function, broken out of ...
18833         (setnetgrent): ... here.  Call it.
18834         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18835         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18836         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18837         * nscd/Makefile (routines, aux): Move definitions after include of
18838         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18839         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18840         Conditionalize on [USE_NSCD].
18841         (is_nscd, nscd_init_cb): Likewise.
18842         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18843         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18844         * nss/nss_db/db-init.c: Likewise.
18845         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18846         [USE_NSCD].
18847         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18848         (make_request): Use it.
18849         (cache_valid_p): New function.
18850         (__check_pf): Use it.
18851         * NEWS: Add item for --disable-nscd.
18852
18853 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18854
18855         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18856         to support sed >= 4.2.1-20-ga9bf076.
18857         * configure: Regenerated.
18858
18859 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18860
18861         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18862         Conditionalize whole body on [IREL].
18863
18864 2012-08-22  Jeff Law <law@redhat.com>
18865
18866         [BZ #14505]
18867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18868         if the family is PF_UNSPEC.
18869
18870 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18871
18872         * Makerules (lib-version): Rename from V.
18873         (install-lib-nosubdir): Change V to lib-version.
18874
18875 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18876
18877         [BZ #14252]
18878         * powerpc32/power6/wcschr.c: New file.
18879         * powerpc32/power6/wcscpy.c: New file.
18880         * powerpc32/power6/wcsrchr.c: New file.
18881         * powerpc64/power6/wcschr.c: New file.
18882         * powerpc64/power6/wcscpy.c: New file.
18883         * powerpc64/power6/wcsrchr.c: New file.
18884
18885 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18886
18887         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18888         (two_way_short_needle): Use it.
18889         * string/strstr.c (AVAILABLE1_USES_J): Define.
18890         * string/strcasestr.c: Likewise.
18891
18892         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18893         array references.
18894         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18895
18896         [BZ #11607]
18897         * NEWS: Add an entry.
18898         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18899         define their defaults.
18900         (two_way_short_needle): Detect end-of-string on-the-fly.
18901         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18902         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18903         * string/bug-strcasestr1.c: New test.
18904         * string/Makefile: Run it.
18905
18906 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18907
18908         [BZ #11607]
18909         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18910         the first character.
18911
18912 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18913
18914         * csu/elf-init.c (__libc_csu_irel): Function removed.
18915         * csu/libc-start.c (apply_irel): New function.
18916         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18917
18918 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18919
18920         * sysdeps/unix/sysv/linux/kernel-features.h
18921         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18922         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18923         <kernel-features.h>.
18924         [__NR_fadvise64_64]: Make code unconditional.
18925         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18926         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18927         !__NR_fadvise64_64)]: Likewise.
18928         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18929         !__NR_fadvise64_64))]: Likewise.
18930         [__NR_fadvise64]: Make code unconditional.
18931         [!__NR_fadvise64]: Remove conditional code.
18932         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18933         <kernel-features.h>.
18934         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18935         unconditional.
18936         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18937         conditional code.
18938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18939         not include <kernel-features.h>.
18940         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18941         unconditional.
18942         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18943         conditional code.
18944         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18945         include <kernel-features.h>.
18946         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18947         unconditional.
18948         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18949         conditional code.
18950
18951 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18952
18953         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18954         slight instruction rearrangements per scrollpipe analysis.
18955         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18956
18957 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18958
18959         * manual/syslog.texi (syslog; vsyslog, closelog):
18960         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18961         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18962
18963         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18964         DSOCAPS to match condition on defining it.
18965
18966 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18967
18968         * sysdeps/unix/sysv/linux/kernel-features.h
18969         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18971         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18972         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18974         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18975         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18977         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18978         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18979
18980         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18981         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18982
18983         * sysdeps/unix/sysv/linux/kernel-features.h
18984         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18985         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18986         unconditional.
18987         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18988         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18989         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18990         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18991         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18992         Make code unconditional.
18993         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18994         (__mmap64) [!__NR_mmap2]: Likewise.
18995         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18996         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18997         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18998         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18999         [__NR_mmap2]: Make code unconditional.
19000         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19001         (__mmap64) [!__NR_mmap2]: Likewise.
19002
19003 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19004
19005         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19006
19007 2012-08-18  Andreas Jaeger  <aj@suse.de>
19008
19009         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19010
19011 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19012
19013         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19014         * include/unistd.h (__have_sock_cloexec): Likewise.
19015         (__have_pipe2): Likewise.
19016         (__have_dup3): Likewise.
19017
19018 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19019
19020         [BZ #9685]
19021         * include/unistd.h (__have_pipe2): Change define into an extern int.
19022         (__have_dup3): Likewise.
19023         * socket/have_sock_cloexec.c: Include fcntl.h.
19024         (__have_pipe2): New variable.
19025         (__have_dup3): Likewise.
19026
19027 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19028
19029         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19030
19031 2012-08-17  Marek Polacek  <polacek@redhat.com>
19032
19033         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19034         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19035
19036 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19037
19038         * configure.in: Add AC_SUBST for sysheaders.
19039         * configure: Regenerated.
19040         * config.make.in (sysheaders): New substituted variable.
19041
19042         * sysdeps/unix/mkfifo.c: Moved ...
19043         * sysdeps/posix/mkfifo.c: ... here.
19044         * sysdeps/unix/mkfifoat.c: Moved ...
19045         * sysdeps/posix/mkfifoat.c: ... here.
19046
19047         * sysdeps/unix/utime.c: Moved ...
19048         * sysdeps/posix/utime.c: ... here.
19049
19050         * sysdeps/unix/time.c: Moved ...
19051         * sysdeps/posix/time.c: ... here.
19052         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19053         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19054
19055         * sysdeps/unix/nice.c: Moved ...
19056         * sysdeps/posix/nice.c: ... here.
19057
19058         * sysdeps/unix/alarm.c: Moved ...
19059         * sysdeps/posix/alarm.c: ... here.
19060
19061         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19062
19063 2012-08-17  Jeff Law <law@redhat.com>
19064
19065         * intl/Makefile (codeset_mo): New variable.
19066         ($(codeset_mo)): New target.
19067         (tst-codeset.out): Depend on that.  Remove explicit rule.
19068         (tst-gettext3.out, tst-gettext5.out): Likewise.
19069         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19070         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19071         * intl/tst-codeset.sh: Remove.
19072         * intl/tst-gettext3.sh: Likewise.
19073         * intl/tst-gettext5.sh: Likewise.
19074
19075 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19076
19077         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19078         * sysdeps/unix/syscalls.list: ... here.
19079
19080         * sysdeps/posix/getaddrinfo.c
19081         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19082         (gaiconf_init, gaiconf_reload): Use them.
19083         [!_STATBUF_ST_NSEC]
19084         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19085         Define using time_t rather than struct timespec.
19086
19087         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19088         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19089         Macros removed.
19090         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19091         [!NO_THREADS].
19092         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19093         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19094         Likewise.
19095
19096         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19097         __libc_cleanup_push argument.
19098
19099         * bits/param.h: New file.
19100         * misc/sys/param.h: New file.
19101         * include/sys/param.h: New file.
19102         * misc/Makefile (headers): Add bits/param.h.
19103         * sysdeps/generic/sys/param.h: File removed.
19104         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19105         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19106         * sysdeps/mach/hurd/bits/param.h: New file.
19107         * sysdeps/mach/hurd/sys/param.h: File removed.
19108
19109         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19110         last change.
19111
19112         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19113         [_IO_MTSAFE_IO].
19114         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19115         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19116         New macros.
19117
19118         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19119         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19120         rather than -D_IO_MTSAFE_IO conditionally.
19121         * stdio-common/Makefile (CPPFLAGS): Likewise.
19122         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19123         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19124         Use $(libio-mtsafe).
19125         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19126         of -D_IO_MTSAFE_IO.
19127         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19128         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19129         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19130         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19131         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19132         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19133         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19134         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19135         (CFLAGS-fread_u_chk.c): Likewise.
19136         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19137         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19138         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19139         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19140         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19141         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19142         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19143         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19144         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19145
19146         * libio/Makefile: Test [$(libc-reentrant) = yes]
19147         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19148
19149         * Makeconfig
19150         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19151         * sysdeps/pthread/configure: File removed.
19152         * sysdeps/pthread/Makeconfig: New file.
19153         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19154         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19155
19156 2012-08-16  Gary Benson  <gbenson@redhat.com>
19157
19158         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19159         unmapping the first object in a namespace.
19160
19161 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19162
19163         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19164         (__internal_setnetgrent): ... this.  Add internal_function to
19165         definition.  Add libc_hidden_def.
19166         (setnetgrent): Update caller.
19167         (internal_endnetgrent): Renamed to ...
19168         (__internal_endnetgrent): ... this.  Add internal_function to
19169         definition.  Add libc_hidden_def.
19170         (endnetgrent): Update caller.
19171         (internal_getnetgrent_r): Renamed to ...
19172         (__internal_getnetgrent_r): ... this.  Add internal_function to
19173         definition.  Add libc_hidden_def.
19174         (__getnetgrent_r): Update caller.
19175         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19176
19177 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19178
19179         * stdlib/longlong.h: Update from GCC.
19180
19181 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19182
19183         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19184         on _QL, which is set by umul_ppmm but never used.
19185         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19186         variables, which are set by GMP macros but never used.
19187         * stdio-common/_itowa.c (_itowa): Likewise.
19188         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19189         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19190
19191 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19192
19193         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19194         struct La_sh_regs is not constant.
19195         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19196         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19197         and struct La_sparc64_regs are not constant.
19198
19199 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19200
19201         * sysdeps/unix/sysv/linux/kernel-features.h
19202         (__ASSUME_POSIX_TIMERS): Remove.
19203         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19204         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19205         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19206         Make code unconditional.
19207         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19208         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19209         Make code unconditional.
19210         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19211         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19212         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19213         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19214         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19215         Make code unconditional.
19216         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19217         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19218         (__libc_missing_posix_timers): Remove.
19219
19220 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19221
19222         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19223         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19224
19225         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19226
19227         * elf/dl-sym.c: Include <stdlib.h>.
19228
19229         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19230         constants, which avoids warnings in 32-bit builds.
19231
19232         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19233         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19234
19235         * misc/lseek.c: File moved to ...
19236         * io/lseek.c: ... here.
19237
19238         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19239
19240         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19241         shifting LEN more than 31 bits at once.
19242
19243 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19244
19245         [BZ #14195]
19246         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19247         segmentation fault for a case of two empty input strings.
19248         * string/test-strncasecmp.c (check1): Renamed to...
19249         (bz12205): ...this.
19250         (bz14195): Add new testcase for two empty input strings and N > 0.
19251         (test_main): Call new testcase, adapt for renamed function.
19252
19253 2012-08-15  Andreas Jaeger  <aj@suse.de>
19254
19255         [BZ #14090]
19256         * crypt/md5test2.c: New test, based on test supplied by Serge
19257         Belyshev <belyshev@depni.sinp.msu.ru>.
19258         * crypt/Makefile (xtests): Add md5test-giant..
19259         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19260
19261 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19262
19263         [BZ #14090]
19264         * crypt/md5.c (md5_process_block): Don't assume the buffer
19265         length is less than 2**32.
19266         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19267         length is less than 2**64.
19268
19269 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19270
19271         * string/str-two-way.h: Include <sys/param.h>.
19272         (MAX): Macro removed.
19273
19274         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19275         Move #define and #undef of memmove to just before and after
19276         including <string.h>.
19277
19278         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19279         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19280         and after including <string.h>.  Move declarations of
19281         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19282         to before #include "string/memmove.c".
19283
19284         * include/dirent.h: Declare __getdirentries.
19285
19286         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19287         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19288
19289 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19290
19291         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19292         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19293         * sysdeps/i386/configure: Regenerated.
19294         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19295         STABS_CURRENT_FILE, and STABS_FUN.
19296         (END): Remove call to STABS_FUN_END.
19297         (STABS_CURRENT_FILE1): Delete.
19298         (STABS_CURRENT_FILE): Likewise.
19299         (STABS_FUN): Likewise.
19300         (STABS_FUN_END): Likewise.
19301         (STABS_FUN2): Likewise.
19302         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19303         * sysdeps/x86_64/configure: Regenerated.
19304
19305 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19306
19307         * elf/dl-open.c: Include <atomic.h>.
19308         * elf/dl-lookup.c: Likewise.
19309
19310 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19311
19312         * sysdeps/unix/sysv/linux/kernel-features.h
19313         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19314         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19315         unconditionally.
19316         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19317         unconditionally.
19318         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19319         condition on __ASSUME_CLONE_THREAD_FLAGS.
19320
19321 2012-08-14  Andreas Jaeger  <aj@suse.de>
19322
19323         * sysdeps/i386/fpu/libm-test-ulps: Update.
19324
19325 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19326
19327         * include/atomic.h (atomic_exchange_and_add): Split into ...
19328         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19329         New atomic macros.
19330
19331 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19332
19333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19334
19335 2012-08-13  Jeff Law <law@redhat.com>
19336
19337         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19338         null byte in the output string.
19339
19340 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19341
19342         * sysdeps/unix/sysv/linux/kernel-features.h
19343         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19344         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19345         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19346         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19347         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19348         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19349         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19350
19351 2012-08-09  Jeff Law <law@redhat.com>
19352
19353         [BZ #13939]
19354         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19355         When avoid_arena is set, don't retry in the that arena.  Pick the
19356         next one, whatever it might be.
19357         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19358         (arena_lock): Pass in new parameter to arena_get2.
19359         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19360         arena_get2.
19361         (__libc_malloc): Unify retrying after main arena failure with
19362         __libc_memalign version.
19363         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19364
19365 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19366
19367         [BZ #14166]
19368         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19369         to __redirect_strstr.
19370         (__strstr_sse42): Use typeof __redirect_strstr.
19371         (__strstr_ia32): Likewise.
19372         (__libc_strstr): New prototype.
19373         (strstr): Renamed to ...
19374         (__libc_strstr): This.
19375         (strstr): New strong alias of __libc_strstr.
19376         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19377         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19378         __redirect_time.
19379         Include <time.h>.
19380         (__libc_time): New prototype.
19381         (time_ifunc): Replace time with __libc_time.
19382         (time): New strong alias and hidden definition of __libc_time.
19383         (__GI_time): Remove strong alias.
19384         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19385         Include <stddef.h>.
19386         (memmove): Redefined to __redirect_memmove.
19387         (__memmove_sse2): Use typeof __redirect_memmove.
19388         (__memmove_ssse3): Likewise.
19389         (__memmove_ssse3_back): Likewise.
19390         (__libc_memmove): New prototype.
19391         (memmove): Renamed to ...
19392         (__libc_memmove): This.
19393         (memmove): New strong alias of __libc_memmove.
19394
19395 2012-08-08  Mark Salter  <msalter@redhat.com>
19396
19397         * elf/elf.h
19398         (R_MN10300_TLS_GD): Define.
19399         (R_MN10300_TLS_LD): Likewise.
19400         (R_MN10300_TLS_LDO): Likewise.
19401         (R_MN10300_TLS_GOTIE): Likewise.
19402         (R_MN10300_TLS_IE): Likewise.
19403         (R_MN10300_TLS_LE): Likewise.
19404         (R_MN10300_TLS_DTPMOD): Likewise.
19405         (R_MN10300_TLS_DTPOFF): Likewise.
19406         (R_MN10300_TLS_TPOFF): Likewise.
19407         (R_MN10300_SYM_DIFF): Likewise.
19408         (R_MN10300_ALIGN): Likewise.
19409         (R_MN10300_NUM): Update.
19410
19411 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19412
19413         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19414         Remove.
19415
19416 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19417
19418         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19419
19420         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19421         sysdeps/unix -> sysdeps/posix move.
19422         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19423
19424 2012-08-07      Allan McRae     <allan@archlinux.org>
19425
19426         [BZ #14303]
19427         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19428         (SUNOS_CPP): Likewise.
19429         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19430         not found.
19431         (open_input): Call CPP using execvp.
19432
19433 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19434
19435         * sysdeps/unix/sysv/linux/kernel-features.h
19436         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19437         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19438         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19439         (__ASSUME_WAITID_SYSCALL): Likewise.
19440         * sysdeps/unix/sysv/linux/dl-execstack.c
19441         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19442         code unconditional.
19443         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19444         conditional code.
19445         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19446         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19447         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19448         code.
19449         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19450         unconditional.
19451         [__ASSUME_WAITID_SYSCALL]: Likewise.
19452         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19453
19454 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19455
19456         * sysdeps/unix/closedir.c: Renamed to ...
19457         * sysdeps/posix/closedir.c: ... here.
19458         * sysdeps/unix/dirfd.c: Renamed to ...
19459         * sysdeps/posix/dirfd.c: ... here.
19460         * sysdeps/unix/dirstream.h: Renamed to ...
19461         * sysdeps/posix/dirstream.h: ... here.
19462         * sysdeps/unix/fdopendir.c: Renamed to ...
19463         * sysdeps/posix/fdopendir.c: ... here.
19464         * sysdeps/unix/opendir.c: Renamed to ...
19465         * sysdeps/posix/opendir.c: ... here.
19466         * sysdeps/unix/readdir.c: Renamed to ...
19467         * sysdeps/posix/readdir.c: ... here.
19468         * sysdeps/unix/readdir_r.c: Renamed to ...
19469         * sysdeps/posix/readdir_r.c: ... here.
19470         * sysdeps/unix/rewinddir.c: Renamed to ...
19471         * sysdeps/posix/rewinddir.c: ... here.
19472         * sysdeps/unix/seekdir.c: Renamed to ...
19473         * sysdeps/posix/seekdir.c: ... here.
19474         * sysdeps/unix/telldir.c: Renamed to ...
19475         * sysdeps/posix/telldir.c: ... here.
19476         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19477         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19478         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19479         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19480
19481         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19482         * bits/fcntl.h: ... here.
19483
19484         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19485         not 0.
19486         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19487         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19488         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19489         (struct flock): Move l_start, l_len to the beginning.
19490         Use __pid_t for l_pid.
19491         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19492         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19493         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19494         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19495         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19496         [__USE_LARGEFILE64] (struct flock64): New type.
19497         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19498
19499         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19500         * bits/dirent.h: ... here.
19501
19502         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19503         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19504
19505 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19506
19507         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19508         Change from 2.6.0 to 2.6.16.
19509         * sysdeps/unix/sysv/linux/configure: Regenerated.
19510         * sysdeps/unix/sysv/linux/kernel-features.h
19511         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19512         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19513         version.
19514         (__ASSUME_UTIMES): Likewise.
19515         (__ASSUME_CLONE_STOPPED): Remove.
19516         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19517         architectures, not kernel version.
19518         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19519         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19520         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19521         (__ASSUME_WAITID_SYSCALL): Likewise.
19522         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19523         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19524         * README: State 2.6.16 as minimum Linux kernel version.  Do not
19525         refer to older versions.
19526
19527 2012-08-06  Roland McGrath  <roland@hack.frob.com>
19528
19529         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19530         Define alphasort64 as an alias.
19531         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19532         Define versionsort64 as an alias.
19533         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19534         Define scandir64 as an alias.
19535         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19536         Define scandirat64 as an alias.
19537         * dirent/alphasort64.c (alphasort64):
19538         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19539         * dirent/versionsort64.c: Likewise.
19540         * dirent/scandir64.c: Likewise.
19541         * dirent/scandirat64.c: Likewise.
19542         * sysdeps/wordsize-64/alphasort.c: File removed.
19543         * sysdeps/wordsize-64/alphasort64.c: File removed.
19544         * sysdeps/wordsize-64/scandir.c: File removed.
19545         * sysdeps/wordsize-64/scandir64.c: File removed.
19546         * sysdeps/wordsize-64/scandirat.c: File removed.
19547         * sysdeps/wordsize-64/scandirat64.c: File removed.
19548         * sysdeps/wordsize-64/versionsort.c: File removed.
19549         * sysdeps/wordsize-64/versionsort64.c: File removed.
19550         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19551         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19552         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19553         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19554         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19555         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19556         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19557         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19558
19559         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19560         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19561         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19562         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19563         [defined __arch64__ || defined __sparcv9]
19564         (__INO_T_MATCHES_INO64_T): New macro.
19565         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19566         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19567         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19568         * sysdeps/unix/sysv/linux/bits/dirent.h
19569         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19570         (_DIRENT_MATCHES_DIRENT64): New macro.
19571
19572         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19573         Define lockf64 as an alias.
19574         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19575         Define fseeko64 as an alias.
19576         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19577         Define ftello64 as an alias.
19578         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19579         Define _IO_fgetpos64 and fgetpos64 as aliases.
19580         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19581         Define _IO_fsetpos64 and fsetpos64 as aliases.
19582         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19583         Conditionalize body on this.
19584         * libio/fseeko64.c: Likewise.
19585         * libio/ftello64.c: Likewise.
19586         * libio/iofgetpos64.c: Likewise.
19587         * libio/iofsetpos64.c: Likewise.
19588         * sysdeps/wordsize-64/lockf.c: File removed.
19589         * sysdeps/wordsize-64/lockf64.c: File removed.
19590         * sysdeps/wordsize-64/fseeko.c: File removed.
19591         * sysdeps/wordsize-64/fseeko64.c: File removed.
19592         * sysdeps/wordsize-64/ftello.c: File removed.
19593         * sysdeps/wordsize-64/ftello64.c: File removed.
19594         * sysdeps/wordsize-64/iofgetpos.c: File removed.
19595         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19596         * sysdeps/wordsize-64/iofsetpos.c: File removed.
19597         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19598         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19599         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19600         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19601         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19602         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19603         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19604         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19605         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19606         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19607         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19608
19609         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19610         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19611         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19612         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19613         [defined __arch64__ || defined __sparcv9]
19614         (__OFF_T_MATCHES_OFF64_T): New macro.
19615         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19616         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19617         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19618         (__OFF_T_MATCHES_OFF64_T): New macro.
19619
19620 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19621
19622         * stdlib/secure-getenv.c (__secure_getenv): Replace
19623         GLIBC_2_16 with GLIBC_2_17.
19624
19625 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19626
19627         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19628         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19629
19630 2012-08-03  David S. Miller  <davem@davemloft.net>
19631
19632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19633
19634 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19635
19636         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19637         Remove.
19638         (__ASSUME_CORRECT_SI_PID): Likewise.
19639         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19640         (__ASSUME_TMPFS_NAME): Likewise.
19641         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19642         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19643         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19644         (HAVE_AUX_SECURE): Make definition unconditional.
19645         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19646         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19647
19648 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19649
19650         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19651         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19652         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19653         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19654         __eloop_threshold instead of SYMLOOP_MAX.
19655
19656         * sysdeps/generic/eloop-threshold.h: New file.
19657         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19658         of MAXSYMLINKS.
19659         * elf/chroot_canon.c (chroot_canon): Likewise.
19660
19661 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19662
19663         [BZ #13717]
19664         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19665         Change to 2.6.0 everywhere.
19666         * sysdeps/unix/sysv/linux/configure: Regenerated.
19667         * sysdeps/unix/sysv/linux/kernel-features.h
19668         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19669         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19670         kernel versions.
19671         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19672         (__ASSUME_FUTEX_REQUEUE): Remove.
19673         (__ASSUME_STATFS64): Define unconditionally.
19674         (__ASSUME_AT_SECURE): Likewise.
19675         (__ASSUME_CORRECT_SI_PID): Likewise.
19676         (__ASSUME_TGKILL): Define without depending on kernel version for
19677         i386.
19678         (__ASSUME_UTIMES): Likewise.
19679         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19680         kernel version.
19681         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19682         (__ASSUME_TMPFS_NAME): Likewise.
19683         * README: Update reference to Linux kernel versions.
19684
19685 2012-08-02  Marek Polacek  <polacek@redhat.com>
19686
19687         [BZ# 14150]
19688         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19689         libc_cv_asm_type_prefix with %.
19690         * configure: Regenerated.
19691         * include/libc-symbols.h: Remove comment about
19692         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19693         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19694         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19695         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19696         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19697         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19698         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19699         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19700         * elf/tst-unique2mod1.c: Likewise.
19701         * elf/tst-unique1mod2.c: Likewise.
19702         * elf/tst-unique1mod1.c: Likewise.
19703         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19704         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19705         Replace ASM_TYPE_DIRECTIVE with .type.
19706         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19707         * sysdeps/i386/sysdep.h: Likewise.
19708         * sysdeps/x86_64/sysdep.h: Likewise.
19709         * sysdeps/sh/sysdep.h: Likewise.
19710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19711         Do not define ASM_TYPE_DIRECTIVE.
19712         * sysdeps/powerpc/sysdep.h: Likewise.
19713         * sysdeps/powerpc/powerpc32/sysdep.h:
19714         Replace ASM_TYPE_DIRECTIVE with .type.
19715         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19716         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19717         * sysdeps/i386/fpu/e_powf.S: Likewise.
19718         * sysdeps/i386/fpu/e_expl.S: Likewise.
19719         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19720         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19721         * sysdeps/i386/fpu/e_pow.S: Likewise.
19722         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19723         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19724         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19725         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19726         * sysdeps/i386/fpu/e_log2.S: Likewise.
19727         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19728         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19729         * sysdeps/i386/fpu/e_powl.S: Likewise.
19730         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19731         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19732         * sysdeps/i386/fpu/e_logl.S: Likewise.
19733         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19734         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19735         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19736         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19737         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19738         * sysdeps/i386/fpu/e_log.S: Likewise.
19739         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19740         * sysdeps/i386/fpu/e_logf.S: Likewise.
19741         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19742         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19743         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19744         * sysdeps/i386/fpu/e_log10.S: Likewise.
19745         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19746         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19747         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19748         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19749         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19750         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19751         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19752         * sysdeps/i386/i686/strtok.S: Likewise.
19753         * sysdeps/i386/i386-mcount.S: Likewise.
19754         * sysdeps/i386/strtok.S: Likewise.
19755         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19756         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19757         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19758         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19759         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19760         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19761         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19762         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19763         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19764         * sysdeps/x86_64/_mcount.S: Likewise.
19765         * sysdeps/x86_64/strtok.S: Likewise.
19766         * sysdeps/sh/_mcount.S: Likewise.
19767
19768 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19769
19770         * libio/iofopen.c: Include <fcntl.h>.
19771         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19772         (_IO_fopen64, fopen64): Define as aliases.
19773         * libio/iofopen64.c: Include <fcntl.h>.
19774         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19775         Conditionalize body on this.
19776         * sysdeps/wordsize-64/iofopen.c: File removed.
19777         * sysdeps/wordsize-64/iofopen64.c: File removed.
19778
19779 2012-08-01  Marek Polacek  <polacek@redhat.com>
19780
19781         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19782         Use dlfcn directly instead of a variable.
19783         (binfmt-subdir): Do not define.
19784         (dlfcn): Likewise.
19785
19786 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19787
19788         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19789         Remove all definitions.
19790         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19791         <kernel-features.h>.
19792         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19793         (miss_F_GETOWN_EX): Remove all definitions.
19794         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19795         macro definition.
19796         [!__ASSUME_FCNTL64]: Remove conditional code.
19797         [__ASSUME_FCNTL64]: Make code unconditional.
19798         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19799         <kernel-features.h>.
19800         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19801         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19802         (lockf64) [__NR_fcntl64]: Make code unconditional.
19803         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19804
19805         * sysdeps/unix/sysv/linux/kernel-features.h
19806         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19807         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19808         Make code unconditional.
19809         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19810         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19812         [__NR_vfork]: Make code unconditional.
19813         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19814         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19816         [__NR_vfork]: Make code unconditional.
19817         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19818         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19819
19820 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19821
19822         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19823         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19824
19825         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19826         Define mkstemp64 as an alias.
19827         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19828         Define mkstemps64 as an alias.
19829         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19830         Define mkostemp64 as an alias.
19831         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19832         Define mkostemps64 as an alias.
19833         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19834         Conditionalize body on this.
19835         * misc/mkostemp64.c: Likewise.
19836         * misc/mkostemps64.c: Likewise.
19837         * misc/mkstemps64.c: Likewise.
19838         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19839         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19840         * sysdeps/wordsize-64/mkostemp.c: File removed.
19841         * sysdeps/wordsize-64/mkstemp.c: File removed.
19842         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19843         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19844         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19845         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19846
19847         [BZ #14138]
19848         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19849         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19850         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19851         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19852
19853         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19854         compat_symbol macros from <shlib-compat.h> rather than the underlying
19855         default_symbol_version and symbol_version macros, so that DEFAULT
19856         lines in shlib-versions are respected.
19857         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19858
19859 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19860
19861         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19862         Declare with warn_unused_result.
19863         (setgid, setregid, setegid, setresgid): Likewise.
19864         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19865         Likewise.
19866         * WUR-REPORT: Remove set*id functions.
19867
19868 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19869
19870         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19871
19872 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19873
19874         [BZ #10191]
19875         * include/sys/socket.h (__libc_accept, __libc_accept4):
19876         Add attribute_hidden.
19877         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19878
19879         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19880         use of PTR_MANGLE.
19881         * inet/getnetgrent_r.c (setup): Likewise.
19882
19883         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19884
19885 2012-07-31  David S. Miller  <davem@davemloft.net>
19886
19887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19888
19889 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19890
19891         [BZ #13629]
19892         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19893         value between 1.0 and 2.0 and smaller part has absolute value less
19894         than 1.0.
19895         * math/s_clog10.c (__clog10): Likewise.
19896         * math/s_clog10f.c (__clog10f): Likewise.
19897         * math/s_clog10l.c (__clog10l): Likewise.
19898         * math/s_clogf.c (__clogf): Likewise.
19899         * math/s_clogl.c (__clogl): Likewise.
19900         * math/libm-test.inc (clog_test): Add more tests.
19901         (clog10_test): Likewise.
19902         * sysdeps/i386/fpu/libm-test-ulps: Update.
19903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19904
19905 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19906
19907         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19908         Exit with zero in case no suitable GID is found, and write a
19909         message to standard error.
19910
19911 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19912
19913         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19914         rather than to 1.
19915         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19916         (MAXPATHLEN): Removed.
19917         (NOGROUP, NODEV): New macros.
19918         (setbit, clrbit, isset, isclr): New macros.
19919         (howmany, roundup, powerof2): New macros.
19920         (DEV_BSIZE): New macro.
19921
19922         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19923         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19924
19925         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19926         definition on [!__NO_LONG_DOUBLE_MATH].
19927
19928         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19929         PTR_MANGLE and PTR_DEMANGLE.
19930
19931         * socket/accept4.c (accept4): Rename to __libc_accept4.
19932         Define accept4 as a weak alias.
19933
19934         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19935         on [_DIRENT_HAVE_D_TYPE].
19936         * io/ftw.c (ftw_dir): Likewise.
19937
19938         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19939
19940         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19941
19942         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19943         Use the BSD numbers rather than the arbitrary ones we had.
19944         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19945         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19946         (SIGXCPU, SIGXFSZ): New macros.
19947         (_NSIG): Now 32.
19948
19949         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19950         initializer on [_LIBC_REENTRANT].
19951
19952         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19953         definitions inside [_POSIX_MAPPED_FILES].
19954
19955         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19956
19957         * dirent/opendir.c: Include <fcntl.h>.
19958
19959         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19960         (__libc_getspecific): Likewise.
19961         (__libc_key_create): Likewise.
19962
19963         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19964         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19965         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19966         (tmpfile64): Define as alias.
19967         * sysdeps/wordsize-64/tmpfile.c: File removed.
19968         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19969         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19970         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19971
19972         * stdio-common/vfscanf.c: Include <stdbool.h>.
19973         * nss/makedb.c: Likewise.
19974         * stdio-common/_i18n_number.h: Likewise.
19975         * argp/argp-help.c: Likewise.
19976         * posix/wordexp.c: Likewise.
19977         * sysdeps/posix/spawni.c: Likewise.
19978         * nss/nss_files/files-initgroups.c: Likewise.
19979         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19980         * nss/nss_files/files-initgroups.c: Likewise.
19981         * nss/nss_db/db-netgrp.c: Likewise.
19982         * nss/nss_db/db-initgroups.c: Likewise.
19983         * io/fchmodat.c: Include <sys/stat.h>.
19984
19985         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19986         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19987
19988         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19989         [HAVE_MMAP].
19990
19991         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19992         Add multiple inclusion protection.
19993
19994 2012-07-27  David S. Miller  <davem@davemloft.net>
19995
19996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19997
19998 2012-07-27  Gary Benson  <gbenson@redhat.com>
19999
20000         [BZ #14298]
20001         * elf/rtld.c: Include <stap-probe.h>.
20002         (dl_main): Added static probes "init_start" and "init_complete".
20003         * elf/dl-load.c: Include <stap-probe.h>.
20004         (lose): Take new parameter "nsid".
20005         Added static probe "map_failed".
20006         (_dl_map_object_from_fd): Pass namespace id to lose.
20007         Added static probe "map_start".
20008         (open_verify): Pass namespace id to lose.
20009         * elf/dl-open.c: Include <stap-probe.h>.
20010         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20011         and "reloc_complete".
20012         * elf/dl-close.c: Include <stap-probe.h>.
20013         (_dl_close_worker): Added static probes "unmap_start" and
20014         "unmap_complete".
20015         * elf/rtld-debugger-interface.txt: New file documenting the above.
20016
20017 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20018
20019         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20020         rather than a string variable.
20021         * sunrpc/rpc_main.c (h_output): Likewise.
20022         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20023
20024 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20025
20026         * inet/check_native.c: New file.
20027
20028 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20029
20030         [BZ #13629]
20031         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20032         if larger part has absolute value 1.0.
20033         * math/s_clog10.c (__clog10): Likewise.
20034         * math/s_clog10f.c (__clog10f): Likewise.
20035         * math/s_clog10l.c (__clog10l): Likewise.
20036         * math/s_clogf.c (__clogf): Likewise.
20037         * math/s_clogl.c (__clogl): Likewise.
20038         * math/libm-test.inc (clog_test): Add more tests.
20039         (clog10_test): Likewise.
20040         * sysdeps/i386/fpu/libm-test-ulps: Update.
20041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20042
20043         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20044         (pltexit): Likewise.
20045         (La_regs): Likewise.
20046         (La_retval): Likewise.
20047         (int_retval): Likewise.
20048         Update #error for removed macros to refer only to definitions in
20049         tst-audit.h.
20050         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20051         macro.
20052         (pltexit): Likewise.
20053         (La_regs): Likewise.
20054         (La_retval): Likewise.
20055         (int_retval): Likewise.
20056         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20057         macro.
20058         (pltexit): Likewise.
20059         (La_regs): Likewise.
20060         (La_retval): Likewise.
20061         (int_retval): Likewise.
20062         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20063         macro.
20064         (pltexit): Likewise.
20065         (La_regs): Likewise.
20066         (La_retval): Likewise.
20067         (int_retval): Likewise.
20068         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20069         macro.
20070         (pltexit): Likewise.
20071         (La_regs): Likewise.
20072         (La_retval): Likewise.
20073         (int_retval): Likewise.
20074         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20075         macro.
20076         (pltexit): Likewise.
20077         (La_regs): Likewise.
20078         (La_retval): Likewise.
20079         (int_retval): Likewise.
20080         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20081         macro.
20082         (pltexit): Likewise.
20083         (La_regs): Likewise.
20084         (La_retval): Likewise.
20085         (int_retval): Likewise.
20086         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20087         macro definitions in tst-audit.h.
20088         * sysdeps/i386/tst-audit.h: New file.
20089         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20090         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20091         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20092         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20093         * sysdeps/sh/tst-audit.h: Likewise.
20094         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20095         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20096         * sysdeps/x86_64/tst-audit.h: Likewise.
20097
20098 2012-07-26  Andreas Jaeger  <aj@suse.de>
20099
20100         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20101         ptrace.
20102
20103         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20104         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20105         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20106         PTRACE_O_MASK.
20107         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20108         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20109         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20110
20111         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20112         value.
20113
20114         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20115         _sigsys.
20116         (si_call_addr, si_syscall, si_arch): Define new macro.
20117         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20118         _sigsys.
20119         (si_call_addr, si_syscall, si_arch): Define new marcro.
20120         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20121         _sigsys.
20122         (si_call_addr, si_syscall, si_arch): Define new macro.
20123         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20124         _sigsys.
20125         (si_call_addr, si_syscall, si_arch): Define new macro.
20126
20127 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20128
20129         [BZ #13717]
20130         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20131         Change to 2.4.21 where previously 2.4.1.
20132         * sysdeps/unix/sysv/linux/configure: Regenerated.
20133         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20134         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20135         Linux kernel version.
20136         (__ASSUME_STD_AUXV): Remove.
20137         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20138         kernel version.
20139         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20140         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20141         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20142         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20143         (__ASSUME_NETLINK_SUPPORT): Likewise.
20144         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20145         (__no_netlink_support): Remove conditional definition.
20146         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20147         Remove.
20148         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20149         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20150         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20151         (if_nameindex_ioctl): Remove.
20152         (if_nameindex_netlink): Do not handle __no_netlink_support.
20153         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20154         code.
20155         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20156         Remove conditional code.
20157         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20158         code.
20159         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20160         unconditional.
20161         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20162         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20163         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20164         Remove.
20165         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20166         [!__ASSUME_STD_AUXV]: Remove conditional code.
20167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20168         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20169         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20171         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20172         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20173         code.
20174         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20176         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20177         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20178         conditional code.
20179         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20181         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20182         code.
20183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20184         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20185         conditional code.
20186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20187         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20188         code unconditional.
20189         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20190         conditional code.
20191         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20192         unconditional.
20193         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20194         conditional code.
20195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20196         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20197         unconditional.
20198         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20199         conditional code.
20200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20201         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20202         code unconditional.
20203         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20204         conditional code.
20205         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20206         unconditional.
20207         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20208         conditional code.
20209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20210         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20211         code unconditional.
20212         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20213         conditional code.
20214         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20215         unconditional.
20216         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20217         conditional code.
20218
20219 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20220
20221         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20222         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20223         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20224         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20225         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20226         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20227         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20228         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20229         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20230         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20231         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20232         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20233         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20234         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20235         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20236         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20237         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20238         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20239         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20241         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20242         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20243         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20244
20245 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20246
20247         * Versions.def: Add GLIBC_2.17.
20248         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20249         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20250         Introduce __libc_secure_getenv.
20251         * stdlib/Versions (2.17): Add secure_getenv
20252         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20253         * stdlib/secure-getenv.c: Rename __secure_getenv to
20254         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20255         symbol __secure_getenv for GLIBC_2.0.
20256         * stdlib/tst-secure-getenv.c: New.
20257         * stdlib/Makefile (tests): Add testcase.
20258         * manual/startup.texi (Environment Access): Document
20259         secure_getenv.
20260         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20261         __libc_secure_getenv.
20262         * inet/ruserpass.c (ruserpass): Likewise.
20263         * malloc/mtrace.c (mtrace): Likewise.
20264         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20265         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20266         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20267         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20268         HAVE_SECURE_GETENV.
20269         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20270         __secure_getenv to __libc_secure_getenv.
20271         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20273         Likewise.
20274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20275         Likewise.
20276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20278         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20283
20284 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20285
20286         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20287         (struct La_i86_retval): Likewise.
20288         (struct La_x86_64_regs): Likewise.
20289         (struct La_x86_64_retval): Likewise.
20290         (struct La_x32_regs): Likewise.
20291         (struct La_x32_retval): Likewise.
20292         (struct La_ppc32_regs): Likewise.
20293         (struct La_ppc32_retval): Likewise.
20294         (struct La_ppc64_regs): Likewise.
20295         (struct La_ppc64_retval): Likewise.
20296         (struct La_sh_regs): Likewise.
20297         (struct La_sh_retval): Likewise.
20298         (struct La_s390_32_regs): Likewise.
20299         (struct La_s390_32_retval): Likewise.
20300         (struct La_s390_64_regs): Likewise.
20301         (struct La_s390_64_retval): Likewise.
20302         (struct La_sparc32_regs): Likewise.
20303         (struct La_sparc32_retval): Likewise.
20304         (struct La_sparc64_regs): Likewise.
20305         (struct La_sparc64_retval): Likewise.
20306         (struct audit_ifaces): Remove architecture-specific pltenter and
20307         pltexit members.
20308         * sysdeps/i386/ldsodefs.h: New file.
20309         * sysdeps/powerpc/ldsodefs.h: Likewise.
20310         * sysdeps/s390/ldsodefs.h: Likewise.
20311         * sysdeps/sh/ldsodefs.h: Likewise.
20312         * sysdeps/sparc/ldsodefs.h: Likewise.
20313         * sysdeps/x86_64/ldsodefs.h: Likewise.
20314
20315 2012-07-25  Marek Polacek  <polacek@redhat.com>
20316
20317         [BZ #6808]
20318         * math/libm-test.inc (yn_test): Add another test.
20319         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20320         to ERANGE when the result is +-Inf.
20321         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20322         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20323         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20324         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20325
20326 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20327
20328         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20329         equal to 0.
20330         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20331         clock_t.
20332         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20333
20334 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20335
20336         * configure.in <sysdeps resolving>: Correct printing
20337         Implies_before.
20338         * configure: Regenerate.
20339
20340 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20341
20342         * math/w_ilogb.c: Include <limits.h>.
20343         * math/w_ilogbl.c: Likewise.
20344
20345 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20346
20347         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20348         va_copy.  Document allowing for unavailable va_copy only as
20349         pre-C99 compatibility.
20350         * manual/string.texi (Copying and Concatenation): Use va_copy
20351         instead of __va_copy in concat example.
20352
20353 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20354
20355         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20356         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20357         it if not null.
20358
20359         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20360         with O_NOLINK passed to __file_name_lookup.
20361
20362         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20363         with O_NOLINK passed to __file_name_lookup.
20364
20365         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20366         negative N or less than NGIDS.
20367
20368         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20369         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20370         enough.  Use memcpy instead of strncpy.
20371
20372 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20373
20374         * elf/Makefile (check-data): Remove.
20375         (localplt.data): New vpath directive.
20376         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20377         instead of $(check-data).
20378         * scripts/data/localplt-generic.data: Move to ...
20379         * sysdeps/generic/localplt.data: ... here.
20380         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20381         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20382         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20384         ... here.
20385         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20387         ... here.
20388         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20390         ... here.
20391         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20393         ... here.
20394         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20396         ... here.
20397         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20399         ... here.
20400
20401 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20402
20403         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20404         PPC32 and PPC64 files.
20405         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20406         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20407
20408 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20409
20410         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20411         __makecontext_ret to ...
20412         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20413         ... here and call exit if uc_link is NULL.  New file.
20414         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20415         __makecontext_ret.S.
20416         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20417         __makecontext_ret to ...
20418         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20419         ... here and call exit if uc_link is NULL.  New file.
20420         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20421         __makecontext_ret.S.
20422
20423 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20424
20425         * elf/elf.h (R_390_IRELATIVE): New definition.
20426         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20427         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20428         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20429         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20430         (elf_machine_lazy_rel): Likewise.
20431         * sysdeps/s390/dl-irel.h: New file.
20432         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20433         * sysdeps/s390/s390-64/memset.S: New asm code.
20434         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20435         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20436         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20437         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20438         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20439         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20440         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20441         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20442         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20443         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20444         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20445         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20446         * sysdeps/s390/s390-32/memset.S: New asm code.
20447         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20448
20449 2012-07-17  Marek Polacek  <polacek@redhat.com>
20450
20451         [BZ #14349]
20452         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20453         * sysdeps/s390/s390-64/configure.in: Likewise.
20454         * sysdeps/sparc/configure.in: Likewise.
20455         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20456         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20457         * sysdeps/i386/configure.in: Likewise.
20458         * sysdeps/x86_64/configure.in: Likewise.
20459         * sysdeps/sh/configure.in: Likewise.
20460         * sysdeps/s390/s390-32/configure: Regenerated.
20461         * sysdeps/s390/s390-64/configure: Likewise.
20462         * sysdeps/x86_64/configure: Likewise.
20463         * sysdeps/sh/configure: Likewise.
20464         * sysdeps/powerpc/powerpc64/configure: Likewise.
20465         * sysdeps/powerpc/powerpc32/configure: Likewise.
20466         * sysdeps/sparc/configure: Likwise.
20467         * sysdeps/i386/configure: Likewise.
20468
20469         * elf/dl-open.c: Comment fixes.
20470
20471 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20472
20473         * Makefile [CXX] (check-data): Remove.
20474         [CXX] (c++-types.data): New vpath directive.
20475         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20476         vpath.  Do not allow for C++ type data being missing.
20477         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20478         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20479         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20480         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20481         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20482         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20483         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20485         ... here.
20486         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20488         ... here.
20489         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20491         ... here.
20492         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20494         ... here.
20495         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20497         ... here.
20498         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20500         ... here.
20501         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20503         ... here.
20504         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20506
20507         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20508         definitions to architecture-specific files.
20509         (TLS_IE): Likewise.
20510         (TLS_LD): Likewise.
20511         (TLS_GD): Likewise.
20512         * sysdeps/i386/tls-macros.h: New file.
20513         * sysdeps/powerpc/tls-macros.h: Likewise.
20514         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20515         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20516         * sysdeps/sh/tls-macros.h: Likewise.
20517         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20518         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20519         * sysdeps/x86_64/tls-macros.h: Likewise.
20520
20521 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20522
20523         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20524         zero value for regular exit case.
20525
20526         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20527         (__start_context): Preserve zero value for regular exit case.
20528
20529 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20530             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20531
20532         * manual/setjmp.texi (setcontext): Clarify normal process
20533         termination when uc_link is the null pointer.
20534         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20535         exit call.
20536
20537 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
20538
20539         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20540         preprocessor.  Test for each exception mask separately.
20541
20542 2012-07-16  Andreas Jaeger  <aj@suse.de>
20543
20544         * po/ru.po: Update from translation team.
20545
20546 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
20547
20548         * conform/data/string.h-data (NULL): Use macro-constant.  Require
20549         equal to 0.
20550         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20551         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20552         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20553         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20554         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20555
20556 2012-07-13  Andreas Jaeger  <aj@suse.de>
20557
20558         * po/fr.po: Update from translation team.
20559
20560 2012-07-12  Marek Polacek  <polacek@redhat.com>
20561
20562         [BZ #14173]
20563         * math/libm-test.inc (yn_test): Add test for BZ #14173.
20564         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20565         loop condition.
20566
20567 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
20568
20569         [BZ #13717]
20570         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20571         Change to 2.4.1 where previously 2.4.0.
20572         * sysdeps/unix/sysv/linux/configure: Regenerated.
20573         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20574         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20575         version.
20576         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20577         (__ASSUME_AT_CLKTCK): Remove.
20578         (__ASSUME_AT_PAGESIZE): Likewise.
20579         (__ASSUME_AT_XID): Likewise.
20580         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20581         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20582         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20583         unconditionally.
20584         (HAVE_AUX_PAGESIZE): Likewise.
20585         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20586         [__ASSUME_AT_CLKTCK]: Make code unconditional.
20587         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20588
20589 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
20590
20591         [BZ #14307]
20592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20593         the temporary buffer used to invoke __gethostbyname2_r,
20594         __gethostbyaddr_r and gethostbyname4_r to make room for struct
20595         host_data / struct gaih_addrtuple.
20596         * resolv/nss_dns/dns-host.c (global scope): Move definition of
20597         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20598         header file nss/nsswitch.h.
20599         * nss/nsswitch.h (global scope): Add definition of implementation
20600         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20601         resolv/nss_dns/dns-host.c).
20602
20603 2012-07-11  Andreas Jaeger  <aj@suse.de>
20604
20605         * po/fr.po: Update from translation team.
20606
20607         * po/sv.po: Update from translation team
20608         * po/fr.po: Another update from translation team.
20609
20610 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20611
20612         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20613         for subnormals or multiply small sinh result by itself.
20614         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20616
20617 2012-07-11  David S. Miller  <davem@davemloft.net>
20618
20619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20620
20621 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20622
20623         [BZ #14347]
20624         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20625         (INTERNAL_MARK): Shift it here.
20626
20627 2012-07-10  Marek Polacek  <polacek@redhat.com>
20628
20629         [BZ #14151]
20630         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20631         libc_cv_asm_global_directive with .globl.
20632         * configure: Regenerated.
20633         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20634         with .globl.
20635         * sysdeps/i386/configure: Regenerated.
20636         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20637         with .globl.
20638         * sysdeps/x86_64/configure: Regenerated.
20639         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20640         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20641         * elf/tst-unique2mod2.c: Likewise.
20642         * elf/tst-unique2mod1.c: Likewise.
20643         * elf/tst-unique1mod2.c: Likewise.
20644         * elf/tst-unique1mod1.c: Likewise.
20645         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20646         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20647         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20648         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20649         * sysdeps/mach/sysdep.h: Likewise.
20650         * sysdeps/i386/sysdep.h: Likewise.
20651         * sysdeps/i386/i386-mcount.S: Likewise.
20652         * sysdeps/x86_64/_mcount.S: Likewise.
20653         * sysdeps/x86_64/sysdep.h: Likewise.
20654         * sysdeps/sh/_mcount.S: Likewise.
20655         * sysdeps/sh/sysdep.h: Likewise.
20656         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20657         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20658         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20659         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20660         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20661         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20662         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20663         * locale/localeinfo.h: Likewise.
20664         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20665         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20666
20667 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20668
20669         [BZ #14336]
20670         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20671         system".
20672         * manual/message.texi (The Uniforum approach): Likewise.
20673         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20674         (glibc iconv Implementation): Likewise.
20675
20676 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20677
20678         [BZ #14337]
20679         * math/s_clog.c (__clog): Avoid scaling a value down where that
20680         could result in underflow.
20681         * math/s_clog10.c (__clog10): Likewise.
20682         * math/s_clog10f.c (__clog10f): Likewise.
20683         * math/s_clog10l.c (__clog10l): Likewise.
20684         * math/s_clogf.c (__clogf): Likewise.
20685         * math/s_clogl.c (__clogl): Likewise.
20686         * math/libm-test.inc (clog_test): Add more tests.
20687         (clog10_test): Likewise.
20688         * sysdeps/i386/fpu/libm-test-ulps: Update.
20689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20690
20691 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20692
20693         [BZ #14283]
20694         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20695         by 7 not 8 to examine high bit of fractional part.
20696
20697         [BZ #14042]
20698         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20699         for call to __mcount_internal.
20700         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20701         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20702         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20703
20704 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20705
20706         [BZ #14154]
20707         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20708         approximation for values within 0x1p-13f of an odd multiple of
20709         pi/4.
20710         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20711         exception.  Add more tests.
20712         * sysdeps/i386/fpu/libm-test-ulps: Update.
20713
20714         [BZ #6778]
20715         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20716         inputs and return -1 for them.  Do not check for +Inf in case not
20717         reachable for +Inf.
20718         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20719         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20720         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20721         and return -1 for them.  Do not check for +Inf in case not
20722         reachable for +Inf.
20723         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20724         define.
20725         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20726         and return -1 for them.  Do not check for +Inf in case not
20727         reachable for +Inf.
20728         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20729         spurious underflow.
20730         * sysdeps/i386/fpu/libm-test-ulps: Update.
20731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20732
20733 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20734
20735         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20736
20737 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20738
20739         [BZ #14157]
20740         [BZ #14331]
20741         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20742         could result in spurious underflow.  Scale down values above
20743         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20744         * math/s_csqrtf.c (__csqrtf): Likewise.
20745         * math/s_csqrtl.c (__csqrtl): Likewise.
20746         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20747         spurious underflow.
20748         * sysdeps/i386/fpu/libm-test-ulps: Update.
20749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20750
20751 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20752
20753         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20754         xopen-msg.sed.
20755         * catgets/xopen-msg.awk: New file.
20756         * catgets/xopen-msg.sed: Removed.
20757
20758         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20759         po2text.sed.
20760         * intl/po2test.awk: New file.
20761         * intl/po2test.sed: Removed.
20762
20763 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20764
20765         [BZ #14328]
20766         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20767         or multiply small sinh result by itself.
20768         * math/s_ctanf.c (__ctanf): Likewise.
20769         * math/s_ctanh.c (__ctanh): Likewise.
20770         * math/s_ctanhf.c (__ctanhf): Likewise.
20771         * math/s_ctanhl.c (__ctanhl): Likewise.
20772         * math/s_ctanl.c (__ctanl): Likewise.
20773         * math/libm-test.inc (ctan_test_tonearest): New function.
20774         (ctan_test_towardzero): Likewise.
20775         (ctan_test_downward): Likewise.
20776         (ctan_test_upward): Likewise.
20777         (ctanh_test_tonearest): Likewise.
20778         (ctanh_test_towardzero): Likewise.
20779         (ctanh_test_downward): Likewise.
20780         (ctanh_test_upward): Likewise.
20781         (main): Call these new functions.
20782         * sysdeps/i386/fpu/libm-test-ulps: Update.
20783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20784
20785 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20786
20787         * .gitignore: Delete /ports entry.
20788
20789 2012-07-03  Andreas Jaeger  <aj@suse.de>
20790
20791         * po/bg.po: Update from translation team.
20792         * po/cs.po: Likewise.
20793         * po/de.po: Likewise.
20794         * po/hr.po: Likewise.
20795         * po/nl.pl: Likewise.
20796         * po/pl.po: Likewise.
20797         * po/vi.po: Likewise.
20798
20799 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20800
20801         * Makeconfig [!+link] (+link-before-libc): New variable.
20802         [!+link] (+link-after-libc): Likewise.
20803         [!+link] (+link-tests): Likewise.
20804         [!+link] (+link): Define in terms of $(+link-before-libc) and
20805         $(+link-after-libc).
20806         [!+link-static] (+link-static-before-libc): New variable.
20807         [!+link-static] (+link-static-after-libc): Likewise.
20808         [!+link-static] (+link-static-tests): Likewise.
20809         [!+link-static] (+link-static): Define in terms of
20810         $(+link-static-before-libc) and $(+link-static-after-libc).
20811         [build-shared] (link-libc-before-gnulib): New variable.
20812         [build-shared] (link-libc-tests): Likewise.
20813         [build-shared] (link-libc): Define in terms of
20814         $(link-libc-before-gnulib).
20815         [!build-shared] (link-libc-tests): New variable.
20816         (link-libc-static-tests): New variable.
20817         [!gnulib] (gnulib-arch): New variable.
20818         [!gnulib] (gnulib-tests): Likewise.
20819         [!gnulib] (static-gnulib-arch): Likewise.
20820         [!gnulib] (static-gnulib-tests): Likewise.
20821         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20822         Define with "=" instead of ":=".
20823         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20824         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20825         * Rules (binaries-all-notests): New variable.
20826         (binaries-all-tests): Likewise.
20827         (binaries-static-notests): Likewise.
20828         (binaries-static-tests): Likewise.
20829         (binaries-all): Define using $(binaries-all-notests) and
20830         $(binaries-all-tests).
20831         (binaries-static): Define using $(binaries-static-notests) and
20832         $(binaries-static-tests).
20833         (binaries-shared-tests): New variable.
20834         (binaries-shared-notests): Likewise.
20835         (binaries-shared): Remove variable.
20836         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20837         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20838         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20839         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20840         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20841         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20842         * elf/Makefile (sln-modules): New variable.
20843         (extra-objs): Add $(sln-modules:=.o).
20844         (ldconfig-modules): Add static-stubs.
20845         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20846         * elf/static-stubs.c: New file.
20847
20848         [BZ #14283]
20849         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20850         by 7 not 8 to examine high bit of fractional part.  Use volatile
20851         variables when splitting into final array of floats if
20852         __FLT_EVAL_METHOD__ != 0.
20853         * math/libm-test.inc (cos_test): Add another test.
20854         (sin_test): Likewise.
20855         * sysdeps/i386/fpu/libm-test-ulps: Update.
20856
20857         [BZ #14273]
20858         * math/libm-test.inc (cosh_test): Add more tests.
20859
20860         * version.h (RELEASE): Set to "development".
20861         (VERSION): Set to "2.16.90".
20862
20863 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20864
20865         * NEWS: Update copyright. Remove last-updated date.
20866         Mention math library bug fixes and timezone data changes.
20867         * README: Mention GNU/Hurd, x32, and HPPA support status.
20868
20869 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20870
20871         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20872
20873 2012-06-27  Andreas Jaeger  <aj@suse.de>
20874
20875         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20876
20877 2012-06-25  Andreas Jaeger  <aj@suse.de>
20878
20879         * sysdeps/s390/fpu/libm-test-ulps: Update.
20880
20881 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20882             Thomas Schwinge  <thomas@codesourcery.com>
20883
20884         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20885         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20886         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20887         fanotify_mark.
20888
20889 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20890
20891         * sysdeps/mach/start.c: Remove file.
20892         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20893         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20894         * sysdeps/sh/init-first.c: Likewise.
20895
20896         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20897         registers for frame unwinding purposes, add CFI directives.
20898         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20899         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20900         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20901         Likewise.
20902
20903         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20904         __fortify_fail returning.
20905         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20906
20907         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20908         sysdeps/sh/____longjmp_chk.S.
20909         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20910         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20911         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20912         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20913
20914         * sysdeps/sh/abort-instr.h: New file.
20915         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20916         process in case exit returns.
20917
20918         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20919         initialize the GOT register before use.
20920
20921         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20922         calculation of ARGC > 4.
20923
20924         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20925         meaningful names to some local labels.
20926
20927 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20928             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20929
20930         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20931         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20932         (__arch_compare_and_exchange_val_16_acq): Likewise.
20933         (__arch_compare_and_exchange_val_32_acq): Likewise.
20934         (atomic_exchange_and_add): Fix gUSA sequence.
20935         (atomic_add): Likewise.
20936         (atomic_add_negative): Likewise.
20937         (atomic_add_zero): Likewise.
20938         (atomic_bit_test_set): Likewise.
20939
20940 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20941
20942         [BZ #13579]
20943         * include/link.h (struct link_map): Add l_free_initfini.
20944         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20945         l_initfini.
20946         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20947         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20948         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20949         set.
20950
20951 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20952
20953         * configure.in: Use AC_LANG_SOURCE.
20954         * configure: Regenerate.
20955
20956 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20957
20958         * configure.in (libc_cv_localstatedir): New substituted variable.
20959         * configure: Regenerated.
20960         * config.make.in (localstatedir): New variable, substituted from
20961         libc_cv_localstatedir.
20962         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20963         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20964         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20965         * sysdeps/gnu/configure: Regenerated.
20966
20967 2012-06-21  Jeff Law  <law@redhat.com>
20968
20969         [BZ #14277]
20970         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20971         free.  Simplify list management for _LIBC case.
20972
20973 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20974
20975         [BZ #14273]
20976         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20977         Clear sign bit of 64-bit integer value before comparing against
20978         overflow value.
20979
20980         * sysdeps/mach/configure: Regenerated.
20981
20982 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20983
20984         [BZ #14278]
20985         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20986
20987 2012-06-21  Jeff Law  <law@redhat.com>
20988
20989         [BZ #13882]
20990         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20991         uint16_t for elements in the "seen" array to avoid char overflows.
20992         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20993         * elf/dl-open.c (dl_open_worker): Likewise.
20994
20995 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
20996
20997         * scripts/list-sources.sh: Scan PORTS for translations.
20998         * po/libc.pot: Regenerated.
20999
21000 2012-06-21  Andreas Jaeger  <aj@suse.de>
21001
21002         [BZ #12194]
21003         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21004         warning.
21005         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21006         * bits/byteswap-16.h (__bswap_16): Likewise.
21007         * bits/byteswap.h (__bswap_constant_16): Likewise.
21008
21009 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21010
21011         [BZ #14117]
21012         * sysdeps/i386/fpu_control.h: Removed.
21013         * sysdeps/x86_64/fpu_control.h: Moved to ...
21014         * sysdeps/x86/fpu_control.h: Here.
21015
21016         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21017         (_FPU_SETCW): Likewise.
21018
21019 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21020
21021         [BZ #14117]
21022         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21023         * sysdeps/x86/fpu/bits/mathinline.h: This.
21024         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21025
21026         [BZ #14050]
21027         [BZ #14117]
21028         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21029         functions if __x86_64__ is defined.
21030
21031 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21032
21033         * string/endian.h: Add !__ASSEMBLER__ condition for including
21034         conversion interfaces.
21035
21036 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21037
21038         [BZ #14241]
21039         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21040         of ABS(x) in calculating zero to negative powers other than odd
21041         integers.
21042         * math/libm-test.inc (pow_test): Add more tests.
21043
21044 2012-06-15  Andreas Jaeger  <aj@suse.de>
21045
21046         * manual/contrib.texi (Contributors): Update entry of Liubov
21047         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21048         Machado Filho.
21049
21050 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21051
21052         * string/string.h: Add __wur to GNU version of strerror_r.
21053
21054 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21055
21056         [BZ #14229]
21057         * string/Makefile (tests): Add tst-strtok_r.
21058         * string/tst-strtok_r.c: New file.
21059         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21060         RAX_LP/RDX_LP on SAVE_PTR.
21061
21062 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21063
21064         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21065
21066 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21067
21068         * libm_test.inc (csqrt_test): Allow more spurious underflow
21069         exceptions.
21070         (j0_test): Likewise.
21071         (j1_test): Likewise.
21072         (y0_test): Likewise.
21073         (y1_test): Likewise.
21074
21075 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21076
21077         * po/Makefile (libc.pot): Use UTF-8 charset.
21078
21079 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21080
21081         [BZ #14210]
21082         Suppress sign-conversion warning from FD_SET.
21083         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21084         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21085         not unsigned long int.
21086         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21087
21088 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21089
21090         [BZ #14050]
21091         [BZ #14117]
21092         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21093         __extern_always_inline instead of __extern_inline.
21094         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21095         (__signbit): Likewise.
21096         (__signbitl): Support C++ namespace.
21097         (lrintf): New inline function.
21098         (lrint): Likewise.
21099         (llrintf): Likewise.
21100         (llrint): Likewise.
21101         (fmaxf): Likewise.
21102         (fmax): Likewise.
21103         (fminf): Likewise.
21104         (fmin): Likewise.
21105         (rint): Likewise.
21106         (rintf): Likewise.
21107         (ceil): Likewise.
21108         (ceilf): Likewise.
21109         (floor): Likewise.
21110         (floorf): Likewise.
21111         (nearbyint): Likewise.
21112         (nearbyintf): Likewise.
21113
21114 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21115
21116         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21117         non-default versions.
21118
21119 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21120
21121         [BZ #14218]
21122         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21123
21124 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21125
21126         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21127         (FE_UPWARD, FE_DOWNWARD): Don't define.
21128         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21129         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21130
21131         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21132         reading it.
21133         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21134         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21135
21136 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21137
21138         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21139         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21140         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21141         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21142
21143 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21144
21145         [BZ #14117]
21146         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21147         * sysdeps/i386/fpu/Implies: New file.
21148         * sysdeps/x86_64/fpu/Implies: Likewise.
21149         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21150         * sysdeps/x86/fpu/bits/fenv.h: This.
21151
21152         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21153         __SSE_MATH__.
21154
21155 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21156
21157         [BZ #14134]
21158         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21159         character 0xffff that matches the last element of the
21160         conversion table.
21161
21162 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21163
21164         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21165         fmodl commit.
21166
21167 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21168
21169         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21170         values higher than 25.6283.
21171
21172 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21173
21174         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21175         subnormal exponent extraction and add some __builtin_expect.
21176         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21177         Fix for subnormal mantissa calculation.
21178
21179 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21180
21181         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21182         cpu2 is -1 and errno is not ENOSYS.
21183
21184 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21185
21186         [BZ #14117]
21187         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21188         * sysdeps/x86/bits/string.h: This.
21189         * sysdeps/x86_64/bits/string.h: Removed.
21190
21191         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21192         if not compiling for x86-64, but compiling for >= i486.
21193
21194         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21195         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21196
21197         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21198         New macro from Linux kernel 3.4.0.
21199         (FP_XSTATE_MAGIC2): Likewise.
21200         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21201         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21202         (struct _fpx_sw_bytes): New struct.
21203         (struct _xsave_hdr): Likewise.
21204         (struct _ymmh_state): Likewise.
21205         (struct _xstate): Likewise.
21206
21207         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21208         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21209         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21210         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21211         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21212         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21213
21214         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21215         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21216         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21217         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21218         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21219         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21220
21221 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21222
21223         [BZ #13743]
21224         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21225         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21226         (sysdep_headers): Include sys/platform/ppc.h.
21227         * sysdeps/powerpc/test-gettimebase.c: Test for
21228         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21229         * manual/Makefile (appendices): Include platform.texi.
21230         * manual/contrib.texi (Contributors): Update @node pointers.
21231         * manual/maint.texi (Maintenance): Likewise.
21232         (Platform): New node.
21233         * manual/platform.texi: New file.  Document the new features.
21234
21235 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21236             Jakub Jelinek  <jakub@redhat.com>
21237
21238         [BZ #14188]
21239         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21240         where __builtin_expect is unavailable.
21241
21242 2012-06-03  David S. Miller  <davem@davemloft.net>
21243
21244         * stdlib/longlong.h: Updated from GCC.
21245
21246 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21247
21248         [BZ #14042]
21249         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21250         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21251         __mcount_internal.
21252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21253         (GLIBC_2.16): Likewise.
21254
21255 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21256
21257         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21258
21259 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21260
21261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21262         (default-abi): New variable.
21263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21264         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21265         variable.
21266         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21267         Likewise.
21268         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21269         Likewise.
21270         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21271         Likewise.
21272
21273         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21274         definition.  Document in comment.
21275
21276 2012-06-01  David S. Miller  <davem@davemloft.net>
21277
21278         * stdlib/longlong.h: Updated from GCC.
21279
21280 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21281
21282         [BZ #14117]
21283         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21284         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21285         sys/debugreg.h sys/io.h here.
21286         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21287         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21288         sys/io.h.
21289         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21290         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21291         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21292         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21293         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21294         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21295
21296         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21297         Define only if __x86_64__ is defined.
21298
21299 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21300
21301         [BZ #14048]
21302         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21303         Use int64_t for variable i.
21304         * math/libm-test.inc (fmod_test): Add more tests.
21305
21306         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21307         z computation is not scheduled after fetestexcept.
21308         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21309         Use math_force_eval instead of asm to ensure calculation scheduled
21310         before exception test.
21311         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21312         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21313
21314 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21315
21316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21317         computation is not scheduled after fetestexcept.
21318
21319 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21320
21321         [BZ #14117]
21322         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21323         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21324
21325 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21326
21327         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21328         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21329
21330 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21331
21332         [BZ #14117]
21333         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21334         <bits/wordsize.h>.
21335         (__WCHAR_MIN): Support __WORDSIZE == 64.
21336         (__WCHAR_MAX): Likewise.
21337
21338         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21339         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21340
21341         [BZ #14183]
21342         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21343         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21344
21345         [BZ #14117]
21346         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21347         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21348
21349         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21350         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21351
21352         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21353         Defined to 1 if __x86_64__ isn't defined.
21354         (_STAT_VER_LINUX_OLD): New.
21355         (st_atime): Remove duplicate.
21356         (st_mtime): Likewise.
21357         (st_ctime): Likewise.
21358
21359 2012-05-31  David S. Miller  <davem@davemloft.net>
21360
21361         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21362         entries.
21363
21364 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21365
21366         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21367         gen-libm-test.pl.
21368
21369         [BZ #14132]
21370         * elf/dl-reloc.c: Include <_itoa.h>.
21371         (_dl_reloc_bad_type): Remove use of INTUSE.
21372         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21373         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21374         * stdio-common/psiginfo.c (psiginfo): Likewise.
21375         * stdio-common/psignal.c (psignal): Likewise.
21376         * string/strsignal.c (strsignal): Likewise.
21377         * include/signal.h (_sys_siglist): Declare hidden proto.
21378         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21379         INTVARDEF with libc_hidden_data_def.
21380         * stdio-common/itoa-udigits.c: Likewise.
21381         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21382         (_itoa_lower_digits_internal): Remove declaration.
21383         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21384         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21385         (_sys_sigabbrev_internal): Remove aliases.
21386         (_sys_siglist): Define hidden alias.
21387
21388 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21389
21390         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21391         bits/sysctl.h.
21392
21393 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21394
21395         [BZ #14117]
21396         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21397         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21398
21399         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21400         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21401         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21402         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21403         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21404         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21405
21406         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21407         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21408         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21409
21410         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21411         with __addr.
21412         (insw): Likewise.
21413         (insl): Likewise.
21414         (outsb): Likewise.
21415         (outsw): Likewise.
21416         (outsl): Likewise.
21417
21418         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21419         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21420         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21421
21422         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21423         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21424         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21425         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21426         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21427         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21428
21429         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21430         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21431
21432         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21433         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21434
21435         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21436         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21437         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21438
21439         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21440         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21441         to ...
21442         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21443
21444         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21445         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21446         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21447
21448         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21449         for x86-64.
21450         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21451
21452 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21453
21454         * math/math.h (M_El): Use two more decimal places.
21455         (M_LOG2El): Likewise.
21456         (M_LOG10El): Likewise.
21457         (M_LN2l): Likewise.
21458         (M_LN10l): Likewise.
21459         (M_PIl): Likewise.
21460         (M_PI_2l): Likewise.
21461         (M_PI_4l): Likewise.
21462         (M_1_PIl): Likewise.
21463         (M_2_PIl): Likewise.
21464         (M_2_SQRTPIl): Likewise.
21465         (M_SQRT2l): Likewise.
21466         (M_SQRT1_2l): Likewise.
21467
21468 2012-05-31  David S. Miller  <davem@davemloft.net>
21469
21470         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21471         values between float registers.
21472         * sysdeps/sparc/sparc64/memset.S: Likewise.
21473         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21474
21475 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21476
21477         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21478         -D_FORTIFY_SOURCE=1.
21479         (CPPFLAGS-tst-longjmp_chk.c): Define.
21480         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21481         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21482         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21483         CFLAGS-tst-wchar-h.c.
21484
21485 2012-05-31  Marek Polacek  <polacek@redhat.com>
21486
21487         [BZ #14132]
21488         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21489         __endmntent_internal): Remove declaration.
21490         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21491         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21492         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21493
21494 2012-05-30  David S. Miller  <davem@davemloft.net>
21495
21496         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21497         (___Q_simulate_exceptions): Use real FP ops rather than writing
21498         into the %fsr.
21499         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21500         Likewise.
21501
21502 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21503
21504         [BZ #14117]
21505         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21506         * sysdeps/x86/bits/xtitypes.h: This.
21507
21508         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21509         * sysdeps/x86/bits/wordsize.h: This.
21510
21511         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21512         * sysdeps/x86/bits/huge_vall.h: This.
21513
21514         * sysdeps/i386/bits/select.h: Removed.
21515         * sysdeps/x86_64/bits/select.h: Renamed to ...
21516         * sysdeps/x86/bits/select.h: This.
21517
21518         * sysdeps/i386/bits/setjmp.h: Removed.
21519         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21520         * sysdeps/x86/bits/setjmp.h: This.
21521
21522         * sysdeps/i386/bits/mathdef.h: Removed.
21523         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21524         * sysdeps/x86/bits/mathdef.h: This.
21525
21526 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
21527
21528         [BZ #14132]
21529         * include/sys/socket.h (__connect_internal)
21530         (__libc_sa_len_internal): Remove declaration.
21531         (__connect, __libc_sa_len): Declare hidden_proto.
21532         (SA_LEN): Remove use of INTUSE.
21533         * socket/connect.c: Add libc_hidden_def.
21534         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21535         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21536         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21537         alias.
21538         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21539         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21540         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21541         of adding _internal alias.
21542
21543 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21544
21545         [BZ #14117]
21546         * sysdeps/i386/bits/link.h: Removed.
21547         * sysdeps/i386/bits/linkmap.h: Likewise.
21548         * sysdeps/x86_64/bits/link.h: Renamed to ...
21549         * sysdeps/x86/bits/link.h: This.
21550         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21551         * sysdeps/x86/bits/linkmap.h: This.
21552
21553         * sysdeps/i386/bits/endian.h: Removed.
21554         * sysdeps/x86_64/bits/endian.h: Renamed to ...
21555         * sysdeps/x86/bits/endian.h: This.
21556
21557         * sysdeps/i386/bits/byteswap.h: Removed.
21558         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21559         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21560         * sysdeps/x86/bits/byteswap.h: This.
21561         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21562         * sysdeps/x86/bits/byteswap-16.h: This.
21563         * sysdeps/i386/Implies: Add x86.
21564         * sysdeps/x86_64/Implies: Likewise.
21565
21566 2012-05-30  David S. Miller  <davem@davemloft.net>
21567
21568         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21569         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21570         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21571         (FP_TRAPPING_EXCEPTIONS): Define.
21572         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21573         (FP_TRAPPING_EXCEPTIONS): Define.
21574         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21575         subnormals only when inexact has been signalled or underflow
21576         exceptions are enabled.
21577         (_FP_PACK_CANONICAL): Likewise.
21578
21579 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21580
21581         [BZ #14183]
21582         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21583         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21584
21585 2012-05-30  Richard Henderson  <rth@twiddle.net>
21586
21587         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21588         with #ifndef NOT_IN_libc.
21589
21590         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
21591         marked to avoid plt entry.
21592
21593 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21594
21595         [BZ #14112]
21596         * Makeconfig (default-abi): New macro.
21597         (abi-includes): Likewise.
21598         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
21599         $(abi-$(default-abi)-lib-soname) for soname if defined.
21600         ($(common-objpfx)gnu/lib-names.stmp): Generate from
21601         abi-variants.
21602         * Makefile (installed-stubs): Likewise.
21603         * include/stubs-biarch.h: Removed.
21604         * scripts/lib-names.awk: Only handle one library at a time.
21605         * scripts/soversions.awk: Remove WORDSIZE support.
21606         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21607         entries.
21608         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21609         Removed.
21610         (syscall-list-default-condition): Likewise.
21611         (syscall-list-default-condition): Likewise.
21612         (syscall-list-includes): Likewise.
21613         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21614         syscall-list-* with abi-*.  Handle undefined abi-variants.
21615         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21616         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21617         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21618         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21619         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21620         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21621         Removed.
21622         (syscall-list-32-options): Likewise.
21623         (syscall-list-32-condition): Likewise.
21624         (syscall-list-64-options): Likewise.
21625         (syscall-list-64-condition): Likewise.
21626         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21627         macro.
21628         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21629         Renamed to ...
21630         (abi-*): This.
21631         (abi-64-ld-soname): New macro.
21632         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21633         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21634         Renamed to ...
21635         (abi-*): This.
21636         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21637         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21638
21639 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21640
21641         * sysdeps/unix/sysv/linux/kernel-features.h
21642         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21643         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21644         include <kernel-features.h>.
21645         [!__NR_ftruncate64]: Remove conditional code.
21646         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21647         [__NR_ftruncate64]: Make code unconditional.
21648         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21649         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21650         include <kernel-features.h>.
21651         [!__NR_ftruncate64]: Remove conditional code.
21652         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21653         [__NR_ftruncate64]: Make code unconditional.
21654         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21656         include <kernel-features.h>.
21657         [!__NR_ftruncate64]: Remove conditional code.
21658         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21659         [__NR_ftruncate64]: Make code unconditional.
21660         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21662         include <kernel-features.h>.
21663         [!__NR_ftruncate64]: Remove conditional code.
21664         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21665         [__NR_ftruncate64]: Make code unconditional.
21666         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21667
21668         * configure.in (libc_cv_fpie): Weaken to a compile test using
21669         LIBC_TRY_CC_OPTION.
21670         * configure: Regenerated.
21671
21672 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21673
21674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21678         Refreshed.
21679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21685         Refreshed.
21686
21687 2012-05-27  David S. Miller  <davem@davemloft.net>
21688
21689         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21690         (___Q_zero): New.
21691         (__Q_simulate_exceptions): Return void.  Change to simulate
21692         exceptions by writing into the %fsr.
21693         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21694         (__Qp_handle_exceptions): Likewise.
21695         (numbers): Delete.
21696         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21697         __Qp_handle_exceptions.
21698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21699         __Qp_handle_exceptions.
21700         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21701         as unused and give dummy FP_RND_NEAREST initializer.
21702         (FP_INHIBIT_RESULTS): Define.
21703         (___Q_simulate_exceptions): Update declaration.
21704         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21705         formatting.
21706         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21707         as unused and give dummy FP_RND_NEAREST initializer.
21708         (__Qp_handle_exceptions): Update declaration.
21709         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21710         formatting.
21711
21712 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21713
21714         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21715         the temporary FPU control word.
21716         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21717         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21718         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21719         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21720         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21721         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21722         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21723         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21724         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21725         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21726         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21727
21728 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21729
21730         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21731         fields.
21732
21733 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21734
21735         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21736         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21737         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21738         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21739         Likewise.
21740         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21741         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21742         Likewise.
21743
21744 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21745
21746         * po/h.po: Update from translation team.
21747
21748 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21749
21750         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21751
21752         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21753         handling of denormals.
21754         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21755         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21756         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21757         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21758         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21759         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21760         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21761         Likewise.
21762
21763 2012-05-26  Marek Polacek  <polacek@redhat.com>
21764
21765         [BZ #14152]
21766         * math/libm-test.inc (fma_test): Don't always expect underflow
21767         exception.
21768
21769 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21770
21771         [BZ #12416]
21772         * elf/tst-execstack.c: Include stackinfo.h.
21773         (do_test): Adjust test case to ensure that pthread_getattr_np
21774         behaviour remains the same after marking stack executable.
21775
21776 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21777
21778         * sysdeps/unix/sysv/linux/kernel-features.h
21779         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21780         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21781         kernel-features.h.
21782         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21783         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21784         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21785         kernel-features.h.
21786         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21787         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21788
21789 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21790
21791         * configure.in: Define the default includes to being none.
21792         * configure: Regenerated.
21793
21794 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21795
21796         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21797         * sysdeps/x86_64/setjmp.S: Likewise.
21798         * sysdeps/i386/bsd-setjmp.S: Likewise.
21799         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21800         * sysdeps/i386/setjmp.S: Likewise.
21801         * sysdeps/i386/__longjmp.S: Likewise.
21802         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21803         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21804
21805         * include/stap-probe.h: New file.
21806         * configure.in: Handle --enable-systemtap.
21807         * configure: Regenerated.
21808         * config.h.in (USE_STAP_PROBE): New #undef.
21809         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21810         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21811         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21812
21813 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21814
21815         [BZ #13717]
21816         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21817         to 2.4.0 where earlier.
21818         * sysdeps/unix/sysv/linux/configure: Regenerated.
21819         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21820         <kernel-features.h>.
21821         [__ASSUME_32BITUIDS]: Make code unconditional.
21822         [!__ASSUME_32BITUIDS]: Remove conditional code.
21823         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21824         <kernel-features.h>.
21825         [__ASSUME_32BITUIDS]: Make code unconditional.
21826         [!__ASSUME_32BITUIDS]: Remove conditional code.
21827         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21828         [__ASSUME_32BITUIDS]: Make code unconditional.
21829         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21830         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
21835         <kernel-features.h>.
21836         [__ASSUME_32BITUIDS]: Make code unconditional.
21837         [!__ASSUME_32BITUIDS]: Remove conditional code.
21838         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21839         <kernel-features.h>.
21840         [__ASSUME_32BITUIDS]: Make code unconditional.
21841         [!__ASSUME_32BITUIDS]: Remove conditional code.
21842         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21843         <kernel-features.h>.
21844         [__ASSUME_32BITUIDS]: Make code unconditional.
21845         [!__ASSUME_32BITUIDS]: Remove conditional code.
21846         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21847         <kernel-features.h>.
21848         [__ASSUME_32BITUIDS]: Make code unconditional.
21849         [!__ASSUME_32BITUIDS]: Remove conditional code.
21850         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21851         <kernel-features.h>.
21852         [__ASSUME_32BITUIDS]: Make code unconditional.
21853         [!__ASSUME_32BITUIDS]: Remove conditional code.
21854         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21855         <kernel-features.h>.
21856         [__ASSUME_32BITUIDS]: Make code unconditional.
21857         [!__ASSUME_32BITUIDS]: Remove conditional code.
21858         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21859         <kernel-features.h>.
21860         [__ASSUME_32BITUIDS]: Make code unconditional.
21861         [!__ASSUME_32BITUIDS]: Remove conditional code.
21862         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21863         <kernel-features.h>.
21864         [__ASSUME_32BITUIDS]: Make code unconditional.
21865         [!__ASSUME_32BITUIDS]: Remove conditional code.
21866         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21867         <kernel-features.h>.
21868         [__ASSUME_32BITUIDS]: Make code unconditional.
21869         [!__ASSUME_32BITUIDS]: Remove conditional code.
21870         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21871         <kernel-features.h>.
21872         [__NR_setresgid] (__setresgid): Do not declare.
21873         [__ASSUME_32BITUIDS]: Make code unconditional.
21874         [!__ASSUME_32BITUIDS]: Remove conditional code.
21875         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21876         <kernel-features.h>.
21877         [__NR_setresuid] (__setresuid): Do not declare.
21878         [__ASSUME_32BITUIDS]: Make code unconditional.
21879         [!__ASSUME_32BITUIDS]: Remove conditional code.
21880         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21881         <kernel-features.h>.
21882         [__ASSUME_32BITUIDS]: Make code unconditional.
21883         [!__ASSUME_32BITUIDS]: Remove conditional code.
21884         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21885         <kernel-features.h>.
21886         [__ASSUME_32BITUIDS]: Make code unconditional.
21887         [!__ASSUME_32BITUIDS]: Remove conditional code.
21888         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21889         <kernel-features.h>.
21890         [__ASSUME_32BITUIDS]: Make code unconditional.
21891         [!__ASSUME_32BITUIDS]: Remove conditional code.
21892         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21893         <kernel-features.h>.
21894         [__ASSUME_32BITUIDS]: Make code unconditional.
21895         [!__ASSUME_32BITUIDS]: Remove conditional code.
21896         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21897         <kernel-features.h>.
21898         [__ASSUME_32BITUIDS]: Make code unconditional.
21899         [!__ASSUME_32BITUIDS]: Remove conditional code.
21900         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21901         <kernel-features.h>.
21902         [__ASSUME_32BITUIDS]: Make code unconditional.
21903         [!__ASSUME_32BITUIDS]: Remove conditional code.
21904         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21905         <kernel-features.h>.
21906         [__ASSUME_32BITUIDS]: Make code unconditional.
21907         [!__ASSUME_32BITUIDS]: Remove conditional code.
21908         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21909         <kernel-features.h>.
21910         [__ASSUME_32BITUIDS]: Make code unconditional.
21911         [!__ASSUME_32BITUIDS]: Remove conditional code.
21912         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21913         <kernel-features.h>.
21914         [__ASSUME_32BITUIDS]: Make code unconditional.
21915         [!__ASSUME_32BITUIDS]: Remove conditional code.
21916         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21917         <kernel-features.h>.
21918         [__ASSUME_32BITUIDS]: Make code unconditional.
21919         [!__ASSUME_32BITUIDS]: Remove conditional code.
21920         * sysdeps/unix/sysv/linux/kernel-features.h
21921         (__ASSUME_SETRESUID_SYSCALL): Remove.
21922         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21923         (__ASSUME_32BITUIDS): Likewise.
21924         (__ASSUME_LDT_WORKS): Likewise.
21925         (__ASSUME_O_DIRECTORY): Likewise.
21926         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21927         architecture but not kernel version.
21928         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21929         (__ASSUME_MMAP2_SYSCALL): Likewise.
21930         (__ASSUME_STAT64_SYSCALL): Likewise.
21931         (__ASSUME_IPC64): Likewise.
21932         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21933         <kernel-features.h>.
21934         [__ASSUME_32BITUIDS]: Make code unconditional.
21935         [!__ASSUME_32BITUIDS]: Remove conditional code.
21936         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21937         <kernel-features.h>.
21938         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21939         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21940         132096]: Remove conditional code.
21941         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21942         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21943         <kernel-features.h>.
21944         [__ASSUME_32BITUIDS]: Make code unconditional.
21945         [!__ASSUME_32BITUIDS]: Remove conditional code.
21946         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21947         <kernel-features.h>.
21948         [__ASSUME_32BITUIDS]: Make code unconditional.
21949         [!__ASSUME_32BITUIDS]: Remove conditional code.
21950         * sysdeps/unix/sysv/linux/setegid.c: Do not include
21951         <kernel-features.h>.
21952         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21953         unconditional.
21954         (__setresgid): Do not declare.
21955         [__ASSUME_32BITUIDS]: Make code unconditional.
21956         [!__ASSUME_32BITUIDS]: Remove conditional code.
21957         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21958         <kernel-features.h>.
21959         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21960         unconditional.
21961         (__setresuid): Do not declare.
21962         [__ASSUME_32BITUIDS]: Make code unconditional.
21963         [!__ASSUME_32BITUIDS]: Remove conditional code.
21964         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21965         <kernel-features.h>.
21966         [__ASSUME_32BITUIDS]: Make code unconditional.
21967         [!__ASSUME_32BITUIDS]: Remove conditional code.
21968         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21969         <kernel-features.h>.
21970         [__ASSUME_32BITUIDS]: Make code unconditional.
21971         [!__ASSUME_32BITUIDS]: Remove conditional code.
21972
21973 2012-05-25  Richard Henderson  <rth@twiddle.net>
21974
21975         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21976         dl_hwcap to ifunc resolver.
21977         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21978         elf_ifunc_invoke.
21979         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21980         dl_hwcap to ifunc resolver.
21981         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21982
21983 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21984
21985         [BZ #14153]
21986         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21987         for |x| <= 2**-26, not 2**-57.
21988         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21989         exception.
21990
21991 2012-05-24  Jeff Law  <law@redhat.com>
21992
21993         * stdio-common/Makefile (tests): Add bug25.
21994         * stdio-common/bug25.c: New test.
21995
21996 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21997
21998         [BZ #13576]
21999         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22000         multiple of MALLOC_ALIGNMENT in size.
22001         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22002
22003 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22004
22005         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22006         Require >= 256.
22007         (FILENAME_MAX): Use macro-int-constant.
22008         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22009         (_IOFBF): Use macro-int-constant.
22010         (_IOLBF): Likewise.
22011         (_IONBF): Likewise.
22012         (SEEK_CUR): Likewise.
22013         (SEEK_END): Likewise.
22014         (SEEK_SET): Likewise.
22015         (TMP_MAX): Likewise.
22016         (EOF): Use macro-int-constant.  Require < 0.
22017         (NULL): Use macro-constant.  Require == 0.
22018         (stdin): Require type to be FILE *.
22019         (stdout): Likewise.
22020         (stderr): Likewise.
22021         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22022         macro-int-constant.
22023         (EXIT_SUCCESS): Likewise.
22024         (NULL): Use macro-constant.  Require == 0.
22025         (RAND_MAX): Use macro-int-constant.
22026         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22027         [C99-based standards] (strtof): Require function.
22028         [C99-based standards] (strtold): Likewise.
22029         [C99-based standards] (strtoll): Likewise.
22030         [C99-based standards] (strtoull): Likewise.
22031         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22032         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22033         [ISO || ISO99 || ISO11] (math.h): Likewise.
22034         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22035         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22036         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22037
22038 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22039
22040         [BZ #14132]
22041         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22042         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22043         * intl/dgettext.c (DCGETTEXT): Likewise.
22044         * intl/gettext.c (DCGETTEXT): Likewise.
22045         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22046         * posix/regex_internal.h (gettext): Likewise.
22047         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22048         Remove declaration.
22049         * include/argz.h (__argz_count_internal)
22050         (__argz_stringify_internal): Remove declaration.
22051         (__argz_count, __argz_stringify): Declare hidden proto.
22052         * intl/dcgettext.c: Remove use of INTDEF.
22053         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22054         * string/argz-stringify.c: Likewise.
22055         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22056         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22057         Declare hidden proto.
22058         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22059         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22060         Declare hidden proto.
22061         * include/stdio.h (__asprintf_internal): Don't declare.
22062         (__asprintf): Don't define as macro.  Declare hidden proto.
22063         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22064         (__fsetlocking): Declare hidden proto.
22065         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22066         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22067         hidden proto.
22068         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22069         (_IO_setlinebuf): Remove use of INTUSE.
22070         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22071         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22072         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22073         Remove declaration.
22074         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22075         (_IO_do_flush): Remove use of INTUSE.
22076         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22077         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22078         (_IO_adjust_column, _IO_least_wmarker)
22079         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22080         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22081         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22082         (_IO_default_doallocate, _IO_wdefault_doallocate)
22083         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22084         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22085         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22086         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22087         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22088         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22089         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22090         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22091         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22092         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22093         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22094         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22095         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22096         proto.
22097         (_IO_flush_all_internal, _IO_adjust_column_internal)
22098         (_IO_default_uflow_internal, _IO_default_finish_internal)
22099         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22100         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22101         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22102         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22103         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22104         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22105         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22106         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22107         (_IO_file_close_internal, _IO_file_close_it_internal)
22108         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22109         (_IO_file_init_internal, _IO_file_attach_internal)
22110         (_IO_file_fopen_internal, _IO_file_read_internal)
22111         (_IO_file_sync_internal, _IO_file_seek_internal)
22112         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22113         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22114         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22115         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22116         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22117         (_IO_list_all_internal, _IO_link_in_internal)
22118         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22119         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22120         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22121         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22122         (_IO_do_write_internal, _IO_padn_internal)
22123         (_IO_getline_info_internal, _IO_getline_internal)
22124         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22125         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22126         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22127         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22128         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22129         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22130         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22131         with libc_hidden_ver, remove use of INTUSE.
22132         * libio/genops.c: Likewise.
22133         * libio/freopen.c: Likewise.
22134         * libio/freopen64.c: Likewise.
22135         * libio/iofclose.c: Likewise.
22136         * libio/iofdopen.c: Likewise.
22137         * libio/iofflush.c: Likewise.
22138         * libio/iofflush_u.c: Likewise.
22139         * libio/iofgets.c: Likewise.
22140         * libio/iofgets_u.c: Likewise.
22141         * libio/iofopen.c: Likewise.
22142         * libio/iofopncook.c: Likewise.
22143         * libio/iofread.c: Likewise.
22144         * libio/iofread_u.c: Likewise.
22145         * libio/ioftell.c: Likewise.
22146         * libio/iofwrite.c: Likewise.
22147         * libio/iogetline.c: Likewise.
22148         * libio/iogets.c: Likewise.
22149         * libio/iogetwline.c: Likewise.
22150         * libio/iopadn.c: Likewise.
22151         * libio/iopopen.c: Likewise.
22152         * libio/ioseekoff.c: Likewise.
22153         * libio/ioseekpos.c: Likewise.
22154         * libio/iosetbuffer.c: Likewise.
22155         * libio/iosetvbuf.c: Likewise.
22156         * libio/ioungetc.c: Likewise.
22157         * libio/ioungetwc.c: Likewise.
22158         * libio/iovdprintf.c: Likewise.
22159         * libio/iovsprintf.c: Likewise.
22160         * libio/iovsscanf.c: Likewise.
22161         * libio/memstream.c: Likewise.
22162         * libio/obprintf.c: Likewise.
22163         * libio/oldfileops.c: Likewise.
22164         * libio/oldiofclose.c: Likewise.
22165         * libio/oldiofdopen.c: Likewise.
22166         * libio/oldiofopen.c: Likewise.
22167         * libio/oldiopopen.c: Likewise.
22168         * libio/oldstdfiles.c: Likewise.
22169         * libio/putc.c: Likewise.
22170         * libio/setbuf.c: Likewise.
22171         * libio/setlinebuf.c: Likewise.
22172         * libio/stdfiles.c: Likewise.
22173         * libio/strops.c: Likewise.
22174         * libio/vasprintf.c: Likewise.
22175         * libio/vscanf.c: Likewise.
22176         * libio/vsnprintf.c: Likewise.
22177         * libio/vswprintf.c: Likewise.
22178         * libio/wfiledoalloc.c: Likewise.
22179         * libio/wfileops.c: Likewise.
22180         * libio/wgenops.c: Likewise.
22181         * libio/wmemstream.c: Likewise.
22182         * libio/wstrops.c: Likewise.
22183         * libio/__fpurge.c: Likewise.
22184         * libio/__fsetlocking.c: Likewise.
22185         * assert/assert.c: Likewise.
22186         * debug/fgets_chk.c: Likewise.
22187         * debug/fgets_u_chk.c: Likewise.
22188         * debug/fread_chk.c: Likewise.
22189         * debug/fread_u_chk.c: Likewise.
22190         * debug/gets_chk.c: Likewise.
22191         * debug/obprintf_chk.c: Likewise.
22192         * debug/vasprintf_chk.c: Likewise.
22193         * debug/vdprintf_chk.c: Likewise.
22194         * debug/vsnprintf_chk.c: Likewise.
22195         * debug/vsprintf_chk.c: Likewise.
22196         * malloc/mtrace.c: Likewise.
22197         * misc/error.c: Likewise.
22198         * misc/syslog.c: Likewise.
22199         * stdio-common/asprintf.c: Likewise.
22200         * stdio-common/fxprintf.c: Likewise.
22201         * stdio-common/getw.c: Likewise.
22202         * stdio-common/isoc99_fscanf.c: Likewise.
22203         * stdio-common/isoc99_scanf.c: Likewise.
22204         * stdio-common/isoc99_vfscanf.c: Likewise.
22205         * stdio-common/isoc99_vscanf.c: Likewise.
22206         * stdio-common/isoc99_vsscanf.c: Likewise.
22207         * stdio-common/printf-prs.c: Likewise.
22208         * stdio-common/printf_fp.c: Likewise.
22209         * stdio-common/printf_fphex.c: Likewise.
22210         * stdio-common/printf_size.c: Likewise.
22211         * stdio-common/putw.c: Likewise.
22212         * stdio-common/scanf.c: Likewise.
22213         * stdio-common/sprintf.c: Likewise.
22214         * stdio-common/tmpfile.c: Likewise.
22215         * stdio-common/vfprintf.c: Likewise.
22216         * stdio-common/vfscanf.c: Likewise.
22217         * stdlib/strfmon_l.c: Likewise.
22218         * sunrpc/openchild.c: Likewise.
22219         * sunrpc/xdr_stdio.c: Likewise.
22220         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22221         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22222
22223 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22224
22225         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22226
22227         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22228         in the third column, to generate for the shared library an IFUNC
22229         that uses _dl_vdso_vsym.
22230         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22231         * Makeconfig (object-suffixes-noshared): New variable.
22232
22233         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22234         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22235         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22236         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22237
22238         [BZ #14132]
22239         * include/sys/time.h (__gettimeofday): Remove macro.
22240         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22241         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22242         Remove INTDEF.
22243         (__gettimeofday): Add libc_hidden_def.
22244         (gettimeofday): Add libc_hidden_weak.
22245         * sysdeps/mach/gettimeofday.c: Likewise.
22246         * sysdeps/posix/gettimeofday.c: Likewise.
22247         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22248         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22249         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22250         (__gettimeofday_internal): Remove strong_alias.
22251         (__gettimeofday): Add libc_hidden_def.
22252         (gettimeofday): Add libc_hidden_weak.
22253         * sysdeps/unix/syscalls.list (gettimeofday):
22254         Remove __gettimeofday_internal alias.
22255
22256 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22257             H.J. Lu  <hongjiu.lu@intel.com>
22258
22259         [BZ #12495]
22260         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22261         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22262         (largebin_index_32_big): New.
22263         (largebin_index): Use it for 16-byte alignment.
22264         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22265         correction with front_misalign.
22266
22267 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22268
22269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22271         Likewise.
22272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22273         Likewise.
22274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22275         Likewise.
22276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22277         Likewise.
22278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22279         Likewise.
22280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22281         Likewise.
22282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22283         Likewise.
22284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22285         Likewise.
22286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22287         Likewise.
22288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22289         Likewise.
22290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22291         Likewise.
22292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22293         Likewise.
22294
22295         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22296         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22297
22298 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22299
22300         [BZ #10846]
22301         [BZ #14036]
22302         * math/libm-test.inc (exp_test): Add test from bug 14036.
22303         (pow_test): Add test from bug 10846.
22304
22305         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22306         and other flags.
22307         (special_function): Do not include flags in test name.
22308         (parse_args): Likewise.
22309         * sysdeps/i386/fpu/libm-test-ulps: Update.
22310         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22311         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22312         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22314
22315         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22316         exceptions.
22317         * math/libm-test.inc ("Philosophy"): Update comment about
22318         exception testing.
22319         (UNDERFLOW_EXCEPTION): New macro.
22320         (UNDERFLOW_EXCEPTION_OK): Likewise.
22321         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22322         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22323         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22324         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22325         (INVALID_EXCEPTION_OK): Update value.
22326         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22327         (OVERFLOW_EXCEPTION_OK): Likewise.
22328         (IGNORE_ZERO_INF_SIGN): Likewise.
22329         (test_exceptions): Handle underflow exceptions.
22330         (acos_test): Update for underflow exception expectations.
22331         (cexp_test): Likewise.
22332         (clog_test): Likewise.
22333         (clog10_test): Likewise.
22334         (csqrt_test): Likewise.
22335         (ctan_test): Likewise.
22336         (ctanh_test): Likewise.
22337         (exp_test): Likewise.
22338         (exp10_test): Likewise.
22339         (exp2_test): Likewise.
22340         (expm1_test): Likewise.
22341         (fma_test): Likewise.
22342         (j0_test): Likewise.
22343         (jn_test): Likewise.
22344         (nexttoward_test): Likewise.
22345         (pow_test): Likewise.
22346         (scalbn_test): Likewise.
22347         (scalbln_test): Likewise.
22348         (tan_test): Likewise.
22349         (y1_test): Likewise.
22350         * sysdeps/i386/fpu/libm-test-ulps: Update.
22351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22352
22353 2012-05-23  David S. Miller  <davem@davemloft.net>
22354
22355         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22356         (__libc_sigaction): Remove unused local variables.
22357
22358 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22359
22360         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22361
22362 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22363
22364         mktime: avoid signed integer overflow
22365         * time/mktime.c (__mktime_internal): Do not mishandle the case
22366         where diff == INT_MIN.
22367
22368         mktime: simplify computation of average
22369         * time/mktime.c (ranged_convert): Use new time_t_avg function
22370         instead of rolling our own (probably-slower) code.
22371
22372         mktime: do not assume signed right shift propagates sign bit
22373         * time/mktime.c (isdst_differ): New static function.
22374         (__mktime_internal): No need to normalize tm_isdst now.
22375         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22376         tm_isdst values.
22377
22378         mktime: merge another wrapv change from gnulib
22379         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22380         from some compilers.
22381
22382         mktime: remove incorrect attempt at unusual arithmetics
22383         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22384         The code didn't really work on such machines anyway.
22385         (TYPE_MINIMUM): Assume two's complement.
22386         (twos_complement_arithmetic): Verify that long_int and time_t
22387         are two's complement (or unsigned, in the latter case).
22388
22389         mktime: check signed shifts on long_int and time_t, too
22390         * time/mktime.c (SHR): Check that shifts work as desired
22391         on the types long_int and time_t too, as SHR is used on
22392         such types.
22393
22394         mktime: do not assume 'long' is wide enough
22395         * time/mktime.c (verify): Move decl up.
22396         (long_int): New type.
22397         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22398         to remove assumption in the code that 'long' is wide enough to
22399         store year values.  This assumption is not true on x32 and on
22400         some non-glibc platforms.
22401
22402         mktime: merge wrapv change from gnulib
22403         * time/mktime.c (WRAPV): New macro.
22404         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22405         (guess_time_tm, __mktime_internal): Do not assume that signed
22406         integer overflow wraps around; modern compilers generate code
22407         where this assumption is no longer valid.
22408
22409 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22410
22411         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22412         Replace "jmp L(pseudo_end)" with "ret".
22413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22414         Likewise.
22415
22416 2012-05-23  Andreas Jaeger  <aj@suse.de>
22417
22418         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22419         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22420
22421 2012-05-23  Andreas Jaeger  <aj@suse.de>
22422             Maximilian Attems  <max@stro.at>
22423
22424         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22425         New macros.
22426
22427 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22428
22429         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22430         code so that pseudo_end is just ret and the stack pointer is
22431         correct also for static library in error case.
22432
22433 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22434
22435         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22436         move to syscalls.list.
22437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22441
22442         * manual/install.texi (Running make install): Do not mention Linux
22443         kernel version for which pt_chown is not needed.
22444         (Linux): Do not mention problems with nscd with 2.0 kernels.
22445         * INSTALL: Regenerated.
22446
22447 2012-05-23  Andreas Jaeger  <aj@suse.de>
22448
22449         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22450         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22451         macro.
22452         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22453         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22454         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22455         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22456         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22457         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22458         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22459         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22460         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22461         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22462         * sysdeps/unix/sysv/linux/bits/in.h
22463         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22464
22465 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22466
22467         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22468         (PREPARE_VERSION): Just use assert instead, it will be elided
22469         under [NDEBUG] anyway.
22470
22471 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22472
22473         * sysdeps/unix/sysv/linux/Makefile: Include
22474         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22475         (sysdep_routines): Remove sysctl.
22476         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22477         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22478         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22479         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22480         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22481
22482 2012-05-22  Andreas Jaeger  <aj@suse.de>
22483
22484         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22485         that pseudo_end is just ret and the stack pointer is correct also
22486         for static library in error case.
22487
22488 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22489
22490         [BZ #14122]
22491         * nss/nsswitch.c (defconfig_entries): New variable.
22492         (__nss_database_lookup): Don't leak defconfig entries.
22493         (nss_parse_service_list): Don't leak on error paths.
22494         (free_database_entries): New function.
22495         (free_defconfig): New function.
22496         (free_mem): Move common code to free_database_entries.
22497
22498 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22499
22500         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22501         Add arch_prctl.
22502         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22503
22504         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22505         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22506         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22507         New macro.
22508         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22509         (INTERNAL_SYSCALL_TYPES): Likewise.
22510         (LOAD_ARGS_TYPES_[1-6]): Likewise.
22511         (LOAD_REGS_TYPES_[1-6]): Likewise.
22512         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22513         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22514
22515 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22516
22517         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22518         copysignl for GLIBC_2_0.
22519         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22520         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22522         logbl for GLIBC_2_0.
22523         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22524         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22525
22526 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22527
22528         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22529         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22530
22531         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22532         Use "neg %eax".
22533
22534         * time/mktime.c: Update copyright years.
22535
22536 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22537
22538         mktime: merge comment-quoting-style change from gnulib
22539         * time/mktime.c: Quote 'like this' in comments.
22540         The GNU coding standards suggest that we no longer quote `like this',
22541         as "`" and "'" are typically rendered asymmetrically nowadays.
22542         The typical gnulib style is to quote 'like this' when quoting
22543         code, and "like this" when quoting English.
22544
22545         * time/mktime.c (compile-command): Add "-I.".
22546
22547         mktime: merge mktime-internal.h change from gnulib
22548         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22549
22550         mktime: merge time_r change from gnulib
22551         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22552
22553         mktime: merge DEBUG change from gnulib
22554         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22555         case system <time.h> has a #define.
22556
22557         mktime: merge <sys/types.h> change from gnulib
22558         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22559         since <time.t> is now guaranteed to define time_t.
22560
22561         mktime: merge HAVE_CONFIG_H change from gnulib
22562         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22563
22564 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22565
22566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22567         Use "neg %eax".
22568
22569         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22570         __rlim_t cast.
22571         (struct rusage): Use anonymous union to pad each field to
22572         __syscall_slong_t.
22573
22574 2012-05-21  David S. Miller  <davem@davemloft.net>
22575
22576         * Makefules (o-iterator): Remove .s cases.
22577         (compile-command.s): Delete.
22578         (COMPILE.s): Delete.
22579         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22580
22581 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
22582
22583         * configure.in (libc_cv_predef_stack_protector): Only consider
22584         "foobar" and "__stack_chk_fail" lines in libc_undefs.
22585         * configure: Regenerated.
22586
22587 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22588
22589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22590         New macro.  Use R*LP on int and pointer.
22591         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22592         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22593         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22594         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22595
22596         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22597         [__WORDSIZE_TIME64_COMPAT32] instead of
22598         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22599         (struct utmp): Likewise.
22600         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22601         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22602         Renamed to ...
22603         (__WORDSIZE_TIME64_COMPAT32): This.
22604         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22605         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22606         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22607         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22608         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22609         (__WORDSIZE_TIME64_COMPAT32): New macro.
22610
22611 2012-05-21  Andreas Jaeger  <aj@suse.de>
22612
22613         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22614         only if [SHARED]. Add prototype for __wcschr_ia32.
22615
22616 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22617
22618         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22619         of %rbp unmolested in the jmp_buf while mangling the low bits.
22620         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22621         unmolested high bits of %rbp while demangling the low bits.
22622         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22623
22624 2012-05-21  Andreas Jaeger  <aj@suse.de>
22625
22626         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22627         * sunrpc/svc_simple.c: Use it for registerrpc.
22628         * sunrpc/xcrypt.c: Use it for passwd2des.
22629
22630         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22631
22632 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22633
22634         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22635         Don't define if [__SYSCALL_WORDSIZE != 32].
22636         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22637         New macro.
22638
22639 2012-05-21  Bruno Haible  <bruno@clisp.org>
22640             Andreas Jaeger  <aj@suse.de>
22641
22642         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22643         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22644         inptr and inend for must_buffer_ch.
22645         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22646         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22647         * stdio-common/Makefile (tests): Remove bug15.
22648         (bug15-ENV): Remove macro.
22649         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22650         anymore.
22651
22652 2012-05-19  Andreas Jaeger  <aj@suse.de>
22653             Roland McGrath  <roland@hack.frob.com>
22654
22655         * manual/contrib.texi: Completely rewritten. It contains now an
22656         alphabetical list of contributors and their contributions.
22657
22658 2012-05-21  Richard Henderson  <rth@twiddle.net>
22659
22660         * misc/getauxval.c (__getauxval): Use unsigned long int.
22661         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22662         (getauxval): Use unsigned long int.
22663
22664 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22665
22666         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22667
22668 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22669
22670         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22671         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22672         __alignof__ (long double).
22673
22674 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22675
22676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22677
22678 2012-05-20  Richard Henderson  <rth@twiddle.net>
22679
22680         * misc/getauxval.c: New file.
22681         * misc/sys/auxv.h: New file.
22682         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22683         (routines): Add getauxval.
22684         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22685         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22686         * elf/dl-sysdep.c (_dl_auxv): Remove.
22687         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22688         * elf/dl-support.c (_dl_auxv): New variable.
22689         (_dl_aux_init): Initialize it.
22690         * manual/startup.texi (Auxiliary Vector): New node.
22691         * sysdeps/generic/bits/hwcap.h: New file.
22692         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22693         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22694         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22695         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22696         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22697         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22699         Update.
22700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22703         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22708
22709 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22710
22711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22712
22713 2012-05-19  David S. Miller  <davem@davemloft.net>
22714
22715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22716
22717 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22718
22719         [BZ #14123]
22720         * math/s_ccosh.c: Include <float.h>
22721         (__ccosh): Avoid internal overflow calculating sinh and cosh
22722         values before multiplying by sin and cos values.
22723         * math/s_ccoshf.c: Likewise.
22724         * math/s_ccoshl.c: Likewise.
22725         * math/s_csin.c: Likewise.
22726         * math/s_csinf.c: Likewise.
22727         * math/s_csinl.c: Likewise.
22728         * math/s_csinh.c: Likewise.
22729         * math/s_csinhf.c: Likewise.
22730         * math/s_csinhl.c: Likewise.
22731         * math/libm-test.inc (ccos_test): Add more tests.
22732         (ccosh_test): Likewise.
22733         (csin_test): Likewise.
22734         (csinh_test): Likewise.
22735         * sysdeps/i386/fpu/libm-test-ulps: Update.
22736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22737
22738 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22739
22740         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22741         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22742
22743         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22744
22745 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22746
22747         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22748         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22749         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22750         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22751         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22752         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22753         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22754         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22755         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22756         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22757         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22758         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22759         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22760         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22761         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22762         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22763         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22764         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22765         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22766         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22767         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22768         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22769         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22770         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22771         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22772         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22773         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22774         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22775         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22776         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22777         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22778
22779 2012-05-18  Andreas Jaeger  <aj@suse.de>
22780
22781         * csu/.gitignore: Delete.
22782
22783 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22784
22785         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22786         (timex): Use __syscall_slong_t.
22787
22788 2012-05-18  Andreas Jaeger  <aj@suse.de>
22789             Carlos O'Donell  <carlos_odonell@mentor.com>
22790
22791         * manual/install.texi (Configuring and compiling): Update
22792         description about files modified in the source directory.
22793         * INSTALL: Regenerated.
22794
22795 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22796
22797         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22798         value.  Use "or" to set return value to -1.
22799         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22800         negate return value.
22801
22802 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22803
22804         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22805         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22806         failure if the compiler has Graphite support disabled.
22807         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22808         Likewise.
22809         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22810         CFLAGS-memmove.c): Likewise.
22811         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22812         Likewise.
22813
22814 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22815
22816         * sysdeps/x86_64/x32/_itoa.h: New file.
22817
22818         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22819         getdents system call only if kernel and user dirents have the
22820         same d_ino and d_off.
22821
22822         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22823         LLONG_MAX != LONG_MAX.
22824         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22825         (_fitoa_word): Likewise.
22826
22827         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22828         years.
22829         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22830         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22831         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22832
22833         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22834         include <bits/wordsize.h>.  Check __x86_64__ instead of
22835         __WORDSIZE.
22836         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22837         if __x86_64__ is defined.  Use anonymous union on fpstate.
22838
22839         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22840         anonymous union.
22841
22842 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22843
22844         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22845         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22846         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22847         Refer to _rtld_local_ro instead of _rtld_global_ro.
22848         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22849         Likewise.
22850         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22851         Likewise.
22852         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22853         Likewise.
22854         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22855         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22856         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22857
22858         * sysdeps/powerpc/powerpc32/dl-machine.c
22859         (__elf_machine_runtime_setup) [PROF]: Don't reference
22860         _dl_prof_resolve.
22861
22862 2012-05-18  Andreas Jaeger  <aj@suse.de>
22863
22864         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22865         function only available for GCCs before 3.4 since GCC 3.4
22866         introduced a builtin.
22867         (lrint): Likewise.
22868         (llrintf): Likewise.
22869         (llrint): Likewise.
22870         (fmaxf): Likewise.
22871         (fmax): Likewise.
22872         (fminf): Likewise.
22873         (fmin): Likewise.
22874         (rint): Likewise.
22875         (rintf): Likewise.
22876         (nearbyint): Likewise.
22877         (nearbyintf): Likewise.
22878         (ceil): Likewise.
22879         (ceilf): Likewise.
22880         (floor): Likewise.
22881         (floorf): Likewise.
22882
22883 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22884
22885         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22886         on both fields and cast pointer to __syscall_ulong_t.
22887
22888         * bits/types.h (__fsword_t): New type.
22889         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22890         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22891         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22892         (__FSWORD_T_TYPE): Likewise.
22893         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22894         (__FSWORD_T_TYPE): Likewise.
22895         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22896         (__FSWORD_T_TYPE): Likewise.
22897         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22898         (__FSWORD_T_TYPE): Likewise.
22899         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22900         __SWORD_TYPE with __fsword_t.
22901         (statfs64): Likewise.
22902
22903 2012-05-17  David S. Miller  <davem@davemloft.net>
22904
22905         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22906
22907 2012-05-17  Andreas Jaeger  <aj@suse.de>
22908
22909         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22910         warning.
22911
22912 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22913
22914         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22915
22916 2012-05-17  Andreas Jaeger  <aj@suse.de>
22917
22918         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22919         when it is used.
22920
22921 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22922
22923         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22924
22925 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22926
22927         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22928         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22929
22930 2012-05-17  Andreas Jaeger  <aj@suse.de>
22931             Carlos O'Donell  <carlos_odonell@mentor.com>
22932
22933         [BZ #14059]
22934         * sysdeps/x86_64/multiarch/init-arch.h
22935         (bit_YMM_Usable): Rename to...
22936         (bit_AVX_Usable): ... this.
22937         (bit_FMA4_Usable): New macro.
22938         (bit_XMM_state): New macro.
22939         (bit_YMM_state): New macro.
22940         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22941         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22942         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22943         (CPUID_OSXSAVE): New macro.
22944         (CPUID_AVX): New macro.
22945         (CPUID_FMA4): New macro.
22946         (index_YMM_Usable): Rename to...
22947         (index_AVX_Usable): ... this.
22948         (HAS_AVX): Use HAS_ARCH_FEATURE.
22949         (HAS_FMA4): Likewise.
22950         (HAS_YMM_USABLE): Remove.
22951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22952         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22953         are present.
22954         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22955         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22956         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22957         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22958         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22959
22960 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22961
22962         * math/libm-test.c: Support platforms without multiple rounding modes.
22963         * math/bug-nextafter.c: Support platforms without FP exceptions.
22964         * math/bug-nexttoward.c: Likewise.
22965         * math/test-fenv.c: Likewise.
22966         * math/test-misc.c: Likewise.
22967         * stdlib/bug-getcontext.c: Likewise.
22968
22969 2012-05-17  Andreas Jaeger  <aj@suse.de>
22970
22971         * manual/examples/search.c (critter_cmp): Change signature to
22972         avoid warnings.
22973         * manual/string.texi (Collation Functions): Likewise.
22974
22975 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22976
22977         * bits/types.h: Fold copyright years.
22978         * bits/typesizes.h: Likewise.
22979         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22980         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22981         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22982         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22983         * time/time.h: Likewise.
22984
22985 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22986
22987         [BZ #208]
22988         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22989         in instead of returning them.  Return void.
22990         (__libc_mallinfo): Accumulate over all arenas.
22991         (__malloc_stats): Adjust for change in int_mallinfo interface.
22992
22993 2012-05-16  Roland McGrath  <roland@hack.frob.com>
22994
22995         [BZ #10375]
22996         * configure.in (NM): Add AC_CHECK_TOOL for it.
22997         (libc_extra_cflags): New substituted variable.
22998         Check for -fstack-protector being used implicitly.
22999         * configure: Regenerated.
23000         * config.make.in (config-extra-cflags): New variable,
23001         gets @libc_extra_cflags@.
23002         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23003
23004         [BZ #10375]
23005         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23006         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23007         * configure: Regenerated.
23008         * config.make.in (CPPUNDEFS): New substituted variable.
23009         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23010         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23011         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23012
23013 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23014
23015         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23016         (mq_attr): Use __syscall_slong_t.
23017
23018 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23019
23020         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23021         Check __x86_64__ instead of __WORDSIZE.
23022         (_STAT_VER_LINUX): Likewise.
23023         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23024         __syscall_ulong_t and __syscall_slong_t.
23025         (stat64): Likewise.
23026
23027 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23028
23029         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23030
23031 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23032
23033         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23034
23035 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23036
23037         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23038         __syscall_ulong_t.
23039
23040         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23041         include <bits/wordsize.h>.  Check __x86_64__ instead of
23042         __WORDSIZE.
23043         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23044         defined.
23045         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23046
23047         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23048         include <bits/wordsize.h>.  Check __x86_64__ instead of
23049         __WORDSIZE.
23050         (user_regs_struct): Use "__extension__ unsigned long long"
23051         instead of "unsigned long" if __x86_64__ is defined.
23052         (user): Likewise.  Pad after pointer field if __ILP32__ is
23053         defined.
23054
23055 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23056
23057         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23058         versions 5 to 9.
23059         * configure: Regenerated.
23060         * manual/install.texi (texinfo): Increase version requirement to
23061         4.5 or later.
23062         * INSTALL: Regenerated.
23063
23064         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23065
23066 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23067
23068         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23069
23070         * sysdeps/x86_64/x32/ffs.c: New file.
23071
23072         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23073         __syscall_ulong_t.
23074         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23075         defined.  Use __syscall_ulong_t.
23076         (shminfo): Use __syscall_ulong_t.
23077         (shm_info): Likewise.
23078
23079         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23080         __syscall_ulong_t.
23081
23082         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23083         <bits/wordsize.h>.
23084         (msgqnum_t): Use __syscall_ulong_t.
23085         (msglen_t): Likewise.
23086         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23087         __syscall_ulong_t.
23088
23089         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23090         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23091
23092         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23093
23094         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23095         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23096
23097         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23098         __syscall_slong_t.
23099
23100         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23101         include <bits/wordsize.h>.  Check __x86_64__ instead of
23102         __WORDSIZE.
23103
23104         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23105         "unsigned long long int" if __x86_64__ is defined.
23106         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23107
23108         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23109         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23110         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23111
23112         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23113         <stdint.h>.
23114         (GET_PC): Cast to uintptr_t first.
23115         (GET_FRAME): Likewise.
23116         (GET_STACK): Likewise.
23117
23118         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23119         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23120         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23121         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23122         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23123         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23124         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23125         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23126         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23127         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23128         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23129         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23130         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23131         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23132         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23133         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23134         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23135         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23136         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23137         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23138         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23139         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23140         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23141         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23142         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23143         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23144         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23145         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23146         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23147
23148 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23149
23150         * Makerules (+depfiles): Also collect depfiles from .oS in
23151         $(extra-objs).
23152         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23153         .oS, $(libnldbl-routines)).
23154
23155         * Makerules (native-compile-mkdep-flags): Define.
23156         * sunrpc/Makefile (extra-objs): Add $(addprefix
23157         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23158         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23159         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23160         calling $(make-target-directory).
23161
23162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23163
23164         * bits/types.h (__snseconds_t): Removed.
23165         * time/time.h (struct timespec): Replace __snseconds_t with
23166         __syscall_slong_t.
23167         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23168         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23169         Likewise.
23170         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23171         (__SNSECONDS_T_TYPE): Likewise.
23172         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23173         (__SNSECONDS_T_TYPE): Likewise.
23174         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23175         (__SNSECONDS_T_TYPE): Likewise.
23176
23177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23178
23179         * sysdeps/mach/hurd/bits/typesizes.h
23180         (__SYSCALL_SLONG_TYPE): New macro.
23181         (__SYSCALL_ULONG_TYPE): Likewise.
23182
23183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23184
23185         * bits/types.h (__syscall_slong_t): New type.
23186         (__syscall_ulong_t): Likewise.
23187
23188         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23189         (__SYSCALL_ULONG_TYPE): Likewise.
23190         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23191         (__SYSCALL_SLONG_TYPE): Likewise.
23192         (__SYSCALL_ULONG_TYPE): Likewise.
23193         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23194         (__SYSCALL_SLONG_TYPE): Likewise.
23195         (__SYSCALL_ULONG_TYPE): Likewise.
23196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23197         (__SYSCALL_SLONG_TYPE): Likewise.
23198         (__SYSCALL_ULONG_TYPE): Likewise.
23199
23200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23201
23202         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23203         Add sigaltstack-offsets.sym.
23204         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23205         <sigaltstack-offsets.h>.
23206         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23207         longjmp_msg pointer.
23208         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23209         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23210         signal stack.
23211         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23212
23213 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23214
23215         * elf/stackguard-macros.h: Remove file.
23216         * sysdeps/generic/stackguard-macros.h: New file.
23217         * sysdeps/i386/stackguard-macros.h: Likewise.
23218         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23219         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23220         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23221         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23222         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23223         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23224         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23225         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23226         <elf/stackguard-macros.h>.
23227
23228         [BZ #14109]
23229         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23230         __aligned__ in attribute.
23231         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23232         (gregset_t): Likewise.
23233
23234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23235
23236         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23237         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23238         * sysdeps/x86_64/x32/Implies-after: New file.
23239
23240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23241
23242         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23243         and access return value for _dl_profile_fixup.  Use R10_LP to
23244         load frame size.
23245
23246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23247
23248         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23249
23250 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23251
23252         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23253         * sysdeps/x86_64/x32/sysdep.h: New file.
23254
23255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23256
23257         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23258         * sysdeps/x86_64/setjmp.S: Likewise.
23259
23260 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23261
23262         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23263         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23264         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23265         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23266         remove unused global constant.
23267
23268 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23269
23270         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23271         include of <not-cancel.h>.
23272
23273 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23274
23275         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23276
23277 2012-05-15  Jeff Law  <law@redhat.com>
23278             Andreas Jaeger  <aj@suse.de>
23279
23280         [BZ #13594]
23281         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23282         out from...
23283         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23284         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23285         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23286         code changing __hst_map_handle.map.
23287
23288 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23289
23290         * configure.in (sysnames): Look for Implies-before and Implies-after
23291         files.
23292         * configure: Regenerated.
23293
23294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23295
23296         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23297         8-byte data alignment with LP_SIZE alignment.
23298
23299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23300
23301         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23302         into R10_LP.
23303
23304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23305
23306         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23307
23308 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23309
23310         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23311         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23312         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23313         Likewise.
23314         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23315
23316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23317
23318         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23319         (stackinfo_sub_sp): Likewise.
23320
23321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23322
23323         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23324         RAX_LP.
23325
23326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23327
23328         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23329         into R*_LP.
23330
23331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23332
23333         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23334         sizes into R*_LP.
23335
23336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23337
23338         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23339
23340 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23341
23342         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23343         into R11_LP and load __x86_64_shared_cache_size_half into
23344         R8_LP.
23345
23346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23347
23348         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23349         R8_LP.
23350
23351 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23352
23353         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23354         logb for POWER7.
23355         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23356         logbf for POWER7.
23357         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23358         logbl for POWER7.
23359         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23360         powerpc32/power7/fpu/s_logb.c via #include.
23361         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23362         powerpc32/power7/fpu/s_logbf.c via #include.
23363         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23364         powerpc32/power7/fpu/s_logbl.c via #include.
23365
23366 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23367
23368         * README.libm: Remove file.
23369
23370 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23371
23372         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23373         count for x32.  Use R*_LP and omit operand-size suffix.
23374
23375 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23376
23377         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23378         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23379         * sysdeps/x86_64/x32/shlib-versions: New file.
23380
23381 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23382
23383         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23384         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23385         Use _dl_fatal_printf instead.
23386
23387 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23388
23389         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23390         set if not set by the user.  Do not allow for being unset.
23391         * sysdeps/unix/sysv/linux/configure: Regenerated.
23392
23393 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23394
23395         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23396         the `q' suffix from lea and replace .quad with ASM_ADDR.
23397
23398 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23399
23400         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23401         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23402         instead of $17.
23403         (PTR_DEMANGLE): Likewise.
23404
23405 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23406
23407         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23408         (LP_OP): Likewise.
23409         (ASM_ADDR): Likewise.
23410         (RAX_LP): Likewise.
23411         (RBP_LP): Likewise.
23412         (RBX_LP): Likewise.
23413         (RCX_LP): Likewise.
23414         (RDI_LP): Likewise.
23415         (RSI_LP): Likewise.
23416         (RSP_LP): Likewise.
23417         (R8_LP): Likewise.
23418         (R9_LP): Likewise.
23419         (R10_LP): Likewise.
23420         (R10_LP): Likewise.
23421         (R11_LP): Likewise.
23422         (R12_LP): Likewise.
23423         (R13_LP): Likewise.
23424         (R14_LP): Likewise.
23425         (R15_LP): Likewise.
23426
23427 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23428
23429         * sysdeps/x86_64/x32/dl-machine.h: New file.
23430
23431 2012-05-14  Andreas Jaeger  <aj@suse.de>
23432
23433         * manual/Makefile (subdir): Remove export of subdir.
23434         (all): Remove target.
23435         (.PHONY): Remove all from list.
23436         (mkinstalldirs): Remove.
23437         (.PHONY): Remove installdirs from list.
23438         ($(inst_infodir)/libc.info): Use make-target-directory.
23439         (installdirs): Remove.
23440         (subdir_%): Remove.
23441         (glibc-targets): Remove.
23442         (lib): Remove.
23443         (stubs): Remove.
23444         ($(objpfx)stubs ../po/manual.pot): Remove.
23445         ($(objpfx)stamp%): Remove.
23446         (make-target-directory): Remove.
23447         (subdir_install): Remove.
23448         (routines): Remove.
23449         (aux): Remove.
23450         (sources): Remove.
23451         (objects): Remove.
23452         (headers): Remove.
23453
23454         [BZ #13750]
23455         * manual/.gitignore: Remove, it's not needed anymore.
23456         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23457         all files in it.
23458         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23459         directory.
23460         (texis): Renamed to $(objpfx)texis.
23461         (texis-path): New, contains path to generated files.
23462         (chapters.%): Use texis-path for complete path, add extra argument
23463         libc-texinfo.sh.
23464         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23465         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23466         (summary,texi, stamp-summary): Use complete path of
23467         files. Generate files in build dir.
23468         (dir-add.texi): Build in build dir.
23469         (libm-err.texi,stamp-libm-err): Likewise.
23470         (version.texi, stamp-version): Likewise.
23471         (.%c.texi): Likewise.
23472         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23473         (mostlyclean): Remove target.
23474         (realclean): Remove target.
23475         (generated): Add new variable with contents from mostlyclean and
23476         realclean, remove entries duplicated in common-mostlyclean, add
23477         stamp-libm-err and stamp-version.
23478         (generated-dirs): Add libc directory.
23479         ($(inst_infodir)/libc.info): Install files from build dir.
23480
23481         * manual/install.texi (Configuring and compiling): Adjust since
23482         the info files are not part of the tar ball anymore.
23483
23484 2012-05-14  Andreas Jaeger  <aj@suse.de>
23485
23486         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23487         variable.
23488
23489 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23490
23491         [BZ #13717]
23492         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23493         to 2.2.0 where earlier.
23494         * sysdeps/unix/sysv/linux/configure: Regenerated.
23495         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23496         Remove conditional code.
23497         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23498         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23499         Remove conditional code.
23500         [!__NR_lchown]: Likewise.
23501         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23502         [__NR_lchown]: Likewise.
23503         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23504         comment referencing __ASSUME_LCHOWN_SYSCALL.
23505         * sysdeps/unix/sysv/linux/i386/sigaction.c
23506         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23507         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23508         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23509         Remove conditional code.
23510         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23511         (__protocol_available): Remove #if 0 code.
23512         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23513         conditional code.
23514         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23515         * sysdeps/unix/sysv/linux/kernel-features.h
23516         (__ASSUME_GETCWD_SYSCALL): Don't define.
23517         (__ASSUME_REALTIME_SIGNALS): Likewise.
23518         (__ASSUME_PREAD_SYSCALL): Likewise.
23519         (__ASSUME_PWRITE_SYSCALL): Likewise.
23520         (__ASSUME_POLL_SYSCALL): Likewise.
23521         (__ASSUME_LCHOWN_SYSCALL): Likewise.
23522         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23523         non-SPARC.
23524         (__ASSUME_SIOCGIFNAME): Don't define.
23525         (__ASSUME_MSG_NOSIGNAL): Likewise.
23526         (__ASSUME_SENDFILE): Define unconditionally.
23527         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23528         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23529         conditional code.
23530         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23531         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23532         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23533         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23534         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23535         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23536         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23538         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23539         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23541         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23542         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23544         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23547         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23548         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23550         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23551         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23553         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23554         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23556         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23557         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23559         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23560         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23561         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23562         Remove conditional code.
23563         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23564         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23565         Remove conditional code.
23566         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23567         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23568         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23569         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23570         Remove conditional code.
23571         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23572         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23573         Remove conditional code.
23574         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23575         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23576         Remove conditional code.
23577         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23578         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23579         Remove conditional code.
23580         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23581         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23582         Remove conditional code.
23583         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23584         * sysdeps/unix/sysv/linux/sh/pwrite64.c
23585         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23586         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23587         * sysdeps/unix/sysv/linux/sigaction.c
23588         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23589         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23590         * sysdeps/unix/sysv/linux/sigpending.c
23591         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23592         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23593         * sysdeps/unix/sysv/linux/sigprocmask.c
23594         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23595         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23596         * sysdeps/unix/sysv/linux/sigsuspend.c
23597         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23598         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23599         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23600         (__libc_missing_rt_sigs): Remove.
23601         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23602         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23603         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23604         Remove conditional code.
23605         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23606         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23607         return 1.
23608         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23609         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23610         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23611         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23612
23613 2012-05-14  Andreas Jaeger  <aj@suse.de>
23614
23615         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23616         it's not used in glibc.
23617         (__coshm1): Likewise.
23618         (__acosh1p): Likewise.
23619         (__sgn): Likewise.
23620
23621         * manual/string.texi (Copying and Concatenation): Add missing
23622         variable in concat example.
23623         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23624
23625 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23626
23627         [BZ #14103]
23628         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23629         __builtin_clzl with __builtin_clzll.
23630
23631 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23632
23633         [BZ #14104]
23634         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23635         libc_freeres_ptr.
23636
23637 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23638
23639         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23640         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23641         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23642         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23643
23644 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23645
23646         * NEWS: Update ia64 info.
23647
23648 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23649
23650         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23651         used as bcopy.
23652
23653 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23654
23655         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23656         * sysdeps/unix/syscalls.list (dup3): Likewise.
23657         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23658         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23659
23660 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23661
23662         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23663         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23664
23665 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23666
23667         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23668         thread pointer.
23669         (TLS_IE): Use mov/add instead of movq/addq to load thread
23670         pointer.
23671         (TLS_GD_PREFIX): New.
23672         (TLS_GD): Use it.
23673
23674 2012-05-11  David S. Miller  <davem@davemloft.net>
23675
23676         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23677         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23678         (_FPU_SETCW): Likewise.
23679
23680 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23681
23682         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23683         is 32-byte aligned.
23684
23685 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23686
23687         [BZ #11837]
23688         * iconvdata/gb18030.c: Update tables.
23689         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23690         characters specially.
23691         (BODY for TO_LOOP): Add encoding of missing ranges.
23692
23693 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23694
23695         [BZ #13673]
23696         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23697         * sysdeps/mach/hurd/dup3.c: Likewise.
23698         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23699         * sysdeps/powerpc/memmove.c:: Likewise.
23700
23701 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23702
23703         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23704         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23705
23706 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23707
23708         * elf/elf.h (R_X86_64_RELATIVE64): New.
23709         (R_X86_64_NUM): Updated.
23710         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23711         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23712         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23713         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23714         tst-quad1pie tst-quad2pie
23715         (modules-names): Add tst-quadmod1 tst-quadmod2.
23716         ($(objpfx)tst-quad1): New dependency.
23717         ($(objpfx)tst-quad2): Likewise.
23718         ($(objpfx)tst-quad1pie): Likewise.
23719         ($(objpfx)tst-quad2pie): Likewise.
23720         * sysdeps/x86_64/tst-quad1.c: New file.
23721         * sysdeps/x86_64/tst-quad1pie.c: New file.
23722         * sysdeps/x86_64/tst-quad2.c: Likewise.
23723         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23724         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23725         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23726         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23727         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23728
23729 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23730
23731         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23732         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23733         * streams/stropts.h (t_scalar_t): Define type.
23734
23735         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23736         (_PATH_PRESERVE): Set to "/var/lib".
23737         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23738
23739         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23740         instead of int.
23741
23742         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23743         if __dir_mkfile succeeded.
23744
23745         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23746         checking for _hurd_dtablesize.  Unlock it right after having
23747         finished _hurd_dtable allocation.
23748
23749 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23750
23751         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23752         * sysdeps/mach/hurd/configure: Regenerated.
23753         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23754         special-casing to...
23755         * sysdeps/gnu/configure.in: ... this new file.
23756         * sysdeps/unix/sysv/linux/configure: Regenerated.
23757         * sysdeps/gnu/configure: New generated file.
23758
23759         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23760         for Linux: use nsec instead of usec, as well as:
23761         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23762         members of type struct timespec.
23763         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23764         New macros.
23765         (struct stat64): Likewise.
23766         (_STATBUF_ST_NSEC): New macro.
23767         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23768
23769         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23770         __strtoul_internal rather than strtoul.
23771
23772 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23773
23774         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23775         and reject them.
23776
23777 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23778
23779         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23780         which preserves existing values.
23781         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23782
23783 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23784
23785         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23786         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23787         greater than FD_SETSIZE.
23788
23789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23790
23791         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23792         allocated, call __vm_protect to finish enabling the existing space, and
23793         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23794         allocate the remainder.
23795
23796 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23797
23798         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23799         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23800
23801 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23802
23803         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23804         sysdeps/mach/hurd/readlink.c.
23805
23806         * posix/tst-sysconf.c (posix_options): Only use
23807         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23808         _POSIX_SYNCHRONIZED_IO when they are defined
23809         * sysdeps/mach/hurd/bits/posix_opt.h:
23810         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23811         (_XOPEN_REALTIME): Undefine macro.
23812         (_XOPEN_REALTIME_THREADS): Undefine macro.
23813         (_XOPEN_SHM): Undefine macro.
23814         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23815         macro to -1.
23816         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23817         macro to -1.
23818         (_POSIX_ASYNC_IO): Undefine macro.
23819         (_POSIX_PRIORITIZED_IO): Undefine macro.
23820         (_POSIX_SPIN_LOCKS): Define macro to -1.
23821
23822         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23823         SA_NODEFER, SA_RESETHAND.
23824         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23825         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23826         F_DUPFD_CLOEXEC.
23827
23828 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23829
23830         * elf/Makefile (pldd-modules): Define unconditionally.
23831
23832 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23833
23834         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23835
23836 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23837
23838         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23839         Return ENOENT when name is empty.
23840         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23841
23842 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23843
23844         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23845
23846         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23847
23848 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23849
23850         Fix mlock in all cases except non-readable pages.
23851         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23852         instead of VM_PROT_ALL as parameter to __vm_wire function.
23853
23854         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23855         (__mkdir): When path is `/', just fail with EEXIST.
23856         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23857
23858 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23859
23860         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23861         <sys/uio.h> (for writev).
23862         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23863         and <sys/param.h> (for MIN).
23864
23865 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23866
23867         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23868         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23869         if interrupted.
23870
23871 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23872
23873         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23874         Depend on against $(link-rpcuserlibs).
23875
23876 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23877
23878         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23879         (__libc_stack_end): Do not use attribute_relro.
23880         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23881         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23882         to libthread-provided value.
23883         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23884         attribute_relro.
23885
23886 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23887
23888         [BZ #3748]
23889         * bits/libc-lock.h (__libc_once_get): New macro.
23890         * sysdeps/mach/bits/libc-lock.h: Likewise.
23891         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23892         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23893         instead of using implementation details.
23894
23895         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23896         * libio/freopen.c: Likewise.
23897         * libio/freopen64.c: Likewise.
23898         * misc/syslog.c: Likewise.
23899         * nscd/connections.c: Likewise.
23900         * nscd/netgroupcache.c: Likewise.
23901         * sysdeps/posix/getcwd.c: Likewise.
23902
23903 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23904
23905         * math/w_ilogbf.c: Add #include <limits.h>.
23906
23907 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23908
23909         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23910         path instead of returning without unlocking.
23911
23912         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23913         immediate-write ioctls.
23914         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23915
23916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23917
23918         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23919         __builtin_frame_address instead of making assumptions about the
23920         location of the return address relative to DATA.  Force early load of
23921         the return address.
23922         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23923         __builtin_frame_address.
23924
23925         dup3 for GNU Hurd.
23926         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23927         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23928         implement dup3 and do some further code clean-ups.
23929         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23930         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23931
23932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23933
23934         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23935
23936         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23937         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23938         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23939         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23940         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23941         d->port.lock.
23942
23943         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23944         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23945         when handler == SIG_ERR, not when handler != SIG_ERR.
23946
23947 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23948
23949         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23950         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23951         definitions.
23952
23953         accept4 for GNU Hurd.
23954         * include/sys/socket.h (__libc_accept4): New prototype.
23955         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23956         to implement __libc_accept4.
23957         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23958         __libc_accept4.
23959         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23960
23961         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23962         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23963         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23964         signal-defines.sym.
23965
23966 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23967
23968         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23969
23970 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23971
23972         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23973         assertion on O_CLOEXEC flag.
23974         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23975         * hurd/intern-fd.c: Likewise.
23976         * hurd/port2fd.c: Likewise.
23977
23978 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23979
23980         [BZ #3906]
23981         * bits/in.h (IPV6_PKTINFO): Define new macro.
23982         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23983
23984 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23985
23986         [BZ #13954]
23987         [BZ #13955]
23988         [BZ #13956]
23989         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23990         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23991         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23992         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23993         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23994         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23995         * math/libm-test.inc (logb_test) : Additional logb tests.
23996
23997 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
23998             Andreas Jaeger  <aj@suse.de>
23999
24000         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24001         * configure: Regenerated.
24002         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24003         * config.make.in (link-obsolete-rpc): New substituted variable.
24004         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24005         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24006         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24007         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24008         so that libc.a contains the symbols.
24009         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24010         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24011         * sunrpc/auth_none.c: Likewise.
24012         * sunrpc/auth_unix.c: Likewise.
24013         * sunrpc/authdes_prot.c: Likewise.
24014         * sunrpc/authuxprot.c: Likewise.
24015         * sunrpc/clnt_gen.c: Likewise.
24016         * sunrpc/clnt_perr.c: Likewise.
24017         * sunrpc/clnt_raw.c: Likewise.
24018         * sunrpc/clnt_simp.c: Likewise.
24019         * sunrpc/clnt_tcp.c: Likewise.
24020         * sunrpc/clnt_udp.c: Likewise.
24021         * sunrpc/clnt_unix.c: Likewise.
24022         * sunrpc/des_crypt.c: Likewise.
24023         * sunrpc/des_soft.c: Likewise.
24024         * sunrpc/get_myaddr.c: Likewise.
24025         * sunrpc/key_call.c: Likewise.
24026         * sunrpc/key_prot.c: Likewise.
24027         * sunrpc/netname.c: Likewise.
24028         * sunrpc/pm_getmaps.c: Likewise.
24029         * sunrpc/pm_getport.c: Likewise.
24030         * sunrpc/pmap_clnt.c: Likewise.
24031         * sunrpc/pmap_prot.c: Likewise.
24032         * sunrpc/pmap_prot2.c: Likewise.
24033         * sunrpc/pmap_rmt.c: Likewise.
24034         * sunrpc/publickey.c: Likewise.
24035         * sunrpc/rpc_cmsg.c: Likewise.
24036         * sunrpc/rpc_common.c: Likewise.
24037         * sunrpc/rpc_dtable.c: Likewise.
24038         * sunrpc/rpc_prot.c: Likewise.
24039         * sunrpc/rpc_thread.c: Likewise.
24040         * sunrpc/rtime.c: Likewise.
24041         * sunrpc/svc.c: Likewise.
24042         * sunrpc/svc_auth.c: Likewise.
24043         * sunrpc/svc_raw.c: Likewise.
24044         * sunrpc/svc_run.c: Likewise.
24045         * sunrpc/svc_tcp.c: Likewise.
24046         * sunrpc/svc_udp.c: Likewise.
24047         * sunrpc/svc_unix.c: Likewise.
24048         * sunrpc/svcauth_des.c: Likewise.
24049         * sunrpc/xcrypt.c: Likewise.
24050         * sunrpc/xdr.c: Likewise.
24051         * sunrpc/xdr_array.c: Likewise.
24052         * sunrpc/xdr_float.c: Likewise.
24053         * sunrpc/xdr_intXX_t.c: Likewise.
24054         * sunrpc/xdr_mem.c: Likewise.
24055         * sunrpc/xdr_rec.c: Likewise.
24056         * sunrpc/xdr_ref.c: Likewise.
24057         * sunrpc/xdr_sizeof.c: Likewise.
24058         * sunrpc/xdr_stdio.c: Likewise.
24059
24060 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24061
24062         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24063         change.  Update copyright years.
24064
24065 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24066
24067         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24068
24069 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24070             Joseph Myers  <joseph@codesourcery.com>
24071             Paul Pluzhnikov  <ppluzhnikov@google.com>
24072
24073         [BZ #14012]
24074         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24075         requiring rpcgen.
24076         [cross-compiling] (extra-libs): Likewise.
24077         [cross-compiling] (extra-libs-others): Likewise.
24078         [cross-compiling] (librpcsvc-routines): Likewise.
24079         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24080         [cross-compiling] (omit-deps): Likewise.
24081         (sunrpc-CPPFLAGS): New variable.
24082         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24083         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24084         (cross-rpcgen-objs): New variable.
24085         (extra-objs): Append $(cross-rpcgen-objs).
24086         ($(cross-rpcgen-objs)): New rule.
24087         ($(objpfx)cross-rpcgen): Likewise.
24088         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24089         comment.
24090         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24091         ($(objpfx)x%.stmp): Likewise.
24092         * sunrpc/proto.h [IS_IN_build] (_): Define.
24093         [IS_IN_build] (_libc_intl_domainname): Likewise.
24094
24095 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24096
24097         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24098         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24099         and R_X86_64_TPOFF64.
24100
24101 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24102
24103         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24104         sysdeps/unix/sysv/syscalls.list.
24105         (stime): Likewise.
24106         (utime): Likewise.
24107         * sysdeps/unix/sysv/syscalls.list: Remove file.
24108
24109 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24110
24111         [BZ #3440]
24112         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24113         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24114         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24115         (__LC_IDENTIFICATION): Make these macros useful in #if
24116         expressions, as required by C99.
24117
24118 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24119
24120         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24121         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24122         after this.
24123
24124 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24125
24126         * stdlib/longlong.h: Updated from GCC.
24127
24128 2012-05-09  Andreas Jaeger  <aj@suse.de>
24129
24130         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24131         default is first entry.
24132         (run_mode): Set type.
24133         (main): Remove informal message about syslog.
24134         (options): Fix typo.
24135
24136         [BZ #14053]
24137         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24138         to asm.
24139         (lrint): Likewise.
24140         (llrintf): Likewise.
24141         (llrint): Likewise.
24142         (rint): Likewise.
24143         (rintf): Likewise.
24144         (nearbyint): Likewise.
24145         (nearbyintf): Likewise.
24146
24147 2012-05-09  Andreas Jaeger  <aj@suse.de>
24148             Pedro Alves  <palves@redhat.com>
24149
24150         * nscd/nscd.c (run_mode): Use enum.
24151         (main): Cleanup coding style issue.
24152
24153 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24154             Andreas Jaeger  <aj@suse.de>
24155
24156         * nscd/nscd.c (go_background): Replaced with...
24157         (run_mode): ... this.
24158         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24159         (options): Add -F --foreground.
24160         (main): Implement it.
24161         (parse_opt): Parse it.
24162
24163 2012-05-09  Andreas Jaeger  <aj@suse.de>
24164
24165         [BZ #14083]
24166         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24167         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24168         -Wconversion warning.
24169         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24170         Likewise.
24171
24172 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24173
24174         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24175         == 0.
24176         (LC_ALL): Use macro-int-constant.
24177         (LC_COLLATE): Likewise.
24178         (LC_CTYPE): Likewise.
24179         (LC_MESSAGES): Likewise.
24180         (LC_MONETARY): Likewise.
24181         (LC_NUMERIC): Likewise.
24182         (LC_TIME): Likewise.
24183         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24184         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24185         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24186         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24187         Specify type.
24188         [C99-based standards] (float_t): Expect type.
24189         [C99-based standards] (double_t): Expect type.
24190         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24191         type.
24192         [C99-based standards] (HUGE_VALL): Likewise.
24193         [C99-based standards] (INFINITY): Likewise.
24194         [C99-based standards] (NAN): Likewise.
24195         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24196         [C99-based standards] (FP_NAN): Likewise.
24197         [C99-based standards] (FP_NORMAL): Likewise.
24198         [C99-based standards] (FP_SUBNORMAL): Likewise.
24199         [C99-based standards] (FP_ZERO): Likewise.
24200         [C99-based standards] (FP_FAST_FMA): Use
24201         optional-macro-int-constant.  Specify type.  Require == 1.
24202         [C99-based standards] (FP_FAST_FMAF): Likewise.
24203         [C99-based standards] (FP_FAST_FMAL): Likewise.
24204         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24205         [C99-based standards] (FP_ILOGBNAN): Likewise.
24206         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24207         Specify type.
24208         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24209         [C99-based standards] (math_errhandling): Specify type.
24210         [ISO99 || ISO11] (signgam): Do not allow.
24211         [non-C99-based standards] (copysignf): Do not allow.
24212         [non-C99-based standards] (exp2f): Likewise.
24213         [non-C99-based standards] (log2f): Likewise.
24214         [non-C99-based standards] (modff): Allow.
24215         [non-C99-based standards] (erff): Do not allow.
24216         [non-C99-based standards] (erfcf): Likewise.
24217         [non-C99-based standards] (gammaf): Likewise.
24218         [non-C99-based standards] (hypotf): Likewise.
24219         [non-C99-based standards] (j0f): Likewise.
24220         [non-C99-based standards] (j1f): Likewise.
24221         [non-C99-based standards] (jnf): Likewise.
24222         [non-C99-based standards] (lgammaf): Likewise.
24223         [non-C99-based standards] (tgammaf): Likewise.
24224         [non-C99-based standards] (y0f): Likewise.
24225         [non-C99-based standards] (y1f): Likewise.
24226         [non-C99-based standards] (ynf): Likewise.
24227         [non-C99-based standards] (isnanf): Likewise.
24228         [non-C99-based standards] (acoshf): Likewise.
24229         [non-C99-based standards] (asinhf): Likewise.
24230         [non-C99-based standards] (atanhf): Likewise.
24231         [non-C99-based standards] (cbrtf): Likewise.
24232         [non-C99-based standards] (expm1f): Likewise.
24233         [non-C99-based standards] (ilogbf): Likewise.
24234         [non-C99-based standards] (log1pf): Likewise.
24235         [non-C99-based standards] (logbf): Likewise.
24236         [non-C99-based standards] (nextafterf): Likewise.
24237         [non-C99-based standards] (remainderf): Likewise.
24238         [non-C99-based standards] (rintf): Likewise.
24239         [non-C99-based standards] (scalbf): Likewise.
24240         [non-C99-based standards] (copysignl): Likewise.
24241         [non-C99-based standards] (exp2l): Likewise.
24242         [non-C99-based standards] (log2l): Likewise.
24243         [non-C99-based standards] (modfl): Allow.
24244         [non-C99-based standards] (erfl): Do not allow.
24245         [non-C99-based standards] (erfcl): Likewise.
24246         [non-C99-based standards] (gammal): Likewise.
24247         [non-C99-based standards] (hypotl): Likewise.
24248         [non-C99-based standards] (j0l): Likewise.
24249         [non-C99-based standards] (j1l): Likewise.
24250         [non-C99-based standards] (jnl): Likewise.
24251         [non-C99-based standards] (lgammal): Likewise.
24252         [non-C99-based standards] (tgammal): Likewise.
24253         [non-C99-based standards] (y0l): Likewise.
24254         [non-C99-based standards] (y1l): Likewise.
24255         [non-C99-based standards] (ynl): Likewise.
24256         [non-C99-based standards] (isnanl): Likewise.
24257         [non-C99-based standards] (acoshl): Likewise.
24258         [non-C99-based standards] (asinhl): Likewise.
24259         [non-C99-based standards] (atanhl): Likewise.
24260         [non-C99-based standards] (cbrtl): Likewise.
24261         [non-C99-based standards] (expm1l): Likewise.
24262         [non-C99-based standards] (ilogbl): Likewise.
24263         [non-C99-based standards] (log1pl): Likewise.
24264         [non-C99-based standards] (logbl): Likewise.
24265         [non-C99-based standards] (nextafterl): Likewise.
24266         [non-C99-based standards] (remainderl): Likewise.
24267         [non-C99-based standards] (rintl): Likewise.
24268         [non-C99-based standards] (scalbl): Likewise.
24269         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24270         [non-C99-based standards] (FP_*): Do not allow.
24271         [C99-based standards] (FP_*): Change to
24272         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24273         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24274         allow.
24275         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24276         (SIG_ERR): Likewise.
24277         [X/Open-based standards] (SIG_HOLD): Likewise.
24278         (SIG_IGN): Likewise.
24279         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24280         positive value.
24281         (SIGFPE): Likewise.
24282         (SIGILL): Likewise.
24283         (SIGINT): Likewise.
24284         (SIGSEGV): Likewise.
24285         (SIGTER): Likewise.
24286         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24287         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24288         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24289         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24290         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24291         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24292         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24293         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24294         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24295         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24296         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24297         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24298         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24299         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24300         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24301         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24302         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24303         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24304         [X/Open-based standards] (SIGTRAP): Likewise.
24305         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24306         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24307         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24308         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24309         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24310         allow.
24311
24312 2012-05-08  Ian Wienand  <ianw@vmware.com>
24313
24314         [BZ #14080]
24315         * time/tzset.c (__tzset_parse_tz): Update default rules for
24316         daylight time changes in the Energy Policy Act of 2005.
24317
24318 2012-05-09  Andreas Jaeger  <aj@suse.de>
24319
24320         [BZ #13983]
24321         * elf/ldconfig.c (parse_conf): Change string to make clear that
24322         ldconfig only issued a warning if ld.so.conf does not exist.
24323
24324 2012-05-08  David S. Miller  <davem@davemloft.net>
24325
24326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24327         movxtod instead of popping the value on the stack.
24328
24329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24330
24331 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24332
24333         * config.h.in: Add HAVE_ARM_PCS_VFP.
24334
24335 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24336
24337         [BZ #13979]
24338         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24339         checking but the checks are disabled for any reason.
24340
24341 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24342
24343         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24344         and ELF64_R_TYPE with ELFW(R_TYPE).
24345
24346 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24347
24348         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24349         (ulimit): Likewise.
24350
24351         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24352         (settimeofday): Likewise.
24353
24354 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24355
24356         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24357         a struct th_u2 inside the union, and move tu_block/tu_code into
24358         a new th_u3 union of tu_block/tu_code inside of that.  Move
24359         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24360         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24361         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24362         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24363         (th_stuff): Change to th_u1.tu_stuff.
24364         (th_data): Define.
24365         (th_msg): Change to th_u1.th_u2.tu_data.
24366
24367 2012-05-07  David S. Miller  <davem@davemloft.net>
24368
24369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24370
24371         [BZ #14074]
24372         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24373         (SETUP_PIC_REG): Use it.
24374         (SETUP_PIC_REG_LEAF): Use it.
24375
24376 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24377
24378         [BZ #13885]
24379         [BZ #13923]
24380         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24381         USE_AS_EXPM1L.
24382         (EXPL_FINITE): Likewise.
24383         (FLDLOG): Likewise.
24384         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24385         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24386         e_expl.S.
24387         * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24393         e_expl.S.
24394         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24395         test of -max_value argument for long double.
24396         * sysdeps/i386/fpu/libm-test-ulps: Update.
24397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24398
24399 2012-05-06  David S. Miller  <davem@davemloft.net>
24400
24401         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24402         quad soft-float symbols whose references which are compiler
24403         generated.
24404         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24405
24406 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24407
24408         [BZ #13884]
24409         [BZ #13914]
24410         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24411         USE_AS_EXP10L.
24412         (EXPL_FINITE): Likewise.
24413         (FLDLOG): Likewise.
24414         (c0): Likewise.
24415         (c1): Likewise.
24416         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24417         Adjust comments for base varying.
24418         (__expl_finite): Change alias to EXPL_FINITE.
24419         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24420         e_expl.S.
24421         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24422         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24423         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24424         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24425         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24426         USE_AS_EXP10L.
24427         (EXPL_FINITE): Likewise.
24428         (FLDLOG): Likewise.
24429         (c0): Likewise.
24430         (c1): Likewise.
24431         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24432         Adjust comments for base varying.
24433         (__expl_finite): Change alias to EXPL_FINITE.
24434         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24435         tests for bugs.
24436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24437
24438         [BZ #14064]
24439         * math/libm-test.inc (check_float_internal): Correct ulp
24440         calculation for subnormal expected results.
24441
24442 2012-05-06  Andreas Jaeger  <aj@suse.de>
24443
24444         * Makeconfig (+math-flags): New, set to -frounding-math.
24445         (+cflags): Add +math-flags so that all of glibc gets compiled with
24446         it.
24447
24448         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24449
24450 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24451
24452         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24453         Disable one test.
24454
24455         [BZ #13787]
24456         [BZ #13922]
24457         [BZ #14036]
24458         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24459         (__ieee754_expl): Allow for and saturate large arguments.
24460         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24461         (u_threshold): Likewise.
24462         (__exp): Call __ieee754_exp before checking for overflow and
24463         underflow.
24464         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24465         (u_threshold): Likewise.
24466         (__expf): Call __ieee754_expf before checking for overflow and
24467         underflow.
24468         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24469         (u_threshold): Likewise.
24470         (__expl): Call __ieee754_expl before checking for overflow and
24471         underflow.
24472         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24473         (__ieee754_expl): Allow for and saturate large arguments.
24474         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24475         missing overflow exception on overflow.
24476         (expm1_test): Do not allow missing overflow exception on overflow.
24477
24478         * sysdeps/i386/fpu/e_expl.c: Move to ...
24479         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24480         rather than using inline asm.
24481         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24482         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24483         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24484
24485         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24486         (nice): Likewise.
24487         (poll): Likewise.
24488         (signal): Likewise.
24489         (time): Likewise.
24490         (times): Likewise.
24491
24492 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24493
24494         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24495         sysdeps/unix/common/syscalls.list.
24496         (fchmod): Likewise.
24497         (fchown): Likewise.
24498         (ftruncate): Likewise.
24499         (getrusage): Likewise.
24500         (gettimeofday): Likewise.
24501         (setpgid): Likewise.
24502         (setregid): Likewise.
24503         (setreuid): Likewise.
24504         (sigaction): Likewise.
24505         (truncate): Likewise.
24506         (vhangup): Likewise.
24507         * sysdeps/unix/common/syscalls.list: Remove file.
24508         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24509         * sysdeps/unix/sysv/linux/Implies: Likewise.
24510
24511 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
24512
24513         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24515         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24516         Moved to ...
24517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24518         Here.
24519         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24520         to ...
24521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24522         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24523         to ...
24524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24525         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24526         to ...
24527         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24528         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24529         to ...
24530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24531         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24532         to ...
24533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24534         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24535         to ...
24536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24537         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24538         to ...
24539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24540         Here.
24541         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24542         to ...
24543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24544         Here.
24545         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24546         to ...
24547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24548         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24549         Moved to ...
24550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24551         Here.
24552         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24553         to ...
24554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24555
24556 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24557
24558         * sysdeps/unix/common/bits/dirent.h: Remove file.
24559         * sysdeps/unix/common/bits/fcntl.h: Likewise.
24560
24561         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24562         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24563         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24564         * sysdeps/unix/bsd/isatty.c: Likewise.
24565         * sysdeps/unix/bsd/tcdrain.c: Likewise.
24566         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24567         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24568
24569 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24570
24571         [BZ #13563]
24572         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24573         long double comparison inaccuracies.
24574         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24576
24577 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
24578
24579         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24580         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24581
24582 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24583
24584         [BZ #14049]
24585         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24586         nonzero digits before rounding a hex value.
24587         * stdlib/tst-strtod.c (tests): Add another test.
24588
24589 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24590
24591         * sysdeps/s390/fpu/libm-test-ulps: Update.
24592
24593 2012-05-03  Andreas Jaeger  <aj@suse.de>
24594
24595         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24596         does not get optimized out.
24597         (malloc_opt_barrier): New.
24598
24599 2012-05-03  Andreas Jaeger  <aj@suse.de>
24600             Roland McGrath  <roland@hack.frob.com>
24601
24602         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24603         intermediate file deletion.
24604         (generated): Add .symlist files.
24605
24606 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24607
24608         [BZ #13775]
24609         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24610         Redirect under this condition.
24611         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24612         [__USE_GNU] (__dprintf_chk): Not under this condition.
24613         [__USE_GNU] (__vdprintf_chk): Likewise.
24614         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24615         under this condition.
24616         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24617         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24618         [__USE_XOPEN2K8] (vdprintf): Likewise.
24619         [__USE_GNU] (__dprintf_chk): Not under this condition.
24620         [__USE_GNU] (__vdprintf_chk): Likewise.
24621         [__USE_GNU] (dprintf): Likewise.
24622         [__USE_GNU] (vdprintf): Likewise.
24623
24624 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24625
24626         * elf/Makefile (common-generated): Set this instead of generated for
24627         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24628         $(all-built-dso)-derived lists.
24629
24630 2012-05-03  Andreas Jaeger  <aj@suse.de>
24631
24632         * sysdeps/i386/fpu/libm-test-ulps: Update.
24633
24634         * FAQ: Removed.
24635         * FAQ.in: Likewise.
24636         * scripts/gen-FAQ.pl: Likewise.
24637         * manual/install.texi (Installation): Point to online location of
24638         FAQ.
24639         * Makefile (files-for-dist): Remove FAQ.
24640         (FAQ): Remove.
24641
24642 2012-05-02  Allan McRae  <allan@archlinux.org>
24643
24644         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24645         (LDFLAGS-reldepmod5.so): Likewise.
24646         (LDFLAGS-reldep6mod1.so): Likewise.
24647         (LDFLAGS-reldep6mod4.so): Likewise.
24648         (LDFLAGS-reldep8mod3.so): Likewise.
24649         (LDFLAGS-unload4mod1.so): Likewise.
24650         (LDFLAGS-unload4mod2.so): Likewise.
24651         (LDFLAGS-tst-initorder): Likewise.
24652         (LDFLAGS-tst-initordera2.so): Likewise.
24653         (LDFLAGS-tst-initordera3.so): Likewise.
24654         (LDFLAGS-tst-initordera4.so): Likewise.
24655         (LDFLAGS-tst-initorderb2.so): Likewise.
24656         (LDFLAGS-noload): Likewise.
24657         (LDFLAGS-next): Likewise.
24658         (LDFLAGS-order2mod1.so): Likewise.
24659         (LDFLAGS-order2mod2.so): Likewise.
24660         (LDFLAGS-tst-initorder2): Likewise.
24661         (LDFLAGS-tst-initorder2a.so): Likewise.
24662         (LDFLAGS-tst-initorder2b.so): Likewise.
24663         (LDFLAGS-tst-initorder2c.so): Likewise.
24664         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24665
24666 2012-05-02  David S. Miller  <davem@davemloft.net>
24667
24668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24669
24670 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24671
24672         [BZ #14055]
24673         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24674
24675 2012-05-02  Andreas Jaeger  <aj@suse.de>
24676
24677         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24678         since we manipulate rounding mode.
24679         (CPPFLAGS-test-idouble.c): Likewise.
24680         (CPPFLAGS-test-ifloat.c): Likewise.
24681         (CFLAGS-test-ldouble.c): Likewise.
24682         (CFLAGS-test-double.c): Likewise.
24683         (CFLAGS-test-float.c): Likewise.
24684         (CFLAGS-test-misc.c): Likewise.
24685         (CFLAGS-test-test-fenv.c): Likewise.
24686
24687 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24688
24689         [BZ #2550]
24690         [BZ #2570]
24691         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24692         comparisons to determine direction to adjust input.
24693
24694 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24695
24696         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24697         output to the target.
24698
24699         * scripts/localplt.awk: New file.
24700         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24701         (check-localplt-CFLAGS): Variable removed.
24702         ($(all-built-dso:=.jmprel)): New static pattern rule.
24703         (generated): Add those targets.
24704         (localplt-built-dso): New variable.
24705         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24706
24707         * elf/check-localplt.c: File removed.
24708
24709         * scripts/check-execstack.awk: New file.
24710         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24711         (check-execstack-CFLAGS): Variable removed.
24712         ($(objpfx)check-execstack.h): Target removed.
24713         ($(objpfx)execstack-default): New target.
24714         (generated): Add that instead of check-execstack.h.
24715         ($(all-built-dso:=.phdr)): New static pattern rule.
24716         (generated): Add those targets.
24717         * elf/check-execstack.c: File removed.
24718
24719         * scripts/check-textrel.awk: New file.
24720         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24721         (check-textrel-CFLAGS): Variable removed.
24722         (all-built-dso): Use := to define.o
24723         ($(all-built-dso:=.dyn)): New static pattern rule.
24724         (generated): Add those targets.
24725         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24726         * config.make.in (READELF): New substituted variable.
24727         * elf/check-textrel.c: File removed.
24728
24729 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24730
24731         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24732         allow.
24733         * conform/data/ctype.h-data [C99-based standards] (isblank):
24734         Expect function.
24735         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24736         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24737         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24738         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24739         Specify type.  Require positive value.
24740         (EILSEQ): Likewise.
24741         (ERANGE): Likewise.
24742         [ISO || POSIX] (EILSEQ): Do not expect.
24743         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24744         Specify type.  Require positive value.
24745         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24746         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24747         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24748         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24749         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24750         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24751         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24752         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24753         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24754         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24755         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24756         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24757         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24758         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24759         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24760         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24761         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24762         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24763         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24764         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24765         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24766         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24767         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24768         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24769         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24770         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24771         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24772         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24773         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24774         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24775         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24776         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24777         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24778         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24779         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24780         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24781         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24782         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24783         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24784         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24785         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24786         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24787         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24788         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24789         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24790         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24791         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24792         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24793         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24794         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24795         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24796         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24797         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24798         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24799         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24800         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24801         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24802         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24803         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24804         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24805         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24806         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24807         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24808         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24809         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24810         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24811         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24812         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24813         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24814         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24815         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24816         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24817         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24818         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24819         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24820         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24821         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24822         Require >= 2.
24823         (FLT_ROUNDS): Expect as macro, not constant.
24824         (FLT_MANT_DIG): Use macro-int-constant.
24825         (DBL_MANT_DIG): Likewise.
24826         (LDBL_MANT_DIG): Likewise.
24827         (FLT_DIG): Likewise.
24828         (DBL_DIG): Likewise.
24829         (LDBL_DIG): Likewise.
24830         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24831         (DBL_MIN_EXP): Likewise.
24832         (LDBL_MIN_EXP): Likewise.
24833         (FLT_MAX_EXP): Use macro-int-constant.
24834         (DBL_MAX_EXP): Likewise.
24835         (LDBL_MAX_EXP): Likewise.
24836         (FLT_MAX_10_EXP): Likewise.
24837         (DBL_MAX_10_EXP): Likewise.
24838         (LDBL_MAX_10_EXP): Likewise.
24839         (FLT_MAX): Use macro-constant.
24840         (DBL_MAX): Likewise.
24841         (LDBL_MAX): Likewise.
24842         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24843         (DBL_EPSILON): Likewise.
24844         (LDBL_EPSILON): Likewise.
24845         (FLT_MIN): Likewise.
24846         (DBL_MIN): Likewise.
24847         (LDBL_MIN): Likewise.
24848         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24849         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24850         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24851         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24852         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24853         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24854         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24855         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24856         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24857         [ISO11] (FLT_TRUE_MIN): Likewise.
24858         [ISO11] (LDBL_TRUE_MIN): Likewise.
24859         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24860         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24861         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24862         (SCHAR_MAX): Likewise.
24863         (UCHAR_MAX): Likewise.
24864         (CHAR_MIN): Likewise.
24865         (CHAR_MAX): Likewise.
24866         (MB_LEN_MAX): Use macro-int-constant.
24867         (SHRT_MIN): Use macro-int-constant.  Specify type.
24868         (SHRT_MAX): Likewise.
24869         (USHRT_MAX): Likewise.
24870         (INT_MAX): Likewise.
24871         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24872         bound negative.
24873         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24874         bound with "U".
24875         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24876         bound with "L".
24877         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24878         bound negative.  Suffix upper bound with "L".
24879         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24880         bound with "UL".
24881         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24882         Specify type.
24883         [C99-based standards] (LLONG_MAX): Likewise.
24884         [C99-based standards] (ULLONG_MAX): Likewise.
24885         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24886         == 0.
24887         [ISO11] (max_align_t): Require type.
24888         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24889
24890         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24891         from $CFLAGS, without defining away __attribute__ calls.
24892         (checknamespace): Use $CFLAGS_namespace.
24893
24894         * conform/conformtest.pl (@keywords): Only include C99 keywords
24895         for standards based on C99 or C11.
24896
24897         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24898         Disable tests.
24899         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24900         UNIX98]: Likewise.
24901
24902         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24903         usability of symbols in #if.
24904
24905         * conform/conformtest.pl: If macro or constant types start
24906         "promoted:", expect the symbol to be of the following type
24907         promoted by the integer promotions.
24908
24909         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24910         in one place.  Also handle "macro-constant".
24911
24912         * conform/conformtest.pl: Only accept expected macro values with
24913         "==".  Parse all "macro" lines in one place.
24914         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24915
24916         * conform/conformtest.pl: Handle braced types on "constant" lines
24917         instead of handling "typed-constant".
24918         * conform/data/signal.h-data: Use "constant" instead of
24919         "typed-constant".
24920
24921         * conform/conformtest.pl: Handle "optional-" at start of lines in
24922         one place rather than duplicating several cases.  Handle each
24923         format of "macro" line with initial "optional-".
24924
24925         * conform/conformtest.pl: Only accept expected constant or
24926         optional-constant values with "==".  Parse all "constant" lines in
24927         one place.  Parse all "optional-constant" lines in one place.
24928         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24929         * conform/data/fmtmsg.h-data: Likewise.
24930         * conform/data/netinet/in.h-data: Likewise.
24931         * conform/data/tar.h-data: Likewise.
24932         * conform/data/limits.h-data: Use "==" form on "constant" and
24933         "optional-constant" lines.
24934
24935         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24936         Use -std=c99 for XOPEN2K.
24937         (@knownproblems): Remove.
24938         (newtoken): Don't check %isknown.
24939
24940         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24941         Do not expect macro.
24942         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24943         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24944         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24945         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24946         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24947         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24948         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24949         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24950         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24951         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24952         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24953         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24954         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24955         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24956         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24957         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24958         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24959         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24960         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24961         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24962         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24963         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24964         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24965         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24966         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24967         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24968         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24969         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24970         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24971         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24972         [XPG3] (acosh): Likewise.
24973         [XPG3] (asinh): Likewise.
24974         [XPG3] (atanh): Likewise.
24975         [XPG3] (cbrt): Likewise.
24976         [XPG3] (expm1): Likewise.
24977         [XPG3] (ilogb): Likewise.
24978         [XPG3] (log1p): Likewise.
24979         [XPG3] (logb): Likewise.
24980         [XPG3] (nextafter): Likewise.
24981         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24982         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24983         [XPG3] (remainder): Likewise.
24984         [XPG3] (rint): Likewise.
24985         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24986         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24987         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24988         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24989         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24990         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24991         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24992         [UNIX98 || XOPEN2K] (scalb): Expect.
24993         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24994         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24995         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24996         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24997         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24998         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24999         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25000         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25001         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25002         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25003         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25004         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25005         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25006         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25007         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25008         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25009         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25010         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25011         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25012         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25013         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25014         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25015         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25016         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25017         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25018         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25019         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25020         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25021         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25022         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25023         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25024         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25025         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25026         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25027         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25028         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25029         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25030         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25031         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25032         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25033         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25034         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25035         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25036         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25037         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25038         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25039         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25040         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25041         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25042         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25043         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25044         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25045         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25046         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25047         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25048         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25049         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25050         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25051         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25052         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25053         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25054         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25055         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25056         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25057         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25058         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25059         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25060         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25061         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25062         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25063         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25064         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25065         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25066         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25067         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25068         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25069         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25070         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25071         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25072         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25073         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25074         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25075         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25076         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25077         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25078         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25079         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25080         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25081         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25082         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25083         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25084         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25085         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25086         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25087         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25088         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25089         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25090         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25091         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25092         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25093         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25094         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25095         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25096         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25097         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25098         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25099         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25100         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25101         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25102         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25103         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25104         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25105         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25106         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25107         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25108         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25109         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25110         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25111         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25112         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25113         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25114         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25115         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25116         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25117         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25118         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25119         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25120         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25121         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25122         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25123         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25124         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25125         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25126         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25127         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25128         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25129         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25130
25131         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25132         _XOPEN_SOURCE_EXTENDED for XPG4.
25133
25134         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25135
25136         * Makeconfig (localtime): Remove variable.
25137         (inst_localtime-file): Likewise.
25138
25139 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25140
25141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25142         Update.
25143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25144         Update.
25145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25146         Update.
25147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25148         Update.
25149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25150         Update.
25151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25152         Update.
25153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25154         Update.
25155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25156         Update.
25157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25158         Update.
25159
25160 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25161
25162         [BZ #2550]
25163         [BZ #2570]
25164         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25165         comparisons to determine direction to adjust input.
25166         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25167         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25168         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25169         Likewise.
25170         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25171         Likewise.
25172         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25173         Likewise.
25174         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25175         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25176         Likewise.
25177         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25178         Likewise.
25179         * math/libm-test.inc (nexttoward_test): Add more tests.
25180
25181 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25182
25183         [BZ #14040]
25184         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25185         in version GLIBC_2.1, not GLIBC_2.0.
25186         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25187         Likewise.
25188
25189 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25190
25191         [BZ #13942]
25192         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25193         (1 - x) * (1 + x).
25194         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25195         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25196         * math/libm-test.inc (acos_test): Add more tests.
25197         (asin_test): Likewise.
25198         * sysdeps/i386/fpu/libm-test-ulps: Update.
25199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25200
25201         [BZ #14034]
25202         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25203         of square root.
25204         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25205         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25206         * math/libm-test.inc (acos_test_tonearest): New function.
25207         (acos_test_towardzero): Likewise.
25208         (acos_test_downward): Likewise.
25209         (acos_test_upward): Likewise.
25210         (asin_test_tonearest): Likewise.
25211         (asin_test_towardzero): Likewise.
25212         (asin_test_downward): Likewise.
25213         (asin_test_upward): Likewise.
25214         (main): Call the new functions.
25215         * sysdeps/i386/fpu/libm-test-ulps: Update.
25216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25217
25218         [BZ #13884]
25219         [BZ #13924]
25220         * math/e_exp10.c: Include <float.h>.
25221         (__ieee754_exp10): Handle underflow here rather than multiplying
25222         large negative argument by M_LN10.
25223         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25224         of __ieee754_expf.
25225         * math/e_exp10l.c: Include <float.h>.
25226         (__ieee754_exp10l): Handle underflow here rather than multiplying
25227         large negative argument by M_LN10l.
25228         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25229         spurious overflow exception on underflow.
25230
25231 2012-04-29  Marek Polacek  <polacek@redhat.com>
25232
25233         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25234         (__fortify_function): New macro.
25235         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25236         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25237         __extern_always_inline.
25238         * libio/bits/stdio2.h: Likewise.
25239         * libio/bits/stdio.h: Likewise.
25240         * string/string.h: Likewise.
25241         * string/bits/string3.h: Likewise.
25242         * include/stdio.h: Likewise.
25243         * stdlib/bits/stdlib.h: Likewise.
25244         * stdlib/stdlib.h: Likewise.
25245         * rt/bits/mqueue2.h: Likewise.
25246         * rt/mqueue.h: Likewise.
25247         * posix/bits/unistd.h: Likewise.
25248         * posix/unistd.h: Likewise.
25249         * io/bits/poll2.h: Likewise.
25250         * io/bits/fcntl2.h: Likewise.
25251         * io/fcntl.h: Likewise.
25252         * io/sys/poll.h: Likewise.
25253         * misc/bits/syslog.h: Likewise.
25254         * misc/bits/syslog-ldbl.h: Likewise.
25255         * misc/sys/syslog.h: Likewise.
25256         * socket/bits/socket2.h: Likewise.
25257         * socket/sys/socket.h: Likewise.
25258         * debug/tst-chk1.c: Likewise.
25259         * wcsmbs/bits/wchar2.h: Likewise.
25260         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25261         * wcsmbs/wchar.h: Likewise.
25262
25263 2012-04-29  Andreas Jaeger  <aj@suse.de>
25264
25265         * Makerules (tests): Remove enable-check-abi protection.
25266         (check-abi-warn): Remove.
25267         (check-abi-%): Remove check-abi-warn usage.
25268
25269         * configure.in: Remove check-abi configure option.
25270         * configure: Regenerated.
25271         * config.make.in (enable-check-abi): Remove.
25272
25273 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25274
25275         [BZ #14033]
25276         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25277         double functions to double *_finite functions.
25278
25279         [BZ #13941]
25280         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25281         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25282         LDBL_MIN_EXP.
25283         * stdio-common/Makefile (tests): Add tst-sprintf3.
25284         * stdio-common/tst-sprintf3.c: New file.
25285
25286         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25287         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25288
25289 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25290
25291         * conform/conformtest.pl: Remove duplicate typed-constant
25292         handling.
25293
25294 2012-04-28  David S. Miller  <davem@davemloft.net>
25295
25296         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25297         (check-abi-%): Remove AWK script prerequisite and explicit
25298         abilist directory.
25299         (check-abi): Rewrite to just diff the symlist with the abilist.
25300         (config-tls, config-abi-config): Delete, no longer used.
25301         (update-abi-%): Remove AWK script and explicit abilist directory.
25302         (update-abi): Rewrite to simply compare and conditionally copy the
25303         symlist and the sysdep abilist file.  Remove update-abi-config
25304         checks.
25305         * abilist/ld.abilist: Remove.
25306         * abilist/libBrokenLocale.abilist: Remove.
25307         * abilist/libanl.abilist: Remove.
25308         * abilist/libcrypt.abilist: Remove.
25309         * abilist/libdl.abilist: Remove.
25310         * abilist/librt.abilist: Remove.
25311         * abilist/libthread_db.abilist: Remove.
25312         * abilist/libutil.abilist: Remove.
25313         * scripts/extract-abilist.awk: Remove.
25314         * scripts/merge-abilist.awk: Remove.
25315         * sysdeps/generic/libcidn.abilist: New file.
25316         * sysdeps/generic/libnss_compat.abilist: New file.
25317         * sysdeps/generic/libnss_db.abilist: New file.
25318         * sysdeps/generic/libnss_dns.abilist: New file.
25319         * sysdeps/generic/libnss_files.abilist: New file.
25320         * sysdeps/generic/libnss_hesiod.abilist: New file.
25321         * sysdeps/generic/libnss_nis.abilist: New file.
25322         * sysdeps/generic/libnss_nisplus.abilist: New file.
25323         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25324         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25325         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25326         file.
25327         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25328         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25329         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25330         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25331         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25332         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25333         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25334         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25335         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25336         file.
25337         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25338         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25339         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25340         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25341         file.
25342         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25343         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25344         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25345         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25346         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25347         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25348         file.
25349         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25350         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25351         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25352         file.
25353         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25355         New file.
25356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25357         New file.
25358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25359         New file.
25360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25361         New file.
25362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25363         New file.
25364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25365         New file.
25366         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25367         New file.
25368         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25369         New file.
25370         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25371         New file.
25372         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25373         New file.
25374         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25375         New file.
25376         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25377         New file.
25378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25379         New file.
25380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25381         file.
25382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25383         New file.
25384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25385         New file.
25386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25387         file.
25388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25389         New file.
25390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25391         New file.
25392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25393         file.
25394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25395         New file.
25396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25397         New file.
25398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25399         New file.
25400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25401         New file.
25402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25403         New file.
25404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25405         New file.
25406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25408         file.
25409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25410         New file.
25411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25412         file.
25413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25414         file.
25415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25416         file.
25417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25418         file.
25419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25420         file.
25421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25422         New file.
25423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25424         file.
25425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25426         file.
25427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25428         New file.
25429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25430         file.
25431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25433         file.
25434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25435         New file.
25436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25437         file.
25438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25439         file.
25440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25441         file.
25442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25443         file.
25444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25445         file.
25446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25447         New file.
25448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25449         file.
25450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25451         file.
25452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25453         New file.
25454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25455         file.
25456         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25457         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25458         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25459         file.
25460         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25461         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25462         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25463         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25464         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25465         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25466         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25467         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25468         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25469         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25472         file.
25473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25474         New file.
25475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25476         file.
25477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25478         file.
25479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25480         file.
25481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25482         file.
25483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25484         file.
25485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25486         New file.
25487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25488         New file.
25489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25490         file.
25491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25492         New file.
25493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25494         file.
25495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25497         file.
25498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25499         New file.
25500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25501         file.
25502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25503         file.
25504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25505         file.
25506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25507         file.
25508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25509         file.
25510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25511         New file.
25512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25513         New file.
25514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25515         file.
25516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25517         New file.
25518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25519         file.
25520
25521 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25522
25523         * conform/conformtest.pl: Fix typo in handling typed-constant from
25524         allow-header.
25525
25526 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25527
25528         * README: Cut down references to pre-2.6 Linux kernels and
25529         Linuxthreads.  Update lists of configurations in libc and ports
25530         and sort alphabetically.  Say "or newer" with Linux kernel version
25531         requirements.
25532
25533         * config.h.in [IS_IN_build]: Allow compiling without optimization.
25534
25535 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25536
25537         [BZ #887]
25538         * math/libm-test.inc (logb_test_downward): New test to expose
25539         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25540         rounding mode.
25541
25542 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25543
25544         [BZ #14027]
25545         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25546         to be done.
25547         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25548         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25549
25550 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
25551
25552         * sysdeps/unix/i386/brk.S: Remove file.
25553         * sysdeps/unix/i386/dl-brk.S: Likewise.
25554         * sysdeps/unix/i386/pipe.S: Likewise.
25555         * sysdeps/unix/i386/sigreturn.S: Likewise.
25556         * sysdeps/unix/i386/syscall.S: Likewise.
25557         * sysdeps/unix/i386/vfork.S: Likewise.
25558         * sysdeps/unix/i386/wait.S: Likewise.
25559
25560         * sysdeps/unix/common/tcsendbrk.c: Move to ...
25561         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25562
25563         * configure.in (arm*-none*): Do not allow without
25564         --enable-hacker-mode.
25565         (netbsd*): Remove case setting base_os.
25566         (386bsd*): Likewise.
25567         (freebsd*): Likewise.
25568         (bsdi*): Likewise.
25569         (osf*): Likewise.
25570         (sunos*): Likewise.
25571         (ultrix*): Likewise.
25572         (newsos*): Likewise.
25573         (dynix*): Likewise.
25574         (*bsd*): Likewise.
25575         (sysv*): Likewise.
25576         (isc*): Likewise.
25577         (esix*): Likewise.
25578         (sco*): Likewise.
25579         (minix*): Likewise.
25580         (irix4*): Likewise.
25581         (irix6*): Likewise.
25582         (solaris[2-9]*): Likewise.
25583         (none): Likewise.
25584         * configure: Regenerated.
25585
25586 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25587
25588         [BZ #11521]
25589         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25590         overflow or cancellation in calculating denominator.
25591         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25592         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25593         down expression to avoid unexpected rounding in newer GCCs.
25594         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25595
25596 2012-04-26  David S. Miller  <davem@davemloft.net>
25597
25598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25599         long-double compat symbols.
25600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25613
25614 2012-04-25  David S. Miller  <davem@davemloft.net>
25615
25616         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25617         HWCAP_* values only after the memory barriers have been defined.
25618         (atomic_full_barrier): Define.
25619         (atomic_read_barrier): Define.
25620         (atomic_write_barrier): Define.
25621
25622 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25623
25624         * shlib-versions: Add libgcc_s version information.
25625         * sysdeps/generic/libgcc_s.h: Remove.
25626         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25627         libgcc_s.h.
25628         * sysdeps/gnu/unwind-resume.c: Likewise.
25629         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25630
25631 2012-04-25  David S. Miller  <davem@davemloft.net>
25632
25633         * sysdeps/unix/sparc/brk.S: Delete.
25634         * sysdeps/unix/sparc/dl-brk.S: Delete.
25635         * sysdeps/unix/sparc/pipe.S: Delete.
25636         * sysdeps/unix/sparc/sysdep.S: Delete.
25637         * sysdeps/unix/sparc/sysdep.h: Delete.
25638         * sysdeps/unix/sparc/vfork.S: Delete.
25639         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25640         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25641         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25642         ret_ERRVAL, r0, r1, MOVE): Define.
25643         (JUMPTARGET): Remove.
25644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25645         sysdeps/unix/sparc/sysdep.h
25646         (ENTRY, END): Remove.
25647         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25648
25649 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25650
25651         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25652         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25653         -DIS_IN_build.
25654
25655         * timezone/README: Update upstream location and email address for
25656         tzcode and tzdata.
25657         * timezone/zdump.c: Update from tzcode 2012b.
25658         * timezone/zic.c: Likewise.
25659
25660         * configure.in (libc_cv_as_needed): Remove test.
25661         * configure: Regenerated.
25662         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25663         conditional definition.
25664         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25665         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25666         * config.make.in (have-as-needed): Remove variable.
25667
25668 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25669             Paul Pluzhnikov  <ppluzhnikov@google.com>
25670
25671         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25672         strings correctly.
25673
25674 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25675
25676         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25677         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25678         * sysdeps/sh/strlen.S: Likewise.
25679
25680 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25681
25682         * sysdeps/unix/fork.S: Remove file.
25683         * sysdeps/unix/i386/fork.S: Likewise.
25684         * sysdeps/unix/sparc/fork.S: Likewise.
25685
25686         * sysdeps/unix/system.c: Remove file.
25687         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25688
25689         * sysdeps/unix/getegid.S: Remove file.
25690         * sysdeps/unix/geteuid.S: Likewise.
25691
25692 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25693
25694         * scripts/check-localplt.awk: New file.
25695         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25696         of diff.
25697         * scripts/data/localplt-generic.data: Add a comment.
25698
25699         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25700         NODE when __dir_mkfile failed.
25701         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25702         Reported by Ludovic Courtès <ludo@gnu.org>.
25703
25704 2012-04-24  Andreas Jaeger  <aj@suse.de>
25705
25706         * Makerules (common-clean): Also remove gen-as-const-headers
25707         files.
25708
25709 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25710
25711         * Makerules (native-compile): Do not change working directory for
25712         build.  Use $(OUTPUT_OPTION) in command.
25713         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25714
25715 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25716
25717         [BZ #13886]
25718         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25719         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25720         * math/libm-test.inc (floor_test): Add more tests.
25721         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25722
25723 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25724
25725         * sysdeps/unix/getdents.c: Remove file.
25726         * sysdeps/unix/sysv/getdents.c: Likewise.
25727         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25728
25729         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25730         sysdeps/unix/mman/syscalls.list.
25731         (mmap): Likewise.
25732         (mprotect): Likewise.
25733         (msync): Likewise.
25734         (munmap): Likewise.
25735         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25736         * sysdeps/unix/mman/syscalls.list: Remove.
25737         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25738
25739         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25740         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25741         * configure: Regenerated.
25742         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25743         $(libgcc_s_suffix).
25744         * config.make.in (libgcc_s_suffix): Remove variable.
25745
25746 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25747
25748         * sysdeps/unix/sysv/gethostname.c: Move to ...
25749         * sysdeps/posix/gethostname.c: ... here.
25750
25751         * sysdeps/unix/execve.S: Remove file.
25752
25753         * sysdeps/unix/_exit.S: Remove file.
25754
25755 2012-04-23  Andreas Jaeger  <aj@suse.de>
25756
25757         [BZ #13739]
25758         * manual/Makefile: Remove make dist support, there's no
25759         need for a stand-alone documentation tar ball.
25760         (TEXI2DVI): Define always, it's not in Makeconfig.
25761         (dist): Removed.
25762         (tar-it): Removed.
25763         (edition): Removed.
25764         (glibc-doc-$(edition).tar): Removed
25765         (%.Z): Removed.
25766         (%.gz): Removed.
25767         (%.uu): Removed.
25768         (ETAGS): Remove, it's in Makeconfig.
25769         (move-if-change): Remove, it's in Makeconfig.
25770
25771 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25772
25773         [BZ #13970]
25774         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25775         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25776         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25777         (strtod_l, strtof_l, strtold_l): Remove __wur.
25778         It is not necessarily an error to ignore strtol's return value.
25779         One can reliably look at the stored endptr to decide whether
25780         the number had valid syntax.
25781
25782 2012-04-21  Andreas Jaeger  <aj@suse.de>
25783
25784         [BZ #13739]
25785         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25786
25787 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25788
25789         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25790         * sysdeps/unix/sysv/Versions: Remove file.
25791
25792 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25793
25794         [BZ #13927]
25795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25796
25797 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25798
25799         [BZ #7064]
25800         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25801         version from __vm86.
25802
25803 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25804
25805         * sysdeps/unix/common/lxstat.c: Remove file.
25806         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25807
25808         * sysdeps/unix/sysv/Makefile: Remove file.
25809
25810         * sysdeps/unix/sysv/direct.h: Remove file.
25811
25812         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25813         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25814         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25815         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25816         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25817         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25818         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25819
25820         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25821
25822         * sysdeps/unix/xmknod.c: Remove file.
25823         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25824
25825         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25826
25827         * sysdeps/unix/sysv/i386/time.S: Remove file.
25828
25829         * sysdeps/unix/fxstat.c: Remove file.
25830         * sysdeps/unix/xstat.c: Likewise.
25831         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25832
25833         * sysdeps/unix/sysv/sigaction.c: Remove file.
25834
25835         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25836         (sysdep_headers): Remove variable.
25837         [termio.h not in sysdep_headers] (generated): Likewise.
25838         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25839         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25840         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25841         * sysdeps/unix/sysv/tcflow.c: Likewise.
25842         * sysdeps/unix/sysv/tcflush.c: Likewise.
25843         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25844         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25845         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25846         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25847         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25848
25849         * sysdeps/unix/siglist.c: Remove file.
25850
25851         * sysdeps/unix/getppid.S: Remove file.
25852
25853         * sysdeps/unix/mkdir.c: Remove file.
25854         * sysdeps/unix/rmdir.c: Likewise.
25855
25856 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25857
25858         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25859         ERR_MAX value.
25860         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25861         errlist-compat value.
25862
25863 2012-04-18  David S. Miller  <davem@davemloft.net>
25864
25865         * sysdeps/generic/memcopy.h (reg_char): Delete.
25866         * debug/strcat_chk.c: Use char, not reg_char.
25867         * debug/strcpy_chk.c: Likewise.
25868         * debug/strncat_chk.c: Likewise.
25869         * debug/strncpy_chk.c: Likewise.
25870         * string/memchr.c: Likewise.
25871         * string/memrchr.c: Likewise.
25872         * string/rawmemchr.c: Likewise.
25873         * string/strcat.c: Likewise.
25874         * string/strchr.c: Likewise.
25875         * string/strchrnul.c: Likewise.
25876         * string/strcmp.c: Likewise.
25877         * string/strcpy.c: Likewise.
25878         * string/strncat.c: Likewise.
25879         * string/strncmp.c: Likewise.
25880         * string/strncpy.c: Likewise.
25881
25882 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25883
25884         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25885         __builtin_memcopy is called when src and dest ranges are known to not
25886         overlap.
25887
25888 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25889
25890         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25891         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25892         fwd_align_merge macro call.
25893         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25894         bwd_align_merge macro call.
25895         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25896
25897 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25898
25899         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25900         bwd_align_merge macros.
25901         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25902         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25903         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25904
25905 2012-04-18  David S. Miller  <davem@davemloft.net>
25906
25907         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25908
25909 2012-04-18  Andreas Jaeger  <aj@suse.de>
25910
25911         [BZ# 6794]
25912         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25913         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25914         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25915
25916         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25917         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25918         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25919
25920         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25921         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25922         Adjust for changed ldbl-128 files.
25923
25924         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25925         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25926         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25927
25928 2012-04-17  David S. Miller  <davem@davemloft.net>
25929
25930         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25931
25932 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25933
25934         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25935         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25936         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25937         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25938         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25939         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25940
25941 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25942
25943         [BZ #6794]
25944         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25945         * math/libm-test.inc: Add ilogb errno and exception tests.
25946         * math/w_ilogb.c: New file: ilogb wrapper.
25947         * math/w_ilogbf.c: New file: ilogbf wrapper.
25948         * math/w_ilogbl.c: New file: ilogbl wrapper.
25949         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25950         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25951         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25952         exception being thrown with 0.0 as argument.
25953         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25954         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25955         exception being thrown with 0.0 as argument.
25956         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25957         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25958         exception being thrown with 0.0 as argument.
25959         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25960         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25961         exception being thrown with 0.0 as argument.
25962         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25963         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25964         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25965         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25966         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25967         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25968         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25969         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25970         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25971
25972 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25973
25974         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25975         with altivec.
25976
25977 2012-04-16  Marek Polacek  <polacek@redhat.com>
25978
25979         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25980
25981 2012-04-16  Marek Polacek  <polacek@redhat.com>
25982
25983         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25984         operands of fdivp instruction.
25985
25986 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25987
25988         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25989         * elf/tst-auditmod3b.c: Likewise.
25990         * elf/tst-auditmod4b.c: Likewise.
25991         * elf/tst-auditmod5b.c: Likewise.
25992         * elf/tst-auditmod6b.c: Likewise.
25993         * elf/tst-auditmod6c.c: Likewise.
25994         * elf/tst-auditmod7b.c: Likewise.
25995         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25996         * sysdeps/x86_64/preconfigure.in: Likewise.
25997         * sysdeps/x86_64/preconfigure: Regenerated.
25998
25999 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26000
26001         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26002         __ILP32__.
26003
26004 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26005
26006         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26007         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26008
26009 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26010
26011         [BZ #13973]
26012         * locale/iso-639.def: Fix gl language name. Spotted by
26013         Yaron Shahrabani.
26014
26015 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26016
26017         [BZ #2074]
26018         * libio/libio.h (__io_write_fn): Update comment.
26019
26020 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26021
26022         [BZ #2074]
26023         * stdio.texi (Hook Functions): The user provided writer function
26024         is not allowed to return -1.
26025
26026 2012-04-11  David S. Miller  <davem@davemloft.net>
26027
26028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26029
26030 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26031
26032         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26033         Add a leading slash to rtkaio.
26034
26035 2012-04-11  Jim Meyering  <meyering@redhat.com>
26036
26037         [BZ #11959]
26038         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26039         It is not necessarily an error to ignore fwrite's return
26040         value.  One can reliably use ferror to test for errors after
26041         the fact.
26042
26043 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26044
26045         * bits/types.h (__snseconds_t): New type.
26046         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26047
26048         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26050         (__SNSECONDS_T_TYPE): Likewise.
26051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26052         (__SNSECONDS_T_TYPE): Likewise.
26053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26054         (__SNSECONDS_T_TYPE): Likewise.
26055
26056 2012-04-10  Andreas Jaeger  <aj@suse.de>
26057
26058         [BZ #2636]
26059         * manual/time.texi (Processor Time): Return type of times is
26060         elapsed real time since an arbitrary point in the past.
26061         (CPU Time): Move CLK_TCK from here...
26062         (Processor Time): ...to here.  Correct description.
26063         * manual/conf.texi (Constants for Sysconf): Correct description of
26064         _SC_CLK_TCK.
26065
26066 2012-04-10  David S. Miller  <davem@davemloft.net>
26067
26068         [BZ #13967]
26069         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26070         where the is a gap between DT_REL(A) and DT_JMPREL.
26071
26072 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26073
26074         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26075         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26076         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26077
26078 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26079
26080         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26081         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26082         (dl_main): Handle --inhibit-cache.
26083         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26084         _dl_inhibit_cache.
26085         * elf/dl-load.c (_dl_map_object): Use it.
26086         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26087
26088 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26089
26090         [BZ #13872]
26091         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26092         (__ieee754_powl): Saturate large exponents rather than testing for
26093         overflow of y*log2(x).
26094         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26095         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26096         exceptions.
26097
26098         [BZ #11521]
26099         * math/s_ctan.c: Include <float.h>.
26100         (__ctan): Avoid internal overflow or cancellation in calculating
26101         denominator.
26102         * math/s_ctanf.c: Likewise.
26103         * math/s_ctanl.c: Likewise.
26104         * math/s_ctanh.c: Likewise.
26105         * math/s_ctanhf.c: Likewise.
26106         * math/s_ctanhl.c: Likewise.
26107         * math/libm-test.inc (ctan_test): Add more tests.
26108         (ctanh_test): Likewise.
26109         * sysdeps/i386/fpu/libm-test-ulps: Update.
26110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26111
26112 2012-04-09  Andreas Jaeger  <aj@suse.de>
26113
26114         [BZ #6894]
26115         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26116         is an optional BSD extension.
26117
26118         [BZ #10254]
26119         * manual/stdio.texi (Opening Streams): Document additional fopen
26120         parameters.
26121
26122 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26123
26124         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26125         %eax without telling the compiler.
26126
26127 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26128
26129         [BZ # 13963]
26130         * manual/install.texi: Use sourceware.org.
26131
26132 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26133
26134         [BZ #13873]
26135         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26136         (__ieee754_pow): Generate overflow and underflow using huge*huge
26137         and tiny*tiny rather than just returning constant infinity or zero
26138         for large exponents.
26139         * math/libm-test.inc (pow_test): Require overflow exceptions for
26140         applicable cases of large exponents.
26141
26142         [BZ #706]
26143         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26144         (__ieee754_pow): Use iterative multiplication algorithm only for
26145         integer exponents with absolute value below 1024.  Check for odd
26146         integer exponents when using algorithm for real exponents.
26147         * math/libm-test.inc (pow_test): Add more tests.
26148         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26149
26150 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26151
26152         [BZ #13705]
26153         * math/libm-test.inc (exp_test): Do not allow overflow exception
26154         on underflow test.
26155
26156 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26157
26158         [BZ #13705]
26159         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26160         instead of __kernel_standard_f.
26161
26162 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26163
26164         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26165         * sysdeps/x86_64/memset_chk.S: Likewise.
26166
26167 2012-04-08  Andreas Jaeger  <aj@suse.de>
26168
26169         [BZ #10153]
26170         * manual/startup.texi (Environment Access): Describe return value
26171         for putenv and setenv.
26172
26173         [BZ #6895]
26174         * manual/filesys.texi (Directory Entries): Add description for
26175         DT_LNK.
26176
26177         [BZ #6890]
26178         * manual/filesys.texi (Directory Entries): Clarify that it's file
26179         system not operating system in the description of DT_UNKNOWN.
26180
26181         [BZ #6578]
26182         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26183
26184 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26185
26186         [BZ #6649]
26187         * manual/llio.texi (Opening and Closing Files): Add cross
26188         reference to explain mode argument.
26189
26190 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26191
26192         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26193         * sysdeps/x86_64/memset_chk.S: Likewise.
26194
26195 2012-04-07  David S. Miller  <davem@davemloft.net>
26196
26197         * elf/elf.h (R_SPARC_WDISP10): Define.
26198         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26199         R_SPARC_SIZE32.
26200         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26201         R_SPARC_SIZE64 and R_SPARC_H34.
26202
26203 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26204
26205         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26206         conditions and remove no longer applicable assertion.
26207
26208 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26209
26210         * bits/byteswap.h: Include <features.h>.
26211         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26212         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26213
26214 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26215
26216         * bits/byteswap.h (__bswap_16): Removed.
26217         Include <bits/byteswap-16.h> to get __bswap_16.
26218         * sysdeps/i386/bits/byteswap.h: Likewise.
26219         * sysdeps/s390/bits/byteswap.h: Likewise.
26220         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26221         * bits/byteswap-16.h: New file.
26222         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26223         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26224         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26225         * string/Makefile (headers): Add bits/byteswap-16.h.
26226
26227 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26228
26229         [BZ #13895]
26230         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26231         extra indirection.
26232         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26233         * nss/tst-nss-static.c: New.
26234
26235 2012-04-06  Robert Millan  <rmh@gnu.org>
26236
26237         [BZ #6486]
26238         * manual/llio.texi (File Position Primitive): lseek
26239         refers to WHENCE when it really means OFFSET.
26240
26241 2012-04-06  Andreas Jaeger  <aj@suse.de>
26242
26243         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26244         strncmp declarations.
26245
26246         * abilist/libc.abilist: Add __poll and __ppoll.
26247
26248 2012-04-05  David S. Miller  <davem@davemloft.net>
26249
26250         * scripts/check-local-headers.sh: Accept a host triplet in the
26251         path matched by the exclude regexp.
26252
26253         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26254         definition.
26255         * sysdeps/powerpc/powerpc32/dl-machine.h
26256         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26257         * sysdeps/s390/s390-32/dl-machine.h
26258         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26259         * sysdeps/sparc/sparc32/dl-machine.h
26260         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26261         * sysdeps/sparc/sparc64/dl-machine.h
26262         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26263
26264         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26265         lazy binding.
26266         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26267         undefined symbol errors.
26268
26269         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26270         DT_NEEDED entries.
26271
26272 2012-04-05  Michael Matz  <matz@suse.de>
26273
26274         [BZ #13592]
26275         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26276
26277 2012-04-05  Andreas Jaeger  <aj@suse.de>
26278
26279         [BZ #13908]
26280         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26281         comment.
26282
26283 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26284
26285         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26286         which ROUND is no valid rounding mode.
26287
26288 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26289
26290         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26291         read again.
26292         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26293
26294 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26295
26296         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26297         an exception using FPU order intentionally.
26298
26299 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26300
26301         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26302         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26303         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26304         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26305
26306 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26307
26308         [BZ #12340]
26309         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26310         EINVAL when BUFLEN is too smal.
26311
26312 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26313
26314         [BZ #13553]
26315         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26316         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26317
26318 2012-04-03  Andreas Jaeger  <aj@suse.de>
26319
26320         [BZ #13938]
26321         * manual/setjmp.texi (System V contexts): Fix sentence.
26322
26323         [BZ #13926]
26324         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26325         New macro for this case.
26326         [!__GNUC__] (__bswap_64): New inline function for this case.
26327         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26328         * bits/byteswap.h: Likewise.
26329         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26330         ull, guard with __GLIBC_HAVE_LONG_LONG.
26331
26332         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26333         __GLIBC_HAVE_LONG_LONG.
26334
26335         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26336         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26337
26338 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26339
26340         [BZ #13691]
26341         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26342         inptr and inend, rather than using last_ch.
26343
26344 2012-04-02  David S. Miller  <davem@davemloft.net>
26345
26346         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26347         * stdio-common/printf-parse.h (read_int): Change return type to
26348         'int', return -1 on INT_MAX overflow.
26349         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26350         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26351         overflows INT_MAX.  Check for overflow of in-format-string precision
26352         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26353         SIZE_MAX not INT_MAX for integer overflow test.
26354         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26355         skip the construct in the format string but do not record anything.
26356         * stdio-common/bug22.c: Adjust to test both width/prevision
26357         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26358         explicitly for proper errno values.
26359
26360 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26361
26362         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26363         CHAR_MAX.
26364         * string/test-strcmp.c [! WIDE]: Likewise.
26365         * time/tst-mktime2.c: Likewise for INT_MAX.
26366         * string/test-string.h: #include <sys/param.h> for MIN.
26367
26368         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26369         * sysdeps/i386/init-first.c (init): Likewise.
26370         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26371         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26372         * sysdeps/sh/init-first.c (init): Likewise.
26373
26374 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26375
26376         * po/ru.po: Update from translation team.
26377         * po/vi.po: Likewise.
26378
26379 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26380
26381         * resolv/nss_dns/dns-host.c: Merge copyright years.
26382
26383 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26384
26385         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26386         Optimize memcpy with prefetch if
26387         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26388         src, dst pointers have unequal 16 byte alignments.
26389
26390 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26391
26392         [BZ #13928]
26393         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26394         from a CNAME entry and return the minimum ttl for the query.
26395         (gaih_getanswer_slice): Likewise.
26396
26397 2012-03-30  Jeff Law  <law@redhat.com>
26398
26399         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26400         due to long keys.
26401         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26402         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26403
26404         * resolv/nss_dns/dns-host.c: Update copyright year.
26405
26406 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26407
26408         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26409         requests to save a system call.  Fix check that all bytes are sent.
26410
26411         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26412         comments for sendmmsg.
26413
26414 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26415
26416         [BZ #13691]
26417         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26418         with only 1 character between 0x0041 and 0x01b0.
26419         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26420         * wcsmbs/tst-mbsnrtowcs.c: New file.
26421
26422 2012-03-29  David S. Miller  <davem@davemloft.net>
26423
26424         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26425         small copies by hand.
26426
26427 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26428
26429         [BZ #13761]
26430         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26431         _nss_compat_initgroups_dyn): Fall back to malloc/free
26432         for large group memberships.
26433
26434 2012-03-28  David S. Miller  <davem@davemloft.net>
26435
26436         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26437         that branches into memcpy.
26438         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26439         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26440         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26441         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26442         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26443         bits.
26444         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26445         implementation too.
26446         * sysdeps/sparc/mempcpy.S: New file.
26447
26448         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26449         the IFUNC routine in the libc case.
26450         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26451
26452         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26453         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26454         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26455         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26456         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26457         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26458         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26459         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26460
26461         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26462         loop to 256 bytes instead of 64 bytes and fix test signedness.
26463
26464         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26465         * sysdeps/sparc/sparc32/Makefile: rather than here...
26466         * sysdeps/sparc/sparc64/Makefile: and here.
26467
26468 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26469
26470         * malloc/mallocbug.c: Avoid warnings about unused variables.
26471
26472 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26473
26474         [BZ #13760]
26475         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26476         in the right place. Discard and retry query if response is
26477         larger than input buffer size.
26478
26479 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26480
26481         [BZ #369]
26482         [BZ #2678]
26483         [BZ #3866]
26484         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26485         x for large integer exponent.
26486         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26487         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26488         sign of result as needed afterwards.
26489         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26490         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26491         result for underflowing pow the same as for overflow.
26492         (__kernel_standard_l): Handle powl overflow and underflow here
26493         rather than calling __kernel_standard.
26494         * math/libm-test.inc (pow_test): Add more tests.
26495
26496         [BZ #3868]
26497         [BZ #13879]
26498         [BZ #13910]
26499         [BZ #13911]
26500         [BZ #13912]
26501         [BZ #13913]
26502         [BZ #13915]
26503         [BZ #13916]
26504         [BZ #13917]
26505         [BZ #13918]
26506         [BZ #13919]
26507         [BZ #13920]
26508         [BZ #13921]
26509         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26510         * sysdeps/ieee754/k_standard.c: Include <float.h>.
26511         (__kernel_standard_l): New function.
26512         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26513         __kernel_standard.
26514         * math/w_acosl.c (__acosl): Likewise.
26515         * math/w_asinl.c (__asinl): Likewise.
26516         * math/w_atan2l.c (__atan2l): Likewise.
26517         * math/w_atanhl.c (__atanhl): Likewise.
26518         * math/w_coshl.c (__coshl): Likewise.
26519         * math/w_exp10l.c (__exp10l): Likewise.
26520         * math/w_exp2l.c (__exp2l): Likewise.
26521         * math/w_fmodl.c (__fmodl): Likewise.
26522         * math/w_hypotl.c (__hypotl): Likewise.
26523         * math/w_j0l.c (__j0l, __y0l): Likewise.
26524         * math/w_j1l.c (__j1l, __y1l): Likewise.
26525         * math/w_jnl.c (__jnl, __ynl): Likewise.
26526         * math/w_lgammal.c (__lgammal): Likewise.
26527         * math/w_log10l.c (__log10l): Likewise.
26528         * math/w_log2l.c (__log2l): Likewise.
26529         * math/w_logl.c (__logl): Likewise.
26530         * math/w_powl.c (__powl): Likewise.
26531         * math/w_remainderl.c (__remainderl): Likewise.
26532         * math/w_scalbl.c (sysv_scalbl): Likewise.
26533         * math/w_sinhl.c (__sinhl): Likewise.
26534         * math/w_sqrtl.c (__sqrtl): Likewise.
26535         * math/w_tgammal.c (__tgammal): Likewise.
26536         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26537         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26538         * math/libm-test.inc (acos_test): Add more tests.
26539         (acosh_test): Likewise.
26540         (asin_test): Likewise.
26541         (atanh_test): Likewise.
26542         (exp_test): Likewise.
26543         (exp10_test): Likewise.
26544         (exp2_test): Likewise.
26545         (expm1_test): Likewise.
26546         (lgamma_test): Likewise.
26547         (log_test): Likewise.
26548         (log10_test): Likewise.
26549         (log1p_test): Likewise.
26550         (log2_test): Likewise.
26551         (pow_test): Do not allow some spurious overflow exceptions.
26552         (sqrt_test): Add more tests.
26553         (tgamma_test): Likewise.
26554         (y0_test): Likewise.
26555         (y1_test): Likewise.
26556         (yn_test): Likewise.
26557
26558 2012-03-27  Anton Blanchard  <anton@samba.org>
26559
26560         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26561         MAP_HUGETLB.
26562         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26563         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26564         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26565
26566 2012-03-27  David S. Miller  <davem@davemloft.net>
26567
26568         * conform/Makefile: Run run-conformtest.sh using $(BASH).
26569
26570         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26571         have-as-vis3 check.
26572
26573 2012-03-27  Andreas Jaeger  <aj@suse.de>
26574
26575         * sysdeps/x86_64/elf/configure.in: Moved to ...
26576         * sysdeps/x86_64/configure.in: ... here.
26577         * sysdeps/x86_64/elf/start.S: Moved to ...
26578         * sysdeps/x86_64/start.S: ... here.
26579         * sysdeps/x86_64/elf/configure: Delete.
26580
26581         * sysdeps/x86_64/configure.in: Merge contents from
26582         sysdeps/i386/configure.in (without i686 check).
26583
26584         * sysdeps/i386/elf/Versions: Merge into ...
26585         * sysdeps/i386/Versions: ... this.
26586         * sysdeps/i386/elf/Versions: Delete file.
26587         * sysdeps/i386/elf/start.S: Moved to ...
26588         * sysdeps/i386/start.S: ...here.
26589         * sysdeps/i386/elf/configure.in: Merge into...
26590         * sysdeps/i386/configure.in: ...here.
26591         * sysdeps/i386/elf/configure.in: Delete file.
26592         * sysdeps/i386/elf/configure: Delete file.
26593
26594         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26595         * debug/backtracesyms.c: ... here.
26596         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26597         * debug/backtracesymsfd.c: ... here.
26598         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26599         * sysdeps/generic/ifunc-sel.h: ... here.
26600
26601         * sysdeps/unix/i386/start.c: Delete file.
26602         * sysdeps/unix/sparc/start.c: Delete file.
26603         * sysdeps/unix/start.c: Delete file.
26604
26605         * sysdeps/sh/elf/configure.in: Moved to ...
26606         * sysdeps/sh/configure.in: ... here.
26607         * sysdeps/sh/elf/start.S: Moved to ...
26608         * sysdeps/sh/start.S: ... here.
26609         * sysdeps/sh/elf/configure: Delete file.
26610
26611         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26612         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26613         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26614         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26615         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26616         * sysdeps/powerpc/powerpc64/start.S: here.
26617         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26618         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26619         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26620         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26621         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26622
26623         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26624         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26625         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26626         * sysdeps/powerpc/powerpc32/start.S: ... here.
26627         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26628         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26629         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26630
26631         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26632         * sysdeps/powerpc/ifunc-sel.h: ... here.
26633         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26634         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26635
26636         * sysdeps/sparc/elf/configure.in: Moved to ...
26637         * sysdeps/sparc/configure.in: ... here.
26638         * sysdeps/sparc/elf/configure: Delete file.
26639         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26640         * sysdeps/sparc/sparc32/start.S: ... here.
26641         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26642         * sysdeps/sparc/sparc64/start.S: ... here.
26643         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26644         * sysdeps/sparc/sparc32/Makefile: ... this.
26645         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26646         * sysdeps/sparc/sparc64/Makefile: ... this.
26647
26648         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26649         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26650         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26651         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26652         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26653         * sysdeps/s390/s390-32/setjmp.S: ... here.
26654         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26655         * sysdeps/s390/s390-32/configure.in: ... here.
26656         * sysdeps/s390/s390-32/elf/configure: Delete file.
26657         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26658         * sysdeps/s390/s390-32/start.S: ... here.
26659
26660         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26661         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26662         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26663         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26664         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26665         * sysdeps/s390/s390-64/setjmp.S: ... here.
26666         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26667         * sysdeps/s390/s390-64/configure.in: ... here
26668         * sysdeps/s390/s390-64/elf/configure: Delete file.
26669         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26670         * sysdeps/s390/s390-64/start.S: ... here.
26671         * sysdeps/s390/s390-64/elf/configure: Delete.
26672
26673         * configure.in: Remove support for elf directories in sysdeps.
26674
26675         * configure: Regenerated.
26676         * sysdeps/i386/configure: Regenerated.
26677         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26678         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26679         * sysdeps/s390/s390-32/configure: Regenerated.
26680         * sysdeps/s390/s390-64/configure: Regenerated.
26681         * sysdeps/sh/configure: Regenerated.
26682         * sysdeps/sparc/configure: Regenerated.
26683         * sysdeps/x86_64/configure: Regenerated.
26684
26685 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26686
26687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26688
26689         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26690         denormal result into account.
26691
26692 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26693
26694         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26695         Reported by Allan McRae <allan@archlinux.org>.
26696
26697 2012-03-23  Jeff Law  <law@redhat.com>
26698
26699         * nss/getnssent.c (__nss_getent): Fix typo.
26700
26701 2012-03-23  David S. Miller  <davem@davemloft.net>
26702
26703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26704
26705 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26706
26707         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26708         to pad to uint64_t for each field.
26709         (dl_tls_index): Replace unsigned long with uint64_t.
26710
26711 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26712         Paul Pluzhnikov  <ppluzhnikov@google.com>
26713
26714         [BZ #6528]
26715         * grp/Makefile (otherlibs): Don't set it.
26716         * inet/Makefile (otherlibs): Likewise.
26717         * login/Makefile (otherlibs): Likewise.
26718         * nscd/Makefile (otherlibs): Likewise.
26719         * posix/Makefile (otherlibs): Likewise.
26720         * pwd/Makefile (otherlibs): Likewise.
26721         * rt/Makefile (otherlibs): Likewise.
26722         * sunrpc/Makefile (otherlibs): Likewise.
26723         * nss/Makefile (otherlibs): Likewise.
26724         Add libnss_files to routines and static-only-routines.
26725         ($(objpfx)getent): Remove rule.
26726         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26727         static-only-routines.
26728
26729 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26730
26731         [BZ #13892]
26732         * math/s_cexp.c: Include <float.h>.
26733         (__cexp): Handle exp result overflowing not necessarily
26734         overflowing both real and imaginary parts of result.
26735         * math/s_cexpf.c: Likewise.
26736         * math/s_cexpl.c: Likewise.
26737         * math/libm-test.inc (cexp_test): Add more tests.
26738         * sysdeps/i386/fpu/libm-test-ulps: Update.
26739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26740
26741 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26742
26743         * include/link.h (ELFW): New macro.
26744         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26745         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26746
26747 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26748
26749         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26750         with uint64_t.
26751
26752 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26753
26754         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26755         declaration.
26756         (struct La_x32_retval): Likewise.
26757
26758 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26759
26760         * sysdeps/x86_64/preconfigure.in: New file.
26761         * sysdeps/x86_64/preconfigure: New generated file.
26762
26763 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26764
26765         [BZ #13824]
26766         * math/e_exp2l.c: Include <float.h>.
26767         (__ieee754_exp2l): Handle overflow and underflow cases
26768         separately.  Only pass fractional part of argument to
26769         __ieee754_expl.
26770         * math/libm-test.inc (exp2_test): Add more tests.
26771
26772         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26773         negating x to take absolute value.
26774         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26775         Likewise.
26776         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26777         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26778         Likewise.
26779         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26780         computing low part if x was negated.
26781         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26782
26783 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26784
26785         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26786         la_x32_gnu_pltexit.
26787         (pltexit): Cast int_retval to ptrdiff_t.
26788         * elf/tst-auditmod3b.c: Likewise.
26789         * elf/tst-auditmod4b.c: Likewise.
26790         * elf/tst-auditmod5b.c: Likewise.
26791         * elf/tst-auditmod6b.c: Likewise.
26792         * elf/tst-auditmod6c.c: Likewise.
26793         * elf/tst-auditmod7b.c: Likewise.
26794
26795         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26796         and x32_gnu_pltexit.
26797
26798         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26799         __ELF_NATIVE_CLASS.
26800         (La_x32_regs): New macro.
26801         (La_x32_retval): Likewise.
26802         (la_x32_gnu_pltenter): New function prototype.
26803         (la_x32_gnu_pltexit): Likewise.
26804
26805 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26806
26807         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26808         exponent.
26809
26810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26811
26812         * configure.in (libc_cv_cc_nofma): Check for option to disable
26813         generation of FMA instructions.
26814         * configure: Regenerate.
26815         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26816         * sysdeps/ieee754/dbl-64/Makefile: New file.
26817         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26818         Remove brandred-fma4.
26819         (CFLAGS-brandred-fma4.c): Remove.
26820         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26821         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26822         define.
26823         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26824         define.
26825
26826 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26827
26828         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26829         LLONG_MAX != LONG_MAX.
26830         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26831         (_fitoa_word): Likewise.
26832         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26833         LLONG_MAX != LONG_MAX.
26834         * stdio-common/_itowa.h: Include <_itoa.h>.
26835         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26836         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26837         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26838         only if not defined.
26839         (_ITOA_WORD_TYPE): Likewise.
26840         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26841         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26842
26843 2012-03-21  David S. Miller  <davem@davemloft.net>
26844
26845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26846
26847 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26848
26849         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26850         of x86_64 when setting libc_cv_slibdir, libdir and
26851         libc_cv_localedir.
26852         * sysdeps/unix/sysv/linux/configure: Regenerated.
26853
26854 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26855
26856         * manual/lang.texi (Old Varargs): Remove section.
26857         (How Variadic): Update menu.
26858         (va_start): Do not mention varargs.h.
26859
26860 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26861             Joseph Myers  <joseph@codesourcery.com>
26862
26863         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26864         link test.
26865         * configure: Regenerated.
26866
26867 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26868
26869         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26870         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26871         conformtest.pl
26872
26873 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26874
26875         * NOTES: Remove.
26876         * Makefile (files-for-dist): Remove NOTES.
26877         (NOTES): Remove rule.
26878         * README: Don't refer to NOTES.
26879         * manual/creature.texi: Don't include macros.texi.
26880         * manual/intro.texi (creature.texi): Remove comment referring to
26881         NOTES.
26882
26883         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26884         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26885         * configure: Regenerated.
26886         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26887         LIBC_TRY_CC_OPTION.
26888         (libc_cv_as_i686): Likewise.
26889         (libc_cv_cc_avx): Likewise.
26890         (libc_cv_cc_sse2avx): Likewise.
26891         (libc_cv_cc_fma4): Likewise.
26892         (libc_cv_cc_novzeroupper): Likewise.
26893         * sysdeps/i386/configure: Regenerated.
26894
26895         [BZ #13883]
26896         * sysdeps/i386/fpu/s_cexp.S: Remove.
26897         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26898         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26899         * math/libm-test.inc (cexp_test): Add more tests.
26900         * sysdeps/i386/fpu/libm-test-ulps: Update.
26901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26902
26903 2012-03-21  Allan McRae  <allan@archlinux.org>
26904
26905         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26906
26907 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26908
26909         [BZ #13871]
26910         * math/w_exp2.c: Do not include <float.h>.
26911         (o_threshold, u_threshold): Remove.
26912         (__exp2): Calculate result before checking finiteness and calling
26913         __kernel_standard.
26914         * math/w_exp2f.c: Likewise.
26915         * math/w_exp2l.c: Likewise.
26916         * math/libm-test.inc (exp2_test): Require overflow exception for
26917         1e6 input.
26918
26919         [BZ #3866]
26920         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26921         range of signed 64-bit integers before using fistpll.  Remove
26922         checks for whether integers fit in mantissa bits.
26923         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26924         the range of signed 32-bit integers before using fistpl.  Remove
26925         checks for whether integers fit in mantissa bits.
26926         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26927         (__ieee754_powl): Test for y outside the range of signed 64-bit
26928         integers before using fistpll.  Reduce 64-bit values to 63-bit
26929         ones as needed.
26930         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26931         divide-by-zero is raised for zero to large negative powers.
26932         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26933         (__ieee754_powl): Test for y outside the range of signed 64-bit
26934         integers before using fistpll.  Reduce 64-bit values to 63-bit
26935         ones as needed.
26936         * math/libm-test.inc (pow_test): Add more tests.
26937
26938 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26939
26940         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26941         <stdio-common/_itoa.h>.
26942         * debug/segfault.c: Likewise.
26943         * elf/dl-cache.c: Likewise.
26944         * elf/dl-minimal.c: Likewise.
26945         * elf/dl-misc.c: Likewise.
26946         * elf/dl-sysdep.c: Likewise.
26947         * elf/dl-version.c: Likewise.
26948         * elf/rtld.c: Likewise.
26949         * hurd/hurdsock.c: Likewise.
26950         * hurd/lookup-retry.c: Likewise.
26951         * malloc/malloc.c: Likewise.
26952         * malloc/mtrace.c: Likewise.
26953         * nscd/nscd_getgr_r.c: Likewise.
26954         * nscd/nscd_getpw_r.c: Likewise.
26955         * nscd/nscd_getserv_r.c: Likewise.
26956         * posix/getopt_init.c: Likewise.
26957         * posix/wordexp.c: Likewise.
26958         * stdio-common/_itoa.c: Likewise.
26959         * stdio-common/printf_fphex.c: Likewise.
26960         * stdio-common/vfprintf.c: Likewise.
26961         * string/_strerror.c: Likewise.
26962         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26963         * sysdeps/i386/i686/hp-timing.h: Likewise.
26964         * sysdeps/mach/_strerror.c: Likewise.
26965         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26966         * sysdeps/mach/hurd/sethostid.c: Likewise.
26967         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26968         * sysdeps/mach/xpg-strerror.c: Likewise.
26969         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26970         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26971         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26972         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26973         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26974         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26975         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26976         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26977         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26978         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26979         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26980         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26981         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26982         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26983         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26984         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26985         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26986         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26987         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26988         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26989         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26990
26991         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26992
26993         * stdio-common/_itoa.h: Moved to ...
26994         * sysdeps/generic/_itoa.h: Here.
26995
26996         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26997
26998         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26999         instead of "_itoa.h" and "_itowa.h".
27000         * stdio-common/vfprintf.: Likewise.
27001
27002 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27003
27004         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27005         <bits/wordsize.h>.
27006         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27007         (__signbit): Likwise.
27008         (llrintf): Likwise.
27009         (llrint): Likwise.
27010
27011 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27012
27013         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27014         __WORDSIZE != 64.
27015
27016 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27017
27018         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27019         OVERFLOW_EXCEPTION_OK.
27020         * math/libm-test.inc ("Philosophy"): Update comment about
27021         exception testing.
27022         (OVERFLOW_EXCEPTION): Define.
27023         (OVERFLOW_EXCEPTION_OK): Likewise.
27024         (INVALID_EXCEPTION_OK): Renumber.
27025         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27026         (IGNORE_ZERO_INF_SIGN): Likewise.
27027         (test_exceptions): Handle FE_OVERFLOW.
27028         (exp10_test): Expect overflow exceptions.
27029         (exp2_test): Likewise.
27030         (expm1_test): Likewise.
27031         (nextafter_test): Likewise.
27032         (pow_test): Likewise.
27033         (scalbn_test): Likewise.
27034         (scalbln_test): Likewise.
27035
27036 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27037
27038         * sysdeps/x86_64/bits/atomic.h
27039         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27040         64bit integer.
27041         (atomic_exchange_acq): Likewise.
27042         (__arch_exchange_and_add_body): Likewise.
27043         (__arch_add_body): Likewise.
27044         (atomic_add_negative): Likewise.
27045         (atomic_add_zero): Likewise.
27046
27047 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27048
27049         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27050         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27051
27052 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27053
27054         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27055         Check __x86_64__ instead of __WORDSIZE.
27056
27057 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27058
27059         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27060
27061 2012-03-19  David S. Miller  <davem@davemloft.net>
27062
27063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27064
27065         * sysdeps/sparc/fpu/fenv_private.h: New file.
27066         * sysdeps/sparc/fpu/math_private.h: Use it.
27067         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27068         Remove.
27069         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27070         (libc_feholdexcept_setroundl): Remove.
27071         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27072         Remove.
27073         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27074         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27075
27076 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27077
27078         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27079         int64_t instead of long int.
27080         (INSERT_WORDS64): Likwise.
27081
27082 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27083
27084         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27085         _Unwind_GetCFA return to _Unwind_Ptr first.
27086
27087 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27088
27089         [BZ #13629]
27090         * math/s_clog.c: Include <float.h>.
27091         (__clog): Scale large or subnormal inputs.
27092         * math/s_clogf.c: Likewise.
27093         * math/s_clogl.c: Likewise.
27094         * math/s_clog10.c: Include <float.h>.
27095         (M_LOG10_2): Define.
27096         (__clog10): Scale large or subnormal inputs.
27097         * math/s_clog10f.c: Likewise.
27098         * math/s_clog10l.c: Likewise.
27099         * math/libm-test.inc (clog_test): Add more tests.
27100         (clog10_test): Likewise.
27101         * sysdeps/i386/fpu/libm-test-ulps: Update.
27102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27103
27104         [BZ #11451]
27105         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27106         x and y.
27107         * math/libm-test.inc (atan2_test): Add another test.
27108
27109         * Makerules (common-objdir-compile): Remove.
27110         * sysdeps/unix/Makefile (config-generated): Do not add
27111         $(unix-generated) to variable.
27112         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27113         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27114         Remove rule.
27115         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27116         Likewise.
27117         [generic bits/local_lim.h] (before-compile): Do not append to
27118         variable.
27119         [generic bits/local_lim.h] (common-generated): Likewise.
27120         [generic sys/param.h] (before-compile): Do not append to variable.
27121         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27122         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27123         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27124         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27125         include.
27126         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27127         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27128         [generic sys/param.h] ($(addprefix
27129         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27130         [generic sys/param.h] (common-generated): Do not append to
27131         variable.
27132         [generic sys/param.h] (sysdep_headers): Likewise.
27133         [generic bits/errno.h] (before-compile): Do not append to
27134         variable.
27135         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27136         rule.
27137         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27138         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27139         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27140         [generic bits/errno.h] (common-generated): Do not append to
27141         variable.
27142         [generic bits/ioctls.h] (before-compile): Do not append to
27143         variable.
27144         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27145         rule.
27146         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27147         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27148         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27149         rule.
27150         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27151         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27152         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27153         [generic bits/ioctls.h] (common-generated): Do not append to
27154         variable.
27155         [generic sys/syscall.h] (syscall.h): Remove variable.
27156         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27157         rule.
27158         [generic sys/syscall.h] (before-compile): Do not append to
27159         variable.
27160         [generic sys/syscall.h] (common-generated): Likewise.
27161         * sysdeps/unix/errnos-tmpl.c: Remove file.
27162         * sysdeps/unix/errnos.awk: Likewise.
27163         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27164         * sysdeps/unix/ioctls.awk: Likewise.
27165         * sysdeps/unix/mk-local_lim.c: Likewise.
27166         * sysdeps/unix/snarf-ioctls: Likewise.
27167
27168 2012-03-19  Richard Henderson  <rth@twiddle.net>
27169
27170         * sysdeps/i386/fpu/fenv_private.h: New file.
27171         * sysdeps/i386/fpu/math_private.h: Use it.
27172         (math_opt_barrier, math_force_eval): Remove.
27173         (libc_feholdexcept_setround_53bit): Remove.
27174         (libc_feupdateenv_53bit): Remove.
27175         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27176         (math_opt_barrier, math_force_eval): Remove.
27177         (libc_feholdexcept): Remove.
27178         (libc_feholdexcept_setround): Remove.
27179         (libc_fetestexcept, libc_fesetenv): Remove.
27180         (libc_feupdateenv_test): Remove.
27181         (libc_feupdateenv, libc_feholdsetround): Remove.
27182         (libc_feresetround): Remove.
27183
27184         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27185         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27186
27187         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27188         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27189         (libc_feupdateenv_testl): New.
27190         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27191         (libc_feupdateenv_testf): New.
27192         (libc_feupdateenv): Use libc_feupdateenv_test.
27193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27194         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27195
27196         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27197         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27198         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27199         (libc_feresetround_noex): New.
27200         (libc_feresetround_noexf): New.
27201         (libc_feresetround_noexl): New.
27202         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27203         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27204         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27205         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27206         SET_RESTORE_ROUND.
27207         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27208         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27209         (__cos): Likewise.
27210         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27211         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27212         SET_RESTORE_ROUND_NOEX.
27213         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27214         SET_RESTORE_ROUND_NOEXF.
27215         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27216         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27217         (libc_feholdsetroundf): New.
27218         (libc_feresetround, libc_feresetroundf): New.
27219
27220         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27221         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27222         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27223
27224         * sysdeps/generic/math_private.h: Include <fenv.h>.
27225         (default_libc_feholdexcept): New.
27226         (default_libc_feholdexcept_setround): New.
27227         (default_libc_fesetenv, default_libc_feupdateenv): New.
27228         (libc_feholdexcept): Only define if undefined.
27229         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27230         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27231         (libc_feholdexcept_setroundl): Likewise.
27232         (libc_feholdexcept_setround_53bit): Likewise.
27233         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27234         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27235         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27236         (libc_feupdateenv_53bit): Likewise.
27237         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27238         (libc_feholdexcept): Convert from macro to inline function.
27239         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27240         (libc_fesetenv, libc_feupdateenv): Likewise.
27241
27242         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27243         not previously defined.
27244         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27245         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27246         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27247         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27248         * sysdeps/ieee754/flt-32/math_private.h: New file.
27249         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27250         math_private.h below SET_FLOAT_WORD.
27251         (__isnan, __isinf_ns, __finite): Remove.
27252         (__isnanf, __isinf_nsf, __finitef): Remove.
27253
27254 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27255
27256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27257
27258 2012-03-17  David S. Miller  <davem@davemloft.net>
27259
27260         [BZ #6471]
27261         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27262         for 2.16.
27263
27264 2012-03-16  David S. Miller  <davem@davemloft.net>
27265
27266         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27267         warnings.
27268
27269         [BZ #6471]
27270         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27271         properly.
27272         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27273         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27274         sysdep_routines when subdir is sysvipc.
27275         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27276         __getshmlba helper.
27277
27278         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27279
27280 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27281
27282         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27283         [__LP64__].
27284
27285 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27286
27287         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27288         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27289         (__lround): Renamed to ...
27290         (__llround): This.  Replace long int with long long int.
27291         Define lround functions as aliases of llround functions.
27292         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27293
27294 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27295
27296         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27297         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27298         adresses to uintptr_t.  Replace "long int" and "unsigned long
27299         int" with "greg_t" on va_arg.
27300
27301 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27302
27303         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27304         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27305
27306         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27307         Move e_machine check before EI_CLASS check.  Handle x32
27308         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27309         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27310         SKIP_EM_IA_64 and include
27311         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27312
27313         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27314         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27315         (add_system_dir): New macro.
27316
27317         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27318         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27319
27320 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27321
27322         [BZ #2551]
27323         [BZ #2552]
27324         [BZ #2553]
27325         [BZ #2554]
27326         [BZ #2562]
27327         [BZ #2563]
27328         [BZ #2565]
27329         [BZ #2566]
27330         [BZ #2576]
27331         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27332         (y0): Likewise.
27333         * math/w_j0f.c (j0f): Likewise.
27334         (y0f): Likewise.
27335         * math/w_j0l.c (__j0l): Likewise.
27336         (__y0l): Likewise.
27337         * math/w_j1.c (j1): Likewise.
27338         (y1): Likewise.
27339         * math/w_j1f.c (j1f): Likewise.
27340         (y1f): Likewise.
27341         * math/w_j1l.c (__j1l): Likewise.
27342         (__y1l): Likewise.
27343         * math/w_jn.c (jn): Likewise.
27344         (yn): Likewise.
27345         * math/w_jnf.c (jnf): Likewise.
27346         (ynf): Likewise.
27347         * math/w_jnl.c (__jnl): Likewise.
27348         (__ynl): Likewise.
27349         * math/libm-test.inc (j0_test): Add more tests.
27350         (j1_test): Likewise.
27351         (jn_test): Likewise.  Add trailing semicolon to existing test.
27352         (y0_test): Likewise.
27353         (y1_test): Likewise.
27354         * sysdeps/i386/fpu/libm-test-ulps: Update.
27355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27356
27357         [BZ #13851]
27358         [BZ #13854]
27359         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27360         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27361         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27362         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27363         (__tanl): Set errno for infinite argument.
27364         * sysdeps/i386/fpu/mptan.c: Remove.
27365         * sysdeps/i386/fpu/s_tan.S: Likewise.
27366         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27367         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27368         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27369         * math/libm-test.inc (tan_test): Add more tests and enable more
27370         tests for double and long double.
27371         * sysdeps/i386/fpu/libm-test-ulps: Update.
27372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27373
27374 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27375
27376         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27377         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27378
27379 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27380
27381         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27382         * configure.in: Use it for both main tree and add-ons.
27383         * configure: Regenerated.
27384
27385 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27386
27387         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27388
27389 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27390
27391         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27392         in comment.
27393
27394         [BZ #13851]
27395         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27396         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27397         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27398         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27399         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27400         infinite argument.
27401         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27402         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27403         != 0 for prec == 2.
27404         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27405         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27406         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27407         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27408         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27409         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27410         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27411         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27412         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27413         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27414         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27415         * math/libm-test.inc (cos_test): Add more tests and enable more
27416         tests for long double.
27417         (sin_test): Likewise.
27418         (sincos_test): Likewise.
27419         * sysdeps/i386/fpu/libm-test-ulps: Update.
27420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27421
27422 2012-03-16  David S. Miller  <davem@davemloft.net>
27423
27424         * sysdeps/sparc/fpu/math_private.h: New file.
27425
27426 2012-03-15  David S. Miller  <davem@davemloft.net>
27427
27428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27429         file.
27430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27432         file.
27433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27438         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27439         sysdep routines.
27440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27441
27442         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27443         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27444
27445         * sysdeps/sparc/sparc-ifunc.h: New file.
27446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27447         sparc-ifunc.h
27448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27450         Likewise.
27451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27452         Likewise.
27453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27457         Likewise.
27458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27463         Likewise.
27464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27465         Likewise.
27466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27471         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27472         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27473         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27481         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27483         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27484         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27485         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27486         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27487         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27488         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27489         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27490
27491 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27492
27493         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27494         scaling.
27495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27496
27497 2012-03-15  Andreas Jaeger  <aj@suse.de>
27498
27499         [BZ #13852]
27500         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27501         ieee754/flt-32 implementation for sin, cos and sincos.
27502         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27503         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27504         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27505         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27506         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27507         ieee754/flt-32 implementation for tan.
27508
27509         * math/libm-test.inc (cos_test): Enable some large input tests for
27510         float as well
27511         (sin_test): Likewise.
27512         (sincos_test): Likewise.
27513         (tan_test): Add tests for large input.
27514
27515         * sysdeps/i386/fpu/libm-test-ulps: Update.
27516
27517 2012-03-15  Andreas Jaeger  <aj@suse.de>
27518
27519         [BZ #13658]
27520         * math/libm-test.inc (cos_test): Add more test cases.
27521         (sin_test): Likewise.
27522         (sincos_test): Likewise.
27523
27524 2012-03-15  Andreas Jaeger  <aj@suse.de>
27525
27526         [BZ #13837]
27527         * math/libm-test.inc (cos_test): Add a test case for large input
27528         value.
27529         (sin_test): Likewise.
27530         (sincos_test): Likewise.
27531
27532 2012-03-15  Andreas Jaeger  <aj@suse.de>,
27533         Joseph Myers  <joseph@codesourcery.com>
27534
27535         [BZ #13658]
27536         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27537         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27538         * sysdeps/i386/fpu/branred.c: Likewise.
27539         * sysdeps/i386/fpu/dosincos.c: Likewise.
27540         * sysdeps/i386/fpu/mpa.c: Likewise.
27541         * sysdeps/i386/fpu/s_cos.S: Likewise.
27542         * sysdeps/i386/fpu/s_sin.S: Likewise.
27543         * sysdeps/i386/fpu/s_sincos.S: Likewise.
27544         * sysdeps/i386/fpu/sincos32.c: Likewise.
27545
27546         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27547         Define.
27548         (libc_feupdateenv_53bit): Define.
27549         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27550         Define.
27551         (libc_feupdateenv_53bit): Define.
27552
27553         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27554         53 bit (without extend i386 double precision).
27555
27556         * math/libm-test.inc (sincos_test): Add tests for large input.
27557         (sin): Likewise.
27558         (cos): Likewise.
27559
27560         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27561
27562 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27563
27564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27565
27566 2012-03-15  David S. Miller  <davem@davemloft.net>
27567
27568         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27569         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27570         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27571         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27581         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27582         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27584         file.
27585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27587         file.
27588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27590         file.
27591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27593         file.
27594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27595         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27596         fmin/fmax sysdep routines.
27597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27598
27599 2012-03-14  David S. Miller  <davem@davemloft.net>
27600
27601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27605         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27606         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27607         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27608         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27610         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27612         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27616         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27617         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27618         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27619         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27621         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27622         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27623         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27624         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27625         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27626         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27627         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27628         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27629         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27630         routines.
27631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27632         file.
27633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27635         file.
27636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27638         file.
27639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27641         file.
27642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27644         file.
27645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27647         file.
27648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27649         file.
27650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27651         file.
27652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27653         file.
27654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27655         New file.
27656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27657         file.
27658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27659         file.
27660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27662         file.
27663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27665         file.
27666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27668         file.
27669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27671         VIS3 routines.
27672
27673         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27674         New file.
27675
27676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27677
27678         * sysdeps/sparc/configure.in: New file.
27679         * sysdeps/sparc/configure: Generate.
27680         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27681         * configure: Regenerate.
27682         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27683         * config.make.in (have-as-vis3): New.
27684         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27685         available use -Av9d instead of -Av9a.
27686         * sysdeps/sparc/sparc64/Makefile: Likewise.
27687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27689         New file.
27690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27691         file.
27692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27693         New file.
27694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27695         file.
27696         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27697         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27698         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27699         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27700         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27701
27702         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27703         fzeros/fnegs to load 0x80000000 into a float register instead of
27704         using the stack.
27705         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27706
27707 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27708
27709         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27710         bits/syscall.h.
27711         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27712         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27713         ($(inst_includedir)/bits/syscall.h): Remove rule.
27714         ($(objpfx)bits/syscall.d): Include instead of
27715         $(objpfx)syscall-list.d.
27716         (generated): Change syscall-list.h and syscall-list.d to
27717         bits/syscall.h and bits/syscall.d.
27718
27719 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27720
27721         [BZ #13846]
27722         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27723
27724 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27725
27726         [BZ #13841]
27727         * math/s_csqrt.c: Include <float.h>.
27728         (__csqrt): Scale large or subnormal inputs.
27729         * math/s_csqrtf.c: Likewise.
27730         * math/s_csqrtl.c: Likewise.
27731         * math/libm-test.inc (csqrt_test): Add more tests.
27732         * sysdeps/i386/fpu/libm-test-ulps: Update.
27733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27734
27735         [BZ #13840]
27736         * math/libm-test.inc (hypot_test): Add more tests.
27737
27738 2012-03-13  David S. Miller  <davem@davemloft.net>
27739
27740         [BZ #13840]
27741         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27742         double-precision for the calculation instead of scaling.
27743
27744 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27745
27746         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27747         manipulate bits before adding and subtracting TWO52[sx].
27748         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27749         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27750         Likewise.
27751         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27752
27753 2012-03-13  David S. Miller  <davem@davemloft.net>
27754
27755         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27756         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27757         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27758         rtld-global-offsets.h
27759         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27760
27761         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27762         large parameters.
27763
27764         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27765
27766         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27767         'err' in the ifdef scope in which it is actually used.
27768
27769         * nss/nss_db/db-init.c: Include string.h
27770
27771 2012-03-12  David S. Miller  <davem@davemloft.net>
27772
27773         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27774         masking out of the most significant byte of random value used.
27775         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27776         Fix coding style in previous change.
27777
27778         * sysdeps/unix/sysv/linux/kernel-features.h
27779         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27780         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27781         expression.
27782         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27783         later.
27784
27785 2012-03-11  David S. Miller  <davem@davemloft.net>
27786
27787         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27788         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27789         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27790         for 'resultvar' otherwise things get truncated on 64-bit.
27791
27792         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27793         Fix masking out of the most significant byte of random value used.
27794
27795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27796
27797 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27798
27799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27800
27801 2012-03-09  David S. Miller  <davem@davemloft.net>
27802
27803         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27804         variables with appropriate CPP guards.
27805         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27806         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27807         on resulting framesize and the management of the outregs buffer for pltexit.
27808         Preserve floating point return values across _dl_call_pltexit call.
27809         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27810         framesize and the management of the outregs buffer for pltexit.
27811         Preserve floating point return values across _dl_call_pltexit
27812         call.
27813         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27814         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27815         (print_exit): Fix format string for return register value.
27816
27817 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27818
27819         * sunrpc/Makefile (others): Add rpcgen.
27820         ($(objpfx)rpcgen): Remove special build rule and dependency on
27821         libc.
27822         * sunrpc/rpcgen.c: New file.
27823
27824 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27825
27826         [BZ #13673]
27827         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27828         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27829         * sysdeps/i386/crti.S: Likewise.
27830         * sysdeps/i386/crtn.S: Likewise.
27831         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27832         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27833         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27834         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27835         * sysdeps/sh/crti.S: Likewise.
27836         * sysdeps/sh/crtn.S: Likewise.
27837         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27838
27839         [BZ #13673]
27840         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27841         with URL.
27842         * locale/programs/locfile-kw.gperf: Likewise.
27843         * locale/programs/charmap-kw.h: Regenerated.
27844         * locale/programs/locfile-kw.h: Likewise.
27845
27846         [BZ #13673]
27847         * intl/plural.y: Replace FSF snail mail address with URL.
27848         * intl/plural.c: Regenerated.
27849
27850 2012-03-09  Richard Henderson  <rth@twiddle.net>
27851
27852         * include/math_private.h: Remove file.
27853         * math/math_private.h: Move file ...
27854         * sysdeps/generic/math_private.h: ... here.
27855
27856         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27857         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27858         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27859
27860         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27861         and <math_private.h>.
27862         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27863         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27864         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27865         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27866         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27867         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27868         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27869         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27870         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27871         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27872         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27873         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27874         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27875         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27876         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27877         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27878         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27879         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27880         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27881         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27882         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27883         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27884         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27885         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27886         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27887         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27888         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27889         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27890         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27891         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27892         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27893         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27894         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27895         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27896         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27897         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27898         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27899         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27900         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27901         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27902         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27903         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27904         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27905         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27906         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27907         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27908         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27909         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27910         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27911         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27912         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27913         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27914         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27915         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27916         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27917         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27918         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27919         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27920         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27921         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27922         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27923         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27924         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27925         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27926         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27927         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27928         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27929         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27930         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27931         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27932         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27933         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27934         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27936         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27937         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27938         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27939         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27940         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27941         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27942         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27943         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27944         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27945         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27946         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27947         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27948         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27949         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27950         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27951         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27952         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27953         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27954         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27955         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27956         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27957         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27958         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27959         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27960         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27961         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27962         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27963         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27964         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27965         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27966         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27967         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27968         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27969         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27970         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27971         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27972         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27973         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27974         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27975         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27976         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27977         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27978         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27979         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27980         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27981         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27982         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27983         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27984         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27985         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27986         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27987         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27988         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27989         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27990         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27991         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27992         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27993         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27994         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27995         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27996         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27997         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27998         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27999         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28000         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28001         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28002         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28003         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28004         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28005         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28006         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28007         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28008         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28009         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28010         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28011         * sysdeps/ieee754/k_standard.c: Likewise.
28012         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28013         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28014         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28015         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28016         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28017         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28018         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28019         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28020         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28021         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28022         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28023         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28024         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28025         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28026         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28027         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28028         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28029         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28030         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28031         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28032         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28033         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28034         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28035         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28036         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28037         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28038         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28039         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28040         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28041         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28042         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28043         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28044         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28045         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28046         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28047         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28048         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28049         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28050         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28051         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28052         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28053         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28054         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28055         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28056         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28057         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28058         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28059         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28060         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28061         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28062         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28063         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28064         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28065         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28066         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28067         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28068         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28069         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28070         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28071         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28072         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28073         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28074         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28075         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28076         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28077         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28078         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28079         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28080         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28081         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28082         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28084         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28085         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28086         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28087         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28088         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28089         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28090         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28091         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28092         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28093         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28094         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28095         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28096         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28097         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28098         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28099         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28100         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28101         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28102         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28103         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28104         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28105         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28106         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28107         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28108         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28109         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28110         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28111         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28112         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28113         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28114         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28115         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28116         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28117         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28118         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28119         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28120         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28121         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28122         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28123         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28124         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28125         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28126         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28127         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28128         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28129         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28130         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28131         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28132         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28133         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28134         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28135         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28136         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28137         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28138         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28139         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28140         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28141         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28142         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28143         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28144         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28145         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28146         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28147         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28148         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28149         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28150         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28151         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28152         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28153         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28154         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28155         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28156         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28157         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28158         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28159         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28160         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28161         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28162         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28163         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28164         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28165         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28166         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28167         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28168         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28169         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28170         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28171         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28172         * sysdeps/ieee754/s_lib_version.c: Likewise.
28173         * sysdeps/ieee754/s_matherr.c: Likewise.
28174         * sysdeps/ieee754/s_signgam.c: Likewise.
28175         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28176         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28177         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28178         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28179         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28180         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28181         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28182         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28183         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28184         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28185         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28186         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28187         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28188         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28189         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28190         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28191         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28192         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28193         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28194         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28195         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28196
28197 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28198
28199         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28200         * sunrpc/rpc_main.c: Likewise.
28201         * sunrpc/rpc_svcout.c: Likewise.
28202
28203 2012-03-09  David S. Miller  <davem@davemloft.net>
28204
28205         * include/math_private.h: New file.
28206
28207 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28208
28209         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28210         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28211         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28212         from <bits/socket_type.h>.
28213         (enum __socket_type): Don't define here.
28214         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28216         bits/socket_type.h.
28217
28218         [BZ #13566]
28219         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28220         checking __USE_GNU.
28221
28222         * Makerules ($(inst_includedir)/%.h): New rule.
28223         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28224         (install-others): Remove variable setting.
28225         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28226
28227 2012-03-08  Richard Henderson  <rth@twiddle.net>
28228
28229         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28230         from macro to inline function; merge with the
28231         !__LIBC_INTERNAL_MATH_INLINES version.
28232         (__ieee754_sqrtf): Likewise.
28233
28234         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28235         to inline function.
28236         (__rintf, __floor, __floorf): Likewise.
28237
28238         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28239         macro to inline function.
28240         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28241
28242         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28243         not <math/math_private.h>.
28244
28245 2012-03-08  David S. Miller  <davem@davemloft.net>
28246
28247         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28248         copyright year.
28249         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28250
28251 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28252
28253         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28254         normalization.
28255         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28256         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28257
28258 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28259
28260         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28261         be defined individually, they must be defined as a block.  Define
28262         S for printing a string instead of hidint the different by using a
28263         macro for adding the 'l'.
28264         * stdio-common/tst-fphex-wide.c: Adjust.
28265
28266 2012-03-07  Marek Polacek  <polacek@redhat.com>
28267
28268         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28269
28270 2012-03-08  Marek Polacek  <polacek@redhat.com>
28271
28272         [BZ #13806]
28273         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28274         * stdio-common/tst-fphex.c: Define a few macros to make the
28275         test reusable.  Use them.
28276         * stdio-common/tst-fphex-wide.c: New file.
28277
28278 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28279
28280         [BZ #6911]
28281         * manual/macros.texi (gnusystems): New macro.
28282         (nongnusystems): Likewise.
28283         (gnulinuxhurdsystems): Likewise.
28284         (gnuhurdsystems): Likewise..
28285         (gnulinuxsystems): Likewise.
28286         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28287         variants of the GNU system, not "GNU system".
28288         * manual/conf.texi: Likewise.
28289         * manual/errno.texi: Likewise.  Update example of errno macro
28290         expansion.
28291         * manual/filesys.texi: Likewise.
28292         (getumask): Document as specific to GNU/Hurd.
28293         * manual/install.texi: Likewise.  Reword some references to
28294         GNU/Linux.
28295         * manual/intro.texi: Likewise.
28296         * manual/io.texi: Likewise.
28297         (File Name Portability): Detail which constraints are inapplicable
28298         to all GNU systems and which are only inapplicable to GNU/Hurd.
28299         * manual/job.texi: Likewise.
28300         * manual/llio.texi: Likewise.
28301         (O_NOCTTY): Document as present on GNU/Linux.
28302         * manual/maint.texi: Likewise.
28303         * manual/memory.texi: Likewise.
28304         * manual/pattern.texi: Likewise.
28305         * manual/pipe.texi: Likewise.
28306         * manual/process.texi: Likewise.
28307         * manual/resource.texi: Likewise.
28308         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28309         child on GNU/Hurd.
28310         * manual/setjmp.texi: Likewise.
28311         * manual/signal.texi: Likewise.
28312         * manual/startup.texi: Likewise.
28313         * manual/stdio.texi: Likewise.
28314         * manual/terminal.texi: Likewise.
28315         (ONLCR): Document as POSIX.
28316         (OXTABS): Document availability on GNU/Linux as XTABS.
28317         (ONOEOT): Document availability separately from other bits.
28318         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28319         * manual/time.texi: Likewise.
28320         * manual/users.texi: Likewise.
28321         * INSTALL: Regenerated.
28322         * sysdeps/gnu/errlist.c: Regenerated.
28323
28324         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28325         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28326         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28327         puts.
28328         * configure: Regenerated.
28329
28330 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28331
28332         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28333         default includes instead of AC_HEADER_CHECK.
28334         * sysdeps/i386/configure: Regenerated.
28335
28336         [BZ #10716]
28337         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28338         * math/s_cacoshf.c (__cacoshf): Likewise.
28339         * math/s_cacoshl.c (__cacoshl): Likewise.
28340         * math/s_casinh.c (__casinh): Set signs of result from argument.
28341         * math/s_casinhf.c (__casinhf): Likewise.
28342         * math/s_casinhl.c (__casinhl): Likewise.
28343         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28344         (casinh_test): Add more tests.
28345         * sysdeps/i386/fpu/libm-test-ulps: Update.
28346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28347
28348 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28349
28350         * po/zh_TW.po: Update from translation team.
28351
28352         * login/Makefile (distribute): Remove variable.
28353         * catgets/Makefile: Likewise.
28354         * mach/Makefile: Likewise.
28355         * malloc/Makefile: Likewise.
28356         * misc/Makefile: Likewise.
28357         * iconv/Makefile: Likewise.
28358         * nscd/Makefile: Likewise.
28359         * hurd/Makefile: Likewise.
28360         * manual/Makefile: Likewise.
28361         * locale/Makefile: Likewise.
28362         * intl/Makefile: Likewise.
28363         * conform/Makefile: Likewise.
28364         * nss/Makefile: Likewise.
28365         * time/Makefile: Likewise.
28366         * soft-fp/Makefile: Likewise.
28367         * dirent/Makefile: Likewise.
28368         * gmon/Makefile: Likewise.
28369         * po/Makefile: Likewise.
28370         * rt/Makefile: Likewise.
28371         * socket/Makefile: Likewise.
28372         * math/Makefile: Likewise.
28373         * signal/Makefile: Likewise.
28374         * debug/Makefile: Likewise.
28375         * elf/Makefile: Likewise.
28376         * timezone/Makefile: Likewise.
28377         * stdlib/Makefile: Likewise.
28378         * iconvdata/Makefile: Likewise.
28379         * sunrpc/Makefile: Likewise.
28380         * io/Makefile: Likewise.
28381         * argp/Makefile: Likewise.
28382         * inet/Makefile: Likewise.
28383         * hesiod/Makefile: Likewise.
28384         * grp/Makefile: Likewise.
28385         * csu/Makefile: Likewise.
28386         * wctype/Makefile: Likewise.
28387         * crypt/Makefile: Likewise.
28388         * libio/Makefile: Likewise.
28389         * string/Makefile: Likewise.
28390         * nis/Makefile: Likewise.
28391         * resolv/Makefile: Likewise.
28392         * stdio-common/Makefile: Likewise.
28393         * wcsmbs/Makefile: Likewise.
28394         * dlfcn/Makefile: Likewise.
28395         * posix/Makefile: Likewise.
28396
28397         [BZ #6959]
28398         * timezone/Makefile: Don't install timezone files, just the programs
28399         and scripts.
28400
28401 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28402
28403         * nss/databases.def: Add missing gshadow entry.
28404
28405         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28406
28407 2012-03-06  Marek Polacek  <polacek@redhat.com>
28408
28409         [BZ #13726]
28410         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28411         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28412         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28413         * stdio-common/tst-long-dbl-fphex.c: New file.
28414
28415 2012-03-06  David S. Miller  <davem@davemloft.net>
28416
28417         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28418         (set_obp_int): New function.
28419         (get_obp_int): New function.
28420         (__get_clockfreq_via_dev_openprom): Likewise.
28421         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28422         Avoid unused variable warnings on 'val' and use builtin_expect.
28423         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28424         __builtin_expect.
28425         (INLINE_CLONE_SYSCALL): Likewise.
28426
28427 2012-03-05  David S. Miller  <davem@davemloft.net>
28428
28429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28430
28431 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28432
28433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28434
28435         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28436         only for |x| >= 40.
28437         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28438
28439 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28440
28441         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28442         Replace gettimeofday with __vdso_gettimeofday.
28443
28444         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28445         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28446         __vdso_clock_gettime and __vdso_getcpu.
28447
28448         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28449         time with __vdso_time.
28450
28451 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28452
28453         * manual/lang.texi (size_t): Note types to which size_t may be
28454         equivalent with the GNU C Library, but do not describe when
28455         differences between them are significant.
28456
28457 2012-03-05  Andreas Jaeger  <aj@suse.de>
28458
28459         * sysdeps/i386/fpu/libm-test-ulps: Update.
28460
28461 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28462
28463         [BZ #3976]
28464         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28465         (__ieee754_pow): Save and restore rounding mode and use
28466         round-to-nearest for main computations.
28467         * math/libm-test.inc (pow_test_tonearest): New function.
28468         (pow_test_towardzero): Likewise.
28469         (pow_test_downward): Likewise.
28470         (pow_test_upward): Likewise.
28471         (main): Call the new functions.
28472         * sysdeps/i386/fpu/libm-test-ulps: Update.
28473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28474
28475         [BZ #3976]
28476         * math/libm-test.inc (cosh_test_tonearest): New function.
28477         (cosh_test_towardzero): Likewise.
28478         (cosh_test_downward): Likewise.
28479         (cosh_test_upward): Likewise.
28480         (sinh_test_tonearest): Likewise.
28481         (sinh_test_towardzero): Likewise.
28482         (sinh_test_downward): Likewise.
28483         (sinh_test_upward): Likewise.
28484         (main): Call the new functions.
28485         * sysdeps/i386/fpu/libm-test-ulps: Update.
28486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28487
28488 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28489
28490         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28491         default stack guard is set in last bytes.
28492         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28493
28494 2012-03-05  Kees Cook  <keescook@chromium.org>
28495
28496         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28497
28498         [BZ #13656]
28499         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28500         possibly allocate from heap instead of stack.
28501         * stdio-common/bug-vfprintf-nargs.c: New file.
28502         * stdio-common/Makefile (tests): Add nargs overflow test.
28503
28504 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28505
28506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28507
28508 2012-03-03  Marek Polacek  <polacek@redhat.com>
28509
28510         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28511         * math/math_private.h: Likewise.
28512         * stdlib/tst-strtod.c: Likewise.
28513         * sysdeps/i386/i486/bits/atomic.h: Likewise.
28514         * sysdeps/x86_64/bits/atomic.h: Likewise.
28515
28516 2012-03-02  David S. Miller  <davem@davemloft.net>
28517
28518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28522         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28523         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28524         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28525         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28526
28527 2012-03-02  Roland McGrath  <roland@hack.frob.com>
28528
28529         [BZ #13792]
28530         * manual/examples/README: New file, says the example source files
28531         can be used under GPL>=2.
28532         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28533         line containing just "*/".
28534         * manual/examples/add.c: Add copyright header (GPL>=2).
28535         * manual/examples/argp-ex1.c: Likewise.
28536         * manual/examples/argp-ex2.c: Likewise.
28537         * manual/examples/argp-ex3.c: Likewise.
28538         * manual/examples/argp-ex4.c: Likewise.
28539         * manual/examples/atexit.c: Likewise.
28540         * manual/examples/db.c: Likewise.
28541         * manual/examples/dir.c: Likewise.
28542         * manual/examples/dir2.c: Likewise.
28543         * manual/examples/execinfo.c: Likewise.
28544         * manual/examples/filecli.c: Likewise.
28545         * manual/examples/filesrv.c: Likewise.
28546         * manual/examples/fmtmsgexpl.c: Likewise.
28547         * manual/examples/genpass.c: Likewise.
28548         * manual/examples/inetcli.c: Likewise.
28549         * manual/examples/inetsrv.c: Likewise.
28550         * manual/examples/isockad.c: Likewise.
28551         * manual/examples/longopt.c: Likewise.
28552         * manual/examples/memopen.c: Likewise.
28553         * manual/examples/memstrm.c: Likewise.
28554         * manual/examples/mkfsock.c: Likewise.
28555         * manual/examples/mkisock.c: Likewise.
28556         * manual/examples/mygetpass.c: Likewise.
28557         * manual/examples/pipe.c: Likewise.
28558         * manual/examples/popen.c: Likewise.
28559         * manual/examples/rprintf.c: Likewise.
28560         * manual/examples/search.c: Likewise.
28561         * manual/examples/select.c: Likewise.
28562         * manual/examples/setjmp.c: Likewise.
28563         * manual/examples/sigh1.c: Likewise.
28564         * manual/examples/sigusr.c: Likewise.
28565         * manual/examples/stpcpy.c: Likewise.
28566         * manual/examples/strdupa.c: Likewise.
28567         * manual/examples/strftim.c: Likewise.
28568         * manual/examples/strncat.c: Likewise.
28569         * manual/examples/subopt.c: Likewise.
28570         * manual/examples/swapcontext.c: Likewise.
28571         * manual/examples/termios.c: Likewise.
28572         * manual/examples/testopt.c: Likewise.
28573         * manual/examples/testpass.c: Likewise.
28574         * manual/examples/timeval_subtract.c: Likewise.
28575
28576         [BZ #13792]
28577         * manual/time.texi (Elapsed Time): Move timeval_subtract example
28578         function to ...
28579         * manual/timeval_subtract.c.texi: ... here, new file.
28580
28581 2012-03-02  David S. Miller  <davem@davemloft.net>
28582
28583         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28584
28585 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
28586
28587         [BZ #3976]
28588         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28589         (__sin): Save and restore rounding mode and use round-to-nearest
28590         for all computations.
28591         (__cos): Save and restore rounding mode and use round-to-nearest
28592         for all computations.
28593         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28594         <fenv.h>.
28595         (tan): Save and restore rounding mode and use round-to-nearest for
28596         all computations.
28597         * math/libm-test.inc (cos_test_tonearest): New function.
28598         (cos_test_towardzero): Likewise.
28599         (cos_test_downward): Likewise.
28600         (cos_test_upward): Likewise.
28601         (sin_test_tonearest): Likewise.
28602         (sin_test_towardzero): Likewise.
28603         (sin_test_downward): Likewise.
28604         (sin_test_upward): Likewise.
28605         (tan_test_tonearest): Likewise.
28606         (tan_test_towardzero): Likewise.
28607         (tan_test_downward): Likewise.
28608         (tan_test_upward): Likewise.
28609         (main): Call the new functions.
28610         * sysdeps/i386/fpu/libm-test-ulps: Update.
28611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28612
28613         [BZ #10135]
28614         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28615         small n, then large n, before computing and testing k+n.
28616         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28617         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28618         Likewise.
28619         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28620         Likewise.
28621         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28622         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28623         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28624         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28625         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28626         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28627         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28628         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28629         * math/libm-test.inc (scalbn_test): Add more tests.
28630         (scalbln_test): Likewise.
28631
28632         * manual/filesys.texi (mode_t): Describe constraints on size and
28633         signedness, not exact equivalence to a particular type.
28634         (ino_t): Likewise.
28635         (ino64_t): Likewise.
28636         (dev_t): Likewise.
28637         (nlink_t): Likewise.
28638         (blkcnt_t): Likewise.
28639         (blkcnt64_t): Likewise.
28640         * manual/llio.texi (off_t): Likewise.
28641
28642         [BZ #3976]
28643         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28644         (__ieee754_exp): Save and restore rounding mode and use
28645         round-to-nearest for all computations.
28646         * math/libm-test.inc (exp_test_tonearest): New function.
28647         (exp_test_towardzero): Likewise.
28648         (exp_test_downward): Likewise.
28649         (exp_test_upward): Likewise.
28650         (main): Call the new functions.
28651         * sysdeps/i386/fpu/libm-test-ulps: Update.
28652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28653
28654 2012-03-01  Chris Demetriou  <cgd@google.com>
28655
28656         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28657         have predictable order.
28658
28659 2012-03-01  David S. Miller  <davem@davemloft.net>
28660
28661         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28662
28663         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28664         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28665         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28666         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28667
28668         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28669         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28670         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28672         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28673         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28674         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28675         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28676         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28677
28678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28679
28680         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28681         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28682         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28683
28684         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28685         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28686         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28687         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28688         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28689         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28690         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28691         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28692         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28693         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28694         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28695         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28696         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28697         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28698         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28699         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28700         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28701         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28702         * sysdeps/sparc/elf/configure: Regenerated.
28703
28704 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28705
28706         * configure.in (AS, LD): Require binutils 2.20 or later.
28707         * configure: Regenerated.
28708         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28709         as required minimum version.
28710         * INSTALL: Regenerated.
28711
28712         [BZ #2541]
28713         [BZ #4108]
28714         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28715         before squaring exponent.
28716         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28717         bottom long double and 27 bits of top long double before squaring
28718         exponent.
28719         * math/libm-test.inc (erfc_test): Add more tests.
28720         * sysdeps/i386/fpu/libm-test-ulps: Update.
28721         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28723
28724 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28725
28726         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28727         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28728         containing bit-fields.
28729         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28730         * soft-fp/single.h (_FP_UNION_S): Likewise.
28731         * soft-fp/double.h (_FP_UNION_D): Likewise.
28732
28733 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28734
28735         [BZ #13786]
28736         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28737         not include ../strcmp.S.
28738         [USE_AS_STRNCASECMP_L]: Likewise.
28739         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28740         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28741         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28742         (__strncasecmp_l_ia32): Define as alias to
28743         __strncasecmp_l_nonascii.
28744
28745         [BZ #5794]
28746         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28747         * sysdeps/i386/fpu/libm-test-ulps: Update.
28748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28749
28750         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28752
28753 2012-02-29  Jeff Law  <law@redhat.com>
28754
28755         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28756         out of bounds read.
28757
28758 2012-02-29  Marek Polacek  <polacek@redhat.com>
28759
28760         [BZ #13706]
28761         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28762         * elf/Makefile: Add rules to run tst-unused-dep.out.
28763
28764 2012-02-28  David S. Miller  <davem@davemloft.net>
28765
28766         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28767         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28768         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28769         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28770         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28771         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28772
28773 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28774
28775         * math/libm-test.inc (llround_test): Move one test from
28776         lround_test.  Use TEST_f_L in moved test.
28777         (lround_test): Move misplaced test to llround_test.  Add testcase
28778         from bug 2561.
28779
28780 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28781
28782         * sysdeps/x86_64/fpu/e_expf.S: New file.
28783         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28784
28785 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28786
28787         [BZ #13637]
28788         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28789         of remain_len that may cause incomplete multi-byte character and
28790         false match.
28791         * posix/bug-regex33.c: New file.
28792         * posix/Makefile (tests): Add bug-regex33.
28793
28794 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28795
28796         * manual/macros.texi: New file.
28797         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28798         * manual/libc.texinfo: Include macros.texi.
28799         * manual/creatute.texi: Likewise.
28800         * manual/install.texi: Likewise.
28801         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28802         @glibcadj{} in references to the GNU C Library.
28803         * manual/charset.texi: Likewise.
28804         * manual/conf.texi: Likewise.
28805         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28806         when not using those macros.
28807         * manual/creature.texi: Likewise.
28808         * manual/crypt.texi: Likewise.
28809         * manual/errno.texi: Likewise.
28810         * manual/filesys.texi: Likewise.
28811         * manual/header.texi: Likewise.
28812         * manual/install.texi: Likewise.
28813         * manual/intro.texi: Likewise.
28814         * manual/io.texi: Likewise.
28815         * manual/job.texi: Likewise.
28816         * manual/lang.texi: Likewise.
28817         * manual/libc.texiinfo: Likewise.
28818         * manual/llio.texi: Likewise.
28819         * manual/locale.texi: Likewise.
28820         * manual/maint.texi: Likewise.
28821         * manual/math.texi: Likewise.
28822         * manual/memory.texi: Likewise.
28823         * manual/message.texi: Likewise.
28824         * manual/nss.texi: Likewise.
28825         * manual/pattern.texi: Likewise.
28826         * manual/process.texi: Likewise.
28827         * manual/resource.texi: Likewise.
28828         * manual/search.texi: Likewise.
28829         * manual/setjmp.texi: Likewise.
28830         * manual/signal.texi: Likewise.
28831         * manual/socket.texi: Likewise.
28832         * manual/startup.texi: Likewise.
28833         * manual/stdio.texi: Likewise.
28834         * manual/string.texi: Likewise.
28835         * manual/sysinfo.texi: Likewise.
28836         * manual/syslog.texi: Likewise.
28837         * manual/terminal.texi: Likewise.
28838         * manual/time.texi: Likewise.
28839         * manual/users.texi: Likewise.
28840         * INSTALL: Regenerated.
28841         * NOTES: Regenerated.
28842         * sysdeps/gnu/errlist.c: Regenerated.
28843
28844 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28845
28846         * include/dirent.h: Include <dirstream.h> before
28847         <dirent/dirent.h>.
28848
28849 2012-02-28  David S. Miller  <davem@davemloft.net>
28850
28851         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28852         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28853         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28854         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28855
28856 2012-02-27  David S. Miller  <davem@davemloft.net>
28857
28858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28860         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28861         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28862
28863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28864         frame pointer instead of stack pointer relative arg slot.
28865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28866         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28867         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28868
28869 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28870
28871         [BZ #3992]
28872         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28873
28874 2012-02-27  David S. Miller  <davem@davemloft.net>
28875
28876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28880         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28881         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28882         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28883         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28884
28885 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28886
28887         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28888         later.  Allow versions 5-9.
28889         * configure: Regenerated.
28890         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28891         required minimum version and 4.6 as recommended version.  Do not
28892         mention bugs in GCC 2.7 and 2.8.
28893         * INSTALL: Regenerated.
28894
28895 2012-02-27  David S. Miller  <davem@davemloft.net>
28896
28897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28901         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28902         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28903         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28904         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28905
28906         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28907         manipulate bits before adding and subtracting TWO112[sx].
28908         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28909
28910 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28911
28912         [BZ #13775]
28913         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28914         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28915         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28916         being in POSIX, because they are in 1003.1-2008.
28917
28918         * rt/tst-aio.c: Include <fcntl.h>.
28919         * rt/tst-aio7.c: Likewise.
28920         * rt/tst-aio64.c: Likewise.
28921
28922         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28923
28924 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28925
28926         * manual/install.texi (--with-headers): Describe headers as
28927         interface headers, not private headers.
28928         (Specific advice for GNU/Linux systems): Describe use of headers
28929         from "make headers_install", not private headers from older
28930         kernels.
28931         * INSTALL: Regenerated.
28932         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28933         Change to 2.6.19.
28934         * sysdeps/unix/sysv/linux/configure: Regenerated.
28935
28936         * manual/llio.texi (fclean): Remove documentation.
28937
28938         * manual/Makefile (libc-texi-generated): New variable.  Include
28939         version.texi.
28940         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28941         $(libc-texi-generated), not duplicated list of files.
28942         (version.texi, stamp-version): New rules.
28943         (realclean): Remove $(libc-texi-generated), not individual files
28944         from that list.  Do not remove dir-add.texinfo.
28945         * manual/libc.texinfo: Comment out uses of edition numbers and
28946         references to printed manual.  Remove last-updated dates.
28947         (EDITION): Comment out.
28948         (ISBN): Likewise.
28949         (VERSION, UPDATED): Remove.
28950         (version.texi): Include.
28951
28952 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28953
28954         * sysdeps/posix/spawni.c: Include <signal.h>.
28955         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28956         * sysdeps/pthread/aio_fsync.c: Likewise.
28957
28958 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28959
28960         * conform/Makefile (tests): Run only when not cross-compiling and
28961         when fast-check is not defined.
28962
28963         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28964         * conform/data/limits.h-data: Fixes for POSIX2008.
28965         * conform/run-conformtest.sh: Run all tests.
28966         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28967         headers.
28968         * include/bits/dlfcn.h: Likewise.
28969         * include/langinfo.h: Likewise.
28970         * include/monetary.h: Likewise.
28971         * include/sys/poll.h: Likewise.
28972
28973         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28974         for __USE_GNU.
28975         * posix/spawn.h: Define __need_sigset_t.
28976         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28977         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28978         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28979         to get sigevent_t only.
28980         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28981         only for __USE_GNU.
28982         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28983         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28984         process_vm_writev only for __USE_GNU.
28985         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28986
28987         * conform/Makefile: For now ignore errors from run-conformtest.
28988         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28989         POSIX to avoid namespace pollution.  Don't prepend headers.
28990         * conform/data/aio.h-data: Fixes for POSIX testing.
28991         * conform/data/fcntl.h-data: Likewise.
28992         * conform/data/glob.h-data: Likewise.
28993         * conform/data/grp.h-data: Likewise.
28994         * conform/data/pthread.h-data: Likewise.
28995         * conform/data/pwd.h-data: Likewise.
28996         * conform/data/signal.h-data: Likewise.
28997         * conform/data/spawn.h-data: Likewise.
28998         * conform/data/stdio.h-data: Likewise.
28999         * conform/data/stdlib.h-data: Likewise.
29000         * conform/data/stropts.h-data: Likewise.
29001         * conform/data/sys/mman.h-data: Likewise.
29002         * conform/data/sys/stat.h-data: Likewise.
29003         * conform/data/sys/types.h-data: Likewise.
29004         * conform/data/sys/wait.h-data: Likewise.
29005         * conform/data/time.h-data: Likewise.
29006         * conform/data/unistd.h-data: Likewise.
29007         * conform/data/utime.h-data: Likewise.
29008
29009         * io/sys/stat.h: fchmod was always in POSIX.
29010         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29011         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29012         * rt/aio.h: Define __need_timespec before including <time.h>.
29013         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29014         struct.  Add forward declaration of pthread_attr_t and use it in
29015         sigevent.
29016         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29017         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29018         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29019         always remove CLK_TCK definition.
29020
29021 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29022
29023         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29024
29025 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29026
29027         * conform/run-conformtest.sh: New file.
29028         * conform/Makefile: Run run-conformtest for tests.
29029         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29030         support.
29031
29032         * conform/data/uchar.h-data: New file.
29033         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29034         * conform/data/arpa/inet.h-data: Likewise.
29035         * conform/data/assert.h-data: Likewise.
29036         * conform/data/complex.h-data: Likewise.
29037         * conform/data/cpio.h-data: Likewise.
29038         * conform/data/ctype.h-data: Likewise.
29039         * conform/data/dirent.h-data: Likewise.
29040         * conform/data/dlfcn.h-data: Likewise.
29041         * conform/data/errno.h-data: Likewise.
29042         * conform/data/fcntl.h-data: Likewise.
29043         * conform/data/float.h-data: Likewise.
29044         * conform/data/fmtmsg.h-data: Likewise.
29045         * conform/data/fnmatch.h-data: Likewise.
29046         * conform/data/ftw.h-data: Likewise.
29047         * conform/data/glob.h-data: Likewise.
29048         * conform/data/grp.h-data: Likewise.
29049         * conform/data/iconv.h-data: Likewise.
29050         * conform/data/inttypes.h-data: Likewise.
29051         * conform/data/langinfo.h-data: Likewise.
29052         * conform/data/libgen.h-data: Likewise.
29053         * conform/data/limits.h-data: Likewise.
29054         * conform/data/locale.h-data: Likewise.
29055         * conform/data/math.h-data: Likewise.
29056         * conform/data/monetary.h-data: Likewise.
29057         * conform/data/mqueue.h-data: Likewise.
29058         * conform/data/ndbm.h-data: Likewise.
29059         * conform/data/net/if.h-data: Likewise.
29060         * conform/data/netdb.h-data: Likewise.
29061         * conform/data/netinet/in.h-data: Likewise.
29062         * conform/data/nl_types.h-data: Likewise.
29063         * conform/data/poll.h-data: Likewise.
29064         * conform/data/pthread.h-data: Likewise.
29065         * conform/data/pwd.h-data: Likewise.
29066         * conform/data/regex.h-data: Likewise.
29067         * conform/data/sched.h-data: Likewise.
29068         * conform/data/search.h-data: Likewise.
29069         * conform/data/semaphore.h-data: Likewise.
29070         * conform/data/setjmp.h-data: Likewise.
29071         * conform/data/signal.h-data: Likewise.
29072         * conform/data/spawn.h-data: Likewise.
29073         * conform/data/stdarg.h-data: Likewise.
29074         * conform/data/stdio.h-data: Likewise.
29075         * conform/data/stdlib.h-data: Likewise.
29076         * conform/data/string.h-data: Likewise.
29077         * conform/data/strings.h-data: Likewise.
29078         * conform/data/stropts.h-data: Likewise.
29079         * conform/data/sys/ipc.h-data: Likewise.
29080         * conform/data/sys/mman.h-data: Likewise.
29081         * conform/data/sys/msg.h-data: Likewise.
29082         * conform/data/sys/resource.h-data: Likewise.
29083         * conform/data/sys/select.h-data: Likewise.
29084         * conform/data/sys/sem.h-data: Likewise.
29085         * conform/data/sys/shm.h-data: Likewise.
29086         * conform/data/sys/socket.h-data: Likewise.
29087         * conform/data/sys/stat.h-data: Likewise.
29088         * conform/data/sys/statvfs.h-data: Likewise.
29089         * conform/data/sys/time.h-data: Likewise.
29090         * conform/data/sys/timeb.h-data: Likewise.
29091         * conform/data/sys/times.h-data: Likewise.
29092         * conform/data/sys/types.h-data: Likewise.
29093         * conform/data/sys/uio.h-data: Likewise.
29094         * conform/data/sys/un.h-data: Likewise.
29095         * conform/data/sys/utsname.h-data: Likewise.
29096         * conform/data/sys/wait.h-data: Likewise.
29097         * conform/data/syslog.h-data: Likewise.
29098         * conform/data/tar.h-data: Likewise.
29099         * conform/data/termios.h-data: Likewise.
29100         * conform/data/utime.h-data: Likewise.
29101         * conform/data/utmpx.h-data: Likewise.
29102         * conform/data/varargs.h-data: Likewise.
29103         * conform/data/wchar.h-data: Likewise.
29104         * conform/data/wctype.h-data: Likewise.
29105         * conform/data/wordexp.h-data: Likewise.
29106
29107         * include/stropts.h: New file.
29108         * include/uchar.h: New file.
29109         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29110         * include/assert.h: Likewise.
29111         * include/ctype.h: Likewise.
29112         * include/dirent.h: Likewise.
29113         * include/dlfcn.h: Likewise.
29114         * include/fcntl.h: Likewise.
29115         * include/fnmatch.h: Likewise.
29116         * include/glob.h: Likewise.
29117         * include/grp.h: Likewise.
29118         * include/libio.h: Likewise.
29119         * include/locale.h: Likewise.
29120         * include/math.h: Likewise.
29121         * include/net/if.h: Likewise.
29122         * include/netdb.h: Likewise.
29123         * include/netinet/in.h: Likewise.
29124         * include/pthread.h: Likewise.
29125         * include/pwd.h: Likewise.
29126         * include/regex.h: Likewise.
29127         * include/sched.h: Likewise.
29128         * include/search.h: Likewise.
29129         * include/setjmp.h: Likewise.
29130         * include/signal.h: Likewise.
29131         * include/stdio.h: Likewise.
29132         * include/stdlib.h: Likewise.
29133         * include/string.h: Likewise.
29134         * include/sys/cdefs.h: Likewise.
29135         * include/sys/mman.h: Likewise.
29136         * include/sys/msg.h: Likewise.
29137         * include/sys/resource.h: Likewise.
29138         * include/sys/select.h: Likewise.
29139         * include/sys/socket.h: Likewise.
29140         * include/sys/stat.h: Likewise.
29141         * include/sys/statvfs.h: Likewise.
29142         * include/sys/time.h: Likewise.
29143         * include/sys/times.h: Likewise.
29144         * include/sys/uio.h: Likewise.
29145         * include/sys/utsname.h: Likewise.
29146         * include/sys/wait.h: Likewise.
29147         * include/termios.h: Likewise.
29148         * include/time.h: Likewise.
29149         * include/ulimit.h: Likewise.
29150         * include/unistd.h: Likewise.
29151         * include/utime.h: Likewise.
29152         * include/wchar.h: Likewise.
29153         * include/wctype.h: Likewise.
29154         * include/wordexp.h: Likewise.
29155
29156         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29157
29158         * time/time.h: TIME_UTC must be a macro.
29159         Make timespec_get available for ISO C11 only as well.
29160
29161 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29162
29163         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29164         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29165
29166 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29167
29168         * configure.in: Use -o not -a in test for unsupported multi-arch.
29169
29170 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29171
29172         * manual/texinfo.tex: Update to version 2012-01-19.16.
29173
29174 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29175
29176         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29177
29178 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29179
29180         [BZ #13738]
29181         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29182         * manual/fdl-1.3.texi: New file.
29183         * manual/fdl-1.1.texi: File removed.
29184
29185         [BZ #13738]
29186         * manual/libc.texinfo (FDL_VERSION): New @set.
29187         Use it for mention of FDL in cover text.
29188         (Documentation License): Use it in @include file name.
29189
29190 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29191             Roland McGrath  <roland@hack.frob.com>
29192
29193         [BZ #5461]
29194         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29195         not LONG_LONG_MAX and LONG_LONG_MIN.
29196         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29197         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29198         name.
29199         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29200
29201 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29202
29203         [BZ #2547]
29204         [BZ #11365]
29205         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29206         manipulate bits before adding and subtracting TWO23[sx].
29207         * math/libm-test.inc (nearbyint_test): Add more tests.
29208
29209 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29210
29211         [BZ #2548]
29212         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29213         bits before adding and subtracting TWO23[sx].
29214         * math/libm-test.inc (rint_test): Add more tests.
29215         (rint_test_tonearest): Likewise.
29216         (rint_test_towardzero): Likewise.
29217         (rint_test_downward): Likewise.
29218         (rint_test_upward: Likewise.
29219
29220 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29221
29222         [BZ #10110]
29223         * include/stdc-predef.h: New file.  Extracted from features.h.
29224         * include/features.h: Include stdc-predef.h.
29225         * Makefile (headers): Add stdc-predef.h.
29226         * CONFORMANCE (Compiler limitations): Update.
29227
29228 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29229
29230         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29231
29232 2012-02-21  David S. Miller  <davem@davemloft.net>
29233
29234         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29235         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29236
29237 2012-02-20  David S. Miller  <davem@davemloft.net>
29238
29239         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29240         using a normal save/restore sequence, rather than allocating a
29241         dummy stack frame just to store a frame pointer and restore.
29242         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29243
29244 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29245
29246         * manual/install.texi: Fix stray word in line-wrapped comment.
29247
29248 2012-02-20  David S. Miller  <davem@davemloft.net>
29249
29250         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29251         both binutils and gcc support GOTDATA.
29252
29253         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29254         "rd %pc" in the PIC register setup sequences.
29255
29256         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29257         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29258         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29259         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29260         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29261         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29262         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29263         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29264         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29265         (SYSCALL_ERROR_HANDLER): Likewise.
29266         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29267         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29269         (SYSCALL_ERROR_HANDLER): Likewise.
29270
29271         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29272         (HAVE_GCC_GOTDATA): New.
29273         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29274         relocation support in both binutils and gcc.
29275         * sysdeps/sparc/elf/configure: Regenerate.
29276
29277         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29278         * sysdeps/sparc/sparc32/elf/configure: Delete.
29279         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29280         * sysdeps/sparc/sparc64/elf/configure: Delete.
29281         * sysdeps/sparc/elf/configure.in: New file.
29282         * sysdeps/sparc/elf/configure: Generate.
29283
29284         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29285         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29286         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29287         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29288         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29289
29290 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29291
29292         * manual/install.texi: Do not mention specific glibc version
29293         numbers.
29294         * manual/libc.texinfo (VERSION, UPDATED): Update.
29295         (@copying): Use @copyright{} and range of years.
29296
29297 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29298
29299         [BZ #13695]
29300         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29301         [crti.S not in sysdirs] (generated): Do not append.
29302         [crti.S not in sysdirs] (omit-deps): Likewise.
29303         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29304         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29305         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29306         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29307         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29308         Likewise.
29309         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29310         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29311         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29312         * csu/defs.awk: Remove file.
29313         * sysdeps/generic/initfini.c: Likewise.
29314         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29315         variable.
29316         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29317         Likewise.
29318
29319 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29320
29321         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29322         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29323         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29324         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29325         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29326         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29327         <bits/epoll.h>.
29328         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29329         (__EPOLL_PACKED): Define to empty if not defined by
29330         <bits/epoll.h>.
29331         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29332         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29333         bits/epoll.h.
29334
29335 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29336
29337         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29338         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29339         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29340         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29341         <bits/timerfd.h>.
29342         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29344         bits/timerfd.h.
29345
29346 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29347
29348         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29349         in C locale.
29350         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29351         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29352         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29354
29355 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29356
29357         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29358         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29359
29360 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29361
29362         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29363         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29364         defined.
29365         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29366         Likewise.
29367         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29368         entry for 2.16.
29369
29370 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29371
29372         * math/w_acos.c: Use non-signaling floating-point comparisons.
29373         * math/w_acosf.c: Likewise.
29374         * math/w_acosh.c: Likewise.
29375         * math/w_acoshf.c: Likewise.
29376         * math/w_acoshl.c: Likewise.
29377         * math/w_acosl.c: Likewise.
29378         * math/w_asin.c: Likewise.
29379         * math/w_asinf.c: Likewise.
29380         * math/w_asinl.c: Likewise.
29381         * math/w_atanh.c: Likewise.
29382         * math/w_atanhf.c: Likewise.
29383         * math/w_atanhl.c: Likewise.
29384         * math/w_exp2.c: Likewise.
29385         * math/w_exp2f.c: Likewise.
29386         * math/w_exp2l.c: Likewise.
29387         * math/w_j0.c: Likewise.
29388         * math/w_j0f.c: Likewise.
29389         * math/w_j0l.c: Likewise.
29390         * math/w_j1.c: Likewise.
29391         * math/w_j1f.c: Likewise.
29392         * math/w_j1l.c: Likewise.
29393         * math/w_jn.c: Likewise.
29394         * math/w_jnf.c: Likewise.
29395         * math/w_log.c: Likewise.
29396         * math/w_log10.c: Likewise.
29397         * math/w_log10f.c: Likewise.
29398         * math/w_log10l.c: Likewise.
29399         * math/w_log2.c: Likewise.
29400         * math/w_log2f.c: Likewise.
29401         * math/w_log2l.c: Likewise.
29402         * math/w_logf.c: Likewise.
29403         * math/w_logl.c: Likewise.
29404         * math/w_sqrt.c: Likewise.
29405         * math/w_sqrtf.c: Likewise.
29406         * math/w_sqrtl.c: Likewise.
29407         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29408         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29409         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29410         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29411         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29412
29413 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29414
29415         [BZ #9739]
29416         * manual/string.texi (strnlen): Use correct parameter name in
29417         equivalent expression.
29418
29419 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29420
29421         [BZ #11174]
29422         * manual/users.texi (seteuid): Consistently use neweuid for
29423         argument name.
29424
29425 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29426
29427         [BZ #13704]
29428         * manual/nss.texi (Services in the NSS configuration): Correct
29429         list of services in example configuration file.
29430
29431 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29432
29433         [BZ #11322]
29434         * manual/arith.texi: Remove statements about negative zero
29435         behaving identically to zero.
29436
29437 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29438
29439         [BZ #5993]
29440         * manual/install.texi: Do not document upgrading from libc5.
29441
29442 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29443
29444         [BZ #4596]
29445         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29446
29447 2012-02-18  David S. Miller  <davem@davemloft.net>
29448
29449         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29450         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29451         %o7 across the call.
29452         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29453         instead.
29454         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29455         SETUP_PIC_REG_LEAF.
29456         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29457         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29458         * sysdeps/sparc/crtn.S: Likewise.
29459
29460 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29461
29462         * aout/Makefile: Remove.
29463
29464 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29465
29466         [BZ #13058]
29467         * manual/examples/argp-ex1.c (main): Format definition in GNU
29468         style.
29469         * manual/examples/argp-ex2.c (main): Likewise.
29470         * manual/examples/argp-ex3.c (main): Likewise.
29471         * manual/examples/argp-ex4.c (main): Likewise.
29472         * manual/examples/longopt.c (main): Use new-style prototype
29473         definition.
29474         * manual/examples/strncat.c (main): Specify return type and use
29475         (void) for arguments.
29476         * manual/examples/subopt.c (main): Use char **argv argument.
29477
29478 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29479
29480         [BZ #5077]
29481         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29482         rounding modes.
29483
29484 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29485
29486         [BZ #6907]
29487         * manual/string.texi (strchr): Change when strchrnul is
29488         recommended.
29489
29490 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29491
29492         [BZ #174]
29493         * manual/locale.texi (setlocale): Document LOCPATH.
29494
29495 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29496
29497         [BZ #10210]
29498         * manual/process.texi (execle): Move @dots{} before last argument.
29499
29500 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29501
29502         [BZ #12047]
29503         * manual/charset.texi (Generic Charset Conversion): Fix typo
29504         (LC_TYPE -> LC_CTYPE).
29505
29506 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29507
29508         [BZ #5805]
29509         * manual/arith.texi (scalbn): Use @var{} on parameter names.
29510         (scalbnf): Likewise.
29511         (scalbnl): Likewise.
29512         (scalbln): Likewise.
29513         (scalblnf): Likewise.
29514         (scalblnl): Likewise.
29515         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29516         (vwarnx): Likewise.
29517         (verr): Likewise.
29518         (verrx): Likewise.
29519         * manual/filesys.texi (telldir): Use braces around return type.
29520         * manual/llio.texi (mmap): Add space after comma.
29521         (mmap64): Likewise.
29522         * manual/math.texi (jn): Use @var{} on parameter names.
29523         (jnf): Likewise.
29524         (jnl): Likewise.
29525         (yn): Likewise.
29526         (ynf): Likewise.
29527         (ynl): Likewise.
29528         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29529         line.
29530         * manual/resource.texi (ulimit): Use @dots{} instead of literal
29531         "...".
29532         (sched_get_priority_min): Remove semicolon on @deftypefun line.
29533         (sched_get_priority_max): Likewise.
29534         * manual/signal.texi (sigvec): Add space after comma.
29535         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29536         names.
29537         (if_indextoname): Likewise.
29538         (if_freenameindex): Likewise.
29539         (sendto): Use ',' instead of '.' in prototype.
29540         * manual/startup.texi (syscall): Use @dots{} instead of literal
29541         "...".
29542         * manual/stdio.texi (__fpending): Separate initial words of
29543         paragraph from @deftypefun line.
29544         * manual/syslog.texi (syslog): Use @dots{} instead of literal
29545         "...".
29546         (vsyslog): Use @var{} on parameter names.
29547         * manual/terminal.texi (stty): Use @var{} on parameter names.
29548         * manual/users.texi (getutmp): Use @var{} on parameter names.
29549         (getutmpx): Likewise.
29550
29551 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29552
29553         [BZ #6884]
29554         * manual/stdio.texi (fopen): Fix typos in description of
29555         ",ccs=STRING".
29556
29557 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
29558
29559         [BZ #4026]
29560         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29561         get clock_id definition.
29562
29563 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
29564
29565         [BZ #4822]
29566         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29567         (madvise): Cast every argument to void on its own.
29568
29569 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29570
29571         [BZ #9902]
29572         * manual/startup.texi (Exit Status): Fix typo.
29573
29574 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29575
29576         [BZ #10140]
29577         * manual/examples/argp-ex1.c: Include <stdlib.h>.
29578         * manual/examples/argp-ex2.c: Likewise.
29579         * manual/examples/argp-ex3.c: Likewise.
29580
29581 2012-02-16  Richard Henderson  <rth@redhat.com>
29582
29583         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29584         * sysdeps/s390/s390-32/initfini.c: Remove.
29585         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29586         * sysdeps/s390/s390-64/initfini.c: Remove.
29587
29588 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29589
29590         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29591         compiler output for sysdeps/generic/initfini.c.
29592         * sysdeps/sh/elf/initfini.c: Remove file.
29593
29594 2012-02-16  David S. Miller  <davem@davemloft.net>
29595
29596         [BZ #11494]
29597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29598
29599         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29600         * sysdeps/sparc/crti.S: New file.
29601         * sysdeps/sparc/crtn.S: New file.
29602         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29603         * sysdeps/sparc/sparc64/Makefile: Likewise.
29604
29605 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29606
29607         [BZ #3335]
29608         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29609
29610 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29611
29612         [BZ #4822]
29613         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29614
29615         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29616         (write, read, close): Likewise.
29617         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29618
29619 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29620
29621         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29622         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29623         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29624         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29625         <bits/signalfd.h>.
29626         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29627         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29628         bits/signalfd.h.
29629
29630 2012-02-14  Marek Polacek  <polacek@redhat.com>
29631
29632         * sysdeps/x86_64/crti.S: New file.
29633         * sysdeps/x86_64/crtn.S: New file.
29634         * sysdeps/x86_64/elf/initfini.c: Remove file.
29635
29636 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29637
29638         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29639         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29640         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29641         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29642         <bits/inotify.h>.
29643         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29645         bits/inotify.h.
29646
29647 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29648
29649         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29650         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29651         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29652         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29653         <bits/eventfd.h>.
29654         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29656         bits/eventfd.h.
29657
29658 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29659
29660         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29661         __feraiseexcept instead of feraiseexcept.
29662
29663         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29664         nanosleep invocations.
29665         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29666         strings, and add error checking for a nanosleep invocations.
29667
29668 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29669
29670         Replace FSF snail mail address with URLs, as per GNU coding standards.
29671         Most of the snail mail addresses were wrong anyway, and omitting
29672         them makes the source code easier to maintain.  Almost all of the
29673         changes are to license notices and to locale LC_IDENTIFICATION
29674         addresses, except for this one:
29675         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29676         not its snail mail address.
29677
29678 2012-02-09  Richard Henderson  <rth@twiddle.net>
29679
29680         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29681         of kernel-features.h.
29682
29683         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29684
29685 2012-02-08  Marek Polacek  <polacek@redhat.com>
29686
29687         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29688         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29689         * sysdeps/gnu/_G_config.h: Likewise.
29690         * sysdeps/generic/_G_config.h: Likewise.
29691
29692 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29693
29694         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29695         tests.
29696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29697
29698         * sysdeps/powerpc/powerpc32/crti.S: New file.
29699         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29700         * sysdeps/powerpc/powerpc64/crti.S: New file.
29701         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29702
29703         * Makeconfig (have-initfini): Don't set.
29704         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29705         * configure.in (nopic_initfini): Don't substitute.
29706         * config.h.in (HAVE_INITFINI): Don't #undef.
29707         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29708         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29709
29710 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29711
29712         Support crti.S and crtn.S provided directly by architectures.
29713         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29714         [crti.S in sysdirs] (omit-deps): Likewise.
29715         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29716         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29717         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29718         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29719         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29720         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29721         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29722         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29723         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29724         compiler output for sysdeps/generic/initfini.c.
29725         * sysdeps/i386/elf/Makefile: Remove file.
29726         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29727
29728 2012-02-07  Marek Polacek  <polacek@redhat.com>
29729
29730         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29731         * sysdeps/gnu/_G_config.h: Likewise.
29732         * sysdeps/mach/hurd/_G_config.h: Likewise.
29733
29734 2012-02-07  Marek Polacek  <polacek@redhat.com>
29735
29736         * math/Makefile (tests): Add tst-CMPLX2.
29737         * math/tst-CMPLX2.c: New file.
29738
29739 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29740
29741         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29742
29743         * math/libm-test.inc (jn_test): Add missing L suffix.
29744
29745 2012-02-06  Marek Polacek  <polacek@redhat.com>
29746
29747         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29748         * sysdeps/i386/fpu/e_powf.S: Likewise.
29749         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29750         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29751         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29752         * sysdeps/i386/fpu/e_pow.S: Likewise.
29753         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29754         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29755         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29756         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29757         * sysdeps/i386/fpu/e_log2.S: Likewise.
29758         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29759         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29760         * sysdeps/i386/fpu/e_powl.S: Likewise.
29761         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29762         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29763         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29764         * sysdeps/i386/fpu/e_logl.S: Likewise.
29765         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29766         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29767         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29768         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29769         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29770         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29771         * sysdeps/i386/fpu/e_log.S: Likewise.
29772         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29773         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29774         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29775         * sysdeps/i386/fpu/e_logf.S: Likewise.
29776         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29777         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29778         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29779         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29780         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29781         * sysdeps/i386/fpu/e_log10.S: Likewise.
29782         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29783         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29784         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29785         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29786         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29787         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29788         * sysdeps/i386/asm-syntax.h: Likewise.
29789         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29790         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29791         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29792         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29793         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29794         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29795         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29796         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29797         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29798         * sysdeps/powerpc/sysdep.h: Likewise.
29799         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29800         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29801
29802 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29803
29804         [BZ #411]
29805         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29806
29807 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29808
29809         * sysdeps/i386/sysdep.h: Include <features.h>.
29810         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29811         version.
29812
29813 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29814
29815         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29816         Define.
29817         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29818         LOAD_PIC_REG_STR.
29819
29820 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29821
29822         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29823         (SETUP_PIC_REG): Use GET_PC_THUNK.
29824         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29825         macro.
29826
29827 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29828
29829         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29830         for non-PIC compilation.
29831         (SETUP_PIC_REG): Add .p2align directive.
29832         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29833         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29834         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29835         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29836         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29837         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29838         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29839         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29840         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29841         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29842         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29843         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29844         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29845         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29846         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29847         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29848         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29849         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29850         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29851         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29852         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29853         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29854         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29855         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29856         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29857         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29858         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29859         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29860         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29861         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29862         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29863         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29864         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29865         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29866         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29867         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29868         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29869         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29870         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29871         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29872         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29873
29874 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29875
29876         * math/tst-CMPLX.c: Include <stdio.h>.
29877
29878 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29879
29880         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29881         float.
29882         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29883         * sysdeps/sparc/bits/mathdef.h: Likewise.
29884
29885 2012-01-31  Marek Polacek  <polacek@redhat.com>
29886
29887         * libio/libio.h: Don't define _PARAMS.
29888         * locale/programs/config.h: Don't define PARAMS.
29889         * stdlib/strtol_l.c: Likewise.
29890         (__strtol_l): Remove PARAMS from the prototype.
29891
29892 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29893
29894         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29895         names.  Just use the correct names.  Remove unnecessary wrapper
29896         functions.
29897         * malloc/arena.c: Likewise.
29898         * malloc/hooks.c: Likewise.
29899
29900         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29901         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29902         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29903
29904 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29905
29906         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29907         into tail calls.
29908         (update_get_addr): New function.
29909         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29910         GET_ADDR_MODULE parameter.
29911
29912 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29913
29914         * crypt/cert.c: Remove __STDC__ conditionals.
29915         * crypt/crypt-entry.c: Likewise.
29916         * crypt/crypt_util.c: Likewise.
29917         * libio/filedoalloc.c: Likewise.
29918         * libio/fileops.c: Likewise.
29919         * libio/genops.c: Likewise.
29920         * libio/iofclose.c: Likewise.
29921         * libio/iofdopen.c: Likewise.
29922         * libio/iofopen.c: Likewise.
29923         * libio/iofopen64.c: Likewise.
29924         * libio/iogetdelim.c: Likewise.
29925         * libio/iopopen.c: Likewise.
29926         * libio/obprintf.c: Likewise.
29927         * libio/oldfileops.c: Likewise.
29928         * libio/oldiofclose.c: Likewise.
29929         * libio/oldiofdopen.c: Likewise.
29930         * libio/oldiofopen.c: Likewise.
29931         * libio/oldiopopen.c: Likewise.
29932         * libio/wfiledoalloc.c: Likewise.
29933         * libio/wgenops.c: Likewise.
29934         * locale/programs/xmalloc.c: Likewise.
29935         * misc/syslog.c: Likewise.
29936         * stdio-common/xbug.c: Likewise.
29937         * string/memchr.c: Likewise.
29938         * string/memcmp.c: Likewise.
29939         * string/memrchr.c: Likewise.
29940         * string/rawmemchr.c: Likewise.
29941         * sysdeps/posix/getcwd.c: Likewise.
29942         * time/strftime_l.c: Likewise.
29943
29944 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29945
29946         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29947         * config.make.in (config-cflags-sse2avx): Define.
29948         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29949         Fix typo.
29950
29951 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29952
29953         * scripts/config.guess: Update from upstream config git repository.
29954         * scripts/config.sub: Likewise.
29955
29956 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29957
29958         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29959         (EM_NUM): Update.
29960         (R_TILEPRO_*, R_TILEGX_*): New macros.
29961
29962         * scripts/firstversions.awk: Fix bug in version range handling.
29963
29964         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29965
29966         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29967
29968         * include/sys/epoll.h: New file.
29969         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29970         libc_hidden_def.
29971
29972 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29973
29974         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29975         Avoid unnecessary __WORDSIZE == 64 test.
29976         (fmaxf): Use VEX format if possible.
29977         (fmax): Likewise.
29978         (fminf): Likewise.
29979         (fmin): Likewise.
29980
29981         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29982         * math/math_private.h: Remove libc_fegetround* and
29983         libc_fesetround*.
29984         * sysdeps/i386/configure.in: Check for -msse2avx.
29985         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29986         also if SSE2AVX is defined.
29987         Remove libc_fegetround* and libc_fesetround*.
29988         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29989         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29990         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29991         of HAS_YMM_USABLE.
29992         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29993         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29994         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29995         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29996         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29997
29998         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29999
30000 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30001
30002         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30003         size is not set.
30004         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30005
30006 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30007
30008         [BZ #13618]
30009         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30010         relocation.
30011         * Makeconfig (libm): Define.
30012         * elf/Makefile: Add rules to build and run tst-relsort1.
30013         * elf/tst-relsort1.c: New file.
30014         * elf/tst-relsort1mod1.c: New file.
30015         * elf/tst-relsort1mod2.c: New file.
30016
30017 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30018
30019         * math/s_ldexp.c: Remove __STDC__ conditionals.
30020         * math/s_ldexpf.c: Likewise.
30021         * math/s_ldexpl.c: Likewise.
30022         * math/s_nextafter.c: Likewise.
30023         * math/s_nexttowardf.c: Likewise.
30024         * math/s_significand.c: Likewise.
30025         * math/s_significandf.c: Likewise.
30026         * math/s_significandl.c: Likewise.
30027         * math/w_jnl.c: Likewise.
30028         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30029         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30030         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30031         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30032         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30033         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30034         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30035         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30036         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30037         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30038         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30039         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30040         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30041         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30042         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30043         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30044         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30045         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30046         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30047         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30048         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30049         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30050         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30051         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30052         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30053         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30054         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30055         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30056         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30057         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30058         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30059         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30060         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30061         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30062         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30063         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30064         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30065         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30066         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30067         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30068         * sysdeps/ieee754/k_standard.c: Likewise.
30069         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30070         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30071         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30072         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30073         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30074         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30075         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30076         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30077         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30078         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30079         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30080         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30081         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30082         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30083         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30084         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30085         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30086         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30087         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30088         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30089         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30090         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30091         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30092         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30093         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30094         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30095         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30096         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30097         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30098         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30099         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30100         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30101         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30102         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30103         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30104         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30105         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30106         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30107         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30108         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30109         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30110         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30111         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30112         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30113         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30114         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30115         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30116         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30117         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30118         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30119         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30120         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30121         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30122         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30123         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30124         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30125         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30126         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30127         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30128         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30129         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30130         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30131         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30132         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30133         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30134         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30135         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30136         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30137         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30138         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30139         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30140         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30141         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30142         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30143         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30144         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30145         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30146         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30147         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30148         * sysdeps/ieee754/s_matherr.c: Likewise.
30149         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30150         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30151         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30152         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30153
30154 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30155
30156         * crypt/md5.h: Remove __STDC__ conditionals.
30157         * libio/libioP.h: Likewise.
30158         * locale/programs/config.h: Likewise.
30159         * sysdeps/generic/sysdep.h: Likewise.
30160         * sysdeps/i386/asm-syntax.h: Likewise.
30161         * sysdeps/s390/asm-syntax.h: Likewise.
30162         * sysdeps/unix/sysdep.h: Likewise.
30163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30165
30166 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30167
30168         * libio/libio.h: Remove __STDC__ conditionals.
30169         * malloc/obstack.h: Likewise.
30170         * math/complex.h: Likewise.
30171         * math/math.h: Likewise.
30172         * sysdeps/generic/_G_config.h: Likewise.
30173         * sysdeps/gnu/_G_config.h: Likewise.
30174         * sysdeps/mach/hurd/_G_config.h: Likewise.
30175         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30176         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30177         * sysdeps/sparc/bits/mathdef.h: Likewise.
30178
30179 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30180
30181         [BZ #13583]
30182         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30183         Clean up HAS_* macros.
30184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30185         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30186         possible.
30187         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30188         HAS_AVX.
30189         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30190         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30191         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30192         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30193         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30194
30195 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30196
30197         * elf/tst-unique3.cc (gets): Remove declaration.
30198         * elf/tst-unique3lib.cc (gets): Likewise.
30199         * elf/tst-unique3lib2.cc (gets): Likewise.
30200         * elf/tst-unique4.cc (gets): Likewise.
30201
30202 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30203
30204         * include/stdio.h: Add C++ protection.  Add gets declarations and
30205         definitions.
30206         * debug/tst-chk1.c: Don't declare gets here.
30207         * stdio-common/tst-gets.c: Likewise.
30208
30209 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30210
30211         * posix/glob: Remove directory.
30212
30213 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30214
30215         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30216
30217 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30218
30219         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30220         of the non-standard EPFNOSUPPORT.
30221
30222 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30223
30224         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30225         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30226         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30227
30228 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30229
30230         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30231
30232 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30233
30234         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30235         transient errors.
30236         * nscd/grpcache.c (cache_addgr): Likewise.
30237         * nscd/hstcache.c (cache_addhst): Likewise.
30238         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30239         * nscd/pwdcache.c (cache_addpw): Likewise.
30240         * nscd/servicescache.c (cache_addserv): Likewise.
30241
30242 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30243
30244         * malloc/malloc.c: Various cleanups.
30245         * malloc/hooks.c: Likewise.
30246
30247         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30248         * stdlib/bug-fmtmsg1.c: New file.
30249
30250         * stdlib/fmtmsg.c (init): Add missing unlock.
30251         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30252
30253 2012-01-12  Marek Polacek  <polacek@redhat.com>
30254
30255         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30256         and _GNU_SOURCE.
30257
30258 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30259
30260         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30261         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30262         macro to ensure uniqueness of label name.
30263         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30264         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30265
30266 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30267
30268         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30269
30270         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30271         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30272         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30274
30275 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30276
30277         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30278
30279         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30280         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30281         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30282
30283         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30284
30285         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30286         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30287         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30288         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30289
30290         * math/bits/math-finite.h: Add ldexp support.
30291
30292 2012-01-10  Marek Polacek  <polacek@redhat.com>
30293
30294         * locale/programs/localedef.h (show_archive_content): Add noreturn
30295         attribute.
30296
30297 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30298
30299         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30300
30301 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30302
30303         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30304
30305         * io/Makefile (headers): Add bits/poll2.h.
30306
30307 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30308
30309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30310         typo #include statement.
30311
30312 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30313
30314         * include/sys/cdefs.h: Define __attribute_alloc_size.
30315         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30316         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30317         * elf/pldd.c: Likewise.
30318         * iconv/iconv_charmap.c: Likewise.
30319         * iconv/iconvconfig.c: Likewise.
30320         * iconv/strtab.c: Likewise.
30321         * locale/programs/locale.c: Likewise.
30322         * locale/programs/localedef.h: Likewise.
30323         * locale/programs/simple-hash.c: Likewise.
30324         * nscd/nscd.h: Likewise.
30325         * nss/makedb.c: Likewise.
30326         * sysdeps/generic/ldconfig.h: Likewise.
30327         * locale/programs/localedef.c: Remove xmalloc prototype.
30328         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30329
30330 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30331
30332         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30333         appropriate.
30334
30335 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30336
30337         * math/Makefile (tests): Add tst-CMPLX.
30338         * math/tst-CMPLX.c: New file.
30339
30340         * math/complex.h (CMPLXL): Fix typo.
30341
30342         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30343         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30344         GLIBC_2.16.
30345         * debug/tst-chk1.c: Add poll and ppoll tests.
30346         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30347         * include/sys/poll.h: Add hidden proto for ppoll.
30348         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30349         * sysdeps/mach/hurd/ppoll.c: Likewise.
30350         * io/ppoll.c: Likewise.
30351         * debug/poll_chk.c: New file.
30352         * debug/ppoll_chk.c: New file.
30353         * include/bits/poll2.h: New file.
30354         * io/bits/poll2.h: New file.
30355
30356         [BZ #1350]
30357         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30358
30359         * configure.in: static is always set to yes.  Remove.
30360         * config.make.in: Don't set build-static.
30361         * Makeconfig: Remove use of build-static.
30362         * dlfcn/Makefile: Likewise.
30363         * elf/Makefile: Likewise.
30364         * math/Makefile: Likewise.
30365         * misc/Makefile: Likewise.
30366         * nptl/Makefile: Likewise.
30367         * sysdeps/mach/hurd/Makefile: Likewise.
30368
30369         * configure.in: PWD_P is not used anymore.
30370         * config.make.in: Remove PWD_P entry.
30371
30372         * configure.in: Remove last remnants of RANLIB.
30373         No need to check for signed size_t anymore.
30374         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30375         and IA-64.
30376         Remove __builtin_expect test because we require at least gcc 3.4.
30377         * aclocal.m4: Likewise.
30378
30379         * wcsmbs/mbrtoc16.c: Implement using towc function.
30380         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30381         * wcsmbs/wcsmbsload.c: Likewise.
30382         * iconv/gconv_simple.c: Likewise.
30383         * iconv/gconv_int.h: Likewise.
30384         * iconv/gconv_builtin.h: Likewise.
30385         * iconv/iconv_prog.c: Remove CHAR16 handling.
30386
30387         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30388
30389         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30390
30391         * configure.in: Remove --with-elf and --enable-bounded options.
30392         Dont set base_machine for ia64.  More non-ELF conditions removed.
30393         Remove testing and setting of leading underscore information.
30394         * config.make.in (build-bounded): Set to no.
30395         * config.h.in: Remove NO_UNDERSCORES entry.
30396         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30397         them.
30398         * csu/start.c: Remove !NO_UNDERSCORE code.
30399         * locale/localeinfo.h: Likewise.
30400         * sysdeps/generic/machine-gmon.h: Likewise.
30401         * sysdeps/generic/sysdep.h: Likewise.
30402         * sysdeps/i386/sysdep.h: Likewise.
30403         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30404         * sysdeps/mach/sysdep.h: Likewise.
30405         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30406         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30407         * sysdeps/sh/sysdep.h: Likewise.
30408         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30409         * sysdeps/unix/i386/sysdep.S: Likewise.
30410         * sysdeps/unix/sparc/start.c: Likewise.
30411         * sysdeps/unix/sparc/sysdep.S: Likewise.
30412         * sysdeps/unix/sparc/sysdep.h: Likewise.
30413         * sysdeps/unix/start.c: Likewise.
30414         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30415         * sysdeps/x86_64/sysdep.h: Likewise.
30416
30417 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30418
30419         [BZ #13553]
30420         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30421         for non-gcc.
30422         * argp/argp-fmtstream.h: Use const instead __const.
30423         * argp/argp.h: Likewise.
30424         * assert/assert.h: Likewise.
30425         * bits/fenv.h: Likewise.
30426         * bits/sched.h: Likewise.
30427         * bits/sigset.h: Likewise.
30428         * bits/sigthread.h: Likewise.
30429         * catgets/nl_types.h: Likewise.
30430         * conform/data/pthread.h-data: Likewise.
30431         * crypt/crypt-private.h: Likewise.
30432         * crypt/crypt.h: Likewise.
30433         * crypt/crypt_util.c: Likewise.
30434         * ctype/ctype.h: Likewise.
30435         * debug/execinfo.h: Likewise.
30436         * debug/mbsnrtowcs_chk.c: Likewise.
30437         * debug/mbsrtowcs_chk.c: Likewise.
30438         * debug/wcsnrtombs_chk.c: Likewise.
30439         * debug/wcsrtombs_chk.c: Likewise.
30440         * debug/wcstombs_chk.c: Likewise.
30441         * dirent/dirent.h: Likewise.
30442         * dlfcn/dlfcn.h: Likewise.
30443         * elf/neededtest4.c: Likewise.
30444         * grp/grp.h: Likewise.
30445         * gshadow/gshadow.h: Likewise.
30446         * iconv/gconv.h: Likewise.
30447         * iconv/gconv_int.h: Likewise.
30448         * iconv/gconv_simple.c: Likewise.
30449         * iconv/iconv.h: Likewise.
30450         * iconv/loop.c: Likewise.
30451         * iconv/skeleton.c: Likewise.
30452         * include/aio.h: Likewise.
30453         * include/aliases.h: Likewise.
30454         * include/argz.h: Likewise.
30455         * include/arpa/inet.h: Likewise.
30456         * include/assert.h: Likewise.
30457         * include/dirent.h: Likewise.
30458         * include/dlfcn.h: Likewise.
30459         * include/execinfo.h: Likewise.
30460         * include/fcntl.h: Likewise.
30461         * include/fenv.h: Likewise.
30462         * include/glob.h: Likewise.
30463         * include/grp.h: Likewise.
30464         * include/libintl.h: Likewise.
30465         * include/mntent.h: Likewise.
30466         * include/netdb.h: Likewise.
30467         * include/pwd.h: Likewise.
30468         * include/rpc/netdb.h: Likewise.
30469         * include/sched.h: Likewise.
30470         * include/search.h: Likewise.
30471         * include/shadow.h: Likewise.
30472         * include/signal.h: Likewise.
30473         * include/stdio.h: Likewise.
30474         * include/stdlib.h: Likewise.
30475         * include/string.h: Likewise.
30476         * include/sys/socket.h: Likewise.
30477         * include/sys/stat.h: Likewise.
30478         * include/sys/statfs.h: Likewise.
30479         * include/sys/statvfs.h: Likewise.
30480         * include/sys/syslog.h: Likewise.
30481         * include/sys/time.h: Likewise.
30482         * include/sys/uio.h: Likewise.
30483         * include/time.h: Likewise.
30484         * include/unistd.h: Likewise.
30485         * include/utmp.h: Likewise.
30486         * include/wchar.h: Likewise.
30487         * include/wctype.h: Likewise.
30488         * inet/aliases.h: Likewise.
30489         * inet/arpa/inet.h: Likewise.
30490         * inet/netinet/ether.h: Likewise.
30491         * inet/netinet/in.h: Likewise.
30492         * intl/libintl.h: Likewise.
30493         * io/bits/fcntl2.h: Likewise.
30494         * io/fcntl.h: Likewise.
30495         * io/ftw.h: Likewise.
30496         * io/sys/poll.h: Likewise.
30497         * io/sys/stat.h: Likewise.
30498         * io/sys/statfs.h: Likewise.
30499         * io/sys/statvfs.h: Likewise.
30500         * io/utime.h: Likewise.
30501         * libio/bits/stdio.h: Likewise.
30502         * libio/bits/stdio2.h: Likewise.
30503         * libio/libio.h: Likewise.
30504         * libio/libioP.h: Likewise.
30505         * libio/stdio.h: Likewise.
30506         * locale/lc-ctype.c: Likewise.
30507         * locale/locale.h: Likewise.
30508         * login/utmp.h: Likewise.
30509         * malloc/arena.c: Likewise.
30510         * malloc/malloc.c: Likewise.
30511         * malloc/malloc.h: Likewise.
30512         * malloc/mcheck.c: Likewise.
30513         * malloc/mtrace.c: Likewise.
30514         * math/bits/mathcalls.h: Likewise.
30515         * math/fenv.h: Likewise.
30516         * math/math_private.h: Likewise.
30517         * misc/bits/error.h: Likewise.
30518         * misc/bits/syslog.h: Likewise.
30519         * misc/err.h: Likewise.
30520         * misc/error.h: Likewise.
30521         * misc/fstab.h: Likewise.
30522         * misc/mntent.h: Likewise.
30523         * misc/regexp.h: Likewise.
30524         * misc/search.h: Likewise.
30525         * misc/sgtty.h: Likewise.
30526         * misc/sys/mman.h: Likewise.
30527         * misc/sys/syslog.h: Likewise.
30528         * misc/sys/uio.h: Likewise.
30529         * misc/sys/xattr.h: Likewise.
30530         * misc/ttyent.h: Likewise.
30531         * nis/rpcsvc/ypclnt.h: Likewise.
30532         * nss/nss.h: Likewise.
30533         * posix/bits/unistd.h: Likewise.
30534         * posix/fnmatch.h: Likewise.
30535         * posix/glob.h: Likewise.
30536         * posix/sched.h: Likewise.
30537         * posix/spawn.h: Likewise.
30538         * posix/sys/wait.h: Likewise.
30539         * posix/unistd.h: Likewise.
30540         * posix/wordexp.h: Likewise.
30541         * pwd/pwd.h: Likewise.
30542         * resolv/netdb.h: Likewise.
30543         * resource/sys/resource.h: Likewise.
30544         * rt/aio.h: Likewise.
30545         * rt/bits/mqueue2.h: Likewise.
30546         * rt/mqueue.h: Likewise.
30547         * shadow/shadow.h: Likewise.
30548         * signal/signal.h: Likewise.
30549         * socket/send.c: Likewise.
30550         * socket/sendto.c: Likewise.
30551         * socket/sys/socket.h: Likewise.
30552         * stdio-common/printf.h: Likewise.
30553         * stdlib/bits/stdlib.h: Likewise.
30554         * stdlib/fmtmsg.h: Likewise.
30555         * stdlib/monetary.h: Likewise.
30556         * stdlib/stdlib.h: Likewise.
30557         * stdlib/ucontext.h: Likewise.
30558         * streams/stropts.h: Likewise.
30559         * string/argz.h: Likewise.
30560         * string/bits/string2.h: Likewise.
30561         * string/string.h: Likewise.
30562         * string/strings.h: Likewise.
30563         * sunrpc/rpc/auth.h: Likewise.
30564         * sunrpc/rpc/auth_des.h: Likewise.
30565         * sunrpc/rpc/clnt.h: Likewise.
30566         * sunrpc/rpc/netdb.h: Likewise.
30567         * sunrpc/rpc/pmap_clnt.h: Likewise.
30568         * sunrpc/rpc/xdr.h: Likewise.
30569         * sysdeps/generic/inttypes.h: Likewise.
30570         * sysdeps/generic/net/if.h: Likewise.
30571         * sysdeps/generic/sys/swap.h: Likewise.
30572         * sysdeps/gnu/net/if.h: Likewise.
30573         * sysdeps/gnu/utmpx.h: Likewise.
30574         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30575         * sysdeps/i386/i486/bits/string.h: Likewise.
30576         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30577         * sysdeps/s390/bits/string.h: Likewise.
30578         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30579         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30580         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30581         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30582         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30583         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30584         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30585         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30586         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30587         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30588         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30589         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30590         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30591         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30592         * sysdeps/unix/sysv/linux/readv.c: Likewise.
30593         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30594         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30595         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30596         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30597         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30598         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30599         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30600         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30601         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30602         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30603         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30604         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30605         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30606         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30607         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30608         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30609         * sysvipc/sys/ipc.h: Likewise.
30610         * sysvipc/sys/msg.h: Likewise.
30611         * sysvipc/sys/sem.h: Likewise.
30612         * sysvipc/sys/shm.h: Likewise.
30613         * termios/termios.h: Likewise.
30614         * time/sys/time.h: Likewise.
30615         * time/time.h: Likewise.
30616         * wcsmbs/bits/wchar2.h: Likewise.
30617         * wcsmbs/uchar.h: Likewise.
30618         * wcsmbs/wchar.h: Likewise.
30619         * wctype/wctype.h: Likewise.
30620
30621         [BZ #13551]
30622         * Makeconfig: Remove all but ELF support including AIX support.
30623         * Makerules: Likewise.
30624         * config.h.in: Likewise.
30625         * config.make.in: Likewise.
30626         * configure: Likewise.
30627         * configure.in: Likewise.
30628         * csu/Makefile: Likewise.
30629         * csu/version.c: Likewise.
30630         * debug/Makefile: Likewise.
30631         * dlfcn/Makefile: Likewise.
30632         * elf/Makefile: Likewise.
30633         * extra-lib.mk: Likewise.
30634         * iconv/Makefile: Likewise.
30635         * include/libc-symbols.h: Likewise.
30636         * include/shlib-compat.h: Likewise.
30637         * resolv/Makefile: Likewise.
30638         * resolv/res_libc.c: Likewise.
30639         * rt/Makefile: Likewise.
30640         * sysdeps/i386/asm-syntax.h: Likewise.
30641         * sysdeps/i386/sysdep.h: Likewise.
30642         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30643         * sysdeps/mach/sysdep.h: Likewise.
30644         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30645         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30646         * sysdeps/s390/asm-syntax.h: Likewise.
30647         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30648         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30649         * sysdeps/sh/sysdep.h: Likewise.
30650         * sysdeps/unix/sparc/sysdep.h: Likewise.
30651         * sysdeps/wordsize-32/divdi3.c: Likewise.
30652         * sysdeps/x86_64/sysdep.h: Likewise.
30653
30654         * argp/Versions: Remove _argp_unlock_xxx.
30655
30656         [BZ #13559]
30657         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30658         * abilist/libBrokenLocale.abilist: Likewise.
30659         * abilist/libanl.abilist: Likewise.
30660         * abilist/libc.abilist: Likewise.
30661         * abilist/libcrypt.abilist: Likewise.
30662         * abilist/libdl.abilist: Likewise.
30663         * abilist/libm.abilist: Likewise.
30664         * abilist/libnsl.abilist: Likewise.
30665         * abilist/libpthread.abilist: Likewise.
30666         * abilist/libresolv.abilist: Likewise.
30667         * abilist/librt.abilist: Likewise.
30668         * abilist/libthread_db.abilist: Likewise.
30669         * abilist/libutil.abilist: Likewise.
30670         * abilist/libnss_db.abilist: New file.
30671
30672         * scripts/abilist.awk: Add support for indirect functions.
30673
30674         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30675
30676         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30677
30678         * shlib-versions: Remove entries for ports architectures.
30679
30680         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30681         files in ports.
30682         * elf/stackguard-macros.h: Remove support for IA-64.
30683         * elf/tst-auditmod1.c: Likewise.
30684         * sysdeps/generic/ldsodefs.h: Likewise.
30685
30686         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30687         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30688         configure files.
30689
30690         [BZ #13552]
30691         * configure.in: Remove --enable-omitfp support.
30692         * FAQ.in: Adjust.
30693         * config.make.in: Likewise.
30694         * Makeconfig: Likewise.
30695         * manual/install.texi: Likewise.
30696
30697         In case anyone cares, the IA-64 architecture could move to ports.
30698         * sysdeps/ia64/*: Removed.
30699         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30700         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30701
30702         [BZ #13555]
30703         * configure.in: Remove entries for unsupported architectures.
30704
30705         [BZ #13533]
30706         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30707         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30708         routines.
30709         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30710         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30711         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30712         fall back to using wcrtomb.
30713         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30714         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30715         renaming.
30716         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30717         * wcsmbs/tst-c16c32-1.c: New file.
30718
30719         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30720         local variable.
30721
30722         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30723
30724         * elf/tst-unique3.cc: Add explicit declaration of gets.
30725         * elf/tst-unique3lib.cc: Likewise.
30726         * elf/tst-unique3lib2.cc: Likewise.
30727         * elf/tst-unique4.cc: Likewise.
30728
30729         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30730
30731 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30732
30733         [BZ #13566]
30734         * assert/assert.h (static_assert): Don't define for C++.
30735         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30736         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30737
30738 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30739
30740         * iconv/loop.c (single loop): Fix assertion in storing of
30741         remaining bytes.
30742
30743         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30744
30745 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30746
30747         * posix/getconf.c: Update copyright year.
30748         * nss/getent.c: Likewise.
30749         * nss/makedb.c: Likewise.
30750         * iconv/iconvconfig.c: Likewise.
30751         * iconv/iconv_prog.c: Likewise.
30752         * elf/ldconfig.c: Likewise.
30753         * elf/pldd.c: Likewise.
30754         * elf/sotruss.ksh: Likewise.
30755         * catgets/gencat.c: Likewise.
30756         * csu/version.c: Likewise.
30757         * elf/ldd.bash.in: Likewise.
30758         * elf/sprof.c (print_version): Likewise.
30759         * locale/programs/locale.c: Likewise.
30760         * locale/programs/localedef.c: Likewise.
30761         * login/programs/pt_chown.c: Likewise.
30762         * nscd/nscd.c (print_version): Likewise.
30763         * debug/xtrace.sh: Likewise.
30764         * malloc/memusage.sh: Likewise.
30765         * malloc/mtrace.pl: Likewise.
30766         * debug/catchsegv.sh: Likewise.
30767
30768 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30769
30770         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30771         pure attribute.
30772
30773 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30774
30775         [BZ #13533]
30776         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30777         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30778         transformations.
30779         * iconv/gconv_int.h: Likewise.
30780         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30781         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30782         from libc for GLIBC_2.16.
30783         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30784         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30785         * wcsmbs/uchar.h: Really define mbstate_t.
30786         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30787         * wcsmbs/c16rtomb.c: New file.
30788         * wcsmbs/mbrtoc16.c: New file.
30789         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30790         for C/POSIX locale.
30791         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30792         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30793
30794         * wcsmbs/wchar.h: Add missing __restrict.
30795
30796 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30797
30798         [BZ #13532]
30799         * time/Makefile (routines): Add timespec_get.
30800         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30801         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30802         timespec for ISO C11.
30803         * time/timespec_get.c: New file.
30804         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30805         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30806
30807         [BZ #13531]
30808         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30809         * stdlib/stdlib.h: Declare aligned_alloc.
30810         * Versions.def: Add GLIBC_2.16 for libc.
30811         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30812
30813         [BZ 13527]
30814         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30815         ISO C11.
30816
30817         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30818         code.
30819
30820         [BZ #13528]
30821         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30822
30823         [BZ #13529]
30824         * assert/assert.h (static_assert): Define.
30825
30826         * version.h: Update for 2.16 development version.
30827
30828         [BZ #13526]
30829         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30830         _ISOC11_SOURCE.
30831
30832         * version.h (RELEASE): Bump for 2.15 release.
30833         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30834
30835         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30836         Patch by Marek Polacek <mpolacek@redhat.com>.
30837
30838         * bits/byteswap.h: Protect long long constants with __extension__.
30839         * sysdeps/i386/bits/byteswap.h: Likewise.
30840         * sysdeps/ia64/bits/byteswap.h: Likewise.
30841         * sysdeps/s390/bits/byteswap.h: Likewise.
30842         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30843
30844 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30845
30846         [BZ #13540]
30847         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30848         destination buffer.
30849         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30850
30851 2011-12-23  Marek Polacek  <polacek@redhat.com>
30852
30853         * elf/dl-addr.c (determine_info): Add inline keyword.
30854         * elf/tst-auditmod4b.c (check_avx): Likewise.
30855         * elf/tst-auditmod6b.c (check_avx): Likewise.
30856         * elf/tst-auditmod6c.c (check_avx): Likewise.
30857         * elf/tst-auditmod7b.c (check_avx): Likewise.
30858
30859 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30860
30861         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30862         !__SSE_MATH__.
30863
30864 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30865
30866         [BZ #13540]
30867         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30868         processing for last bytes.
30869
30870 2011-08-06  Bruno Haible  <bruno@clisp.org>
30871
30872         [BZ #13061]
30873         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30874         U+0385, not to U+1FEE.
30875
30876         [BZ #13062]
30877         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30878         entry for U+00A5 U+0301.
30879
30880 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30881
30882         [BZ #13166]
30883         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30884         buffer for the output is too small.
30885
30886         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30887         optimization.
30888
30889         [BZ #13185]
30890         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30891         SSE flags if possible.
30892
30893 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30894
30895         [BZ #13540]
30896         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30897         processing for last bytes.
30898
30899 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30900
30901         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30902         (syscall-list-default-options, syscall-list-default-condition)
30903         (syscall-list-includes): Define.
30904         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30905         list of ABIs and options and #if conditions for each ABI.  Do not
30906         handle common syscalls between ABIs specially.
30907         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30908         Remove.
30909         (syscall-list-variants, syscall-list-32bit-options)
30910         (syscall-list-32bit-condition, syscall-list-64bit-options)
30911         (syscall-list-64bit-condition): Define.
30912         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30913         (syscall-list-variants, syscall-list-32bit-options)
30914         (syscall-list-32bit-condition, syscall-list-64bit-options)
30915         (syscall-list-64bit-condition): Define.
30916         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30917         Remove.
30918         (syscall-list-variants, syscall-list-32bit-options)
30919         (syscall-list-32bit-condition, syscall-list-64bit-options)
30920         (syscall-list-64bit-condition): Define.
30921         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30922         Remove.
30923         (syscall-list-variants, syscall-list-32bit-options)
30924         (syscall-list-32bit-condition, syscall-list-64bit-options)
30925         (syscall-list-64bit-condition): Define.
30926
30927 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30928
30929         * locale/iso-639.def: Add brx entry.
30930
30931         [BZ #13328]
30932         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30933         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30934
30935         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30936         __feraiseexcept_renamed.
30937
30938 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30939
30940         [BZ #13538]
30941         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30942         EPOLLET with unsigned values.
30943         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30944         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30945
30946         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30947         to large cancellation.
30948         * math/s_cacoshf.c: Likewise.
30949         * math/s_cacoshl.c: Likewise.
30950
30951 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30952
30953         [BZ #13305]
30954         [BZ #12786]
30955         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30956         * math/s_cacoshf.c: Likewise.
30957         * math/s_cacoshl.c: Likewise.
30958
30959 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30960
30961         [BZ #13439]
30962         * iconv/gconv.h: Define __GCONV_SWAP.
30963         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30964         * iconvdata/utf-16.c: Likewise.
30965         * iconvdata/utf-32.c: Likewise.
30966
30967 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30968
30969         [BZ #13524]
30970         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30971         numerator after shifting it by one limb.
30972
30973 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30974
30975         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30976         under [__USE_EXTERN_INLINES].
30977
30978 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30979
30980         [BZ #13446]
30981         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30982
30983 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30984
30985         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30986         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30987         optimized code.
30988         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30989         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30990         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30991         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30992         for strncasecmp/strncasecmp_l compilation.
30993         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30994         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30995
30996 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
30997
30998         [BZ #13484]
30999         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31000         of __asm__.
31001
31002 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31003
31004         [BZ #13506]
31005         * time/tzfile.c (__tzfile_read): Check values from file header.
31006
31007 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31008
31009         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31010         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31011         * powerpc/powerpc32/dl-start.S: Likewise.
31012         * powerpc/powerpc32/elf/start.S: Likewise.
31013         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31014         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31015         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31016         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31017         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31018         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31019         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31020         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31021         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31022         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31023         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31024         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31025         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31026         * powerpc/powerpc32/memset.S: Likewise.
31027         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31028         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31029         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31030         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31031         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31032         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31033         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31034         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31035         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31036         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31037         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31038         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31039         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31040
31041 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31042
31043         * math/libm-test.inc: Added more nearbyint tests.
31044         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31045         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31046         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31047         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31048
31049 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31050
31051         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31052         FD_CLOEXEC.
31053
31054 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31055
31056         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31057         Add wcscpy-ssse3 wcscpy-c.
31058         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31059         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31060         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31061         * sysdeps/x86_64/wcschr.S: New file.
31062         * sysdeps/x86_64/wcsrchr.S: New file.
31063         * string/test-strcmp.c: Remove checking of wcscmp function for
31064         wrong alignments.
31065         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31066         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31067         wcsrchr-sse2 wcsrchr-c.
31068         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31069         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31070         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31071         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31072         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31073         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31074         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31075         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31076         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31077         * wcsmbc/wcschr.c (WCSCHR): New macro.
31078
31079 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31080
31081         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31082         * wcsmbs/test-wcsrchr.c: New file.
31083         * string/test-strrchr.c: Add wcsrchr support.
31084         (WIDE): New macro.
31085         * wcsmbs/test-wcscpy.c: New file.
31086         * string/test-strcpy.c: Add wcscpy support.
31087         (WIDE): New macro.
31088
31089 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31090
31091         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31092         the inner loop.
31093
31094 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31095
31096         [BZ #13472]
31097         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31098
31099 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31100
31101         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31102         Minor optimizations.
31103
31104         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31105         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31106         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31107
31108 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31109
31110         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31111         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31112         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31113         for gcc to avoid warnings.
31114         * inet/Makefile (tests): Add tst-checks.
31115         * inet/tst-checks.c: New file.
31116
31117         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31118         warning.
31119
31120         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31121         __wmemcmp_sse2.
31122
31123         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31124         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31125
31126         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31127
31128 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31129
31130         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31131         problem.
31132
31133         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31134
31135 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31136
31137         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31138         conditional on GCC version.
31139         (__arch_compare_and_exchange_val_8_acq)
31140         (__arch_compare_and_exchange_val_16_acq)
31141         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31142         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31143         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31144
31145 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31146
31147         * sysdeps/sh/backtrace.c: New file.
31148
31149 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31150
31151         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31152         parenthesis.
31153
31154 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31155
31156         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31157         falling back to utime.
31158
31159 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31160
31161         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31162         expectations for float.
31163
31164 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31165
31166         * locale/weight.h (findidx): Add parameter len.
31167         * locale/weightwc.h (findidx): Likewise.
31168         * posix/fnmatch_loop.c (FCT): Adjust caller.
31169         * posix/regcomp.c (build_equiv_class): Likewise.
31170         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31171         * posix/regexec.c (check_node_accept_bytes): Likewise.
31172         * string/strcoll_l.c (STRCOLL): Likewise.
31173         * string/strxfrm_l.c (STRXFRM): Likewise.
31174
31175 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31176
31177         * Makefile.in: Remove CVSOPT handling.
31178         * configure.in: Remove use of AC_REVISION.
31179         * iconvdata/Makefile (distribute): No need to filter out CVS.
31180         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31181         handling.
31182
31183 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31184
31185         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31186         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31187         [USE_AS_STRNCASECMP_L]: Likewise.
31188         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31189         NO_TLS_DIRECT_SEG_REFS.
31190         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31191         Fix argument offsets for non-PIC.
31192         [USE_AS_STRNCASECMP_L]: Likewise.
31193         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31194         NO_TLS_DIRECT_SEG_REFS.
31195
31196 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31197
31198         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31199         O_CLOEXEC.
31200         * locale/loadlocale.c (_nl_load_locale): Likewise.
31201
31202 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31203
31204         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31205         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31206         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31207         (SYSCALL_GETTIME): Set errno on error.
31208
31209         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31210         count references to noai6ai_cached.
31211
31212 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31213
31214         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31215
31216         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31217         FD_CLOEXEC for /proc/self/maps.
31218
31219         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31220         FD_CLOEXEC for /proc/meminfo.
31221
31222         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31223         gai.conf.
31224
31225         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31226         FD_CLOEXEC for given file.
31227
31228         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31229
31230         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31231         FD_CLOEXEC for /etc/hosts.
31232         (_gethtent): Likewise.
31233
31234         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31235
31236         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31237         cancellation and set FD_CLOEXEC for /etc/netgroup.
31238
31239         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31240         reading /etc/publickey.
31241
31242         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31243         allow cancellation when reading /etc/group.
31244
31245         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31246         cancellation.
31247         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31248
31249         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31250         when using data file.
31251
31252         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31253
31254         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31255         (write_nis_obj): Use "c" and "e" in fopen.
31256
31257         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31258
31259         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31260
31261         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31262
31263         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31264
31265         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31266         locale.alias.
31267
31268         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31269
31270         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31271
31272         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31273
31274         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31275         file parsing and set FD_CLOEXEC.
31276
31277 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31278
31279         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31280
31281 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31282
31283         * malloc/arena.c (arena_get2): Don't call reused_arena when
31284         _int_new_arena failed.
31285
31286 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31287
31288         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31289         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31290         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31291         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31292         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31293         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31294         to compile strcasecmp and strncasecmp.
31295         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31296         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31297
31298         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31299
31300 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31301
31302         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31303         locale-defines.sym to gen-as-const-headers.
31304         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31305         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31306         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31307         to compile strcasecmp and strncasecmp.
31308         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31309         strcasecmp_l and strncasecmp_l.
31310         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31311         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31312         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31313         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31314         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31315         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31316         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31317         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31318         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31319         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31320         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31321
31322 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31323
31324         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31325         result of SYSDEP_GETTIME_CPU to retval.
31326         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31327         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31328
31329         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31330         variable.
31331
31332         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31333         mantissa words.
31334         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31335
31336         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31337         from unused variable.
31338
31339         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31340         DWARF definitions.
31341         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31342         for assembling.
31343
31344         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31345         over namespaces.
31346
31347         * sunrpc/rpc_prot.c (rejected): Fix case value.
31348
31349         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31350         unsigned long long int to avoid warnings in shift.
31351
31352         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31353         of use of trans.
31354         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31355         variable tmp.
31356
31357         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31358         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31359         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31360
31361         * nis/nis_table.c (nis_list): Use variable of correct type for
31362         result of __follow_path call.
31363
31364 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31365
31366         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31367         of math functions ceil, trunc, floor, round, and sqrt, when
31368         avaliable on the platform.
31369         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31370         name clash.
31371         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31372         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31373         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31374
31375 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31376
31377         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31378         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31379
31380 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31381
31382         * include/unistd.h: Fix __readlink return type.
31383         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31384
31385 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31386
31387         * stdlib/ucontext.h: Undo last change for makecontext.
31388
31389 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31390
31391         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31392
31393         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31394         * setjmp/setjmp.h: Mark functions as non-leaf.
31395         * setjmp/bits/setjmp2.h: Likewise.
31396         * stdlib/ucontext.h: Likewise.
31397
31398 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31399
31400         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31401         (reused_arena): Don't check arena limit.
31402         (arena_get2): Atomically check arena limit.
31403
31404 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31405
31406         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31407         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31408
31409         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31410         instructions.
31411
31412 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31413
31414         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31415         handler when locking.
31416
31417         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31418         Fix size of allocated buffer.
31419
31420 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31421
31422         [BZ #10103]
31423         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31424         declarations for long double functions.
31425         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31426
31427         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31428
31429 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31430
31431         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31432         installed.
31433
31434         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31435         is disabled.
31436
31437 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31438
31439         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31440
31441 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31442
31443         * include/alloca.h (stackinfo_alloca_round): Define.
31444         (extend_alloca): Use it.
31445         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31446         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31447         here.
31448
31449         * scripts/check-local-headers.sh: Ignore libaudit.h.
31450
31451         * nscd/Makefile (extra-objs): Make recursively expanded.
31452
31453 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31454
31455         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31456         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31457
31458         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31459         * posix/tst-rfc3484-2.c: Likewise.
31460         * posix/tst-rfc3484-3.c: Likewise.
31461
31462         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31463         process_vm_writev.
31464         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31465         process_vm_writev.
31466         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31467         process_vm_writev from libc using GLIBC_2.15 version.
31468
31469         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31470
31471 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31472
31473         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31474         stack usage.
31475
31476 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31477
31478         [BZ #13367]
31479         * nss/getent.c (initgroups_keys): Show error message in case no group
31480         names are given.
31481
31482         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31483         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31484         __bump_nl_timestamp.
31485         * nscd/connections (nscd_init): When host database is served open
31486         netlink socket and request notification about configuration changes.
31487         (main_loop_poll): Track netlink file descriptor and bump timestamp
31488         in case data becomes available.
31489         (main_loop_epoll): Likewise.
31490         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31491         (database_pers_head): Add extra_data fileds.
31492         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31493         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31494         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31495         Adjust caller.
31496         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31497         in6ai data, call __free_in6ai.
31498         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31499         Add -DHAVE_NETLINK.
31500         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31501         interface information.  Reuse previous data if netlink timestamp
31502         is not changed.
31503         (__bump_nl_timestamp): New function.
31504         (__free_in6ai): New function.
31505
31506 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31507
31508         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31509         close_not_cancel_no_status here.
31510         (__check_pf): Reorganize code a bit to not call close twice if OOM.
31511
31512 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31513
31514         [BZ #13276]
31515         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31516         return value.
31517
31518         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31519         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31520         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31521
31522 2011-07-03  Andreas Jaeger  <aj@suse.de>
31523
31524         [BZ #10709]
31525         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31526         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31527         * math/libm-test.inc (sin_test): Add test case.
31528
31529 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31530
31531         [BZ #13337]
31532         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31533         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31534
31535         * elf/chroot_canon.c (chroot_canon): Cleanups.
31536
31537         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31538
31539         [BZ #13335]
31540         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31541         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31542
31543         * string/test-strchr.c: Make usable for strchrnul testing.
31544         * string/test-strchrnul.c: New file.
31545         * string/Makefile (strop-tests): Add strchrnul.
31546
31547         * po/it.po: Update from translation team.
31548         * po/es.po: Likewise.
31549
31550 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
31551
31552         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31553         the three constants needed as parameters.  Drop the others.
31554         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31555         __m128i_strloadu_tolower.
31556         Create and initialize variable zero and use it in all the places
31557         where _mm_setzero_si128 was used.
31558
31559         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31560         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31561         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31562         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31563         anymore.
31564         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31565         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31566         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31567         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31568         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31569         __mpranred, __mptan.
31570         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31571         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31572         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31573         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31574         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31575         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31576         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31577         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31578         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31579
31580 2011-10-28  Andreas Schwab  <schwab@redhat.com>
31581
31582         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31583         redefine if SHARED.
31584         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31585
31586         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31587         wide char related routines to wcsmbs subdir.
31588
31589 2011-10-27  Andreas Schwab  <schwab@redhat.com>
31590
31591         [BZ #13344]
31592         * misc/sys/cdefs.h (__THROWNL): Define.
31593         * posix/unistd.h: Use __THREADNL instead of __THREAD
31594         for memory synchronization functions.
31595
31596 2011-10-26  Roland McGrath  <roland@hack.frob.com>
31597
31598         [BZ #13349]
31599         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31600         doesn't exist.
31601         * manual/stdio.texi (Obstack Streams): Node removed.
31602
31603 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31604
31605         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31606         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31607         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31608
31609         * math/math_private.h (math_force_eval): Allow non-addressable
31610         arguments.
31611         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31612
31613 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31614
31615         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31616         file is not needed.
31617
31618         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31619         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31620         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31621         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31622         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31623         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31624         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31625         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31626         Add AVX variants.
31627         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31628         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31629         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31630         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31631         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31632         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31633         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31634         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31635         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31636         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31637         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31638         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31639         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31640         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31641         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31642         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31643         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31644         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31645         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31646
31647         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31648         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31649
31650         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31651         place.  Use VEX encoding when compiling for AVX.
31652
31653 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31654
31655         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31656         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31657
31658         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31659
31660 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31661
31662         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31663         useless if() expression.
31664         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31665         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31666         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31667         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31668         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31669         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31670         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31671         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31672         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31673         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31674         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31675         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31676         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31677         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31678         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31679         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31680         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31681         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31682         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31683
31684         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31685
31686 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31687
31688         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31689         condition.
31690         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31691
31692 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31693
31694         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31695         .text section.  Avoid duplicate constants.
31696         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31697         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31698         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31699         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31700         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31701         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31702         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31703         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31704         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31705         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31706         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31707         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31708         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31709         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31710         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31711         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31712         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31713         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31714         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31715         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31716         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31717         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31718         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31719         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31720         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31721         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31722         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31723         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31724         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31725         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31726         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31727         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31728         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31729         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31730         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31731         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31732         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31733         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31734         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31735         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31736         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31737         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31738         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31739         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31740         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31741
31742 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31743
31744         * sysdeps/x86_64/dla.h: Move to ...
31745         * sysdeps/x86_64/fpu/dla.h: ...here.
31746         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31747         situations.  Use __builtin_fma only for gcc 4.6 and up.
31748
31749         * config.make.in: Add have-mfma4 entry.
31750         * configure.in: Substitute libc_cv_cc_fma4.
31751         * math/Makefile (dbl-only-routines): Add sincostab.
31752         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31753         Use __sincostab not sincos.
31754         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31755         name is a macro.
31756         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31757         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31759         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31760         using __copysign.
31761         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31762         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31763         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31764         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31765         and __inv.
31766         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31767         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31768         __copysign.
31769         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31770         define aliases when function name is a macro.
31771         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31772         sysdeps/ieee754/dbl-64/sincos.tbl.
31773         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31774         fma4-enabled routines.
31775         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31776         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31777         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31778         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31779         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31780         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31781         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31782         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31783         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31784         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31785         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31786         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31787         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31788         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31789         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31790         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31791         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31792         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31793         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31794         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31795         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31796         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31797         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31798         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31799         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31800         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31801         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31802         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31803         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31804         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31805
31806         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31807         rename.
31808         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31809         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31810         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31811         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31813         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31814         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31815         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31816
31817 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31818
31819         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31820
31821 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31822
31823         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31824
31825         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31826         prediction.
31827         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31828
31829         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31830         Remove unused variable magic_bits.
31831         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31832
31833         * string/strnlen.c: Define and use STRNLEN macro.
31834         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31835         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31836         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31837         * wcsmbs/wcslen.c: Define and use WCSLEN.
31838         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31839         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31840         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31841         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31842         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31843         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31844         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31845
31846 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31847
31848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31849         strnlen-sse2-no-bsf.
31850         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31851         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31852         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31853         Add strnlen support.
31854         (USE_AS_STRNLEN): New macro.
31855         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31856         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31857         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31858         * sysdeps/x86_64/wcslen.S: New file.
31859
31860 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31861
31862         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31863         XMM-moves are used for copying on small sizes.
31864
31865 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31866
31867         * wcsmbs/Makefile (strop-tests): Add wcschr.
31868         * wcsmbs/test-wcschr.c: New file.
31869         * string/test-strchr.c: Update.
31870         Add wcschr support.
31871         (WIDE): New macro.
31872
31873 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31874
31875         * wcsmbs/Makefile (strop-tests): Add wcslen.
31876         * wcsmbs/test-wcslen.c: New file.
31877         * string/test-strlen.c: Update.
31878         Add wcslen support.
31879         (WIDE): New macro.
31880
31881 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31882
31883         * po/it.po: Update from translation team.
31884
31885 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31886
31887         * sysdeps/x86_64/wcscmp.S: Update.
31888         Fix wrong comparison semantics.
31889         wcscmp shall use signed comparison not unsigned.
31890         Don't use substraction to avoid overflow bug.
31891         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31892         * wcsmbc/wcscmp.c: Likewise.
31893         * string/test-strcmp.c: Likewise.
31894         Add new tests to check cases with negative values.
31895
31896 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31897
31898         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31899         * sysdeps/x86_64/dla.h: ...here.  New file.
31900         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31901         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31902         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31903         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31904         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31905         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31906         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31907         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31908         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31909
31910 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31911
31912         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31913         __ynl_finite aliases.
31914
31915 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31916
31917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31918
31919         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31920         define DLA_FMA.
31921         [DLA_FMA] (EMULV): Use DLA_FMA.
31922         [DLA_FMA] (MUL12): Use EMULV.
31923         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31924         that are not needed.
31925         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31926         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31929         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31930         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31931         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31932
31933 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31934
31935         * math/s_nan.c: Undef __nan.
31936         * math/s_nanf.c: Undef __nanf.
31937         * math/s_nanl.c: Undef __nanl.
31938         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31939         "math_private.h".
31940
31941 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31942
31943         * math/s_catan.c: Add branch predictions.
31944         * math/s_catanf.c: Likewise.
31945         * math/s_catanh.c: Likewise.
31946         * math/s_catanhf.c: Likewise.
31947         * math/s_catanhl.c: Likewise.
31948         * math/s_catanl.c: Likewise.
31949         * math/s_cexp.c: Likewise.
31950         * math/s_cexpf.c: Likewise.
31951         * math/s_cexpl.c: Likewise.
31952         * math/s_clog.c: Likewise.
31953         * math/s_clog10.c: Likewise.
31954         * math/s_clog10f.c: Likewise.
31955         * math/s_clog10l.c: Likewise.
31956         * math/s_clogf.c: Likewise.
31957         * math/s_clogl.c: Likewise.
31958         * math/s_csqrt.c: Likewise.
31959         * math/s_csqrtf.c: Likewise.
31960         * math/s_csqrtl.c: Likewise.
31961         * math/s_ctanf.c: Likewise.
31962         * math/s_ctanh.c: Likewise.
31963         * math/s_ctanhf.c: Likewise.
31964         * math/s_ctanhl.c: Likewise.
31965         * math/s_ctanl.c: Likewise.
31966
31967         * math/math_private.h: Define __nan, __nanf, __nanl.
31968         * math/s_cacosh.c: Include <math_private.h>.
31969         * math/s_cacoshl.c: Likewise.
31970         * math/s_casinh.c: Likewise.
31971         * math/s_casinhf.c: Likewise.
31972         * math/s_casinhl.c: Likewise.
31973         * math/s_ccos.c: Rely entire on ccosh.
31974         * math/s_ccosf.c: Rely entire on ccoshf.
31975         * math/s_ccosl.c: Rely entirely on ccoshl.
31976         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31977         Remove tests for FE_INVALID.
31978         * math/s_ccoshf.c: Likewise.
31979         * math/s_ccoshl.c: Likewise.
31980         * math/s_csin.c: Likewise.
31981         * math/s_csinf.c: Likewise.
31982         * math/s_csinh.c Likewise.
31983         * math/s_csinhf.c: Likewise.
31984         * math/s_csinhl.c: Likewise.
31985         * math/s_csinl.c: Likewise.
31986         * math/s_ctan.c: Likewise.
31987         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31988         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31989         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31990
31991 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
31992
31993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31994         compilation problems.
31995
31996         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31997         __builtin_expect.
31998
31999 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32000
32001         * sysdeps/i386/configure.in: Test for -mfma4 option.
32002         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32003         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32004         COMMON_CPUID_INDEX_80000001.
32005         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32006         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32007         use it if FMA3 is not supported.
32008         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32009
32010         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32011         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32012
32013 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32014
32015         [BZ #12892]
32016         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32017         it would create a cycle with a link time dependency.
32018
32019 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32020
32021         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32022         instruction.
32023         * string/Makefile (strop-tests): Add rawmemchr.
32024         * string/test-rawmemchr.c: New file.
32025
32026         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32027         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32028         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32029         when compiling str{,n}casecmp and when AVX is available.  Hook up
32030         new optimized code in initializers.
32031
32032 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32033
32034         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32035         __feraiseexcept instead of feraiseexcept.
32036
32037 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32038
32039         * math/math_private.h: Define defaults for libc_fetestexcept and
32040         libc_feupdateenv.
32041         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32042         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32043         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32044         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32045         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32046         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32047         libc_fetestexcept and libc_feupdateenv.
32048
32049         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32050         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32051         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32052         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32053         libc_feholdexcept_setround.
32054
32055         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32056         Add s_nearbyint-c and s_nearbyintf-c.
32057         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32058         nearbyintf inlines.
32059         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32060         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32061         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32062         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32063
32064         * math/math_private.h: Define defaults for libc_fegetround,
32065         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32066         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32067         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32068         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32069         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32070         standard functions.
32071         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32072         Remove comments and hacks for old compiler versions.
32073         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32074         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32075         libc_feholdexceptl.
32076
32077 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32078
32079         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32080         (__feraiseexcept_renamed): Add __NTH.
32081         (feraiseexcept): Add __NTH.  Rename local variables to fix
32082         namespace violations.
32083
32084 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32085
32086         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32087
32088         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32089
32090         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32091         recently added interfaces.
32092         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32093
32094         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32095         about macro parameter expansion.
32096
32097         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32098         __NO_MATH_INLINES is defined.  Cleanups.
32099
32100         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32101         and __floorf is target has SSE4.1.
32102         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32103         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32104         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32105         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32106
32107         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32108         name.
32109         (floorf): Likewise.
32110
32111         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32112
32113 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32114
32115         * misc/sys/cdefs.h: Fix last change.
32116
32117         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32118         database lookup.
32119
32120 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32121
32122         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32123
32124         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32125         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32126         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32127         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32128         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32129         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32130         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32131         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32132         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32133         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32134         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32135         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32136         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32137         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32138         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32139         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32140         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32141         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32142         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32143         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32144         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32145         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32146
32147         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32148         ceil, ceilf, floor, floorf.
32149
32150         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32151         Perform IRELATIVE relocations last.
32152
32153         * elf/do-rel.h: Add another parameter nrelative, replacing the
32154         local variable with the same name.  Change name of the function
32155         to end in Rel or Rela (uppercase).
32156         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32157         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32158         elf_dynamic_do_##reloc function.
32159
32160 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32161
32162         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32163         is sufficient, at least on modern CPUs.
32164
32165         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32166
32167         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32168         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32169
32170         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32171         __expl_finite.
32172         * math/bits/math-finite.h: Add entries for exp.
32173         * math/e_expl.c: Add __*_finite alias.
32174         * sysdeps/i386/fpu/e_exp.S: Likewise.
32175         * sysdeps/i386/fpu/e_expf.S: Likewise.
32176         * sysdeps/i386/fpu/e_expl.c: Likewise.
32177         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32178         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32179         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32180         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32181         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32182         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32183         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32184
32185         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32186         is sufficient, at least on modern CPUs.
32187
32188         * ctype/ctype-info.c (__ctype_init): Define.
32189         * include/ctype.h (__ctype_init): Declare.
32190         (__ctype_b_loc): The variable is always initialized.
32191         (__ctype_toupper_loc): Likewise.
32192         (__ctype_tolower_loc): Likewise.
32193         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32194         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32195
32196 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32197
32198         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32199
32200         * configure.in: Also look in $cxxmachine/include for C++ system
32201         headers.
32202
32203 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32204
32205         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32206         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32207         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32208         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32209         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32210         (USE_AS_WMEMCMP): New macro.
32211         Fixing indents.
32212         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32213         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32214         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32215         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32217         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32218         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32219         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32220         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32221         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32222         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32223         (USE_AS_WMEMCMP): New macro.
32224         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32225         * sysdeps/string/test-memcmp.c: Update.
32226         Fix simple_wmemcmp.
32227         Add new tests.
32228         * wcsmbs/wmemcmp.c: Update.
32229         (WMEMCMP): New macro.
32230         Fix overflow bug.
32231
32232 2011-10-12  Andreas Jaeger  <aj@suse.de>
32233
32234         [BZ #13268]
32235         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32236
32237 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32238
32239         * libio/iofwide.c (do_length): Avoid warning.
32240
32241         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32242
32243 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32244
32245         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32246
32247         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32248         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32249         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32250         * sysdeps/i386/i686/fpu/e_log.S: New file.
32251         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32252         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32253
32254         * ctype/ctype.h: Add support for inlined isXXX functions when
32255         compiling C++ code.
32256
32257 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32258
32259         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32260
32261         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32262
32263 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32264
32265         [BZ #13291]
32266         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32267
32268 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32269
32270         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32271         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32272         feraiseexcept.
32273
32274         * sysdeps/x86_64/memrchr.S: Check for zero size.
32275
32276         * string/stratcliff.c: Add memrchr tests.
32277
32278 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32279
32280         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32281         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32282         rawmemchr-sse2 rawmemchr-sse2-bsf.
32283         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32284         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32285         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32286         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32287         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32288         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32289         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32290         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32291         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32292         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32293         * string/memrchr.c (MEMRCHR): New macro.
32294
32295 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32296
32297         Add integration with gcc's -ffinite-math-only and optimize wrapper
32298         functions in libm.
32299         * Versions.def: Define GLIBC_2.15 version for libm.
32300         * math/Makefile (headers): Add bits/math-finite.h.
32301         * math/bits/math-finite.h: New file.
32302         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32303         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32304         * math/e_acoshl.c: Add __*_finite alias.
32305         * math/e_acosl.c: Likewise.
32306         * math/e_asinl.c: Likewise.
32307         * math/e_atan2l.c: Likewise.
32308         * math/e_atanhl.c: Likewise.
32309         * math/e_coshl.c: Likewise.
32310         * math/e_exp10.c: Likewise.
32311         * math/e_exp10f.c: Likewise.
32312         * math/e_exp10l.c: Likewise.
32313         * math/e_exp2l.c: Likewise.
32314         * math/e_fmodl.c: Likewise.
32315         * math/e_gammal_r.c: Likewise.
32316         * math/e_hypotl.c: Likewise.
32317         * math/e_j0l.c: Likewise.
32318         * math/e_j1l.c: Likewise.
32319         * math/e_jnl.c: Likewise.
32320         * math/e_lgammal_r.c: Likewise.
32321         * math/e_log10l.c: Likewise.
32322         * math/e_log2l.c: Likewise.
32323         * math/e_logl.c: Likewise.
32324         * math/e_powl.c: Likewise.
32325         * math/e_sinhl.c: Likewise.
32326         * math/e_sqrtl.c: Likewise.
32327         * math/e_scalb.c: Completely rewritten and optimized.
32328         * math/e_scalbf.c: Likewise.
32329         * math/e_scalbl.c: Likewise.
32330         * math/w_acos.c: Likewise.
32331         * math/w_acosf.c: Likewise.
32332         * math/w_acosl.c: Likewise.
32333         * math/w_acosh.c: Likewise.
32334         * math/w_acoshf.c: Likewise.
32335         * math/w_acoshl.c: Likewise.
32336         * math/w_asin.c: Likewise.
32337         * math/w_asinf.c: Likewise.
32338         * math/w_asinl.c: Likewise.
32339         * math/w_atan2.c: Likewise.
32340         * math/w_atan2f.c: Likewise.
32341         * math/w_atan2l.c: Likewise.
32342         * math/w_atanh.c: Likewise.
32343         * math/w_atanhf.c: Likewise.
32344         * math/w_atanhl.c: Likewise.
32345         * math/w_exp10.c: Likewise.
32346         * math/w_exp10f.c: Likewise.
32347         * math/w_exp10l.c: Likewise.
32348         * math/w_fmod.c: Likewise.
32349         * math/w_fmodf.c: Likewise.
32350         * math/w_fmodl.c: Likewise.
32351         * math/w_j0.c: Likewise.
32352         * math/w_j0f.c: Likewise.
32353         * math/w_j0l.c: Likewise.
32354         * math/w_j1.c: Likewise.
32355         * math/w_j1f.c: Likewise.
32356         * math/w_j1l.c: Likewise.
32357         * math/w_jn.c: Likewise.
32358         * math/w_jnf.c: Likewise.
32359         * math/w_log.c: Likewise.
32360         * math/w_logf.c: Likewise.
32361         * math/w_logl.c: Likewise.
32362         * math/w_log10.c: Likewise.
32363         * math/w_log10f.c: Likewise.
32364         * math/w_log10l.c: Likewise.
32365         * math/w_log2.c: Likewise.
32366         * math/w_log2f.c: Likewise.
32367         * math/w_log2l.c: Likewise.
32368         * math/w_pow.c: Likewise.
32369         * math/w_powf.c: Likewise.
32370         * math/w_powl.c: Likewise.
32371         * math/w_remainder.c: Likewise.
32372         * math/w_remainderf.c: Likewise.
32373         * math/w_remainderl.c: Likewise.
32374         * math/w_scalb.c: Likewise.
32375         * math/w_scalbf.c: Likewise.
32376         * math/w_scalbl.c: Likewise.
32377         * math/w_sqrt.c: Likewise.
32378         * math/w_sqrtf.c: Likewise.
32379         * math/w_sqrtl.c: Likewise.
32380         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32381         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32382         used.
32383         * math/math_private.h: Declare __kernel_standard_f.
32384         * math/w_cosh.c: Remove cruft and optimize a bit.
32385         * math/w_coshf.c: Likewise.
32386         * math/w_coshl.c: Likewise.
32387         * math/w_exp2.c: Likewise.
32388         * math/w_exp2f.c: Likewise.
32389         * math/w_exp2l.c: Likewise.
32390         * math/w_hypot.c: Likewise.
32391         * math/w_hypotf.c: Likewise.
32392         * math/w_hypotl.c: Likewise.
32393         * math/w_lgamma.c: Likewise.
32394         * math/w_lgamma_r.c: Likewise.
32395         * math/w_lgammaf.c: Likewise.
32396         * math/w_lgammaf_r.c: Likewise.
32397         * math/w_lgammal.c: Likewise.
32398         * math/w_lgammal_r.c: Likewise.
32399         * math/w_sinh.c: Likewise.
32400         * math/w_sinhf.c: Likewise.
32401         * math/w_sinhl.c: Likewise.
32402         * math/w_tgamma.c: Likewise.
32403         * math/w_tgammaf.c: Likewise.
32404         * math/w_tgammal.c: Likewise.
32405         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32406         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32407         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32408         Minor optimizations.  Pretty printing.  Remove cruft.
32409         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32410         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32411         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32412         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32413         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32414         * sysdeps/i386/fpu/e_asin.S: Likewise.
32415         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32416         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32417         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32418         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32419         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32420         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32421         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32422         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32423         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32424         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32425         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32426         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32427         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32428         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32429         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32430         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32431         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32432         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32433         * sysdeps/i386/fpu/e_log.S: Likewise.
32434         * sysdeps/i386/fpu/e_log10.S: Likewise.
32435         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32436         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32437         * sysdeps/i386/fpu/e_log2.S: Likewise.
32438         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32439         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32440         * sysdeps/i386/fpu/e_logf.S: Likewise.
32441         * sysdeps/i386/fpu/e_logl.S: Likewise.
32442         * sysdeps/i386/fpu/e_pow.S: Likewise.
32443         * sysdeps/i386/fpu/e_powf.S: Likewise.
32444         * sysdeps/i386/fpu/e_powl.S: Likewise.
32445         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32446         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32447         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32448         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32449         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32450         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32451         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32452         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32453         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32454         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32455         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32456         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32457         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32458         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32459         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32460         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32461         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32462         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32463         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32464         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32465         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32466         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32467         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32468         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32470         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32471         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32472         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32473         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32474         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32475         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32476         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32477         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32478         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32479         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32480         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32481         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32482         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32483         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32484         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32485         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32486         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32487         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32488         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32489         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32490         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32491         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32492         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32493         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32494         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32495         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32496         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32497         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32498         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32499         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32500         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32501         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32502         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32503         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32504         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32505         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32506         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32507         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32508         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32509         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32510         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32511         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32512         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32513         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32514         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32515         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32516         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32518         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32519         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32520         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32521         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32522         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32523         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32524         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32525         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32526         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32527         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32528         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32529         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32530         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32531         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32532         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32533         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32534         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32535         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32536         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32537         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32538         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32539         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32540         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32541         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32542         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32543         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32544         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32545         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32546         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32547         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32548         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32549         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32550         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32551         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32552         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32553         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32554         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32555         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32556         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32557         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32558         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32559         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32560         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32561         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32562         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32563         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32564         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
32565         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32566         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32567         (__isnanf): Likewise.
32568         (__isinf_ns): Likewise.
32569         (__isinf_nsf): Likewise.
32570         (__finite): Likewise.
32571         (__finitef): Likewise.
32572         (__ieee754_sqrt): Define as macro.
32573         (__ieee754_sqrtf): Define as macro.
32574         (__ieee754_sqrtl): Define as macro.
32575         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32576         inlined copy.
32577         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32578         __FINITE_MATH_ONLY__ consistent.
32579         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32580
32581 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
32582
32583         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32584         of rawmemchr.
32585
32586         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32587
32588 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
32589
32590         * po/ja.po: Update from translation team.
32591
32592 2011-10-08  Roland McGrath  <roland@hack.frob.com>
32593
32594         * locale/programs/locarchive.c (prepare_address_space): New function.
32595         (create_archive, enlarge_archive, open_archive): Use it.
32596
32597         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32598         inside [SHARED], where it is used.
32599
32600         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32601
32602         * nss/getent.c (netgroup_keys): Remove unused variable.
32603         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32604
32605 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32606
32607         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32608         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32609         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32610         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32611         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32612         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32613         * math/Makefile (libm-calls): Add s_isinf_ns.
32614         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32615         * math/multc3.c: Likewise.
32616         * math/s_casin.c: Likewise.
32617         * math/s_casinf.c: Likewise.
32618         * math/s_casinl.c: Likewise.
32619         * math/s_ccos.c: Likewise.
32620         * math/s_ccosf.c: Likewise.
32621         * math/s_ccosl.c: Likewise.
32622         * math/s_ctan.c: Likewise.
32623         * math/s_ctanf.c: Likewise.
32624         * math/s_ctanh.c: Likewise.
32625         * math/s_ctanhf.c: Likewise.
32626         * math/s_ctanhl.c: Likewise.
32627         * math/s_ctanl.c: Likewise.
32628         * math/w_fmod.c: Likewise.
32629         * math/w_fmodf.c: Likewise.
32630         * math/w_fmodl.c: Likewise.
32631         * math/w_remainder.c: Likewise.
32632         * math/w_remainderf.c: Likewise.
32633         * math/w_remainderl.c: Likewise.
32634         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32635         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32636         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32637         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32638         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32639         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32640         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32641         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32642
32643         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32644         of the number.
32645         * stdio-common/printf_fphex.c: Likewise.
32646         * stdio-common/printf_size.c: Likewise.
32647
32648         * math/e_exp10.c: Include math_private.h using <...> not "...".
32649         * math/e_exp10f.c: Likewise.
32650         * math/e_exp10l.c: Likewise.
32651         * math/e_exp2l.c: Likewise.
32652         * math/e_j0l.c: Likewise.
32653         * math/e_j1l.c: Likewise.
32654         * math/e_jnl.c: Likewise.
32655         * math/e_lgammal_r.c: Likewise.
32656         * math/e_rem_pio2l.c: Likewise.
32657         * math/e_scalb.c: Likewise.
32658         * math/e_scalbf.c: Likewise.
32659         * math/e_scalbl.c: Likewise.
32660         * math/k_cosl.c: Likewise.
32661         * math/k_sinl.c: Likewise.
32662         * math/k_tanl.c: Likewise.
32663         * math/s_cacoshf.c: Likewise.
32664         * math/s_catan.c: Likewise.
32665         * math/s_catanf.c: Likewise.
32666         * math/s_catanh.c: Likewise.
32667         * math/s_catanhf.c: Likewise.
32668         * math/s_catanhl.c: Likewise.
32669         * math/s_catanl.c: Likewise.
32670         * math/s_ccosh.c: Likewise.
32671         * math/s_ccoshf.c: Likewise.
32672         * math/s_ccoshl.c: Likewise.
32673         * math/s_cexp.c: Likewise.
32674         * math/s_cexpf.c: Likewise.
32675         * math/s_cexpl.c: Likewise.
32676         * math/s_clog.c: Likewise.
32677         * math/s_clog10.c: Likewise.
32678         * math/s_clog10f.c: Likewise.
32679         * math/s_clog10l.c: Likewise.
32680         * math/s_clogf.c: Likewise.
32681         * math/s_clogl.c: Likewise.
32682         * math/s_csin.c: Likewise.
32683         * math/s_csinf.c: Likewise.
32684         * math/s_csinh.c: Likewise.
32685         * math/s_csinhf.c: Likewise.
32686         * math/s_csinhl.c: Likewise.
32687         * math/s_csinl.c: Likewise.
32688         * math/s_csqrt.c: Likewise.
32689         * math/s_csqrtf.c: Likewise.
32690         * math/s_csqrtl.c: Likewise.
32691         * math/s_ctan.c: Likewise.
32692         * math/s_ctanf.c: Likewise.
32693         * math/s_ctanh.c: Likewise.
32694         * math/s_ctanhf.c: Likewise.
32695         * math/s_ctanhl.c: Likewise.
32696         * math/s_ctanl.c: Likewise.
32697         * math/s_ldexp.c: Likewise.
32698         * math/s_ldexpf.c: Likewise.
32699         * math/s_ldexpl.c: Likewise.
32700         * math/s_significand.c: Likewise.
32701         * math/s_significandf.c: Likewise.
32702         * math/s_significandl.c: Likewise.
32703         * math/w_acos.c: Likewise.
32704         * math/w_acosf.c: Likewise.
32705         * math/w_acosh.c: Likewise.
32706         * math/w_acoshf.c: Likewise.
32707         * math/w_acoshl.c: Likewise.
32708         * math/w_acosl.c: Likewise.
32709         * math/w_asin.c: Likewise.
32710         * math/w_asinf.c: Likewise.
32711         * math/w_asinl.c: Likewise.
32712         * math/w_atan2.c: Likewise.
32713         * math/w_atan2f.c: Likewise.
32714         * math/w_atan2l.c: Likewise.
32715         * math/w_atanh.c: Likewise.
32716         * math/w_atanhf.c: Likewise.
32717         * math/w_atanhl.c: Likewise.
32718         * math/w_cosh.c: Likewise.
32719         * math/w_coshf.c: Likewise.
32720         * math/w_coshl.c: Likewise.
32721         * math/w_dremf.c: Likewise.
32722         * math/w_exp10.c: Likewise.
32723         * math/w_exp10f.c: Likewise.
32724         * math/w_exp10l.c: Likewise.
32725         * math/w_exp2.c: Likewise.
32726         * math/w_exp2f.c: Likewise.
32727         * math/w_fmod.c: Likewise.
32728         * math/w_fmodf.c: Likewise.
32729         * math/w_fmodl.c: Likewise.
32730         * math/w_hypot.c: Likewise.
32731         * math/w_hypotf.c: Likewise.
32732         * math/w_hypotl.c: Likewise.
32733         * math/w_j0.c: Likewise.
32734         * math/w_j0f.c: Likewise.
32735         * math/w_j0l.c: Likewise.
32736         * math/w_j1.c: Likewise.
32737         * math/w_j1f.c: Likewise.
32738         * math/w_j1l.c: Likewise.
32739         * math/w_jn.c: Likewise.
32740         * math/w_jnf.c: Likewise.
32741         * math/w_jnl.c: Likewise.
32742         * math/w_lgamma.c: Likewise.
32743         * math/w_lgamma_r.c: Likewise.
32744         * math/w_lgammaf.c: Likewise.
32745         * math/w_lgammaf_r.c: Likewise.
32746         * math/w_lgammal.c: Likewise.
32747         * math/w_lgammal_r.c: Likewise.
32748         * math/w_log.c: Likewise.
32749         * math/w_log10.c: Likewise.
32750         * math/w_log10f.c: Likewise.
32751         * math/w_log10l.c: Likewise.
32752         * math/w_log2.c: Likewise.
32753         * math/w_log2f.c: Likewise.
32754         * math/w_log2l.c: Likewise.
32755         * math/w_logf.c: Likewise.
32756         * math/w_logl.c: Likewise.
32757         * math/w_pow.c: Likewise.
32758         * math/w_powf.c: Likewise.
32759         * math/w_powl.c: Likewise.
32760         * math/w_remainder.c: Likewise.
32761         * math/w_remainderf.c: Likewise.
32762         * math/w_remainderl.c: Likewise.
32763         * math/w_scalb.c: Likewise.
32764         * math/w_scalbf.c: Likewise.
32765         * math/w_scalbl.c: Likewise.
32766         * math/w_sinh.c: Likewise.
32767         * math/w_sinhf.c: Likewise.
32768         * math/w_sinhl.c: Likewise.
32769         * math/w_sqrt.c: Likewise.
32770         * math/w_sqrtf.c: Likewise.
32771         * math/w_sqrtl.c: Likewise.
32772         * math/w_tgamma.c: Likewise.
32773         * math/w_tgammaf.c: Likewise.
32774         * math/w_tgammal.c: Likewise.
32775
32776         * po/ja.po: Update from translation team.
32777
32778 2011-09-29  Andreas Jaeger  <aj@suse.de>
32779
32780         [BZ #13179]
32781         * sunrpc/netname.c (netname2host): Fix logic.
32782
32783         [BZ #6779]
32784         [BZ #6783]
32785         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32786         correctly.
32787         * math/w_remainder.c (__remainder): Likewise.
32788         * math/w_remainderf.c (__remainderf): Likewise.
32789         * math/libm-test.inc (remainder_test): Add test cases.
32790
32791 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32792
32793         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32794         sdiv_qrnnd.
32795
32796 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32797
32798         * string/test-memcmp.c: Avoid unncessary #defines.
32799         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32800
32801 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32802
32803         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32804         Use new sse2 version for core i3 - i7 as it's faster
32805         than sse42 version.
32806         (bit_Prefer_PMINUB_for_stringop): New.
32807         * sysdeps/x86_64/rawmemchr.S: Update.
32808         Replace with faster SSE2 version.
32809         * sysdeps/x86_64/memrchr.S: New file.
32810         * sysdeps/x86_64/memchr.S: Update.
32811         Replace with faster SSE2 version.
32812
32813 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32814
32815         * elf/dl-load.c (lose): Add cast to avoid warning.
32816
32817 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32818
32819         * po/ca.po: Update from translation team.
32820
32821         * inet/getnetgrent_r.c: Hook up nscd.
32822         * nscd/Makefile (routines): Add nscd_netgroup.
32823         (nscd-modules): Add netgroupcache.
32824         (CFLAGS-netgroupcache.c): Define.
32825         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32826         (cache_search): Add const to second parameter.
32827         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32828         INNETGR.
32829         (dbs): Add netgrdb entry.
32830         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32831         (verify_persistent_db): Handle netgrdb.
32832         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32833         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32834         GETFDNETGR.
32835         (netgroup_response_header): Define.
32836         (innetgroup_response_header): Define.
32837         (datahead): Add netgroup_response_header and innetgroup_response_header
32838         elements.
32839         * nscd/nscd.conf: Add entries for netgroup cache.
32840         * nscd/nscd.h (dbtype): Add netgrdb.
32841         (_PATH_NSCD_NETGROUP_DB): Define.
32842         (netgroup_iov_disabled): Declare.
32843         (xmalloc, xcalloc, xrealloc): Move declarations here.
32844         (cache_search): Adjust prototype.
32845         Add netgroup-related prototypes.
32846         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32847         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32848         (__nscd_innetgr): Declare.
32849         * nscd/selinux.c (perms): Use access_vector_t as element type and
32850         add netgroup-related initializers.
32851         * nscd/netgroupcache.c: New file.
32852         * nscd/nscd_netgroup.c: New file.
32853         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32854         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32855         For four parameters use innetgr.
32856         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32857         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32858         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32859         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32860
32861         * nscd/connections.c (register_traced_file): Don't register file
32862         for disabled databases.
32863
32864 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32865
32866         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32867
32868         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32869         from tree and freeing node.
32870
32871 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32872
32873         * nss/nsswitch.c (__nss_database_lookup): Handle
32874         nss_parse_service_list out of memory case.
32875
32876 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32877
32878         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32879         out of memory case.
32880
32881 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32882
32883         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32884         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32885         pass it down.
32886         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32887         elf_machine_rela, elf_machine_lazy_rel.
32888         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32889         (ELF_DYNAMIC_DO_REL): Likewise.
32890         (ELF_DYNAMIC_DO_RELA): Likewise.
32891         (ELF_DYNAMIC_RELOCATE): Likewise.
32892         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32893         to ELF_DYNAMIC_DO_REL.
32894         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32895         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32896         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32897         elf_machine_rela.
32898         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32899         skip_ifunc, don't call ifunc function if non-zero.
32900         (elf_machine_rela): Likewise.
32901         (elf_machine_lazy_rel): Likewise.
32902         (elf_machine_lazy_rela): Likewise.
32903         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32904         (elf_machine_lazy_rel): Likewise.
32905         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32906         Likewise.
32907         (elf_machine_lazy_rel): Likewise.
32908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32909         Likewise.
32910         (elf_machine_lazy_rel): Likewise.
32911         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32912         (elf_machine_lazy_rel): Likewise.
32913         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32914         (elf_machine_lazy_rel): Likewise.
32915         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32916         (elf_machine_lazy_rel): Likewise.
32917         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32918         (elf_machine_lazy_rel): Likewise.
32919         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32920         (elf_machine_lazy_rel): Likewise.
32921         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32922         (elf_machine_lazy_rel): Likewise.
32923
32924 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32925
32926         * nss/nss_files/files-init.c (_nss_files_init): Use static
32927         initialization for all the *_traced_file variables.
32928
32929 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32930
32931         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32932
32933 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32934
32935         [BZ #13226]
32936         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32937
32938 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32939
32940         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32941         Reread the line before reparsing it.
32942
32943 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32944
32945         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32946
32947 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32948             Maxim Kuvyrkov  <maxim@codesourcery.com>
32949             Joseph Myers  <joseph@codesourcery.com>
32950
32951         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32952         if needed for __stack_chk_guard.
32953
32954 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32955
32956         * sysdeps/posix/spawni.c (script_execute): Always define it.
32957         It will be optimized away if unused.
32958         (maybe_script_execute): New function.
32959         (__spawni): Call it.
32960
32961         * Makerules: Don't include tls.make.
32962         (config-tls): Always set to thread.
32963         * tls.make.c: File removed.
32964
32965 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32966
32967         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32968         * config.make.in (CPPFLAGS-config): New substituted variable.
32969
32970 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32971
32972         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32973
32974         [BZ #13192]
32975         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32976         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32977
32978 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32979
32980         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32981         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32982         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32983         (CALL_FAIL): Likewise.
32984         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32985         (CALL_FAIL): Macro removed.
32986         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32987
32988 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32989
32990         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32991         for __FINITE_MATH_ONLY__ == 1.
32992
32993 2011-09-15  Andreas Schwab  <schwab@redhat.com>
32994
32995         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32996         __ieee754_sqrt instead of sqrt.
32997         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32998         __ieee754_sqrtf instead of sqrtf.
32999         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33000         __floorf instead of floorf.
33001         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33002         __floorf, __truncf instead of floorf, truncf.
33003
33004 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33005
33006         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33007
33008         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33009         __extern_always_inline.
33010         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33011         32-bit.
33012
33013 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33014
33015         * elf/rtld.c (dl_main): Also relocate in dependency order when
33016         doing symbol dependency testing.
33017
33018 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33019
33020         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33021         Always define `refsym'.
33022
33023 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33024
33025         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33026         (__FD_ELT): Renamed from __FDELT.
33027         * misc/bits/select2.h (__FD_ELT): Likewise.
33028         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33029         __FD_MASK instead of __FDELT, __FDMASK.
33030         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33031         Likewise.
33032         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33033         Likewise.
33034
33035         * elf/Makefile (gen-ldd): Fix pattern.
33036
33037         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33038         (init_tls): Likewise.
33039
33040 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33041
33042         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33043
33044 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33045
33046         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33047         `struct cmsghdr *' instead of `void *'.
33048         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33049         Likewise.
33050
33051 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33052
33053         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33054         if non-absolute.
33055         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33056         ldd_rewrite_script.
33057
33058 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33059
33060         * configure.in: Remove --with-tls option.
33061         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33062         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33063         out in case it is missing.
33064         * sysdeps/ia64/elf/configure.in: Likewise.
33065         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33066         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33067         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33068         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33069         * sysdeps/sh/elf/configure.in: Likewise.
33070         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33071         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33072         * sysdeps/x86_64/elf/configure.in: Likewise.
33073         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33074         * sysdeps/mach/hurd/tls.h: Likewise.
33075
33076         [BZ #13067]
33077         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33078
33079         [BZ #13090]
33080         * configure.in: Fix use of AC_INIT.
33081
33082         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33083
33084 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33085
33086         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33087         __set_errno.
33088         * malloc/hooks.c: Likewise.
33089
33090         [BZ #11929]
33091         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33092         variables statically.
33093         (narenas): Initialize.
33094         (list_lock): Initialize.
33095         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33096         initializtion of main_arena and list_lock.  Small cleanups.
33097         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33098         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33099         Add initializers to main_arena and mp_.
33100         (malloc_state): Remove pagesize member.  Change all users to use
33101         GLRO(dl_pagesize).
33102
33103         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33104         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33105         is always initialized.
33106
33107         * malloc/malloc.c: Removed unused configurations and dead code.
33108         * malloc/arena.c: Likewise.
33109         * malloc/hooks.c: Likewise.
33110         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33111
33112         * include/tls.h: Removed.  USE___THREAD must always be defined.
33113         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33114         * elf/dl-libc.c: Likewise.
33115         * elf/dl-tsd.c: Likewise.
33116         * include/errno.h: Likewise.
33117         * include/netdb.h: Likewise.
33118         * include/resolv.h: Likewise.
33119         * inet/herrno-loc.c: Likewise.
33120         * inet/herrno.c: Likewise.
33121         * malloc/arena.c: Likewise.
33122         * malloc/hooks.c: Likewise.
33123         * malloc/malloc.c: Likewise.
33124         * resolv/res-state.c: Likewise.
33125         * resolv/res_libc.c: Likewise.
33126         * sysdeps/i386/dl-machine.h: Likewise.
33127         * sysdeps/ia64/dl-machine.h: Likewise.
33128         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33129         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33130         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33131         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33132         * sysdeps/sh/dl-machine.h: Likewise.
33133         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33134         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33135         * sysdeps/unix/i386/sysdep.S: Likewise.
33136         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33137         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33138         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33140         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33141         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33142         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33143         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33144         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33145         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33146         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33147         * sysdeps/x86_64/dl-machine.h: Likewise.
33148         * tls.make.c: Likewise.
33149
33150         * configure.in: Remove --with-__thread option.  Make tests for
33151         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33152         tls_model attribute fail if no support is available.  Remove
33153         USE_IN_LIBIO.
33154         * Makeconfig: Adjust for dropped configure option.  All features are
33155         now mandatory.
33156         * Makerules: Likewise.
33157         * Versions.def: Likewise.
33158         * argp/argp-fmtstream.c: Likewise.
33159         * argp/argp-fmtstream.h: Likewise.
33160         * argp/argp-help.c: Likewise.
33161         * assert/assert.c: Likewise.
33162         * config.h.in: Likewise.
33163         * config.make.in: Likewise.
33164         * configure: Likewise.
33165         * configure.in: Likewise.
33166         * csu/Versions: Likewise.
33167         * csu/init.c: Likewise.
33168         * elf/tst-audit2.c: Likewise.
33169         * elf/tst-tls10.c: Likewise.
33170         * elf/tst-tls10.h: Likewise.
33171         * elf/tst-tls11.c: Likewise.
33172         * elf/tst-tls12.c: Likewise.
33173         * elf/tst-tls14.c: Likewise.
33174         * elf/tst-tlsmod11.c: Likewise.
33175         * elf/tst-tlsmod12.c: Likewise.
33176         * elf/tst-tlsmod13.c: Likewise.
33177         * elf/tst-tlsmod13a.c: Likewise.
33178         * elf/tst-tlsmod14a.c: Likewise.
33179         * elf/tst-tlsmod15b.c: Likewise.
33180         * elf/tst-tlsmod16a.c: Likewise.
33181         * elf/tst-tlsmod16b.c: Likewise.
33182         * elf/tst-tlsmod7.c: Likewise.
33183         * elf/tst-tlsmod8.c: Likewise.
33184         * elf/tst-tlsmod9.c: Likewise.
33185         * gmon/gmon.c: Likewise.
33186         * grp/fgetgrent_r.c: Likewise.
33187         * grp/putgrent.c: Likewise.
33188         * hurd/fopenport.c: Likewise.
33189         * include/libc-symbols.h: Likewise.
33190         * include/tls.h: Likewise.
33191         * intl/gettextP.h: Likewise.
33192         * intl/loadinfo.h: Likewise.
33193         * locale/global-locale.c: Likewise.
33194         * locale/localeinfo.h: Likewise.
33195         * mach/devstream.c: Likewise.
33196         * malloc/arena.c: Likewise.
33197         * malloc/set-freeres.c: Likewise.
33198         * misc/err.c: Likewise.
33199         * misc/getttyent.c: Likewise.
33200         * misc/mntent_r.c: Likewise.
33201         * posix/getopt.c: Likewise.
33202         * posix/wordexp.c: Likewise.
33203         * pwd/fgetpwent_r.c: Likewise.
33204         * resolv/Versions: Likewise.
33205         * resolv/res_hconf.c: Likewise.
33206         * shadow/fgetspent_r.c: Likewise.
33207         * shadow/putspent.c: Likewise.
33208         * stdio-common/printf_fphex.c: Likewise.
33209         * stdio-common/tmpfile.c: Likewise.
33210         * stdlib/abort.c: Likewise.
33211         * stdlib/fmtmsg.c: Likewise.
33212         * sunrpc/auth_unix.c: Likewise.
33213         * sunrpc/clnt_perr.c: Likewise.
33214         * sunrpc/clnt_tcp.c: Likewise.
33215         * sunrpc/clnt_udp.c: Likewise.
33216         * sunrpc/clnt_unix.c: Likewise.
33217         * sunrpc/openchild.c: Likewise.
33218         * sunrpc/svc_simple.c: Likewise.
33219         * sunrpc/svc_tcp.c: Likewise.
33220         * sunrpc/svc_udp.c: Likewise.
33221         * sunrpc/svc_unix.c: Likewise.
33222         * sunrpc/xdr.c: Likewise.
33223         * sunrpc/xdr_array.c: Likewise.
33224         * sunrpc/xdr_rec.c: Likewise.
33225         * sunrpc/xdr_ref.c: Likewise.
33226         * sunrpc/xdr_stdio.c: Likewise.
33227
33228 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33229
33230         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33231
33232 2011-07-03  Andreas Jaeger  <aj@suse.de>
33233
33234         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33235         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33236         regenerate with gen-libm-tests.pl.
33237
33238 2010-05-12  Petr Baudis  <pasky@suse.cz>
33239
33240         [BZ #11589]
33241         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33242         around j0() zero points by switching to j1().
33243         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33244         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33245         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33246         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33247
33248 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33249
33250         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33251         instead of 0.
33252         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33253         instead of 0.
33254         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33255         Patch in part by Pavel Roskin <proski@gnu.org>.
33256
33257         [BZ #13138]
33258         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33259         realloc.
33260         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33261         Free memory block if necessary.
33262
33263         [BZ #12847]
33264         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33265         be NULL.  Don't lock in this case.
33266
33267 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33268
33269         * elf/elf.h (ELFOSABI_GNU): New macro.
33270         (ELFOSABI_LINUX): Define to that.
33271
33272 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33273
33274         * string/strncat.c (strncat): Undef the symbol in case it has been
33275         defined in bits/string.h.
33276
33277 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33278
33279         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33280
33281         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33282         link map.
33283
33284 2011-08-17  Andreas Jaeger  <aj@suse.de>
33285
33286         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33287
33288 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33289             Ian Lance Taylor  <iant@google.com>
33290
33291         * math/libm-test.inc (lround_test): New testcase.
33292         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33293
33294 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33295
33296         * Makefile: Remove support for automatic cvs check-ins.
33297         * Makerules: Likewise.
33298         * config.make.in: Likewise.
33299         * configure.in: Likewise.
33300         * intl/Makefile: Likewise.
33301         * locale/Makefile: Likewise.
33302         * po/Makefile: Likewise.
33303         * posix/Makefile: Likewise.
33304         * sysdeps/gnu/Makefile: Likewise.
33305         * sysdeps/mach/hurd/Makefile: Likewise.
33306         * sysdeps/sparc/sparc32/Makefile: Likewise.
33307
33308         [BZ #13118]
33309         * posix/Makefile (bug-regex32-ENV): Define.
33310         Patch by John Stanley <jpsinthemix@verizon.net>.
33311
33312         * misc/Makefile (headers): Add bits/select2.h.
33313         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33314         * misc/bits/select2.h: New file.
33315         * include/bits/select2.h: New file.
33316         * debug/Makefile (routines): Add fdelt_chk.
33317         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33318         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33319         FD_ISSET.
33320         * debug/fdelt_chk.c: New file.
33321
33322         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33323         * wcsmbs/test-wmemcmp.c: Likewise.
33324         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33325         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33326
33327 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33328
33329         * string/Makefile (strop-tests): Add memcmp.
33330         * string/test-wmemcmp.c: New file.
33331         * string/test-memcmp.c: Add wmemcmp support.
33332
33333 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33334
33335         [BZ #13153]
33336         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33337         2011-07-19 change.
33338
33339         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33340         garbage value in a __mach_port_mod_refs call in the cases of the
33341         task-self and thread-self ports.
33342
33343 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33344
33345         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33346
33347 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33348
33349         * elf/dl-load.c (lose): Check for non-null L.
33350
33351 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33352
33353         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33354
33355         * elf/dl-libc.c (dlerror_run): Pass back error code from
33356         dl_catch_error.
33357
33358         [BZ #13123]
33359         * elf/dl-load.c (lose): Free l_origin if it is valid.
33360
33361         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33362         names.
33363         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33364         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33365         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33366         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33367         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33368         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33369
33370 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33371
33372         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33373         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33374         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33375         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33376         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33377         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33378         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33379         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33380         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33381         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33382
33383 2011-08-15  Alan Modra  <amodra@gmail.com>
33384
33385         [BZ #13092]
33386         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33387         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33388         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33389         ppc_mcount to static-only-routines.
33390         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33391         __mcount_internal.
33392         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33393         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33394
33395 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33396
33397         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33398         for finite and infinity parameters.
33399
33400 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33401
33402         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33403         and add nop instructions for throughput optimization.
33404         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33405
33406 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33407
33408         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33409         aligned copy for power7 with vector-scalar instructions.
33410         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33411
33412 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33413
33414         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33415         AVX check.
33416
33417 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33418
33419         [BZ #13144]
33420         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33421         last change.
33422
33423 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33424
33425         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33426         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33427         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33428         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33429         clock_gettime.
33430
33431 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33432
33433         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33434         Forgot to demangle the pointer.
33435
33436         * sysdeps/i386/sysdep.h: Define atom_text_section.
33437         * sysdeps/x86_64/sysdep.h: Likewise.
33438         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33439         section with atom_text_section.
33440         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33441         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33442         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33443         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33444         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33445
33446         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33447         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33448         already be defined.  Change to take two parameters and don't assign
33449         result to variable.  Adjust all users.
33450         Define INTERNAL_GETTIME if not already defined.
33451         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33452         call.
33453         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33454         HAVE_CLOCK_GETTIME_VSYSCALL.
33455         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33456
33457         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33458         gettimeofday vsyscall, just use time.
33459
33460 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33461
33462         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33463         <errno.h>.
33464
33465 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33466
33467         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33468         syscall on x86-64.
33469         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33470         syscall.
33471         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33472         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33473         syscall if possible.
33474
33475 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33476
33477         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33478         e_ident.  Don't pass to find_mapsXX.
33479         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33480
33481 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33482
33483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33484         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33485         * sysdeps/x86_64/multiarch/strchr.S: Update.
33486         Check bit_slow_BSF bit.
33487         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33488         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33489         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33490
33491 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33492
33493         [BZ #13134]
33494         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33495         before glibc 2.15.
33496         (tryshell): Define.
33497         (__spawni): Change last parameter to be flag.  Test
33498         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33499         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33500         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33501         * posix/spawni.c: Likewise.
33502         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33503         * posix/spawnp.c: Likewise.  Change normal version to use
33504         SPAWN_XFLAGS_USE_PATH.
33505         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33506         SPAWN_XFLAGS_TRY_SHELL.
33507
33508         [BZ #13150]
33509         * posix/glob.h: Remove gcc 1.x support.
33510
33511         [BZ #13068]
33512         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33513
33514 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33515
33516         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33517         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33518         strrchr-sse2-bsf
33519         * sysdeps/i386/i686/multiarch/strchr.S: New file.
33520         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33521         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33522         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33523         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33524         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33525
33526 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33527
33528         * sysdeps/x86_64/wcscmp.S: New file.
33529
33530         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33531         wcscmp-c wcscmp-sse2
33532         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33533         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33534         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33535         * wcsmbs/wcscmp.c: Allow renaming.
33536
33537 2011-09-05  David S. Miller  <davem@davemloft.net>
33538
33539         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33540         stack slot, rather than the struct return pointer slot.
33541         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33542         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33544         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33545
33546 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33547
33548         * po/ja.po: Update from translation team.
33549
33550         [BZ #13144]
33551         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33552         kernel in 64-bit binaries.
33553
33554 2011-09-01  David S. Miller  <davem@davemloft.net>
33555
33556         * elf/elf.h (HWCAP_SPARC_*): Move to..
33557         * sysdeps/sparc/sysdep.h: this new file and add new values.
33558         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33559         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33560         _DL_HWCAP_COUNT to 24.
33561         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33562         entries.
33563         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33564         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33565         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33567         instead of magic constants.
33568         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33569
33570 2011-08-31  David S. Miller  <davem@davemloft.net>
33571
33572         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33574         Reimplement to do errno handling inline.
33575         (SYSCALL_ERROR_HANDLER): New macro.
33576         (__SYSCALL_STRING): Do not do errno handling in asm.
33577         (__CLONE_SYSCALL_STRING): Delete.
33578         (__INTERNAL_SYSCALL_STRING): Delete.
33579         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33580         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33581         (PSEUDO): Reimplement to do errno handling inline.
33582         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33583         (SYSCALL_ERROR_HANDLER): New macro.
33584         (__SYSCALL_STRING): Do not do errno handling in asm.
33585         (__CLONE_SYSCALL_STRING): Delete.
33586         (__INTERNAL_SYSCALL_STRING): Delete.
33587         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33588         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33589         i386.
33590         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33591         (inline_syscall*): Add 'err' argument.
33592         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33593         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33594         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33595         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33596
33597         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33598         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33599
33600 2011-08-30  Andreas Schwab  <schwab@redhat.com>
33601
33602         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33603
33604 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33605
33606         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33607         directive.
33608
33609 2011-08-24  David S. Miller  <davem@davemloft.net>
33610
33611         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33612
33613 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33614
33615         * elf/Makefile: Add rules to build and run unload8 test.
33616         * elf/unload8.c: New file.
33617         * elf/unload8mod1.c: New file.
33618         * elf/unload8mod1x.c: New file.
33619         * elf/unload8mod2.c: New file.
33620         * elf/unload8mod3.c: New file.
33621
33622         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33623         it wasn't used.
33624
33625 2011-08-23  David S. Miller  <davem@davemloft.net>
33626
33627         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33628         subtract stack bias.
33629         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33630         %sp not %fp in calculations.
33631         (_JMPBUF_UNWINDS_ADJ): Likewise.
33632
33633         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33634         (aio_suspend): Call it to force an exception region around the
33635         AIO_MISC_WAIT() invocation.
33636
33637 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33638
33639         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33640         backslash.
33641
33642 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33643
33644         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33645         protection macro.
33646         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33647         and <dl-machine.h>.
33648         (Elf64_FuncDesc): Remove.
33649
33650 2011-08-22  David S. Miller  <davem@davemloft.net>
33651
33652         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33653         sigaltstack check, add missing cfi directives.
33654         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33655         missing cfi directives, and sigaltstack handling.
33656
33657 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33658
33659         [BZ #11724]
33660         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33661         object is seen twice.
33662         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33663
33664         * elf/Makefile (distribute): Add tst-initorder2.c.
33665         (tests): Add tst-initorder2.
33666         (modules-names): Add tst-initorder2a tst-initorder2b
33667         tst-initorder2c tst-initorder2d.  Add rules to build them.
33668         ($(objpfx)tst-initorder2.out): New rule.
33669         * elf/tst-initorder2.c: New file.
33670         * elf/tst-initorder2.exp: New file.
33671
33672 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33673
33674         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33675
33676         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33677         dependencies back to end of function.
33678
33679         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33680         $(elfobjdir)/ld.so.
33681
33682 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33683
33684         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33685         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33686         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33687         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33688         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33689         of __vdso_gettimeofday.
33690         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33691         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33692         attribute_hidden.
33693         (_libc_vdso_platform_setup): Remove initialization of
33694         __vdso_gettimeofday and __vdso_time.
33695
33696 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33697
33698         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33699         and fgetc_unlocked.
33700         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33701         getc_unlocked.
33702
33703         * elf/dl-open.c (add_to_global): Report additions to the global scope
33704         for LD_DEBUG=scopes.
33705         (dl_open_worker): Also print scope of newly loaded dependencies.
33706         (_dl_show_scope): Indicate if there is no scope.
33707
33708         [BZ #13114]
33709         * stdio-common/Makefile (tests): Add bug24.
33710         * stdio-common/bug24.c: New file.
33711
33712 2011-08-19  Andreas Jaeger  <aj@suse.de>
33713
33714         [BZ #13114]
33715         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33716         non-existant file when using close-on-exec mode.
33717
33718 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33719
33720         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33721         the very first instruction.
33722
33723         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33724         the CFI state in the end.
33725         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33726         inclusion of dl-trampoline.h.
33727         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33728
33729 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33730
33731         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33732         expectations for long double.
33733
33734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33735         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33736
33737 2011-08-14  David S. Miller  <davem@davemloft.net>
33738
33739         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33740         artificual limit depends upon the system page size.
33741
33742 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33743
33744         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33745         * resolv/Makefile: Define CFLAGS-libresolv.
33746
33747 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33748
33749         * nss/makedb.c (compute_tables): Make variables used in nested
33750         function static.
33751
33752 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33753
33754         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33755         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33756         if buffer was too small.
33757
33758         * elf/pldd.c (main): Attach to all threads in the process.
33759         Rewrite /proc handling to use *at functions.
33760
33761 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33762
33763         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33764         specifies first scope to show.
33765         (dl_open_worker): Update callers.  Move printing scope of new
33766         object to before the relocation.
33767         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33768         * sysdeps/generic/ldsodefs.h: Update declaration.
33769
33770         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33771         string for the scope number.
33772
33773 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33774
33775         * nscd/servicescache.c (cache_addserv): Make sure written is always
33776         initialized.
33777
33778 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33779
33780         * sysdeps/i386/i486/bits/atomic.h
33781         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33782         statement expression, so as to suppress "set but not used" warning.
33783         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33784
33785         * string/strncat.c (STRNCAT): Use prototype definition.
33786
33787         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33788         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33789         -Iprograms here.
33790         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33791         (localedef-modules): Add localedef.
33792         (locale-modules): Add locale.
33793
33794         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33795         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33796         to avoid a warning.
33797
33798 2011-08-14  David S. Miller  <davem@davemloft.net>
33799
33800         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33801         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33802
33803 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33804
33805         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33806         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33807         * elf/rtld.c (dl_main): Set l_name of vDSO.
33808         Call _dl_show_scope when DL_DEBUG_SCOPES.
33809         (process_dl_debug): Recognize scopes flag and also set it for all.
33810         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33811         Declare _dl_show_scope.
33812
33813         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33814         (do_dlopen): Pass caller_dlopen to dl_open.
33815         (__libc_dlopen_mode): Initialize caller_dlopen.
33816
33817         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33818         of libc.  Make tolower call locale-independent.  Optimize a bit by
33819         using isdigit instead of isalnum.
33820         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33821
33822 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33823
33824         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33825         was a dependency or dynamically loaded.
33826
33827 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33828
33829         * intl/l10nflist.c: Allow architecture-specific pop function.
33830         * sysdeps/x86_64/l10nflist.c: New file.
33831
33832         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33833         classification.
33834
33835 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33836
33837         * include/dirent.h: Add libc_hidden_proto for scandirat and
33838         scandirat64.  Don't declare __scandirat64.
33839         * dirent/scandirat.c: Add libc_hidden_def.
33840         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33841         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33842
33843 2011-08-10  David S. Miller  <davem@davemloft.net>
33844
33845         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33846         enum.
33847         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33848         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33849         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33850
33851 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33852
33853         * Versions.def [libc]: Add GLIBC_2.15.
33854         * dirent/Makefile (routines): Add scandirat and scandirat64.
33855         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33856         GLIBC_2.15.
33857         * dirent/dirent.h: Declare scandirat and scandirat64.
33858         * dirent/scandirat.c: New file.
33859         * dirent/scandirat64.c: New file.
33860         * sysdeps/wordsize-64/scandirat.c: New file.
33861         * sysdeps/wordsize-64/scandirat64.c: New file.
33862         * dirent/opendir.c: Define opendirat.
33863         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33864         using scandirat.
33865         * dirent/scandir64.c: Adjust for scandir.c change.
33866         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33867         __scandirat64, and __scandir_cancel_handler.
33868         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33869         additional parameter and use openat instead of open (outside of ld.so).
33870         Add new __opendir as wrapper around __opendirat.
33871         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33872         here without requiring old scandirat implementation.
33873
33874 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33875
33876         * dirent/scandir.c (cancel_handler): Renamed to
33877         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33878         defined.  Adjust users.
33879         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33880         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33881
33882 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33883
33884         * string/test-string.h (IMPL): Use __STRING to expand name and then
33885         stringify it.
33886
33887         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33888         of cleanups.
33889
33890 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33891
33892         * string/Makefile: Update.
33893         (strop-tests): Append strncat.
33894         * string/test-wcscmp.c: New file.
33895         New comprehensive test for wcscmp.
33896         * string/test-strcmp.c: Update.
33897         (WIDE): New define.
33898
33899 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33900
33901         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33902         line.
33903
33904 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33905
33906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33907         encoding to ACE if AI_IDN.
33908
33909 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33910
33911         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33912         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33913
33914 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33915
33916         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33917         Fix overflow bug in strncat.
33918         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33919
33920         * string/test-strncat.c: Update.
33921         Add new tests for checking overflow bugs.
33922
33923 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33924
33925         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33926         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33927         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33928         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33929         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33930         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33931         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33932         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33933         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33934
33935         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33936         (USE_AS_STRCAT): Define.
33937         Add strcat and strncat support.
33938         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33939
33940 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33941
33942         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33943         __n bigger than INT_MAX+1.
33944         (__strncmp_g): Likewise.
33945
33946 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33947
33948         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33949         * libio/stido.h: Likewise.
33950
33951         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33952         (AF_NFC): Define.
33953         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33954         (AF_NFC): Define.
33955
33956         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33957         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33958         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33959         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33960         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33961
33962         [BZ #13021]
33963         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33964         installed.
33965
33966         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33967         typo.
33968         (_dl_x86_64_save_sse): Likewise.
33969
33970 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33971
33972         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33973         OSXSAVE.
33974         (_dl_x86_64_save_sse): Likewise.
33975
33976         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33977
33978         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33979
33980 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33981
33982         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33983         change.
33984         (_dl_x86_64_save_sse): Use correct AVX check.
33985
33986 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33987
33988         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33989         bug in strncpy/strncat.
33990         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33991
33992 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
33993
33994         * string/tester.c (test_strcat): Add tests for different alignments
33995         of source and destination.
33996         (test_strncat): Likewise.
33997
33998 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33999
34000         [BZ #12852]
34001         * posix/glob.c (glob): Check passed in values before using them in
34002         expressions to avoid some overflows.
34003         (glob_in_dir): Likewise.
34004
34005         [BZ #13007]
34006         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34007         check for AVX enablement so that we don't crash with old kernels and
34008         new hardware.
34009         * elf/tst-audit4.c: Add same checks here.
34010         * elf/tst-audit6.c: Likewise.
34011
34012         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34013
34014 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34015
34016         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34017
34018 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34019
34020         * po/cs.po: Update from translation team.
34021         * po/bg.po: Likewise.
34022
34023 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34024
34025         * misc/sys/cdefs.h: Add support for const attribute.
34026         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34027         to gnu_dev_{major,minor,makedev} functions.
34028
34029 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34030
34031         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34032
34033 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34034
34035         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34036         strlen results.
34037
34038 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34039
34040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34041         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34042         register in order to avoid conflicts with the soft frame pointer
34043         being held in r11 when necessary.
34044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34045         (INTERNAL_VSYSCALL_NCS): Likewise.
34046
34047 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34048
34049         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34050         * elf/dl-fini.c (_dl_fini): Adjust caller.
34051         * elf/dl-close.c (_dl_close_worker): Likewise.
34052         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34053
34054 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34055
34056         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34057         "aux_cache->nlibs < 0".
34058
34059         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34060         in the reload-count case.
34061
34062 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34063
34064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34065         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34066         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34067         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34068         * sysdeps/x86_64/multiarch/strcat.S: New file.
34069         * sysdeps/x86_64/multiarch/strncat.S: New file.
34070         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34071         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34072         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34073         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34074         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34075         (USE_AS_STRCAT): Define.
34076         Add strcat and strncat support.
34077         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34078         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34079         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34080         * string/strncat.c: Update.
34081         (USE_AS_STRNCAT): Define.
34082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34083         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34084         and i7.
34085         * sysdeps/x86_64/multiarch/init-arch.h
34086         (bit_Prefer_PMINUB_for_stringop): New.
34087         (index_Prefer_PMINUB_for_stringop): Likewise.
34088         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34089         bit_Prefer_PMINUB_for_stringop.
34090
34091 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34092
34093         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34094         buffer64.
34095         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34096         of casting of buffer.
34097         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34098         buffer32 and buffer64.
34099         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34100         writes instead of casting of buffer.
34101         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34102         buffer32.
34103         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34104         casting of buffer.
34105
34106 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34107
34108         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34109
34110 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34111
34112         * nscd/nscd.c (termination_handler): Don't do anything for a database
34113         if it has not yet been initialized.
34114
34115 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34116
34117         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34118
34119 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34120
34121         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34122
34123 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34124
34125         * po/nl.po: Update from translation team.
34126         * po/sv.po: Likewise.
34127
34128 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34129
34130         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34131         now disallowed by GCC.
34132
34133         * configure.in (use-default-link): Default to yes if a test -shared
34134         link meets our qualifications.
34135         * configure: Regenerated.
34136
34137         * config.make.in (output-format): New variable.
34138         * configure.in: Check for ld --print-output-format support.
34139         * configure: Regenerated.
34140         * Makerules ($(common-objpfx)format.lds)
34141         [$(output-format) != unknown]: Just use $(output-format),
34142         instead of the linker-script munging.
34143
34144 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34145
34146         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34147         of $(common-objpfx)shlib.lds.
34148         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34149
34150         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34151         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34152
34153         * configure.in (-z relro check): Adjust test code to add a large
34154         writable data section after it.
34155         * configure: Regenerated.
34156
34157 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34158
34159         * configure.in (-z relro check): Fix test code to make the variable
34160         truly const.
34161         * configure: Regenerated.
34162
34163 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34164
34165         * nscd/nscd.h (struct traced_file): Define.
34166         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34167         elements.  Add traced_files.
34168         (inotify_fd): Declare.
34169         (register_traced_file): Declare.
34170         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34171         (inotify_fd): Export.
34172         (resolv_conf_descr): Remove.
34173         (nscd_init): Move inotify descriptor creation to main.
34174         Don't register files for notification here.
34175         (register_traced_file): New function.
34176         (invalidate_cache): Don't use reset_res to determine whether to call
34177         res_init, go through the list of registered files.
34178         (main_loop_poll): The inotify descriptors are now stored in the
34179         structures for the traced files.
34180         (main_loop_epoll): Likewise
34181         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34182         to __nss_disable_nscd.
34183         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34184         for a database anymore.  Check the records for all the registered
34185         files instead.
34186         * nss/Makefile (libnss_files-routines): Add files-init.
34187         (libnss_db-routines): Add db-init.
34188         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34189         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34190         * nss/nss_db/db-init.c: New file.
34191         * nss/nss_files/files-init.c: New file.
34192         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34193         __nss_lookup_function.
34194         (__nss_lookup_function): Call nss_load_library.
34195         (nss_load_all_libraries): New function.
34196         (__nss_disable_nscd): Take parameter with callback function for files
34197         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34198         used for the cached services.
34199         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34200         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34201         options for features to all the files in nscd.
34202
34203         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34204
34205 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34206
34207         * csu/elf-init.c (__libc_csu_init): Comment typo.
34208
34209 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34210
34211         * po/pl.po: Update from translation team.
34212         * po/ja.po: Likewise.
34213         * po/ru.po: Likewise.
34214         * po/ko.po: Likewise.
34215         * po/fr.po: Likewise.
34216
34217 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34218
34219         * configure.in (.ctors/.dtors header and trailer check):
34220         Use an empirical test on a built program.
34221         * configure: Regenerated.
34222
34223         * configure.in (-z relro check): Use an empirical test on a built DSO.
34224         Detect, but do not require, on ia64.
34225         * configure: Regenerated.
34226
34227         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34228         Update tests that use readelf to use $READELF instead.
34229         * configure: Regenerated.
34230
34231 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34232
34233         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34234         if the result is not used.
34235
34236 2011-07-05  Andreas Jaeger  <aj@suse.de>
34237
34238         [BZ#9696]
34239         * stdlib/tst-strtod.c: Add testcase.
34240
34241 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34242
34243         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34244         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34245         The latter has a higher limit.  Take additional parameter to pass to
34246         the new function.
34247         (__pathconf): Pass file to __statfs_link_max.
34248         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34249         __statfs_link_max.
34250         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34251         __statfs_link_max.
34252
34253         [BZ #12868]
34254         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34255         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34256         Handle Lustre.
34257         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34258         (__statfs_filesize_max): Likewise.
34259         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34260
34261 2011-07-05  Andreas Jaeger  <aj@suse.de>
34262
34263         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34264
34265 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34266
34267         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34268         `status' variable.
34269         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34270         Likewise.
34271
34272 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34273
34274         * Makefile (strop-tests): Add strncat.
34275         * string/test-strncat.c: New file.
34276
34277 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34278
34279         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34280
34281 2011-06-21  Andreas Jaeger  <aj@suse.de>
34282
34283         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34284         Copy rule from iconvdata/Makefile.
34285
34286 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34287
34288         [BZ #12922]
34289         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34290         but no long options are defined, just return 'W'.
34291
34292 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34293
34294         [BZ #9696]
34295         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34296
34297 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34298
34299         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34300         netgroups to read.
34301         (innetgr): Likewise.
34302
34303 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34304
34305         * config.make.in (install_root): Default to $(DESTDIR).
34306
34307 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34308
34309         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34310
34311 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34312
34313         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34314
34315         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34316         containing directory rather than embedding absolute directory names.
34317
34318         * scripts/check-local-headers.sh: Rewritten using awk.
34319         Match by word, not by line.  Print error messages for matches.
34320         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34321
34322         * Makerules [shlib-lds-flags empty]:
34323         ($(common-objpfx)libc_pic.opts): New target.
34324         ($(common-objpfx)libc_pic.os.clean): New target.
34325         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34326
34327         * config.make.in (OBJCOPY): New variable.
34328         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34329         * configure: Regenerated.
34330
34331         * config.make.in (use-default-link): New variable.
34332         * configure.in (use_default_link): Grok --with-default-link to set it.
34333         * configure: Regenerated.
34334         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34335         (shlib-lds, shlib-lds-flags): Define to empty.
34336
34337         * Makerules (shlib-lds): New variable.
34338         (shlib-lds-flags): New variable.
34339         (build-shlib, build-moduile, build-module-asneeded): Use it.
34340         ($(common-objpfx)libc.so): Use $(shlib-lds).
34341         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34342         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34343
34344         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34345         DT_FLAGS/DT_FLAGS_1 with zero flags.
34346
34347         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34348         linker script munging.
34349
34350 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34351
34352         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34353         as 128-bit value.
34354         * crypt/sha512.c (sha512_process_block): Perform total addition using
34355         128-bit if possible.
34356         (__sha512_finish_ctx): Likewise.
34357         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34358         as 64-bit value.
34359         * crypt/sha256.c (SWAP64): Define.
34360         (sha256_process_block): Perform total addition using 64-bit if
34361         possible.
34362         (__sha256_finish_ctx): Likewise.
34363
34364 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34365
34366         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34367         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34368         * nscd/hstcache.c (cache_addhst): Likewise.
34369         * nscd/grpcache.c (cache_addgr): Likewise.
34370         * nscd/aicache.c (addhstaiX): Likewise
34371         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34372
34373 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34374
34375         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34376         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34377         * nscd/hstcache.c (cache_addhst): Likewise.
34378         * nscd/grpcache.c (cache_addgr): Likewise.
34379         * nscd/aicache.c (addhstaiX): Likewise
34380
34381 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34382
34383         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34384         domain only when needed.
34385
34386 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34387
34388         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34389         is always restored.
34390
34391 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34392
34393         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34394         are re-adding the entry.
34395         * nscd/servicescache.c (cache_addserv): Likewise.
34396
34397 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34398
34399         * sysdeps/generic/dl-irel.h: fix protection against multiple
34400         inclusions.
34401         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34402
34403 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34404
34405         [BZ #12935]
34406         * malloc/memusage.sh: Fix quoting in message.
34407         * debug/xtrace.sh: Likewise.
34408
34409         * configure.in: Remove support for --experimental-malloc option, make
34410         it the default.
34411         * config.make.in: Likewise.
34412         * malloc/Makefile: Likewise.
34413
34414 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34415
34416         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34417         two-byte characters.
34418
34419 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34420
34421         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34422         AC_CACHE_CHECK invocation.
34423         * configure: Regenerated.
34424
34425         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34426
34427 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34428
34429         [BZ #12350]
34430         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34431         bit from old_res_options.
34432
34433         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34434
34435         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34436         value type for setfct.
34437
34438 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34439
34440         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34441         __gettimeofday instead of gettimeofday.
34442
34443 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34444
34445         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34446
34447 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34448
34449         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34450
34451         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34452         info.
34453
34454 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34455
34456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34457         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34458         strcpy-sse2-unaligned strncpy-sse2-unaligned
34459         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34460         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34461         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34462         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34463         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34464         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34465         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34466         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34467         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34468         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34469         (STRCPY): Support SSE2 and SSSE3 versions.
34470
34471 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34472
34473         [BZ #12874]
34474         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34475         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34476         kernels which artificially limit size of requests.
34477
34478 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34479
34480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34481         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34482         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34483         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34484         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34485         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34486         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34487         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34488         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34489         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34490         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34491         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34492         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34493         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34494         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34495         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34496         Enable unaligned load optimization for Intel Core i3, i5 and i7
34497         processors.
34498         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34499         Define.
34500         (index_Fast_Unaligned_Load): Define.
34501         (HAS_FAST_UNALIGNED_LOAD): Define.
34502
34503 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34504
34505         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34506
34507 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34508
34509         [BZ #12907]
34510         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34511         until it is clear that the information is realy needed.
34512         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34513
34514 2011-06-22  Andreas Schwab  <schwab@redhat.com>
34515
34516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34517
34518 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34519
34520         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34521         /sys/devices/system/cpu/online if it is usable.
34522
34523         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34524         reading the information from the /proc filesystem to once a second.
34525
34526 2011-06-21  Andreas Jaeger  <aj@suse.de>
34527
34528         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34529         NULL after inclusion of kernel headers.
34530
34531 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
34532
34533         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34534         calls to internal_setent.
34535
34536         [BZ #12885]
34537         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34538         addresses using gethostbyname4_r ignore IPv4 addresses.
34539
34540         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34541         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
34542
34543         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34544
34545 2011-06-20  David S. Miller  <davem@davemloft.net>
34546
34547         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34548         inclusions.
34549         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34550
34551         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34552         (elf_irel): Use it.
34553         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34554         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34555         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34556         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34557         * sysdeps/x86_64/dl-irel.h: Likewise.
34558
34559         * elf/dl-runtime.c: Use elf_ifunc_invoke.
34560         * elf/dl-sym.c: Likewise.
34561
34562 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34563
34564         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
34565         need to dereference resplen2.
34566
34567 2011-06-14  Andreas Schwab  <schwab@redhat.com>
34568
34569         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34570
34571 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34572
34573         * Makeconfig: Define vardbdir and inst_vardbdir.
34574         * nss/Makefile: Add rules to install db-Makefile.
34575
34576         * nss/nss_db/db-XXX.c: Cleanup.
34577
34578         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34579         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34580         GLIBC_PRIVATE.
34581         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34582         * nss/makedb.c: Implement -g option to specify that value strings
34583         are generated and should not be added to table iterated over for
34584         get*ent calls.
34585         * nss/nss_db/db-initgroups.c: New file.
34586
34587         * nss/getent.c: Add support for initgroups lookups through getgrouplist
34588         interface.
34589
34590         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34591         (internal_getgrouplist): Adjust to name change.
34592         Update use_initgroups_entry if this is not the first call.
34593         * nss/databases.def: Add initgroups entry.
34594
34595         * nss/makedb.c (compute_tables): Check result of multiple hash table
34596         sizes to minimize maximum chain length.
34597
34598 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
34599
34600         * Versions.def: Add entry for libnss_db.
34601         * shlib-versions: Likewise.
34602         * nss/Makefile: Add rules to build libnss_db.
34603         * nss/Versions: Add libnss_db information.  Organize libnss_files
34604         entries better.
34605         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34606         makedb progra.  Some minor improvements to generate smaller files.
34607         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34608         here from...
34609         * nss/makedb.c: ...here.
34610         Improve database format to be smaller and require less memory at
34611         runtime.
34612         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34613         db anymore.
34614         * nss/nss_db/db-netgrp.c: Likewise.
34615         * nss/nss_db/db-open.c: Likewise.
34616         * nss/nss_files/flies-XXX.x: Adjust comments.
34617         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34618         * nss/nss_files/files-grp.c: Likewise.
34619         * nss/nss_files/files-hosts.c: Likewise.
34620         * nss/nss_files/files-network.c: Likewise.
34621         * nss/nss_files/files-proto.c: Likewise.
34622         * nss/nss_files/files-pwd.c: Likewise.
34623         * nss/nss_files/files-rpc.c: Likewise.
34624         * nss/nss_files/files-service.c: Likewise.
34625         * nss/nss_files/files-sgrp.c: Likewise.
34626         * nss/nss_files/files-spwd.c: Likewise.
34627         * nss/nss_db/db-alias.c: Removed.
34628         * nss/nss_db/dummy-db.h: Removed.
34629
34630 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34631
34632         * nss/makedb.c: Rewritten to not use database library.
34633         * nss/Makefile: Update to build new makedb program.
34634
34635 2011-06-14  Andreas Jaeger  <aj@suse.de>
34636
34637         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34638         memset declaration.
34639
34640 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34641
34642         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34643         tmpbuf.
34644
34645 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34646
34647         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34648         * elf/Makefile ($(objpfx)ld.so): Likewise.
34649
34650         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34651         Don't list ld.so twice in dependencies.
34652
34653         * posix/bug-regex31.c: Include <stdlib.h>.
34654
34655         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34656
34657         * nis/nss_compat/compat-spwd.c
34658         (getspent_next_nss_netgr): Remove unused variable.
34659         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34660
34661         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34662         nonmembers" output to use the right array.
34663
34664         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34665
34666         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34667
34668         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34669         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34670         * catgets/gencat.c (read_input_file): Likewise.
34671         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34672
34673         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34674         variable definition inside #if's controlling its use.
34675
34676         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34677
34678         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34679
34680         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34681
34682         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34683         unreachable code.
34684
34685         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34686
34687         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34688         * configure: Regenerated.
34689
34690         * Makerules: Revert last change.
34691         * elf/Makefile: Likewise.
34692
34693 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34694
34695         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34696         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34697         (reloc-link): Likewise.
34698
34699 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34700
34701         * elf/Makefile: Add rules to build pldd.
34702         * elf/pldd.c: New file.
34703         * elf/pldd-xx.c: New file.
34704
34705 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34706
34707         * version.h: Update for 2.15 development version.
34708
34709 2011-06-07  David S. Miller  <davem@davemloft.net>
34710
34711         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34712         ifuncs.
34713         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34714         elf_machine_lazy_rel): Likewise.
34715         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34716         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34717         elf_machine_lazy_rel): Likewise.
34718         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34719         dl_hwcap via passed in argument.
34720         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34721         Likewise.
34722
34723 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34724
34725         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34726
34727 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34728
34729         [BZ #12849]
34730         * manual/fdl-1.1.texi: New file, verbatim from:
34731         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34732         * manual/lgpl-2.1.texi: New file, verbatim from:
34733         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34734         * manual/Makefile (licenses): New variable, list those new file names.
34735         (texis): Use it.
34736         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34737
34738         * manual/fdl.texi: File removed.
34739         * manual/lesser.texi: File removed.
34740         * manual/libc.texinfo (Copying, Documentation License):
34741         Use new @include file names, put @appendix directive before @include.
34742
34743 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34744
34745         [BZ #12841]
34746         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34747         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34748         (mq_open): Add __NTH.
34749
34750 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34751
34752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34753         Assume Intel Core i3/i5/i7 processor if AVX is available.
34754
34755 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34756
34757         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34758         typo.
34759
34760 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34761
34762         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34763         memory.  Use alloca_account.  Fix memory leak when retrying.
34764
34765 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34766
34767         * version.h (RELEASE): Bump for 2.14 release.
34768         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34769
34770         * config.make.in (RANLIB): Remove entry.
34771
34772 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34773
34774         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34775         (libc.pot): Work around missing support for .ksh extension in xgettext.
34776
34777         [BZ #12684]
34778         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34779         if both request failed.
34780         (send_dg): In case of server errors clear resplen or *resplen2.
34781
34782         [BZ #12454]
34783         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34784         when there are multiple maps.
34785         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34786         (_dl_fini): Remove test here.
34787
34788         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34789
34790 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34791
34792         [BZ #12350]
34793         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34794         bit from old_res_options.
34795         (gaih_inet): Likewise.
34796
34797         [BZ #11099]
34798         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34799         as signed.
34800
34801         * resolv/res_init.c (res_setoptions): Make the code more compact.
34802
34803         [BZ #11558]
34804         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34805         set RES_USEVC.
34806
34807         [BZ #11634]
34808         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34809
34810         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34811
34812         [BZ #11781]
34813         * malloc/malloc.h: Declare malloc hook variables as volatile.
34814
34815         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34816         in last patch.
34817
34818         [BZ #11799]
34819         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34820         raise in the comment.
34821         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34822         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34823         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34824
34825 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34826
34827         [BZ #12811]
34828         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34829         grow the buffers more if it already has to be sufficient.
34830         (build_wcs_upper_buffer): Likewise.
34831         * posix/regexec.c (check_matching): Likewise.
34832         (clean_state_log_if_needed): Likewise.
34833         (extend_buffers): Don't enlarge buffers beyond size of the input
34834         buffer.
34835         Patches mostly by Emil Wojak <emil@wojak.eu>.
34836         * posix/bug-regex32.c: New file.
34837         * posix/Makefile (tests): Add bug-regex32.
34838
34839         * locale/findlocale.c (_nl_find_locale): Return right away if
34840         _nl_explode_name failed.
34841         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34842
34843         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34844
34845         * debug/xtrace.sh: Unify messages.
34846         * malloc/memusage.sh: Likewise.
34847
34848         [BZ #12813]
34849         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34850         time symbol from vDSO.  Substitute with vsyscall if not available.
34851         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34852         __vdso_time.
34853
34854         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34855         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34856         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34857         Add sendmmsg and internal_sendmmsg.
34858         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34859         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34860         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34861
34862         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34863         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34864         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34865
34866 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34867
34868         [BZ #12813]
34869         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34870         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34871         available.
34872         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34873         __vdso_getcpu.
34874
34875         [BZ #12814]
34876         * iconvdata/Makefile (tests): Add bug-iconv9.
34877         * iconvdata/bug-iconv9.c: New file.
34878
34879 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34880
34881         [BZ #12814]
34882         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34883
34884 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34885
34886         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34887         (struct user_regs_struct): Change intcs field back to cs.
34888
34889 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34890
34891         * po/ja.po: Update from translation team.
34892
34893 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34894
34895         [BZ #12795]
34896         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34897         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34898
34899 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34900
34901         * stdlib/longlong.h: Update from GCC.
34902
34903 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34904
34905         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34906         parameter name.
34907         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34908         Add parameter name.
34909         (__sysconf): Pass it down.
34910
34911 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34912
34913         [BZ #12671]
34914         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34915         some situations.
34916         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34917         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34918         add in in __libc_use_alloca calls.  Adjust callers.
34919         (glob): Use malloc in some situations.
34920
34921         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34922         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34923         pltexit.
34924
34925 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34926
34927         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34928         and CLOCK_BOOTTIME_ALARM.
34929
34930         [BZ #12782]
34931         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34932         is returned.
34933
34934         * string/_strerror.c (__strerror_r): Print negative errors as signed
34935         numbers.
34936
34937         [BZ #12777]
34938         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34939         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34940         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34941
34942         * configure.in: Fix typo in redirection and correct removal of test
34943         files in two cases.
34944
34945         [BZ #12788]
34946         * locale/setlocale.c (new_composite_name): Fix test to check for
34947         identical name of all categories.
34948
34949         [BZ #12792]
34950         * libio/filedoalloc.c (local_isatty): New function.
34951         (_IO_file_doallocate): Use local_isatty.
34952         * stdio-common/perror.c (perror): In case a new stream is used
34953         forward the stream error.
34954         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34955         error flag.
34956
34957 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34958
34959         [BZ #11869]
34960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34961         alloca.
34962         * include/alloca.h (extend_alloca_account): Define.
34963
34964         [BZ #11857]
34965         * posix/regex.h: Fix comments with documentation of user-accessible
34966         fields after compilation and describe correct free'ing of pattern
34967         after re_compile_pattern.
34968         Patch by Reuben Thomas <rrt@sc3d.org>.
34969
34970 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34971
34972         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34973         and -mno-altivec to prevent the compiler from using Altivec and/or
34974         VSX instructions when the corresponding registers are not available.
34975
34976 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34977
34978         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34979
34980 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34981
34982         * libio/freopen.c (freopen): Use __dup2, not dup2.
34983         * libio/freopen64.c (freopen64): Likewise.
34984
34985 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34986
34987         [BZ #12775]
34988         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34989         * math/Makefile (tests): Add test-powl.
34990         (CFLAGS-test-powl.c): Define.
34991         * math/test-powl.c: New file.
34992
34993 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34994
34995         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34996
34997 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
34998
34999         [BZ #11837]
35000         * iconvdata/gb18030.c: Update to GB18020-2005.
35001
35002 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35003
35004         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35005         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35006         Patch by Aharon Robbins <arnold@skeeve.com>.
35007
35008         [BZ #11892]
35009         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35010         on the stack.
35011
35012         [BZ #11895]
35013         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35014         through underflows.
35015
35016         [BZ #12766]
35017         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35018         point to strings before performing equality test for error_one_per_line
35019         mode.
35020
35021         [BZ #11697]
35022         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35023
35024         [BZ #11820]
35025         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35026         (struct user_fpregs_struct): Avoid __uint*_t types.
35027
35028         [BZ #6420]
35029         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35030         symbol info.  Use it instead of calling _dl_addr locally.
35031         (lock_and_info): New function.
35032         (tr_freehook): Call lock_and_info and pass symbol info as additional
35033         parameter to tr_where.
35034         (tr_mallochook): Likewise.
35035         (tr_reallochook): Likewise.
35036         (tr_memalignhook): Likewise.
35037
35038         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35039         used and couldn't be at all thread-safe.
35040
35041 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35042
35043         * libio/freopen.c (freopen): Don't close old file descriptor
35044         before the new one is opened.  Instead dup the new file descriptor
35045         to the old one after the new stream is created.
35046         * libio/freopen64.c (freopen64): Likewise.
35047         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35048         * libio/fileops.c (_IO_new_file_close_it): Handle new
35049         _IO_FLAGS2_NOCLOSE flag.
35050         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35051         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35052         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35053         _IO_FLAGS2_NOCLOSE flag.
35054         * include/unistd.h: Add hidden_proto for dup3.
35055         Define __have_dup3.
35056         * io/dup3.c: Define hidden symbol.
35057         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35058
35059         [BZ #7101]
35060         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35061         when an incomplete long option is used.
35062         * posix/tst-getopt_long1.c: New file.
35063         * posix/Makefile (tests): Add tst-getopt_long1.
35064
35065         [BZ #10138]
35066         * scripts/config.guess: Update from autoconf-2.68.
35067         * scripts/config.sub: Likewise.
35068
35069         [BZ #10157]
35070         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35071         tests into ...
35072         (has_cpuclock): ...this.  New function.
35073         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35074         macro here based on has_cpuclock code.
35075
35076         [BZ #10149]
35077         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35078         First byte (not low byte) is now always NUL.
35079         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35080
35081         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35082         Use non-cancelable interfaces.
35083
35084         [BZ #9809]
35085         * locale/iso-639.def: Add entry for Sorani.
35086
35087         [BZ #11901]
35088         * include/stdlib.h: Move include protection to the right place.
35089         Define abort_msg_s.  Declare __abort_msg with it.
35090         * stdlib/abort.c (__abort_msg): Adjust type.
35091         * assert/assert.c (__assert_fail_base): New function.  Majority
35092         of code from __assert_fail.  Allocate memory for __abort_msg with
35093         mmap.
35094         (__assert_fail): Now call __assert_fail_base.
35095         * assert/assert-perr.c: Remove bulk of implementation.  Use
35096         __assert_fail_base.
35097         * include/assert.hL Declare __assert_fail_base.
35098         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35099         mmap.
35100         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35101
35102 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35103
35104         [BZ #11952]
35105         [BZ #12453]
35106         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35107         until all modules are registered in the DTV.
35108         * elf/Makefile: Add rules to build and run tst-tls19.
35109         * elf/tst-tls19.c: New file.
35110         * elf/tst-tls19mod1.c: New file.
35111         * elf/tst-tls19mod2.c: New file.
35112         * elf/tst-tls19mod3.c: New file.
35113         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35114
35115         [BZ #12083]
35116         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35117         correctly.
35118
35119         [BZ #12601]
35120         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35121         two-byte sequence errors.
35122         * iconvdata/Makefile (tests): Add bug-iconv8.
35123         * iconvdata/bug-iconv8.c: New file.
35124
35125         [BZ #12626]
35126         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35127         buf2 definition.
35128
35129         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35130
35131         [BZ #12432]
35132         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35133         (dummy_getcfa): New function.
35134         (init): Get _Unwind_GetCFA address, use dummy if not found.
35135         (backtrace_helper): In recursion check, also check whether CFA changes.
35136         (__backtrace): Completely initialize arg.
35137
35138         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35139         storing incomplete byte sequence in state object.  Avoid testing for
35140         guaranteed too small input if we know there is enough data available.
35141
35142 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35143
35144         * Makeconfig (+link-pie): Indent.
35145         * Rules (binaries-pie): Define if $(have-fpie) and
35146         $(build-shared).
35147         (binaries-shared): Also filter out $(binaries-pie).
35148         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35149         * nscd/Makefile (others-pie): Add nscd.
35150         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35151         ($(objpfx)nscd): Remove command override.
35152         * login/Makefile (others-pie): Add pt_chown.
35153         ($(objpfx)pt_chown): Remove command override.
35154         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35155         remove command overrides.
35156
35157 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35158
35159         * libio/tst_putwc.c: Fix error messages.
35160
35161         [BZ #12724]
35162         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35163         currently writing and seek to current position when not.
35164         * libio/Makefile (tests): Add bug-fclose1.
35165         * libio/bug-fclose1.c: New file.
35166
35167 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35168
35169         [BZ #12511]
35170         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35171         don't set DF_1_NODELETE here.
35172         (do_lookup_x): When entering new entry test for copy relocation
35173         and if necessary set DF_1_NODELETE flag.
35174         * elf/tst-unique4.cc: New file.
35175         * elf/tst-unique4.h: New file.
35176         * elf/tst-unique4lib.cc: New file.
35177         * elf/Makefile: Add rules to build and run tst-unique4.
35178         Patch by Piotr Bury <pbury@goahead.com>.
35179
35180 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35181
35182         [BZ #12052]
35183         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35184
35185         [BZ #12625]
35186         * misc/mntent_r.c (addmntent): Flush the stream after the output
35187
35188         [BZ #12393]
35189         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35190         (is_trusted_path_normalize): Skip initial colon.  Append slash
35191         to empty buffer.  Duplicate is_trusted_path code but allow
35192         constructed patch to be prefix.
35193         (is_dst): Allow $ORIGIN followed by /.
35194         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35195         Correct testing of result of is_trusted_path_normalize
35196         (decompose_rpath): Fix warning.
35197
35198 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35199
35200         [BZ #11257]
35201         * grp/initgroups.c (internal_getgrouplist): When we found the service
35202         list through the initgroups entry in nsswitch.conf do not always
35203         continue on a successful lookup.  Don't always use the
35204         __nss_group_database value if it is set.
35205         * nss/nsswitch.conf (initgroups): Change action for successful db
35206         lookup to continue for compatibility.
35207
35208 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35209
35210         [BZ #11532]
35211         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35212         and CP774 modules.
35213         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35214         and CP774 modules.
35215         * iconvdata/tst-tables.sh: Likewise.
35216         * iconvdata/cp770.c: New file.
35217         * iconvdata/cp771.c: New file.
35218         * iconvdata/cp772.c: New file.
35219         * iconvdata/cp773.c: New file.
35220         * iconvdata/cp774.c: New file.
35221         * iconvdata/testdata/CP770: New file.
35222         * iconvdata/testdata/CP770..UTF8: New file.
35223         * iconvdata/testdata/CP771: New file.
35224         * iconvdata/testdata/CP771..UTF8: New file.
35225         * iconvdata/testdata/CP772: New file.
35226         * iconvdata/testdata/CP772..UTF8: New file.
35227         * iconvdata/testdata/CP773: New file.
35228         * iconvdata/testdata/CP773..UTF8: New file.
35229         * iconvdata/testdata/CP774: New file.
35230         * iconvdata/testdata/CP774..UTF8: New file.
35231
35232         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35233         END CHARMAP line.
35234         * iconvdata/gen-8bit-gap.sh: Likewise.
35235         * iconvdata/gen-8bit.sh: Likewise.
35236
35237         * locale/iso-639.def: Add ary entry.
35238
35239         [BZ #11258]
35240         * locale/C-translit.h.in: Add U20A1 transliteration.
35241
35242         [BZ #12178]
35243         * locale/iso-639.def: Add wae entry.
35244         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35245
35246         [BZ #12545]
35247         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35248         for n.
35249
35250         [BZ #12711]
35251         * locale/C-translit.h.in: Add entry for U20B9.
35252         Patch by pravin.d.s@gmail.com.
35253
35254 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35255
35256         [BZ #12713]
35257         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35258         ENAMETOOLONG use generic getcwd.
35259         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35260         in rtld.  Use *stat64.
35261         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35262         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35263         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35264         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35265         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35266         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35267         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35268         __fstatat64 macros.
35269         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35270         * dirent/rewinddir.c: Add libc_hidden_def.
35271         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35272         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35273
35274         * include/dirent.h (__alloc_dir): Add flags parameter.
35275         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35276         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35277         __alloc_dir.
35278         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35279         from fdopendir if O_CLOEXEC is already set.
35280
35281 2011-03-15  Alan Modra  <amodra@gmail.com>
35282
35283         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35284         l_tls_firstbyte_offset non-zero.  Save padding offset in
35285         l_tls_firstbyte_offset for later use.
35286         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35287         freeing static tls block.
35288
35289 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35290
35291         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35292         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35293         being defined by the kernel headers.
35294
35295 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35296
35297         [BZ #12734]
35298         * resolv/resolv.h: Define RES_NOTLDQUERY.
35299         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35300         no-tld-query and set RES_NOTLDQUERY.
35301         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35302         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35303         modern BIND to search name as TLD unless forbidden.
35304
35305 2011-05-07  Petr Baudis  <pasky@suse.cz>
35306             Ulrich Drepper  <drepper@gmail.com>
35307
35308         [BZ #12393]
35309         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35310         (is_trusted_path): ...to here.
35311         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35312         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35313         using is_trusted_path_normalize() in setuid scripts.
35314
35315 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35316
35317         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35318         __BEGIN/__END_DECLS.
35319
35320 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35321
35322         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35323         NSS_STATUS_NOTFOUND if no record was found.
35324
35325 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35326
35327         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35328         (headers-not-in-tirpc): Remove rpc/netdb.h
35329         * resolv/netdb.h: Revert last change.
35330
35331 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35332
35333         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35334         circular dependency between libgcc.a and libc.a.
35335
35336 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35337
35338         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35339         * nis/Makefile: Don't install rpcsvc/*.
35340         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35341         instead of <rpc/types.h>.
35342         (MAXHOSTNAMELEN): Define.
35343
35344 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35345
35346         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35347
35348 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35349
35350         [BZ #12714]
35351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35352         gethostbyname4_r when IPv6 results are possible.
35353
35354 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35355
35356         [BZ #12723]
35357         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35358         _PC_PIPE_BUF handling.
35359
35360 2011-04-30  Bruno Haible  <bruno@clisp.org>
35361
35362         [BZ #12717]
35363         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35364         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35365         to 'int'.
35366         * inet/getnameinfo.c (getnameinfo): Likewise.
35367
35368 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35369
35370         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35371         to groups setting in database lookup.
35372         * nss/nsswitch.conf: Add initgroups entry.
35373
35374 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35375
35376         [BZ #12685]
35377         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35378         mode string.
35379         Patch by Eric Blake <eblake@redhat.com>.
35380
35381 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35382
35383         * sunrpc/Makefile (need-export-routines): Add svc_run.
35384         (routines): Remove svc_run.
35385         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35386         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35387         * sunrpc/svc_run.c (svc_run): Likewise.
35388         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35389
35390 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35391
35392         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35393         problem in reallocation in last patch.
35394
35395 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35396
35397         * sunrpc/Makefile: Move inclusion of Rules.
35398
35399 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35400
35401         * nss/nss_files/files-initgroups.c: New file.
35402         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35403         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35404         _nss_files_initgroups_dyn.
35405
35406 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35407
35408         * elf/elf.h (R_ARM_IRELATIVE): Define.
35409
35410 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35411
35412         * po/ru.po: Update from translation team.
35413
35414 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35415
35416         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35417         dependencies.
35418
35419 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35420
35421         [BZ #12653]
35422         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35423         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35424         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35425         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35426         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35427
35428 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35429
35430         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35431         differing bytes.
35432         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35433         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35434         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35435
35436 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35437
35438         [BZ #12420]
35439         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35440         storing it.
35441         * stdlib/bug-getcontext.c: New file.
35442         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35443
35444 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35445
35446         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35447         instructions into .machine "z9-109".
35448         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35449         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35450
35451 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35452
35453         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35454         between environment variables and auxiliary vector.
35455
35456 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35457
35458         * Makefile: Add rules to build linkobj/libc.so.
35459         * include/libc-symbols.h: Define libc_hidden_nolink.
35460         * include/rpc/auth.h: Mark functions which are to be hidden.
35461         * include/rpc/auth_des.h: Likewise.
35462         * include/rpc/auth_unix.h: Likewise.
35463         * include/rpc/clnt.h: Likewise.
35464         * include/rpc/des_crypt.h: Likewise.
35465         * include/rpc/key_prot.h: Likewise.
35466         * include/rpc/pmap_clnt.h: Likewise.
35467         * include/rpc/pmap_prot.h: Likewise.
35468         * include/rpc/pmap_rmt.h: Likewise.
35469         * include/rpc/rpc_msg.h: Likewise.
35470         * include/rpc/svc.h: Likewise.
35471         * include/rpc/svc_auth.h: Likewise.
35472         * include/rpc/xdr.h: Likewise.
35473         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35474         * nss/Makefile: Likewise.
35475         * sunrpc/Makefile: Don't install headers.  Build library with normal
35476         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35477         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35478         for the compat linking library.  Remove use of INTDEF/INTUSE.
35479         * sunrpc/auth_none.c: Likewise.
35480         * sunrpc/auth_unix.c: Likewise.
35481         * sunrpc/authdes_prot.c: Likewise.
35482         * sunrpc/authuxprot.c: Likewise.
35483         * sunrpc/clnt_gen.c: Likewise.
35484         * sunrpc/clnt_perr.c: Likewise.
35485         * sunrpc/clnt_raw.c: Likewise.
35486         * sunrpc/clnt_simp.c: Likewise.
35487         * sunrpc/clnt_tcp.c: Likewise.
35488         * sunrpc/clnt_udp.c: Likewise.
35489         * sunrpc/clnt_unix.c: Likewise.
35490         * sunrpc/des_crypt.c: Likewise.
35491         * sunrpc/des_soft.c: Likewise.
35492         * sunrpc/get_myaddr.c: Likewise.
35493         * sunrpc/key_call.c: Likewise.
35494         * sunrpc/key_prot.c: Likewise.
35495         * sunrpc/netname.c: Likewise.
35496         * sunrpc/pm_getmaps.c: Likewise.
35497         * sunrpc/pm_getport.c: Likewise.
35498         * sunrpc/pmap_clnt.c: Likewise.
35499         * sunrpc/pmap_prot.c: Likewise.
35500         * sunrpc/pmap_prot2.c: Likewise.
35501         * sunrpc/pmap_rmt.c: Likewise.
35502         * sunrpc/publickey.c: Likewise.
35503         * sunrpc/rpc_cmsg.c: Likewise.
35504         * sunrpc/rpc_common.c: Likewise.
35505         * sunrpc/rpc_dtable.c: Likewise.
35506         * sunrpc/rpc_prot.c: Likewise.
35507         * sunrpc/rpc_thread.c: Likewise.
35508         * sunrpc/rtime.c: Likewise.
35509         * sunrpc/svc.c: Likewise.
35510         * sunrpc/svc_auth.c: Likewise.
35511         * sunrpc/svc_authux.c: Likewise.
35512         * sunrpc/svc_raw.c: Likewise.
35513         * sunrpc/svc_run.c: Likewise.
35514         * sunrpc/svc_simple.c: Likewise.
35515         * sunrpc/svc_tcp.c: Likewise.
35516         * sunrpc/svc_udp.c: Likewise.
35517         * sunrpc/svc_unix.c: Likewise.
35518         * sunrpc/svcauth_des.c: Likewise.
35519         * sunrpc/xcrypt.c: Likewise.
35520         * sunrpc/xdr.c: Likewise.
35521         * sunrpc/xdr_array.c: Likewise.
35522         * sunrpc/xdr_float.c: Likewise.
35523         * sunrpc/xdr_intXX_t.c: Likewise.
35524         * sunrpc/xdr_mem.c: Likewise.
35525         * sunrpc/xdr_rec.c: Likewise.
35526         * sunrpc/xdr_ref.c: Likewise.
35527         * sunrpc/xdr_sizeof.c: Likewise.
35528         * sunrpc/xdr_stdio.c: Likewise.
35529
35530 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
35531
35532         [BZ #12650]
35533         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35534         * sysdeps/ia64/dl-tls.h: Likewise.
35535         * sysdeps/powerpc/dl-tls.h: Likewise.
35536         * sysdeps/s390/dl-tls.h: Likewise.
35537         * sysdeps/sh/dl-tls.h: Likewise.
35538         * sysdeps/sparc/dl-tls.h: Likewise.
35539         * sysdeps/x86_64/dl-tls.h: Likewise.
35540         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35541
35542 2011-03-14  Andreas Schwab  <schwab@redhat.com>
35543
35544         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35545         rpath element also skip the following colon.
35546         (expand_dynamic_string_token): Add is_path parameter and pass
35547         down to DL_DST_REQUIRED and _dl_dst_substitute.
35548         (decompose_rpath): Call expand_dynamic_string_token with
35549         non-zero is_path.  Ignore empty rpaths.
35550         (_dl_map_object_from_fd): Call expand_dynamic_string_token
35551         with zero is_path.
35552
35553 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
35554
35555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35556         Make cancelable.
35557
35558 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
35559
35560         [BZ #12655]
35561         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35562         Patch by Filipe David Manana <fdmanana@apache.org>.
35563
35564 2011-04-07  Andreas Schwab  <schwab@redhat.com>
35565
35566         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35567         Maintain aligned stack.
35568         (CHECK_RSP): Remove unused macro.
35569
35570 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
35571
35572         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35573         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35574
35575 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
35576
35577         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35578
35579         * include/features.h: Mention __USE_XOPEN2K8 in comment.
35580
35581 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
35582
35583         [BZ #12518]
35584         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35585         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35586         * sysdeps/x86_64/memmove.c: New file.
35587         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35588         (memcpy): Renamed to ...
35589         (__new_memcpy): This.
35590         (memcpy): Provide GLIBC_2_14 memcpy.
35591         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35592         (memcpy): Provide GLIBC_2_2_5 memcpy.
35593
35594 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35595
35596         [BZ #12631]
35597         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35598
35599 2011-03-30  Andreas Schwab  <schwab@redhat.com>
35600
35601         * misc/syncfs.c: New file.
35602         * misc/Makefile (routines): Add syncfs.
35603         * posix/unistd.h: Declare syncfs.
35604         * sysdeps/unix/syscalls.list: Add syncfs.
35605
35606 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35607
35608         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35609         open_by_handle_at.
35610         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35611         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35612         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35613         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35615         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35616         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35617
35618 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35619
35620         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35621         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35622         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35623         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35624         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35625         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35626         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35627
35628         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35629         sync_file_range.c with -fexceptions.
35630         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35631         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35632         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35633         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35634         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35635         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35637         sync_file_range as cancellation point
35638         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35639         now a wrapper around __call_sync_file_range with cancellation handling.
35640         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35641         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35642         function name to __call_sync_file_range.
35643         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35644         Add call_sync_file_range.
35645
35646 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35647
35648         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35649         bits/timex.h.
35650
35651 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35652
35653         * iconv/iconv.h: Fix typo in comment.
35654         * io/fcntl.h: Likewise.
35655         * libio/stdio.h: Likewise.
35656         * posix/spawn.h: Likewise.
35657         * posix/unistd.h: Likewise.
35658         * stdlib/stdlib.h: Likewise.
35659         * time/time.h: Likewise.
35660         * wcsmbs/wchar.h: Likewise.
35661
35662         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35663         open_by_handle): Add.
35664         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35665         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35666         Augment a few comments.
35667         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35669         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35671         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35672         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35673         open_by_handle.
35674
35675         * io/fcntl.h (AT_EMPTY_PATH): Define.
35676
35677 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35678
35679         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35680         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35681         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35682         to...
35683         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35684         * Versions.def: Add GLIBC_2.14.
35685         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35686         Export.
35687
35688 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35689
35690         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35691         round counter.
35692         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35693
35694 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35695
35696         [BZ #12597]
35697         * string/test-strncmp.c (do_page_test): New function.
35698         (check2): Likewise.
35699         (test_main): Call check2.
35700         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35701
35702 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35703
35704         [BZ #12587]
35705         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35706         Handle cache information in CPU leaf 4.
35707         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35708
35709 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35710
35711         [BZ #12583]
35712         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35713         character representation.
35714         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35715
35716 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35717
35718         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35719         END(__isnan) to END(__isnanf) to match function entry point/label
35720         EALIGN(__isnanf,...).
35721
35722 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35723
35724         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35725
35726 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35727
35728         [BZ #12510]
35729         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35730         copy from the symbol referenced in the relocation to initialize the
35731         used variable.
35732         Patch by Piotr Bury <pbury@goahead.com>.
35733         * elf/Makefile: Add rules to build and tst-unique3.
35734         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35735         * elf/tst-unique3.cc: New file.
35736         * elf/tst-unique3.h: New file.
35737         * elf/tst-unique3lib.cc: New file.
35738         * elf/tst-unique3lib2.cc: New file.
35739
35740         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35741
35742 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35743
35744         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35745         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35746         to _start.
35747
35748 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35749
35750         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35751         to-be-loaded object along a path to loader is ld.so.
35752
35753 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35754             Ulrich Drepper  <drepper@gmail.com>
35755
35756         * sysdeps/x86_64/memset.S: After aligning destination, code
35757         branches to different locations depending on the value of
35758         misalignment, when multiarch is enabled. Fix this.
35759
35760 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35761
35762         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35763         Set _x86_64_preferred_memory_instruction for AMD processsors.
35764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35765         Set bit_Prefer_SSE_for_memop for AMD processors.
35766
35767 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35768
35769         * libio/fmemopen.c (fmemopen): Optimize a bit.
35770
35771 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35772
35773         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35774
35775 2011-03-03  Roland McGrath  <roland@redhat.com>
35776
35777         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35778
35779 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35780
35781         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35782         __bzero_ultra1 instead of __memset_ultra1.
35783
35784 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35785             Ulrich Drepper  <drepper@gmail.com>
35786
35787         [BZ #12509]
35788         * include/link.h (struct link_map): Add l_orig_initfini.
35789         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35790         returning unsuccessfully.
35791         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35792         close of a file loaded at startup, restore the original l_initfini
35793         list.
35794         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35795         list, store the pointer.
35796         * elf/Makefile ($(objpfx)noload-mem): New rule.
35797         (noload-ENV): Define.
35798         (tests): Add $(objpfx)noload-mem.
35799         * elf/noload.c: Include <memcheck.h>.
35800         (main): Call mtrace.  Close all opened handles.
35801
35802 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35803
35804         [BZ #12454]
35805         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35806         dependencies are missing.
35807
35808 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35809
35810         Fix __if_freereq crash: Unlike the generic version which uses free,
35811         Hurd needs munmap.
35812         * sysdeps/mach/hurd/ifreq.h: New file.
35813
35814 2011-01-27  Petr Baudis  <pasky@suse.cz>
35815             Ulrich Drepper  <drepper@gmail.com>
35816
35817         [BZ 12445]#
35818         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35819         to extend_alloca().
35820         * stdio-common/bug23.c: New file.
35821         * stdio-common/Makefile (tests): Add bug23.
35822
35823 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35824             Ulrich Drepper  <drepper@gmail.com>
35825
35826         [BZ #12489]
35827         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35828         before performing relro protection.  At old place add assertion
35829         to make sure nothing changed.
35830
35831 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35832             Glauber de Oliveira Costa  <glommer@gmail.com>
35833
35834         * elf/elf.h: Add new ARM TLS relocs.
35835
35836 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35837
35838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35839         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35840         cast from r3.
35841         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35842         'tests' variable.
35843         * sysdeps/wordsize-64/tst-writev.c: New file.
35844
35845 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35846
35847         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35848         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35849         insns in _dl_start to prevent a TOC reference before relocs are
35850         resolved.
35851
35852 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35853
35854         [BZ #12469]
35855         * Makeconfig: Remove RANLIB definition.
35856         * Makerules: Don't use RANLIB.
35857         * aclocal.m4: Remove ranlib test.
35858         * configure.in: No need to check for ranlib.
35859         * elf/rtld-Rules: Don't use RANLIB.
35860
35861 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35862
35863         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35864         protection macro.
35865         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35866         inclusion protection macro.
35867
35868         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35869         SIGRTMIN and SIGRTMAX and print information in that case only when
35870         SIGRTMIN is defined.
35871
35872 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35873
35874         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35875         arginfo fn returning -1.
35876
35877         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35878         and thousands string is zero terminated.
35879
35880 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35881
35882         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35883         sysdeps/unix/sysv/linux/bits/socket.h.
35884
35885 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35886
35887         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35888         (__CPU_COUNT): Remove old macros.
35889         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35890         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35891         (__CPU_ALLOC, __CPU_FREE): Add macros.
35892         (__sched_cpualloc, __sched_cpufree): Add declarations.
35893
35894 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35895
35896         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35897         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35898         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35899         (readdhstai): Return value of addhstaiX call.
35900         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35901         (addgrbyX): Return value returned by cache_addgr.
35902         (readdgrbyname): Return value returned by addgrbyX.
35903         (readdgrbygid): Likewise.
35904         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35905         (addpwbyX): Return value returned by cache_addpw.
35906         (readdpwbyname): Return value returned by addhstbyX.
35907         (readdpwbyuid): Likewise.
35908         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35909         (addservbyX): Return value returned by cache_addserv.
35910         (readdservbyname): Return value returned by addservbyX:
35911         (readdservbyport): Likewise.
35912         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35913         (addhstbyX): Return value returned by cache_addhst.
35914         (readdhstbyname): Return value returned by addhstbyX.
35915         (readdhstbyaddr): Likewise.
35916         (readdhstbynamev6): Likewise.
35917         (readdhstbyaddrv6): Likewise.
35918         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35919         (readdinitgroups): Return value returned by addinitgroupsX.
35920         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35921         (prune_cache): Keep track of timeout value of re-added entries.
35922         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35923         * nscd/nscd.h: Adjust prototypes of readd* functions.
35924
35925 2011-02-04  Roland McGrath  <roland@redhat.com>
35926
35927         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35928         (nis_stats): Likewise.
35929         * nis/nis_modify.c (nis_modify): Likewise.
35930         * nis/nis_remove.c (nis_remove): Likewise.
35931         * nis/nis_add.c (nis_add): Likewise.
35932
35933         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35934
35935         * posix/fnmatch_loop.c: Add some consts.
35936
35937         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35938
35939 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35940
35941         [BZ #12460]
35942         * config.make.in (config-cflags-novzeroupper): Define.
35943         * configure.in: Substitute libc_cv_cc_novzeroupper.
35944         * elf/Makefile (AVX-CFLAGS): Define.
35945         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35946         (CFLAGS-tst-auditmod4a.c): Likewise.
35947         (CFLAGS-tst-auditmod4b.c): Likewise.
35948         (CFLAGS-tst-auditmod6b.c): Likewise.
35949         (CFLAGS-tst-auditmod6c.c): Likewise.
35950         (CFLAGS-tst-auditmod7b.c): Likewise.
35951         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35952
35953 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35954
35955         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35956         function to the callback.
35957         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35958
35959 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35960
35961         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35962         of errno.
35963
35964 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35965
35966         [BZ #11724]
35967         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35968         of constructors.
35969         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35970         of destructors.
35971         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35972
35973         [BZ #11724]
35974         * elf/Makefile: Add rules to build and run new test.
35975         * elf/tst-initorder.c: New file.
35976         * elf/tst-initorder.exp: New file.
35977         * elf/tst-initordera1.c: New file.
35978         * elf/tst-initordera2.c: New file.
35979         * elf/tst-initordera3.c: New file.
35980         * elf/tst-initordera4.c: New file.
35981         * elf/tst-initorderb1.c: New file.
35982         * elf/tst-initorderb2.c: New file.
35983         * elf/tst-order-a1.c: New file.
35984         * elf/tst-order-a2.c: New file.
35985         * elf/tst-order-a3.c: New file.
35986         * elf/tst-order-a4.c: New file.
35987         * elf/tst-order-b1.c: New file.
35988         * elf/tst-order-b2.c: New file.
35989         * elf/tst-order-main.c: New file.
35990         New test case by George Gensure <werkt0@gmail.com>.
35991
35992 2010-10-01  Andreas Schwab  <schwab@redhat.com>
35993
35994         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35995         decoding ACE if AI_CANONIDN.
35996
35997 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
35998
35999         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36000
36001 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36002
36003         * version.h (RELEASE): Bump for 2.13 release.
36004         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36005
36006         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36007
36008         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36009         MADV_NOHUGEPAGE.
36010         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36012         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36013         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36014         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36015         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36016
36017         * posix/getconf.c: Update copyright year.
36018         * catgets/gencat.c: Likewise.
36019         * csu/version.c: Likewise.
36020         * debug/catchsegv.sh: Likewise.
36021         * debug/xtrace.sh: Likewise.
36022         * elf/ldconfig.c: Likewise.
36023         * elf/ldd.bash.in: Likewise.
36024         * elf/sprof.c (print_version): Likewise.
36025         * iconv/iconv_prog.c: Likewise.
36026         * iconv/iconvconfig.c: Likewise.
36027         * locale/programs/locale.c: Likewise.
36028         * locale/programs/localedef.c: Likewise.
36029         * malloc/memusage.sh: Likewise.
36030         * malloc/mtrace.pl: Likewise.
36031         * nscd/nscd.c (print_version): Likewise.
36032         * nss/getent.c: Likewise.
36033
36034         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36035         PF_CAIF, and PF_ALG.
36036         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36037
36038 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36039
36040         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36041         (modules-names): Use them.
36042         (ifunc-test-modules, ifunc-pie-tests): Define.
36043         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36044         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36045         (test-extras): Likewise.
36046         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36047         $(compile-command.c).
36048         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36049         (all-built-dso): Define.
36050         (check-textrel.out, check-execstack.out): Depend on it.
36051
36052         * configure.in: Don't override --enable-multi-arch.
36053
36054 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36055
36056         [BZ #6812]
36057         * nscd/hstcache.c (tryagain): Define.
36058         (cache_addhst): Return tryagain not notfound for temporary errors.
36059         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36060         failed.
36061
36062 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36063
36064         [BZ #10563]
36065         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36066         to make the syscall.
36067         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36068
36069         [BZ #12378]
36070         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36071         and fall back to matching as normal character if the string ends before
36072         the matching ']' is found.  This is what POSIX requires.
36073         * posix/testfnm.c: Adjust test result.
36074         * posix/globtest.sh: Adjust test result.  Add new test.
36075         * posix/tst-fnmatch.input: Likewise.
36076         * posix/tst-fnmatch2.c: Add new test.
36077
36078 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36079
36080         * elf/Makefile (check-execstack): Revert last change.  Depend on
36081         check-execstack.h.
36082         (check-execstack.h): New target.
36083         (generated): Add check-execstack.h.
36084         * elf/check-execstack.c: Include "check-execstack.h".
36085         (main): Revert last change.
36086         (handle_file): Return zero if GNU_STACK is absent and
36087         DEFAULT_STACK_PERMS doesn't include PF_X.
36088
36089 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36090
36091         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36092         in child fails because the descriptor is already closed.
36093         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36094         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36095         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36096
36097         [BZ #12397]
36098         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36099         syscall.
36100
36101         [BZ #10484]
36102         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36103         temporary buffer used to handle multi lookups locally.
36104         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36105
36106 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36107
36108         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36109         loader is ld.so.
36110
36111 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36112
36113         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36114         alignment for SSE2.
36115
36116 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36117
36118         [BZ #12394]
36119         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36120         characters.  When rounding increased number of integer digits recompute
36121         number of groups.
36122         * stdio-common/tst-grouping.c: New file.
36123         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36124
36125 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36126
36127         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36128         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36129
36130         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36131         void.
36132         * bits/select.h: Likewise.
36133
36134 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36135
36136         * po/ja.po: Update from translation team.
36137
36138 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36139
36140         [BZ #11155]
36141         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36142         implementation just like for lxstat, fxstatat, et al.
36143
36144 2010-12-27  Jim Meyering  <meyering@redhat.com>
36145
36146         [BZ #12348]
36147         * posix/regexec.c (build_trtable): Return failure indication upon
36148         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36149
36150 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36151
36152         [BZ #12201]
36153         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36154         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36155         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36156         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36157
36158         [BZ #12207]
36159         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36160
36161         [BZ #12204]
36162         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36163         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36164
36165 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36166
36167         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36168         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36169         script has SORT_BY_INIT_PRIORITY.
36170         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36171         NO_CTORS_DTORS_SECTIONS is defined.
36172         * elf/soinit.c: Likewise.
36173         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36174         NO_CTORS_DTORS_SECTIONS is defined.
36175         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36176         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36177         * sysdeps/sh/init-first.c: Likewise.
36178         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36179
36180 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36181
36182         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36183         always use the slow path.
36184
36185 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36186
36187         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36188         similar rule which adds the sysdep directories to the header search in
36189         order to pick up the correct platform stackinfo.h.
36190         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36191         perform test if it is, otherwise return successfully without testing.
36192         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36193         DEFAULT_STACK_PERMS define in stackinfo.h.
36194         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36195         defined in stackinfo.h.
36196         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36197         DEFAULT_STACK_PERMS defined in stackinfo.h.
36198         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36199         * sysdeps/ia64/stackinfo.h: Likewise.
36200         * sysdeps/s390/stackinfo.h: Likewise.
36201         * sysdeps/sh/stackinfo.h: Likewise.
36202         * sysdeps/sparc/stackinfo.h: Likewise.
36203         * sysdeps/x86_64/stackinfo.h: Likewise.
36204         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36205         PF_X for powerpc64.  Retain PF_X for powerpc32.
36206
36207 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36208
36209         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36210         accurately.
36211         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36212         GETDENTS_64BIT_ALIGNED.
36213
36214 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36215
36216         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36217
36218 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36219
36220         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36221         _GNU_SOURCE.
36222
36223         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36224         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36225         Remove __restrict.
36226         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36227         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36228
36229 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36230
36231         [BZ #11655]
36232         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36233         are initialized.
36234
36235 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36236
36237         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36238
36239 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36240
36241         * po/it.po: Update from translation team.
36242
36243 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36244
36245         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36246         unused codes.
36247
36248 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36249
36250         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36251
36252 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36253
36254         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36255         specially.
36256         (gaih_getanswer_slice): Likewise.
36257
36258 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36259
36260         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36261
36262 2010-05-31  Petr Baudis  <pasky@suse.cz>
36263
36264         [BZ #11149]
36265         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36266         silently even in the chroot mode.
36267
36268 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36269
36270         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36271         last patch a bit.  Pretty printing
36272
36273 2010-05-31  Petr Baudis <pasky@suse.cz>
36274
36275         [BZ #10085]
36276         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36277         initialization of skip_initgroups_dyn.
36278
36279 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36280
36281         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36282         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36283
36284 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36285
36286         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36287
36288 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36289
36290         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36291         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36292         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36293         ($(objpfx)tst-fnmatch-mem): New rule.
36294         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36295         * posix/tst-fnmatch.c (main): Call mtrace.
36296
36297 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36298
36299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36300         Support Intel processor model 6 and model 0x2c.
36301
36302 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36303
36304         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36305           signed comparison.
36306
36307 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36308
36309         [BZ #12205]
36310         * string/test-strncasecmp.c (check_result): New function.
36311         (do_one_test): Use it.
36312         (check1): New function.
36313         (test_main): Use it.
36314         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36315         Support strcasecmp and strncasecmp.
36316
36317 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36318
36319         [BZ #12194]
36320         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36321         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36322
36323 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36324
36325         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36326         IFUNC support.
36327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36328         memset-x86-64.
36329         * sysdeps/x86_64/multiarch/bzero.S: New file.
36330         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36331         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36332         * sysdeps/x86_64/multiarch/memset.S: New file.
36333         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36335         Set bit_Prefer_SSE_for_memop for Intel processors.
36336         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36337         Define.
36338         (index_Prefer_SSE_for_memop): Define.
36339         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36340
36341 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36342
36343         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36344         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36345
36346 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36347
36348         [BZ #12191]
36349         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36350         (__x86_64_raw_data_cache_size_half): Likewise.
36351         (__x86_64_raw_shared_cache_size): Likewise.
36352         (__x86_64_raw_shared_cache_size_half): Likewise.
36353
36354         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36355         (__x86_64_raw_data_cache_size_half): Likewise.
36356         (__x86_64_raw_shared_cache_size): Likewise.
36357         (__x86_64_raw_shared_cache_size_half): Likewise.
36358         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36359         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36360         and __x86_64_raw_shared_cache_size_half.  Round
36361         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36362         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36363         to multiple of 256 bytes.
36364
36365 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36366
36367         [BZ #12167]
36368         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36369         of inacessible symlinks.  Verify result of symlink before returning it.
36370         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36371         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36372
36373 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36374
36375         * math/math.h (isinf): Fix typo in comment.
36376
36377 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36378
36379         * po/da.po: Update from translation team.
36380
36381 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36382
36383         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36384         is added to the list.
36385
36386 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36387             Ulrich Drepper  <drepper@gmail.com>
36388
36389         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36390         the global list here.  Move code to...
36391         (_dl_add_to_namespace_list): ...here.  New function.
36392         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36393         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36394         * elf/dl-load.c (lose): Don't remove the element from the list.
36395         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36396         (_dl_map_object): Likewise.
36397
36398 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36399
36400         [BZ #12159]
36401         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36402         into all bytes of SSE register.
36403         Patch by Richard Li <richardpku@gmail.com>.
36404
36405 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36406
36407         [BZ #12140]
36408         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36409         perturbing.
36410
36411 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36412
36413         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36414         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36415         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36416         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36418         submachine.
36419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36420
36421 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36422
36423         * include/dlfcn.h (__RTLD_SECURE): Define.
36424         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36425         mode & __RTLD_SECURE instead.
36426         (open_path): Rename preloaded parameter to secure.
36427         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36428         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36429         * elf/dl-deps.c (openaux): Likewise.
36430         * elf/rtld.c (struct map_args): Remove is_preloaded.
36431         (map_doit): Don't use it.
36432         (dl_main): Likewise.
36433         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36434         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36435
36436 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36437
36438         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36439         (sysd-rules-targets): Remove duplicates.
36440         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36441         rtld-%.$o dependency.
36442
36443 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36444
36445         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36446         _dl_map_object do it.
36447
36448 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36449
36450         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36451         fast fma builtins, define the macros in the C99 standard.
36452         (FP_FAST_FMAF): Likewise.
36453         (FP_FAST_FMAL): Likewise.
36454         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36455
36456         * bits/mathdef.h: Update copyright year.
36457         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36458
36459 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36460
36461         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36462         builtins, define the macros in the C99 standard.
36463         (FP_FAST_FMAF): Likewise.
36464         (FP_FAST_FMAL): Likewise.
36465         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36466         multiply/add.
36467         (FP_FAST_FMAF): Likewise.
36468
36469 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36470
36471         [BZ #3268]
36472         * math/libm-test.inc (fma_test): Some new testcases.
36473         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36474         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36475         y and infinite z.  Do multiplication by C already in long double.
36476         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36478         y and infinite z.  Do bitwise or of inexact bit into u.d.
36479         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36480         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36481         * sysdeps/i386/fpu/s_fma.S: Removed.
36482         * sysdeps/i386/fpu/s_fmal.S: Removed.
36483
36484 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36485
36486         [BZ #3268]
36487         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36488         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36489         computation is not scheduled after fetestexcept.  Fix value
36490         of minimum denormal long double.
36491
36492 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36493
36494         [BZ #3268]
36495         * math/libm-test.inc (fma_test): Add some more tests.
36496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36497         correctly.
36498
36499 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36500
36501         * scripts/data/localplt-s390-linux-gnu.data: New file.
36502         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36503
36504 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36505
36506         [BZ #3268]
36507         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36508         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36509         instead of dbl-64.
36510         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36511         inlines.
36512         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36514         if one of x and y is very large and the other is subnormal.
36515         * sysdeps/s390/fpu/s_fmaf.c: New file.
36516         * sysdeps/s390/fpu/s_fma.c: New file.
36517         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36518         * sysdeps/powerpc/fpu/s_fma.S: New file.
36519         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36520         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36521         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36522
36523 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
36524
36525         [BZ #3268]
36526         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36527         fma tests.
36528         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36529         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36530         * sysdeps/i386/i686/multiarch/s_fma.c: Include
36531         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36532         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36533         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36534         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36535
36536 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
36537
36538         [BZ #12078]
36539         * posix/regcomp.c (parse_branch): One more memory leak plugged.
36540         * posix/bug-regex31.input: Add test case.
36541
36542 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36543
36544         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36545         * posix/bug-regex31.input: New file.
36546
36547         [BZ #12078]
36548         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36549         (parse_sub_exp): Fix last change, use postorder.
36550
36551         * posix/bug-regex31.c: New file.
36552         * posix/Makefile: Add rules to build and run bug-regex31.
36553
36554         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36555
36556         [BZ #12078]
36557         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36558
36559         [BZ #12108]
36560         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36561         to have entries in sys_siglist.
36562
36563         [BZ #12093]
36564         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36565         be NULL.
36566
36567 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
36568
36569         [BZ #3268]
36570         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36571         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36572         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36573         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36574         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36575         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36576         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36577         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36578         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36579         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36580         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36581         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36582         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36583         * math/ftestexcept.c (fetestexcept): Likewise.
36584         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36585         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36586         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36587         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36588         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36589         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36590         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36591
36592 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36593
36594         [BZ #12107]
36595         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36596         newline.
36597
36598 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
36599
36600         * string/bug-strstr1.c: New file.
36601         * string/Makefile: Add rules to build and run bug-strstr1.
36602
36603 2010-10-05  Eric Blake  <eblake@redhat.com>
36604
36605         [BZ #12092]
36606         * string/str-two-way.h (two_way_long_needle): Always clear memory
36607         when skipping input due to the shift table.
36608
36609 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36610
36611         [BZ #12005]
36612         * malloc/mcheck.c: Handle large requests.
36613
36614         [BZ #12077]
36615         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36616         for strncmp and strncasecmp.
36617         * string/stratcliff.c: Add tests for strcmp and strncmp.
36618         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36619
36620 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36621
36622         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36623         __set_fpscr.
36624
36625 2010-09-30  Andreas Jaeger  <aj@suse.de>
36626
36627         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36628         (CGROUP_SUPER_MAGIC): Define.
36629         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36630         Handle btrfs and cgroup file systems.
36631         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36632         Likewise.
36633
36634 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36635
36636         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36637         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36638
36639 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36640
36641         [BZ #12067]
36642         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36643         trying to locate the ELF header.
36644
36645 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36646
36647         [BZ #11611]
36648         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36649         Mask out sign-bit copies when constructing f_fsid.
36650
36651 2010-09-24  Petr Baudis <pasky@suse.cz>
36652
36653         * debug/stack_chk_fail_local.c: Add missing licence exception.
36654         * debug/warning-nop.c: Likewise.
36655
36656 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36657
36658         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36659         implementing getdents64 using getdents syscall, set d_type if
36660         __ASSUME_GETDENTS32_D_TYPE.
36661
36662 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36663
36664         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36665         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36666
36667 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36668
36669         [BZ #12037]
36670         * posix/unistd.h: Undo change of feature selection for ftruncate from
36671         2010-01-11.
36672
36673 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36674
36675         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36676         detection.
36677
36678 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36679
36680         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36681         fanotify_mark.
36682         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36683
36684 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36685
36686         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36687         variables after CHECK_SP call.
36688         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36689
36690 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36691             Ulrich Drepper  <drepper@redhat.com>
36692
36693         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36694         re-relocationg ld.so.
36695         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36696         _dl_init_paths call.
36697         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36698         here anymore.
36699
36700 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36701
36702         * resolv/res_init.c (__res_vinit): Count the default server we added.
36703
36704 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36705             Ulrich Drepper  <drepper@redhat.com>
36706
36707         [BZ #11968]
36708         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36709         (____longjmp_chk): Use %ebx for saving value across system call.
36710         Add unwind info.
36711
36712 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36713
36714         * manual/Makefile: Don't mix pattern rules with normal rules.
36715
36716 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36717
36718         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36719         operation.
36720         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36721         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36722         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36723         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36724         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36725         Likewise.
36726
36727 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36728
36729         [BZ #11979]
36730         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36731         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36732
36733 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36734
36735         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36736         * sysdeps/x86_64/addmul_1.S: Likewise.
36737         * sysdeps/x86_64/lshift.S: Likewise.
36738         * sysdeps/x86_64/mul_1.S: Likewise.
36739         * sysdeps/x86_64/rshift.S: Likewise.
36740         * sysdeps/x86_64/sub_n.S: Likewise.
36741         * sysdeps/x86_64/submul_1.S: Likewise.
36742
36743 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36744
36745         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36746         Define __sched_param instead of SCHED_* and sched_param when
36747         <bits/sched.h> is included with __need_schedparam defined.
36748         * bits/sched.h [__need_schedparam]
36749         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36750         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36751         (__defined_schedparam): Define to 1.
36752         (__sched_param): New structure, identical to sched_param.
36753         (__need_schedparam): Undefine.
36754
36755 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36756
36757         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36758         (epoll_create1): Declare.
36759
36760         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36761
36762 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36763
36764         [BZ #7066]
36765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36766         shifting retval into place.
36767
36768 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36769
36770         * nis/rpcsvc/nis.h: Update copyright notice.
36771         * nis/rpcsvc/nis.x: Likewise.
36772         * nis/rpcsvc/nis_callback.h: Likewise.
36773         * nis/rpcsvc/nis_callback.x: Likewise.
36774         * nis/rpcsvc/nis_object.x: Likewise.
36775         * nis/rpcsvc/nis_tags.h: Likewise.
36776         * nis/rpcsvc/yp.h: Likewise.
36777         * nis/rpcsvc/yp.x: Likewise.
36778         * nis/rpcsvc/ypupd.h: Likewise.
36779         * nis/yp_xdr.c: Likewise.
36780         * nis/ypupdate_xdr.c: Likewise.
36781
36782         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36783         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36784         (pmap_getport): Use __libc_rpc_getport.
36785         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36786         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36787         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36788
36789 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36790
36791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36792         fanotify_mark.
36793
36794 2010-08-27  Roland McGrath  <roland@redhat.com>
36795
36796         * sysdeps/i386/i686/multiarch/Makefile
36797         (CFLAGS-varshift.c): New variable.
36798
36799 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36800
36801         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36802         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36803
36804         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36805
36806         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36807
36808 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36809
36810         * sysdeps/x86_64/strlen.S: Unroll the loop.
36811         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36812         strlen-sse2 strlen-sse2-bsf.
36813         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36814         __strlen_no_bsf if bit_Slow_BSF is set.
36815         (__strlen_sse42): Removed.
36816         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36817         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36818
36819 2010-08-25  Roland McGrath  <roland@redhat.com>
36820
36821         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36822         * sysdeps/x86_64/multiarch/varshift.c: New file.
36823         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36824         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36825         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36826         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36827
36828 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36829
36830         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36831         strlen-sse2 strlen-sse2-bsf.
36832         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36833         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36834         (__strlen_sse2): Removed.
36835         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36836         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36838         bit_Slow_BSF for Atom.
36839         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36840         (index_Slow_BSF): Define.
36841         (HAS_SLOW_BSF): Define.
36842
36843 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36844
36845         [BZ #10851]
36846         * resolv/res_init.c (__res_vinit): When no server address at all
36847         is given default to loopback.
36848
36849 2010-08-24  Roland McGrath  <roland@redhat.com>
36850
36851         * configure.in: Remove config-name.h generation.
36852         * configure: Regenerated.
36853         * config-name.in: File removed.
36854         * scripts/config-uname.sh: New file.
36855         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36856         ($(objdir)config-name.h): New target.
36857
36858         * sunrpc/rpc_parse.h: Avoid nested comment.
36859
36860 2010-08-24  Richard Henderson  <rth@redhat.com>
36861             Ulrich Drepper  <drepper@redhat.com>
36862             H.J. Lu  <hongjiu.lu@intel.com>
36863
36864         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36866         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36867         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36868         _mm_alignr_epi8 with _mm_loadu_si128.
36869         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36870         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36871         (__m128i_shift_right): Removed.
36872         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36873         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36874         * sysdeps/x86_64/multiarch/varshift.h: New file.
36875         * sysdeps/x86_64/multiarch/varshift.S: New file.
36876
36877 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36878
36879         * configure.in: Move assembler checks to before sysdep dir checking.
36880
36881 2010-08-20  Petr Baudis  <pasky@suse.cz>
36882
36883         * LICENSES: Sync the sunrpc license.
36884
36885 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36886
36887         * sunrpc/auth_des.c: Update copyright notice once again.
36888         * sunrpc/auth_none.c: Likewise.
36889         * sunrpc/auth_unix.c: Likewise.
36890         * sunrpc/authdes_prot.c: Likewise.
36891         * sunrpc/authuxprot.c: Likewise.
36892         * sunrpc/bindrsvprt.c: Likewise.
36893         * sunrpc/clnt_gen.c: Likewise.
36894         * sunrpc/clnt_perr.c: Likewise.
36895         * sunrpc/clnt_raw.c: Likewise.
36896         * sunrpc/clnt_simp.c: Likewise.
36897         * sunrpc/clnt_tcp.c: Likewise.
36898         * sunrpc/clnt_udp.c: Likewise.
36899         * sunrpc/clnt_unix.c: Likewise.
36900         * sunrpc/des_crypt.c: Likewise.
36901         * sunrpc/des_soft.c: Likewise.
36902         * sunrpc/get_myaddr.c: Likewise.
36903         * sunrpc/getrpcport.c: Likewise.
36904         * sunrpc/key_call.c: Likewise.
36905         * sunrpc/key_prot.c: Likewise.
36906         * sunrpc/openchild.c: Likewise.
36907         * sunrpc/pm_getmaps.c: Likewise.
36908         * sunrpc/pm_getport.c: Likewise.
36909         * sunrpc/pmap_clnt.c: Likewise.
36910         * sunrpc/pmap_prot.c: Likewise.
36911         * sunrpc/pmap_prot2.c: Likewise.
36912         * sunrpc/pmap_rmt.c: Likewise.
36913         * sunrpc/rpc/auth.h: Likewise.
36914         * sunrpc/rpc/auth_unix.h: Likewise.
36915         * sunrpc/rpc/clnt.h: Likewise.
36916         * sunrpc/rpc/des_crypt.h: Likewise.
36917         * sunrpc/rpc/key_prot.h: Likewise.
36918         * sunrpc/rpc/netdb.h: Likewise.
36919         * sunrpc/rpc/pmap_clnt.h: Likewise.
36920         * sunrpc/rpc/pmap_prot.h: Likewise.
36921         * sunrpc/rpc/pmap_rmt.h: Likewise.
36922         * sunrpc/rpc/rpc.h: Likewise.
36923         * sunrpc/rpc/rpc_des.h: Likewise.
36924         * sunrpc/rpc/rpc_msg.h: Likewise.
36925         * sunrpc/rpc/svc.h: Likewise.
36926         * sunrpc/rpc/svc_auth.h: Likewise.
36927         * sunrpc/rpc/types.h: Likewise.
36928         * sunrpc/rpc/xdr.h: Likewise.
36929         * sunrpc/rpc_clntout.c: Likewise.
36930         * sunrpc/rpc_cmsg.c: Likewise.
36931         * sunrpc/rpc_common.c: Likewise.
36932         * sunrpc/rpc_cout.c: Likewise.
36933         * sunrpc/rpc_dtable.c: Likewise.
36934         * sunrpc/rpc_hout.c: Likewise.
36935         * sunrpc/rpc_main.c: Likewise.
36936         * sunrpc/rpc_parse.c: Likewise.
36937         * sunrpc/rpc_parse.h: Likewise.
36938         * sunrpc/rpc_prot.c: Likewise.
36939         * sunrpc/rpc_sample.c: Likewise.
36940         * sunrpc/rpc_scan.c: Likewise.
36941         * sunrpc/rpc_scan.h: Likewise.
36942         * sunrpc/rpc_svcout.c: Likewise.
36943         * sunrpc/rpc_tblout.c: Likewise.
36944         * sunrpc/rpc_util.c: Likewise.
36945         * sunrpc/rpc_util.h: Likewise.
36946         * sunrpc/rpcinfo.c: Likewise.
36947         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36948         * sunrpc/rpcsvc/key_prot.x: Likewise.
36949         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36950         * sunrpc/rpcsvc/mount.x: Likewise.
36951         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36952         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36953         * sunrpc/rpcsvc/rex.x: Likewise.
36954         * sunrpc/rpcsvc/rstat.x: Likewise.
36955         * sunrpc/rpcsvc/rusers.x: Likewise.
36956         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36957         * sunrpc/rpcsvc/spray.x: Likewise.
36958         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36959         * sunrpc/rtime.c: Likewise.
36960         * sunrpc/svc.c: Likewise.
36961         * sunrpc/svc_auth.c: Likewise.
36962         * sunrpc/svc_authux.c: Likewise.
36963         * sunrpc/svc_raw.c: Likewise.
36964         * sunrpc/svc_run.c: Likewise.
36965         * sunrpc/svc_simple.c: Likewise.
36966         * sunrpc/svc_tcp.c: Likewise.
36967         * sunrpc/svc_udp.c: Likewise.
36968         * sunrpc/svc_unix.c: Likewise.
36969         * sunrpc/svcauth_des.c: Likewise.
36970         * sunrpc/xcrypt.c: Likewise.
36971         * sunrpc/xdr.c: Likewise.
36972         * sunrpc/xdr_array.c: Likewise.
36973         * sunrpc/xdr_float.c: Likewise.
36974         * sunrpc/xdr_mem.c: Likewise.
36975         * sunrpc/xdr_rec.c: Likewise.
36976         * sunrpc/xdr_ref.c: Likewise.
36977         * sunrpc/xdr_sizeof.c: Likewise.
36978         * sunrpc/xdr_stdio.c: Likewise.
36979
36980         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36981         handling.
36982
36983 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36984
36985         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36986
36987 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36988
36989         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36990         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36991         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36992         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36993         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36994         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36995         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36996         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36997         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36998         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36999         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37000         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37001         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37002         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37003
37004 2010-07-26  Anton Blanchard  <anton@samba.org>
37005
37006         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37007         * malloc/arena.c (heap_trim): Likewise.
37008
37009 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37010
37011         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37012         here.  Not...
37013         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37014         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37015
37016 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37017
37018         * sysdeps/i386/elf/Makefile: New file.
37019
37020 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37021
37022         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37023         from fanotify_init.
37024         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37025         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37026
37027 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37028
37029         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37030         of strncasecmp_l.
37031         * sysdeps/multiarch/strcmp.S: Likewise.
37032
37033 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37034
37035         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37036         strncase_l-nonascii.
37037         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37038         Add strncase_l-ssse3.
37039         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37040         * sysdeps/x86_64/strcmp.S: Likewise.
37041         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37042         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37043         * sysdeps/x86_64/strncase.S: New file.
37044         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37045         * sysdeps/x86_64/strncase_l.S: New file.
37046         * string/Makefile (strop-tests): Add strncasecmp.
37047         * string/test-strncasecmp.c: New file.
37048
37049         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37050         warning.
37051
37052         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37053         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37054
37055 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37056
37057         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37058
37059 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37060
37061         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37062         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37063         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37064
37065 2010-05-01  Alan Modra  <amodra@gmail.com>
37066
37067         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37068         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37069         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37070         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37071         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37072         tidying.  Don't tail-call __sigjmp_save for static lib.
37073         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37074         save location.
37075         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37076         (CALL_MCOUNT): Add eh info, and nop after bl.
37077         (TAIL_CALL_SYSCALL_ERROR): New macro.
37078         (PSEUDO_RET): Use it.
37079         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37080         Correct save location of integer regs and cr.
37081         (_dl_profile_resolve): Correct cr save location.  Delete nops
37082         after bl when SHARED.  Reduce cfi size a little by better
37083         placement of cfi directives.
37084         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37085         make a stack frame.  Instead use parm save area as a temp.
37086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37087         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37089         Don't make a stack frame for parent, use parm save area.
37090         Increase child stack frame to 112 bytes.  Don't save unused reg,
37091         and adjust reg usage.  Set up cfi on error recovery and
37092         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37094         (__makecontext): Add dummy nop after jump to exit.
37095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37096         Use correct parm save area and cr save, reduce stack frame.
37097         Correct cfi for possible PSEUDO_RET frame setup.
37098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37099         Branch to local label emitted by PSEUDO_RET rather than
37100         __syscall_error.
37101
37102 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37103
37104         [BZ #11904]
37105         * locale/programs/locale.c (print_assignment): New function.
37106         (show_locale_vars): Use it.
37107
37108 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37109
37110         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37111         field.
37112         (struct statfs64): Likewise.
37113         (_STATFS_F_FLAGS): Define.
37114         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37115         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37116         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37117         (ST_VALID): Define locally.
37118         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37119         __statvfs_getflags, use the provided value.
37120         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37121         __ASSUME_STATFS_F_FLAGS.
37122
37123         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37124
37125         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37126         Add sys/fanotify.h.
37127         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37128         fanotify_mask for GLIBC_2.13.
37129         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37130         fanotify_init and fanotify_mark.
37131         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37132         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37133
37134         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37135         Add prlimit.
37136         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37137         prlimit64 for GLIBC_2.13.
37138         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37139         prlimit64.
37140         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37141         syscall.
37142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37143         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37144         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37145         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37146         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37147         add prlimit alias.
37148         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37149
37150         [BZ #11903]
37151         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37152         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37153
37154         * nss/Makefile: Add rules to build and run tst-nss-test1.
37155         * shlib-versions: Add entry for libnss_test1.
37156         * nss/nss_test1.c: New file.
37157         * nss/tst-nss-test1.c: New file.
37158
37159         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37160         (__nss_configure_lookup): Set appropriate entry in
37161         __nss_configure_lookup to true.
37162         * nss/nsswitch.h: Define enum with indeces of databases in
37163         databases and __nss_database_custom arrays.  Declare
37164         __nss_database_custom.
37165         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37166         to avoid using nscd when custom rules are installed.
37167         * nss/getXXbyYY_r.c: Likewise.
37168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37169
37170         * nss/nss_files/files-parse.c: Whitespace fixes.
37171
37172 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37173
37174         [BZ #11883]
37175         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37176         * posix/fnmatch_loop.c: Likewise.
37177
37178 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37179
37180         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37181         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37182         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37183         * Versions.def [GLIBC_2.13]: Add.
37184
37185 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37186
37187         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37188         Also fail if tpwd after pwuid call is NULL.
37189
37190 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37191
37192         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37193         when converting to ms.
37194
37195 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37196
37197         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37198         EOPNOTSUPP errors with ENOTTY.
37199         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37200         EOPNOTSUPP errors with ENOTTY.
37201
37202 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37203
37204         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37205         Add strcasecmp_l-ssse3.
37206         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37207         strcasecmp.
37208         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37209         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37210         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37211
37212 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37213
37214         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37215
37216         * string/Makefile (strop-tests): Add strcasecmp.
37217         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37218         strcasecmp_l-nonascii.
37219         (gen-as-const-headers): Add locale-defines.sym.
37220         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37221         * sysdeps/x86_64/strcasecmp.S: New file.
37222         * sysdeps/x86_64/strcasecmp_l.S: New file.
37223         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37224         * sysdeps/x86_64/locale-defines.sym: New file.
37225         * string/test-strcasecmp.c: New file.
37226
37227         * string/test-strcasestr.c: Test both ends of the range of characters.
37228         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37229
37230 2010-07-29  Roland McGrath  <roland@redhat.com>
37231
37232         [BZ #11856]
37233         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37234
37235 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37236
37237         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37238         for ld.so.
37239
37240 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37241
37242         * manual/memory.texi (Malloc Tunable Parameters): Document
37243         M_PERTURB.
37244
37245 2010-07-26  Roland McGrath  <roland@redhat.com>
37246
37247         [BZ #11840]
37248         * configure.in (-fgnu89-inline check): Set and substitute
37249         gnu89_inline, not libc_cv_gnu89_inline.
37250         * configure: Regenerated.
37251         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37252
37253 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37254
37255         * string/test-strnlen.c: New file.
37256         * string/Makefile (strop-tests): Add strnlen.
37257         * string/tester.c (test_strnlen): Add a few more test cases.
37258         * string/tst-strlen.c: Better error reporting.
37259
37260         * sysdeps/x86_64/strnlen.S: New file.
37261
37262 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37263
37264         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37265         lower-latency instructions.
37266
37267 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37268
37269         * string/test-strcasestr.c: New file.
37270         * string/test-strstr.c: New file.
37271         * string/Makefile (strop-tests): Add strstr and strcasestr.
37272         * string/str-two-way.h: Don't undefine MAX.
37273         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37274
37275 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37276
37277         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37278         strcasestr-nonascii.
37279         (CFLAGS-strcasestr-nonascii.c): Define.
37280         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37281         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37282         Remove unused attribute.
37283
37284 2010-07-20  Roland McGrath  <roland@redhat.com>
37285
37286         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37287         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37288         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37289         like LD_HWCAP_MASK can disable hwcaps.
37290
37291 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37292
37293         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37294
37295 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37296
37297         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37298         call in strcasestr.
37299         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37300         __strcasestr_sse42_nonascii.
37301         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37302         strcasestr-nonascii.c.
37303         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37304
37305 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37306
37307         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37308         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37309         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37310         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37311
37312 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37313
37314         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37315         fcntl.
37316
37317 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37318
37319         [BZ #11577]
37320         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37321         dl_signal_cerror.
37322
37323 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37324
37325         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37326         _PC_PIPE_BUF using F_GETPIPE_SZ.
37327
37328 2010-07-05  Roland McGrath  <roland@redhat.com>
37329
37330         * manual/arith.texi (Rounding Functions): Fix rint description
37331         implicit in round description.
37332
37333 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37334
37335         * elf/Makefile: Fix linking for a few tests to make recent linker
37336         happy.
37337
37338 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37339
37340         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37341         $(common-objpfx)libc_nonshared.a.
37342
37343 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37344
37345         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37346         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37347         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37348         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37349         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37350         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37351         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37352         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37367         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37368         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37369         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37370         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37371         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37372         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37373         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37374         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37375         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37376         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37377         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37378         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37393
37394 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37395
37396         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37397         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37398         * string/memmove.c (memmove): Renamed to ...
37399         (MEMMOVE): ...this.  Default to memmove.
37400         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37401         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37402         (END_CHK): Define.
37403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37404         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37405         mempcpy-ssse3-back memmove-ssse3-back.
37406         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37407         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37408         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37409         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37410         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37411         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37412         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37413         * sysdeps/x86_64/multiarch/memmove.c: New file.
37414         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37415         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37416         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37417         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37418         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37419         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37420         Define.
37421         (index_Fast_Copy_Backward): Define.
37422         (HAS_ARCH_FEATURE): Define.
37423         (HAS_FAST_REP_STRING): Define.
37424         (HAS_FAST_COPY_BACKWARD): Define.
37425
37426 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37427
37428         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37429         Restore proper fallback handling.
37430
37431 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37432
37433         [BZ #11701]
37434         * posix/group_member.c (__group_member): Correct checking loop.
37435
37436         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37437         OOM in getpwuid_r correctly.  Return error number when the caller
37438         should return, otherwise -1.
37439         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37440         call returning > 0 value.
37441         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37442
37443 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37444
37445         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37446         libc_nonshared.a from targets in modules-names.
37447
37448 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37449
37450         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37451         requires it.
37452
37453 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37454
37455         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37456         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37457         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37458         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37459
37460 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37461
37462         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37463
37464 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37465
37466         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37467         and F_GETPIPE_SZ.
37468         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37469         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37470         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37471         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37472         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37473         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37474
37475 2010-06-14  Roland McGrath  <roland@redhat.com>
37476
37477         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37478
37479 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37480
37481         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37482         __REDIRECT followed by __THROW.
37483         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37484         * posix/getopt.h (getopt): Likewise.
37485
37486 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37487
37488         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37489         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37490         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37491         in AT_FLAGS.
37492         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37493         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37494
37495 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37496
37497         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37498
37499 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37500
37501         [BZ #11640]
37502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37503         Properly check family and model.
37504
37505 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37506
37507         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37508
37509 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
37510
37511         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37512
37513 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
37514
37515         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37516         symbol reference.
37517
37518 2010-05-19  Andreas Schwab  <schwab@redhat.com>
37519
37520         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37521         symbol reference.
37522
37523 2010-05-21  Andreas Schwab  <schwab@redhat.com>
37524
37525         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37526         and internal_recvmmsg.
37527         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37528         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37529         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37530         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37531
37532         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37533         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37534         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37535
37536 2010-05-20  Andreas Schwab  <schwab@redhat.com>
37537
37538         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37539
37540 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
37541
37542         POWER7 optimizations.
37543         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37544         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37545
37546 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
37547
37548         * version.h: Update for 2.13 development version.
37549
37550 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
37551
37552         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37553         exceptions.  Return 0.
37554
37555 2010-05-07  Roland McGrath  <roland@redhat.com>
37556
37557         * elf/ldconfig.c (main): Add a const.
37558
37559 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
37560
37561         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37562         (args_options): Add no-idn option.
37563         (ahosts_keys_int): Add idn_flags to ai_flags.
37564         (parse_option): Handle 'i' option to clear idn_flags.
37565
37566         * malloc/malloc.c (_int_free): Possible race in the most recently
37567         added check.  Only act on the data if no current modification
37568         happened.
37569
37570 See ChangeLog.17 for earlier changes.