Support TZ transition times < 00:00:00.
[glibc.git] / ChangeLog
blobde762a29f1a746d06809df71bddae7161342f5de
1 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
3         Support TZ transition times < 00:00:00.
4         This is needed for version-3 tz-format files; it supports time
5         stamps past 2037 for America/Godthab (the only entry in the tz
6         database for which this change is relevant).
7         * manual/time.texi (TZ Variable): Document transition times
8         from -167:59:59 through -00:00:01.
9         * time/tzset.c (tz_rule): Time of day is now signed.
10         (__tzset_parse_tz): Parse negative time of day.
12         Document TZ transition times >= 25:00:00.
13         * manual/time.texi (TZ Variable): Document transition times from
14         25:00:00 through 167:59:59.  These are already supported, and this
15         support will help with version-3 tz-format files.
17         * manual/time.texi (TZ Variable): Modernize North America example
18         to reflect current (i.e., 2007-and-later) daylight saving rules.
20         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29         * sysdeps/unix/bsd/bsdstat.h: Likewise.
30         * sysdeps/unix/bsd/clock.c: Likewise.
31         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
32         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33         * sysdeps/unix/bsd/init-posix.c: Likewise.
34         * sysdeps/unix/bsd/poll.c: Likewise.
35         * sysdeps/unix/bsd/ptsname.c: Likewise.
36         * sysdeps/unix/bsd/seekdir.c: Likewise.
37         * sysdeps/unix/bsd/setegid.c: Likewise.
38         * sysdeps/unix/bsd/seteuid.c: Likewise.
39         * sysdeps/unix/bsd/setgid.c: Likewise.
40         * sysdeps/unix/bsd/setrgid.c: Likewise.
41         * sysdeps/unix/bsd/setruid.c: Likewise.
42         * sysdeps/unix/bsd/setsid.c: Likewise.
43         * sysdeps/unix/bsd/setuid.c: Likewise.
44         * sysdeps/unix/bsd/sigaction.c: Likewise.
45         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
46         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48         * sysdeps/unix/bsd/telldir.c: Likewise.
49         * sysdeps/unix/bsd/times.c: Likewise.
50         * sysdeps/unix/bsd/usleep.c: Likewise.
52         * misc/Makefile (install-lib): Remove libbsd-compat.a.
53         ($(objpfx)libbsd-compat.a): Remove rule.
55         * include/features.h (__FAVOR_BSD): Do not define.
56         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
57         features conflicting with POSIX.
58         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59         (_BSD_SOURCE): Remove description of not being a subset of other
60         feature test macros.
61         * manual/job.texi (getpgrp): Do not document BSD version.
62         (getpgid): Do not document by reference to BSD getpgrp.
63         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
64         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
65         * signal/signal.h [__FAVOR_BSD]: Likewise.
66         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
67         instead of making contents conditional on [__FAVOR_BSD].
68         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
70 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
76         [BZ #16314]
77         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
78         values below 2**-450, not 2**-500.
79         * math/auto-libm-test-in: Don't allow spurious underflow from
80         hypot.
81         * math/auto-libm-test-out: Regenerated.
83         [BZ #16316]
84         [BZ #16330]
85         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
86         values of ha and hb and sort them after adjusting subnormal
87         arguments.
88         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
89         Likewise.
90         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
91         values of ea and eb and sort them after adjusting subnormal
92         arguments.
93         * math/auto-libm-test-in: Do not expect some hypot tests of
94         subnormals to fail.  Add more hypot tests.
95         * math/auto-libm-test-out: Regenerated.
97 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
99         [BZ #13304]
100         * sysdeps/sh/s_fma.c: New file.
101         * sysdeps/sh/s_fmaf.c: New file.
102         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
103         version.
104         * sysdeps/sh/Implies: Add sh/soft-fp.
106 2013-12-16  Roland McGrath  <roland@hack.frob.com>
108         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
109         level of indirection to members `objname', `errstring', `malloced'.
110         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
111         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
112         it as the __longjmp argument (just pass 1 instead).
113         (_dl_catch_error): Initialize C with argument pointers and address of
114         volatile local ERRCODE rather than copying values out of C at return.
116 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
118         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
119         * math/auto-libm-test-out: Regenerated.
120         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
121         (hypot_test_data): Likewise.
122         (pow_test_data): Likewise.
123         (pow_tonearest_test_data): Likewise.
124         * math/gen-auto-libm-tests.c (func_calc_method): Add value
125         mpfr_ff_f.
126         (func_calc_desc): Add mpfr_ff_f union field.
127         (FUNC_mpfr_ff_f): New macro.
128         (test_functions): Add atan2, hypot and pow.
129         (special_fill_min): New function.
130         (special_fill_minus_min): Likewise.
131         (special_fill_min_subnorm): Likewise.
132         (special_fill_minus_min_subnorm): Likewise.
133         (special_real_inputs): Add min, -min, min_subnorm and
134         -min_subnorm.
135         (calc_generic_results): Handle mpfr_ff_f.
136         * sysdeps/i386/fpu/libm-test-ulps: Update.
137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
139 2013-12-16  Will Newton  <will.newton@linaro.org>
141         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
142         (Aligned Memory Blocks): Add documentation for aligned_alloc
143         and suggest it as an alternative to posix_memalign.
144         (Hooks for Malloc): Document __memalign_hook is also called
145         for aligned_alloc.  (Summary of Malloc): Add summary for
146         aligned alloc.  Document __memalign_hook is also called
147         for aligned_alloc.
149 2013-12-16  Will Newton  <will.newton@linaro.org>
151         * manual/memory.texi (Malloc Examples): Clarify default
152         alignment documentation.  Suggest posix_memalign rather
153         than memalign or valloc.
154         (Aligned Memory Blocks): Remove suggestion to use memalign
155         or valloc.  Remove obsolete comment about BSD.
156         Document memalign errno values and mark the function obsolete.
157         Document posix_memalign returned error codes.  Mark valloc
158         as obsolete.  (Hooks for Malloc): __memalign_hook is also
159         called for posix_memalign and valloc.
160         (Summary of Malloc): Add posix_memalign to function summary.
161         __memalign_hook is also called for posix_memalign and valloc.
163 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
165         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
166         TAYLOR_SIN.
167         (__sin): Adjust.
168         (__cos): Likewise.
169         (sloww): Use mynumber union.  Expand ternary operator into
170         if-else statements.
171         (cslow): use mynumber union.
173 2013-12-16  Allan McRae  <allan@archlinux.org>
175         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
176         * configure: Regenerated.
178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
180         [BZ #14120]
181         * configure.ac: Added --enable-maintainer-mode. Check for
182         autoconf when enabled.
183         * configure: Regenerated.
185         * nscd/nscd.service: New file.
186         * nscd/nscd.tmpfiles: New file.
188 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
190         [BZ #12100]
191         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
192         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
193         * sysdeps/x86_64/multiarch/strstr.c: ... here.
194         (strstr): Add __strstr_sse2_unaligned ifunc.
195         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
196         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
197         (strcasestr): Remove __strcasestr_sse42 ifunc.
198         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
200         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
202 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
204         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
205         * sysdeps/sh/bits/fenv.h: ... here.
206         * sysdeps/sh/sh4/fpu/bits: Remove directory.
208 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
210         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
212 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
215         hypotf multiarch implementations.
216         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
217         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
218         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
219         multiarch hypot for PPC64.
220         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
221         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
222         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
223         multiarch hypotf for PPC64.
225 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
227         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
228         modff multiarch implementations.
229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
232         multiarch modf for PPC64.
233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
236         multiarch modff for PPC64.
238 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
240         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
241         and logl multiarch implementations.
242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
245         multiarch logb for PPC64.
246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
249         multiarch logb for PPC64.
250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
253         multiarch logb for PPC64.
255 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
258         isinff multiarch implementation.
259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
260         file.
261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
263         multiarch isinf for PPC64.
264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
265         file.
266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
267         multiarch isinff for PPC64.
269 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
272         finitef multiarch implementation.
273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
274         file.
275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
277         multiarch finite for PPC64.
278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
279         file.
280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
281         multiarch finitef for PPC64.
283 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
286         lrint multiarch implementation.
287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
288         file.
289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
291         multiarch llrint for PPC64.
292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
293         multiarch lrint for PPC64.
295 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
298         copysignf multiarch implementation.
299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
300         file.
301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
302         file.
303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
304         multiarch copysign for PPC64.
305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
306         multiarch copysignf for PPC64.
308 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
311         multiarch implementation.
312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
313         file.
314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
315         file.
316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
317         file.
318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
319         file.
320         multiarch llround for PPC64.
321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
322         multiarch trunc for PPC64.
323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
324         multiarch truncf for PPC64.
326 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
329         multiarch implementation.
330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
331         file.
332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
333         file.
334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
335         file.
336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
337         file.
338         multiarch llround for PPC64.
339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
340         multiarch round for PPC64.
341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
342         multiarch roundf for PPC64.
344 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
347         multiarch implementation.
348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
349         file.
350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
351         file.
352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
353         file.
354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
355         file.
356         multiarch llround for PPC64.
357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
358         multiarch floor for PPC64.
359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
360         multiarch floorf for PPC64.
362 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
364         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
365         multiarch implementation.
366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
367         file.
368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
369         file.
370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
371         file.
372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
373         file.
374         multiarch llround for PPC64.
375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
376         multiarch ceil for PPC64.
377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
378         multiarch ceilf for PPC64.
380 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
382         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
383         multiarch implementation.
384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
385         file.
386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
387         file.
388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
389         file.
390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
391         multiarch llround for PPC64.
392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
393         multiarch lround for PPC64.
395 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
397         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
398         multiarch implementation.
399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
402         file.
403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
406         multiarch isnan for PPC64.
407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
408         multiarch isnanf for PPC64.
410 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
412         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
413         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
414         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
415         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
416         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
419 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
421         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
422         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
423         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
424         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
426 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
429         multiarch implementations.
430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
431         (__libc_ifunc_impl_list): Likewise.
432         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
433         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
435         multiarch stpcpy for PPC64.
437 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
440         multiarch implementations.
441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
442         (__libc_ifunc_impl_list): Likewise.
443         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
444         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
445         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
446         multiarch strcpy for PPC64.
448 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
450         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
451         redefine function name.
452         (_wordcopy_fwd_dest_aligned): Likewise.
453         (_wordcopy_bwd_aligned): Likewise.
454         (_wordcopy_bwd_dest_aligned): Likewise.
455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
456         multiarch implementations.
457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
458         (__libc_ifunc_impl_list): Likewise.
459         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
460         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
461         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
462         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
463         multiarch wcscpy for PPC64.
465 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
468         multiarch implementations.
469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
470         (__libc_ifunc_impl_list): Likewise.
471         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
472         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
473         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
474         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
475         multiarch wcscpy for PPC64.
477 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
480         multiarch implementations.
481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
482         (__libc_ifunc_impl_list): Likewise.
483         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
484         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
485         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
486         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
487         multiarch wcsrchr for PPC64.
489 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
492         multiarch implementations.
493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
494         (__libc_ifunc_impl_list): Likewise.
495         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
496         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
497         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
498         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
499         multiarch wcschr for PPC64.
501 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
504         multiarch implementations.
505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
506         (__libc_ifunc_impl_list): Likewise.
507         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
508         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
509         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
510         multiarch strchrnul for PPC64.
512 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
515         implementations.
516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
517         (__libc_ifunc_impl_list): Likewise.
518         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
519         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
520         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
521         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
522         strchr for PPC64.
524 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
527         implementations.
528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
529         (__libc_ifunc_impl_list): Likewise.
530         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
531         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
532         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
533         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
534         strncmp for PPC64.
536 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
539         multiarch implementations.
540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
541         (__libc_ifunc_impl_list): Likewise.
542         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
543         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
544         strncasecmp for PPC64.
545         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
546         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
547         multiarch strncasecmp_l for PPC64.
549 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
552         multiarch implementations.
553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
554         (__libc_ifunc_impl_list): Likewise.
555         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
556         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
557         multiarch strcasecmp for PPC64.
558         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
559         file.
560         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
561         multiarch strcasecmp_l for PPC64.
563 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
566         implementations.
567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
568         (__libc_ifunc_impl_list): Likewise.
569         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
570         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
571         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
572         strnlen for PPC64.
574 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
577         implementations.
578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
579         (__libc_ifunc_impl_list): Likewise.
580         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
581         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
582         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
583         strlen for PPC64.
585 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
588         implementations.
589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
590         (__libc_ifunc_impl_list): Likewise.
591         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
592         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
593         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
594         rawmemrchr for PPC64.
596 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
599         implementation.
600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
601         (__libc_ifunc_impl_list): Likewise.
602         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
603         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
604         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
605         memrchr for PPC64.
607 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
610         implementation.
611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
612         (__libc_ifunc_impl_list): Likewise.
613         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
614         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
615         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
616         memchr for PPC64.
618 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
621         implementation.
622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
623         (__libc_ifunc_impl_list): Likewise.
624         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
625         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
626         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
627         mempcpy for PPC64.
629 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
631         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
632         avoid cretion of __bzero symbol.
633         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
634         Likewise.
635         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
636         Likewise.
637         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
638         Likewise.
639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
640         multiarch implementations.
641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
642         (__libc_ifunc_impl_list): Likewise.
643         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
644         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
645         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
646         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
647         bzero for PPC32.
648         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
649         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
650         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
651         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
652         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
653         memset for PPC64.
654         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
656 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
658         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
660         implementations.
661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
662         (__libc_ifunc_impl_list): Likewise.
663         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
664         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
665         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
666         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
667         memcmp for PPC64.
669 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
672         multiarch for POWER/PPC64.
673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
674         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
675         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
676         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
677         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
678         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
679         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
680         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
681         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
682         memcpy for PPC64.
684 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
686         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
687         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
688         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
689         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
690         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
691         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
692         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
693         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
694         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
695         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
696         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
697         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
698         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
699         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
700         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
709 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
711         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
713 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
715         * benchtests/Makefile (bench): Add exp2 and log2.
716         (LDLIBS-bench-exp2): Add -lm.
717         (LDLIBS-bench-log2): Likewise.
718         * benchtests/exp2-inputs: New inputs file.
719         * benchtests/log2-inputs: New inputs file.
720         * benchtests/log-inputs: Add new inputs.
721         * benchtests/tan-inputs: Likewise.
723 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
725         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
726         definition...
727         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
728         csloww1, csloww2): ... from here.
730         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
731         instead of structures.
732         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
733         (POLYNOMIAL): Likewise.
734         (TAYLOR_SLOW): Likewise.
735         (__sin): Likewise.
736         (__cos): Likewise.
737         (slow1): Likewise.
738         (slow2): Likewise.
739         (sloww): Likewise.
740         (sloww1); Likewise.
741         (sloww2): Likewise.
742         (bsloww1): Likewise.
743         (bsloww2): Likewise.
744         (cslow2): Likewise.
745         (csloww): Likewise.
746         (csloww1): Likewise.
747         (csloww2): Likewise.
749 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
751         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
752         (__malloc_assert, __libc_realloc, __libc_calloc,
753         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
754         memcpy and memset.
755         * malloc/hooks.c (realloc_check): Likewise.
757 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
759         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
760         * malloc/arena.c: Remove PER_THREAD conditional.
761         [!PER_THREAD]: Remove code.
762         (ptmalloc_unlock_all2): Likewise.
763         (ptmalloc_init): Likewise.
764         (_int_new_arena): Likewise.
765         (arena_get2): Likewise.
766         * malloc/hooks.c (__malloc_get_state): Likewise.
767         (__malloc_set_state): Likewise.
768         * malloc/malloc.c: Likewise.
769         (struct malloc_state): Likewise.
770         (struct malloc_par): Likewise.
771         (__libc_realloc): Likewise.
772         (__libc_mallopt): Likewise.
774 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
776         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
778 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
780         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
781         macro to a function.  Check for zero perturb_byte.
782         (_int_malloc, _int_free): Remove zero perturb_byte checks.
784 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
786         * malloc/malloc.c: (force_reg): Remove.
787         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
788         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
789         force_reg by atomic_forced_read.
790         * malloc/arena.c (ptmalloc_init): Likewise.
791         * malloc/hooks.c (top_check): Likewise.
793 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
797 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
801 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
803         * math/auto-libm-test-in: Add tests of lgamma.
804         * math/auto-libm-test-out: Regenerated.
805         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
806         (M_LOG_2_SQRT_PIl): Likewise.
807         (lgamma_test_data): Use AUTO_TESTS_f_f1.
808         * math/gen-auto-libm-tests.c (func_calc_method): Add value
809         mpfr_f_f1.
810         (func_calc_desc): Add mpfr_f_f1 union field.
811         (ARGS1): New macro.
812         (ARGS2): Likewise.
813         (ARGS3): Likewise.
814         (ARGS4): Likewise.
815         (RET1): Likewise.
816         (RET2): Likewise.
817         (CALC): Likewise.
818         (FUNC): Likewise.
819         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
820         (test_functions): Add lgamma.
821         (calc_generic_results): Handle mpfr_f_f1.
822         * sysdeps/i386/fpu/libm-test-ulps: Update.
823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
825 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
827         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
828         __mpn_add_n for PowerPC64/POWER7.
829         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
830         __mpn_sub_n for PowerPC64/POWER7.
832 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
834         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
835         __mpn_addmul_1 for PowerPC64.
836         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
837         __mpn_submul_1 for PowerPC64.
838         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
839         for PowerPC64.
840         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
841         for PowerPC64.
843 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
845         [BZ #15089]
846         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
848 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
850         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
852 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
854         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
855         add multiarch folders.
856         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
857         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
858         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
859         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
860         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
861         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
862         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
863         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
864         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
865         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
866         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
874 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
877         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
879         New file.
880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
881         New file.
882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
883         multiarch __ieee754_hypot for PowerPC32.
884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
885         New file.
886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
887         New file.
888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
889         multiarch __ieee754_hypotf for PowerPC32.
891 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
893         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
894         long_double_symbol only if __logbl is defined.
895         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
896         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
897         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
898         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
900         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
901         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
902         path for implementation.
903         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
904         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
906         logb, and logbl multiarch implementations for PowerPC32.
907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
908         file.
909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
910         file.
911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
912         multiarch logb for PowerPC32.
913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
914         file.
915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
916         file.
917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
918         multiarch logbf for PowerPC32.
919         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
921         file.
922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
923         multiarch logbl implementation for PowerPC32.
925 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
928         and modff multiarch implementations.
929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
930         New file.
931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
932         New file.
933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
934         multiarch modf for PowerPC32.
935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
936         New file.
937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
938         New file.
939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
940         multiarch modff for PowerPC32.
942 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
945         and lrintf multiarch implementations.
946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
947         New file.
948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
949         New file.
950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
951         multiarch lrint for PowerPC32.
952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
953         file: multiarch lrintf for PowerPC32.
955 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
958         and lroundf multiarch implementations.
959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
960         New file.
961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
962         New file.
963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
964         New file.
965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
966         multiarch lround for PowerPC32.
967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
968         file: multiarch lroundf for PowerPC32.
970 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
973         copysign and copysignf multiarch implementations.
974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
975         New file.
976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
977         New file.
978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
979         file: multiarch copysign for PowerPC32.
980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
981         file: multiarch copysignf for PowerPC32.
983 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
986         and truncf multiarch implementations.
987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
988         New file.
989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
990         file.
991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
992         multiarch trunc for PowerPC32.
993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
994         New file.
995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
996         New file.
997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
998         multiarch truncf for PowerPC32.
1000 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1003         and roundf multiarch implementations.
1004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1005         New file.
1006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1007         file.
1008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1009         multiarch round for PowerPC32.
1010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1011         New file.
1012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1013         New file.
1014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1015         multiarch roundf for PowerPC32.
1017 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1020         and floorf multiarch implementations.
1021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1022         New file.
1023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1024         file.
1025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1026         multiarch floor for PowerPC32.
1027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1028         New file.
1029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1030         New file.
1031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1032         multiarch floorf for PowerPC32.
1034 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1037         and ceilf multiarch implementations.
1038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1039         New file.
1040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1041         file.
1042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1043         multiarch ceil for PowerPC32.
1044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1045         New file.
1046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1047         file.
1048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1049         multiarch ceilf for PowerPC32.
1051 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1053         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1054         is defined.
1055         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1056         FINITEF is defined.
1057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1058         and finitef multiarch implementations.
1059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1060         New file.
1061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1062         file.
1063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1064         multiarch finite for PowerPC32.
1065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1066         New file.
1067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1068         file: multiarch finitef for PowerPC32.
1070 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1073         and isinff multiarch implementations.
1074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1075         file.
1076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1077         file.
1078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1079         multiarch isinf for PowerPC32.
1080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1081         New file.
1082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1083         multiarch isinff for PowerPC32.
1085 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1087         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1088         alias when __isnan is defined.
1089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1090         and isnanf multiarch implementations.
1091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1092         file.
1093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1094         file.
1095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1096         file.
1097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1098         file.
1099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1100         multiarch isnan for PowerPC32.
1101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1102         New file.
1103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1104         New file.
1105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1106         multiarch isnanf for PowerPC32.
1108 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1111         and sqrtf multiarch implementations.
1112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1113         file.
1114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1115         file.
1116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1117         multiarch sqrt for PowerPC32.
1118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1119         file.
1120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1121         file.
1122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1123         multiarch sqrtf for PowerPC32.
1125 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1128         and llroundf multiarch implementations.
1129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1130         New file.
1131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1132         New file.
1133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1134         New file.
1135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1136         file: multiarch llround for PowerPC32.
1137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1138         file: multiarch llroundf for PowerPC32.
1140 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1143         multiarch PowerPC32 fpu implementations.
1144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1145         New file.
1146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1147         New file.
1148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1149         multiarch llrint for PowerPC32.
1150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1151         New file.
1152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1153         New file.
1154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1155         file.
1157 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1161 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1163         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1164         file.
1165         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1166         file.
1167         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1168         file.
1169         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1170         multiarch wordcopy for PPC32.
1171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1172         wordcopy objects.
1173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1174         (__libc_ifunc_impl_list): Likewise.
1175         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1176         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1177         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1178         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1179         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1180         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1182 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1184         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1185         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1186         file.
1187         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1188         file.
1189         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1190         file.
1191         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1192         multiarch wcscpy for PPC32.
1193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1194         multiarch objects.
1195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1196         (__libc_ifunc_impl_list): Likewise.
1197         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1198         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1199         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1200         sysdeps/powerpc/power6/wcscpy.c.
1202 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1204         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1205         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1206         file.
1207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1208         file.
1209         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1210         file.
1211         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1212         multiarch wcsrchr for PPC32.
1213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1214         multiarch objects.
1215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1216         (__libc_ifunc_impl_list): Likewise.
1217         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1218         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1219         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1220         sysdeps/powerpc/power6/wcsrchr.c.
1222 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1225         file.
1226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1227         file.
1228         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1230         multiarch wcschr for PPc32.
1231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1232         multiarch objects.
1233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1234         (__libc_ifunc_impl_list): Likewise.
1235         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1236         * sysdeps/powerpc/power6/wcschr.c: ... to here.
1237         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1238         sysdeps/powerpc/power6/wcschr.c.
1240 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1242         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1243         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1244         file.
1245         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1246         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1247         file: multiarch strchr for PPC32.
1248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1249         multiarch objects.
1250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1251         (__libc_ifunc_impl_list): Likewise.
1253 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1255         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1256         name.
1257         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1258         file.
1259         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1260         file.
1261         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1262         multiarch strchrnul for PPC32.
1263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1264         multiarch objects.
1265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1266         (__libc_ifunc_impl_list): Likewise.
1268 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1270         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1271         file.
1272         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1273         multiarch strncasecmp for PPC32.
1274         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1275         file.
1276         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1277         multiarch strncasecmp_l for PPC32.
1278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1279         strncasecmp multiarch objects.
1280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1281         (__libc_ifunc_impl_list): Likewise.
1283 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1285         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1286         file.
1287         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1288         multiarch strncasecmp for PPC32.
1289         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1290         New file.
1291         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1292         multiarch strcasecmp_l for PPC32.
1293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1294         multiarch objects.
1295         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1296         (__libc_ifunc_impl_list): Likewise.
1298 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1300         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1301         file.
1302         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1303         file.
1304         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1305         multiarch strncmp for PPC32.
1306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1307         multiarch objects.
1308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1309         (__libc_ifunc_impl_list): Likewise.
1311 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1313         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1314         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1315         file.
1316         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1317         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1319         multiarch objects.
1320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1321         (__libc_ifunc_impl_list): Likewise.
1323 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1325         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1326         file.
1327         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1328         file.
1329         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1331         multiarch objects.
1332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1333         (__libc_ifunc_impl_list): Likewise.
1335 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1337         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1338         file.
1339         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1340         file.
1341         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1342         multiarch rawmemchr for PPC32.
1343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1344         multiarch objects.
1345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1346         (__libc_ifunc_impl_list): Likewise.
1348 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1350         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1351         file.
1352         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1353         file.
1354         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1355         file: memrchr multiarch for PPC32.
1356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1357         multiarch objects.
1358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1359         (__libc_ifunc_impl_list): Likewise.
1361 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1363         * string/memchr.c (__memchr): Using macro to redefine symbol name.
1364         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1365         file.
1366         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1367         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1368         multiarch memchr for PPC32.
1369         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1370         multiarch objects.
1371         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1372         (__libc_ifunc_impl_list): Likewise.
1374 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1376         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1377         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1378         file.
1379         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1380         file.
1381         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1382         file: multiarch mempcpy for PPC32.
1383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1384         multiarch objects.
1385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1386         (__libc_ifunc_impl_list): Likewise.
1388 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1390         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1391         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1392         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1393         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1394         multiarch bzero for PPC32.
1395         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1396         file.
1397         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1398         file.
1399         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1400         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1401         file: multiarch memset for PPC32.
1402         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1404         memset multiarch objects.
1405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1406         (__libc_ifunc_impl_list): Likewise.
1408 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1410         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1411         file.
1412         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1413         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1414         memcmp for PPC32.
1415         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1416         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1417         multiarch objects.
1418         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1419         (__libc_ifunc_impl_list): Likewise.
1421 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1423         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1424         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1425         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1426         file.
1427         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1428         file.
1429         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1430         file.
1431         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1432         multiarch memcpy for PPC32.
1433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1434         multiarch objects.
1435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1436         (__libc_ifunc_impl_list): Likewise.
1438 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1441         support multiarch for POWER/PPC32.
1442         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1443         Likewise.
1444         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1446         Implies file to make multiarch folder appers before the fpu and
1447         default folder for power4 configuration.
1449 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
1451         * scripts/bench.pl: Append volatile keyword to type.
1453 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1455         * sysdeps/sh/sotruss-lib.c: New file.
1456         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1458 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1462 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
1464         [BZ #6810]
1465         * math/w_tgamma.c: Include <errno.h>.
1466         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
1467         * math/w_tgammaf.c: Include <errno.h>.
1468         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
1469         * math/w_tgammal.c: Include <errno.h>.
1470         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
1471         * math/auto-libm-test-in: Do not allow missing errno on tgamma
1472         underflow.  Add more tgamma tests.
1473         * math/auto-libm-test-out: Regenerated.
1474         * sysdeps/i386/fpu/libm-test-ulps: Update.
1475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1477         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1478         sin, sinh, tan, tanh, tgamma, y0 and y1.
1479         * math/auto-libm-test-out: Regenerated.
1480         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1481         (TEST_COND_x86): Likewise.
1482         (M_E2l): Remove macro.
1483         (M_E3l): Likewise.
1484         (M_2_SQRT_PIl): Likewise.
1485         (M_SQRT_PIl): Likewise.
1486         (M_1_DIV_El): Likewise.
1487         (log_test_data): Use AUTO_TESTS_f_f.
1488         (log10_test_data): Likewise.
1489         (log1p_test_data): Likewise.
1490         (log2_test_data): Likewise.
1491         (sin_test_data): Likewise.
1492         (sin_tonearest_test_data): Likewise.
1493         (sin_towardzero_test_data): Likewise.
1494         (sin_downward_test_data): Likewise.
1495         (sin_upward_test_data): Likewise.
1496         (sinh_test_data): Likewise.
1497         (sinh_tonearest_test_data): Likewise.
1498         (sinh_towardzero_test_data): Likewise.
1499         (sinh_downward_test_data): Likewise.
1500         (sinh_upward_test_data): Likewise.
1501         (tan_test_data): Likewise.
1502         (tan_tonearest_test_data): Likewise.
1503         (tan_towardzero_test_data): Likewise.
1504         (tan_downward_test_data): Likewise.
1505         (tan_upward_test_data): Likewise.
1506         (tanh_test_data): Likewise.
1507         (tgamma_test_data): Likewise.
1508         (y0_test_data): Likewise.
1509         (y1_test_data): Likewise.
1510         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1511         (special_real_inputs): Add pi/4.
1512         * sysdeps/i386/fpu/libm-test-ulps: Update.
1513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1515 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1517         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1518         "longjmp_target" static probes.
1519         (__longjmp): Rename to __longjmp_symbol.
1520         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1521         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1522         on which longjmp to generate.
1523         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1524         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1525         probe.
1526         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1527         (__sigjmp_save): Rename to __sigjmp_save_symbol.
1528         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1529         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1530         and __sigjmp_save_symbol based on which sigsetjmp to generated.
1531         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1533         __longjmp_symbol based on which __longjmp to generate.
1534         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1535         probe.
1536         (setjmp): Rename to setjmp_symbol.
1537         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1538         (_setjmp): Rename to _setjmp_symbol.
1539         (__sigsetjmp): Rename to __sigsetjmp_symbol.
1540         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1541         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1542         which setjmp to generate.
1543         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1544         "longjmp_target" static probes.
1546 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1548         * benchtests/README: Add note about output arguments.
1549         * benchtests/bench-sincos.c: Remove file.
1550         * benchtests/sincos-inputs: New file.
1551         * scripts/bench.pl: Identify output arguments and define
1552         static variables for them.
1554         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1556         [BZ #15941]
1557         * Makefile (INSTALL): Add install-plain.texi as the primary
1558         dependency.
1559         * manual/install-plain.texi: New file.
1560         * manual/install.texi: Include node directive only for
1561         non-plaintext output.
1563 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
1565         * stdlib/longlong.h: Update from GCC.
1567         [BZ #6807]
1568         [BZ #15901]
1569         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1570         * math/w_j0f.c (y0f): Likewise.
1571         * math/w_j0l.c (__y0l): Likewise.
1572         * math/w_j1.c (y1): Likewise.
1573         * math/w_j1f.c (y1f): Likewise.
1574         * math/w_j1l.c (__y1l): Likewise
1575         * math/w_jn.c (yn): Likewise.
1576         * math/w_jnf.c (ynf): Likewise.
1577         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1578         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
1579         value for Bessel function domain errors outside _SVID_ mode.
1580         Adjust sign of return value for yn (negative integer, 0).
1581         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1582         by zero in return for negative x and set sign appropriately for
1583         negative n.
1584         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1585         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1586         * math/libm-test.inc (y0_test_data): Add more tests and adjust
1587         expectations in error cases.
1588         (y1_test_data): Likewise.
1589         (yn_test_data): Likewise.
1590         * sysdeps/i386/fpu/libm-test-ulps: Update.
1591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1593 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1595         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1596         "64" to "64-v1".  Add "64-v2".
1597         (abi-64-options): Rename to ...
1598         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
1599         (abi-64-condition): Rename to ...
1600         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
1601         (abi-64-ld-soname): Rename to ...
1602         (abi-64-v1-ld-soname): ... this.
1603         (abi-64-v2-options): Define.
1604         (abi-64-v2-condition): Likewise.
1605         (abi-64-v2-ld-soname): Likewise.
1606         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1607         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1612 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1613             Alan Modra  <amodra@gmail.com>
1615         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1616         New versions for use with the ELFv2 ABI.
1617         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1618         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1619         declaration.
1620         (struct La_ppc64v2_retval): Likewise.
1621         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1622         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1623         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1624         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1625         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1626         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1627         Do not save or restore CR.
1628         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1629         (_dl_profile_resolve): Do no save or restore CR.  Support extended
1630         return values for ELFv2 ABI.  Fix location of FPR return registers.
1631         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1632         updated values for _CALL_ELF == 2.
1633         (La_regs, La_retval, int_retval): Likewise.
1635 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1637         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1638         (FRAME_MIN_SIZE_PARM): Likewise.
1639         (FRAME_BACKCHAIN): Likewise.
1640         (FRAME_CR_SAVE): Likewise.
1641         (FRAME_LR_SAVE): Likewise.
1642         (FRAME_TOC_SAVE): Likewise.
1643         (FRAME_PARM_SAVE): Likewise.
1644         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1645         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1646         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1647         (call_mcount_parm_offset): New macro.
1648         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1649         (PROF): Use symbolic stack frame offsets.
1650         (TAIL_CALL_SYSCALL_ERROR): Likewise.
1651         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1652         Redefine in terms of FRAME_MIN_SIZE.
1653         (_dl_runtime_resolve): Use symbolic stack frame offsets.
1654         (_dl_profile_resolve): Likewise.  Update comment.
1655         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1656         symbols stack frame offsets.
1657         (__sigsetjmp): Likewise.
1658         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1659         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1660         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1661         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1664         (FRAME_BACKCHAIN): Remove.
1665         (FRAME_CR_SAVE): Likewise.
1666         (FRAME_LR_SAVE): Likewise.
1667         (FRAME_COMPILER_DW): Likewise.
1668         (FRAME_LINKER_DW): Likewise.
1669         (FRAME_TOC_SAVE): Likewise.
1670         (FRAME_PARM_SAVE): Likewise.
1671         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1672         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1673         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1675         (CHECK_SP): Use symbolic stack frame offsets.
1676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1677         zone" instead of caller's parameter save area for temp storage.
1678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1679         Likewise.  Also, use symbolic stack frame offsets.
1680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1681         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1682         our own stack frame instead of the caller's.
1683         (__socket): Use symbolic stack frame offsets.
1685 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1686             Alan Modra  <amodra@gmail.com>
1688         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1689         Define.
1690         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1691         PPC64_LOCAL_ENTRY_OFFSET): Define.
1692         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1693         New function.
1694         (elf_machine_fixup_plt): Call it.
1695         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1696         reloc arguments.
1697         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1698         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1699         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1700         r2 before calling target.
1702 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1703             Alan Modra  <amodra@gmail.com>
1705         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1706         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1707         versions of macros to support ELFv2 ABI.
1708         (LOCALENTRY): New macro.
1709         (ENTRY, EALIGN): Use it.
1710         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1711         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1712         fall through into ENTRY entry point.
1713         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1714         Only define if _CALL_ELF != 2.
1716         (elf_machine_matches_host): Verify ABI version matches.
1717         (RTLD_START): Use LOCALENTRY.
1718         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1719         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1720         (PLT_ENTRY_WORDS): New macro.
1721         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1722         (elf_machine_runtime_setup): Support ELFv2 ABI.
1723         (elf_machine_fixup_plt): Likewise.
1724         (elf_machine_plt_conflict): Likewise.
1725         (resolve_ifunc): Likewise.
1726         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1727         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1728         Likewise.
1729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1730         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1732         (makecontext): Support ELFv2 ABI.
1733         * elf/elf.h (EF_PPC64_ABI): Define.
1735 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1737         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1738         New assembler macro.
1739         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1740         [ASSEMBLER] (ENTRY): ... but instead here ...
1741         [ASSEMBLER] (EALIGN): ... and here.
1742         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1743         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1744         [!ASSEMBLER] (ENTRY_2): Use it.
1745         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1746         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1747         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1748         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1749         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1751         Use PPC64_LOAD_FUNCPTR.
1753 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1755         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1757 2013-12-04  Alan Modra  <amodra@gmail.com>
1759         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1760         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1761         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1762         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1764         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1765         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1766         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1767         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1768         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1769         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1771 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1774         (__makecontext): Fix incorrect CFI when backtracing out of
1775         context created via makecontext.
1776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1777         (__setcontext): Fix incorrect CFI during switch to new context.
1778         (__novec_setcontext): Likewise.
1780 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1782         [BZ #4772]
1783         * time/strptime_l.c (__strptime_internal): Allow modifiers
1784         in strptime.
1785         * time/tst-strptime.c (day_tests): Add testcase.
1788 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1790         * scripts/bench.pl: Skip over blank lines.
1792 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1794         [BZ #926]
1795         * manual/time.texi (Calendar Time): Clarify what timezone functions
1796         use.
1798 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1802 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1804         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1805         implementation.
1806         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1807         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1808         * debug/memset_chk.c (__memset_chk): Likewise.
1809         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1810         * debug/strncpy_chk.c: Likewise.
1812 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1814         [BZ #15268]
1815         [BZ #15425]
1816         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1817         (__ieee754_exp): For possibly underflowing results, check size of
1818         result and force underflow exception if required.
1819         * math/auto-libm-test-in: Add more tests of exp.
1820         * math/auto-libm-test-out: Regenerated.
1821         * sysdeps/i386/fpu/libm-test-ulps: Update.
1822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1824         [BZ #16283]
1825         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1826         * math/w_exp2f.c (__exp2f): Likewise.
1827         * math/w_exp2l.c (__exp2l): Likewise.
1828         * math/auto-libm-test-in: Do not allow missing errno on exp2
1829         underflow.
1830         * math/auto-libm-test-out: Regenerated.
1832 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1834         [BZ #16274]
1835         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1836         handle filename validation.
1837         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1838         (do_open): Delete.
1840 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1842         [BZ #6786]
1843         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1844         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1845         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1846         <float.h>.
1847         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1848         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1849         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1850         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1851         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1852         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1853         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1854         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1855         Add more erfc tests.
1856         * math/auto-libm-test-out: Regenerated.
1857         * sysdeps/i386/fpu/libm-test-ulps: Update.
1858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1860         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1861         exp2, expm1, j0 and j1.
1862         * math/auto-libm-test-out: Regenerated.
1863         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1864         (erfc_test_data): Likewise.
1865         (exp_test_data): Likewise.
1866         (exp_tonearest_test_data): Likewise.
1867         (exp_towardzero_test_data): Likewise.
1868         (exp_downward_test_data): Likewise.
1869         (exp_upward_test_data): Likewise.
1870         (exp10_test_data): Likewise.
1871         (exp2_test_data): Likewise.
1872         (expm1_test_data): Likewise.
1873         (j0_test_data): Likewise.
1874         (j1_test_data): Likewise.
1875         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1876         (input_flag_type): Add flag_xfail_rounding.
1877         (input_flags): Add xfail-rounding.
1878         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1879         (output_for_one_input_case): Handle flag_xfail_rounding.
1880         * sysdeps/i386/fpu/libm-test-ulps: Update.
1881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1883 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1885         [BZ #16289]
1886         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1887         division by 0.
1889 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1891         [BZ #16195]
1892         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1893         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1894         (STAP_PROBE0): New macro.
1895         (STAP_PROBE1): Likewise.
1896         (STAP_PROBE2): Likewise.
1897         (STAP_PROBE3): Likewise.
1898         (STAP_PROBE4): Likewise.
1900 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1902         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1904 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1906         * benchtests/Makefile (bench): Add sqrt.
1907         (LDLIBS-bench-sqrt): New.
1908         * benchtests/sqrt-input: New.
1910 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1912         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1913         (GAIH_EAI): Likewise.
1914         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1915         (gaih_inet): Likewise.
1916         (getaddrinfo): Don't use GAIH_EAI.
1918         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1919         (struct gaih): Remove definition.
1921 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1923         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1924         Use HERRNOP directly.
1926 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1930 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1932         * math/gen-auto-libm-tests.c (test_functions): Add more
1933         single-argument functions.
1934         (special_fill_pi_2): New function.
1935         (special_fill_minus_pi_2): Likewise.
1936         (special_fill_pi_6): Likewise.
1937         (special_fill_minus_pi_6): Likewise.
1938         (special_fill_pi_3): Likewise.
1939         (special_fill_2pi_3): Likewise.
1940         (special_fill_e): Likewise.
1941         (special_fill_1_e): Likewise.
1942         (special_fill_e_minus_1): Likewise.
1943         (special_real_inputs): Add more special inputs.
1944         (output_for_one_input_case): Do not require ERANGE on underflow to
1945         zero if round-to-nearest result does not underflow to zero, unless
1946         exact results required.
1947         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1948         atan, atanh, cbrt, cos and cosh.
1949         * math/auto-libm-test-out: Regenerated.
1950         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1951         (acos_tonearest_test_data): Likewise.
1952         (acos_towardzero_test_data): Likewise.
1953         (acos_downward_test_data): Likewise.
1954         (acos_upward_test_data): Likewise.
1955         (acosh_test_data): Likewise.
1956         (asin_test_data): Likewise.
1957         (asin_tonearest_test_data): Likewise.
1958         (asin_towardzero_test_data): Likewise.
1959         (asin_upward_test_data): Likewise.
1960         (asinh_test_data): Likewise.
1961         (atan_test_data): Likewise.
1962         (atanh_test_data): Likewise.
1963         (cbrt_test_data): Likewise.
1964         (cos_test_data): Likewise.
1965         (cos_tonearest_test_data): Likewise.
1966         (cos_towardzero_test_data): Likewise.
1967         (cos_downward_test_data): Likewise.
1968         (cos_upward_test_data): Likewise.
1969         (cosh_test_data): Likewise.
1970         (cosh_tonearest_test_data): Likewise.
1971         (cosh_towardzero_test_data): Likewise.
1972         (cosh_downward_test_data): Likewise.
1973         (cosh_upward_test_data): Likewise.
1974         * sysdeps/i386/fpu/libm-test-ulps: Update.
1975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1977 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1979         [BZ #6787]
1980         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1981         * math/w_exp10f.c (__exp10f): Likewise.
1982         * math/w_exp10l.c (__exp10l): Likewise.
1983         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1984         errno settings in existing tests.
1986         [BZ #14032]
1987         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1988         precision control set to double precision.
1989         * sysdeps/i386/fpu/w_sqrt.c: New file.
1990         * math/auto-libm-test-in: Add more tests.
1991         * math/auto-libm-test-out: Update.
1993         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1994         (sqrt_test_tonearest): New function.
1995         (sqrt_towardzero_test_data): New variable.
1996         (sqrt_test_towardzero): New function.
1997         (sqrt_downward_test_data): New variable.
1998         (sqrt_test_downward): New function.
1999         (sqrt_upward_test_data): New variable.
2000         (sqrt_test_upward): New function.
2001         (main): Call the new functions.
2003         * math/gen-auto-libm-tests.c: New file.
2004         * math/auto-libm-test-in: Likewise.
2005         * math/auto-libm-test-out: New generated file.
2006         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2007         variables.
2008         (%beautify): Add generated representations of zero.
2009         (top level): Set $auto_input and call parse_auto_input.
2010         (beautify): Remove trailing "f" from hex float constants.
2011         (parse_args): Handle XFAIL_TEST.
2012         (convert_condition): New function.
2013         (or_value): Likewise.
2014         (or_cond_value): Likewise.
2015         (generate_testfile): Handle AUTO_TESTS_* lines.
2016         (parse_auto_input): New function.
2017         * math/libm-test.inc (XFAIL_TEST): New macro.
2018         (ERRNO_UNCHANGED): Update value.
2019         (ERRNO_EDOM): Likewise.
2020         (ERRNO_ERANGE): Likewise.
2021         (IGNORE_RESULT): Likewise.
2022         (TEST_COND_flt_32): New macro.
2023         (TEST_COND_dbl_64): Likewise.
2024         (TEST_COND_ldbl_96_intel): Likewise.
2025         (TEST_COND_ldbl_96_m68k): Likewise.
2026         (TEST_COND_ldbl_128): Likewise.
2027         (TEST_COND_ldbl_128ibm): Likewise.
2028         (TEST_COND_long32): Likewise.
2029         (TEST_COND_long64): Likewise.
2030         (TEST_COND_before_rounding): Likewise.
2031         (TEST_COND_after_rounding): Likewise.
2032         (enable_test): Handle XFAIL_TEST flag.
2033         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2034         with finite results.
2035         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2036         auto-libm-test-out.
2038 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2039             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2041         [BZ #16214]
2042         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2043         __tls_get_addr_internal instead of __tls_get_offset in order to
2044         avoid GOT pointer dependency.  Make rtld export
2045         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2046         __tls_get_addr since we are a __tls_get_offset platform.
2047         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2048         GOT pointer being set up before.
2049         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2051 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
2053         * manual/math.texi (Errors in Math Functions): Document accuracy
2054         goals.
2056         [BZ #15004]
2057         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2058         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2059         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2060         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2061         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2062         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2063         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2064         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2065         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2066         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2067         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2068         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2069         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2070         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2071         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2072         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2074         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2075         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2076         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2077         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2078         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2079         Likewise.
2080         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2081         Likewise.
2082         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2083         Likewise.
2084         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2085         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2086         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2087         atomic-feupdateenv and flt-rounds.
2088         * sysdeps/powerpc/nofpu/Versions (libc): Add
2089         __atomic_feholdexcept, __atomic_feclearexcept,
2090         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2091         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2092         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2093         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2094         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2095         here.
2096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2097         Update.
2099         * manual/arith.texi (FP Exceptions): Document that exceptions may
2100         not be raised when matherr is used.
2101         (Math Error Reporting): Document overflow in directed rounding
2102         modes.  Document that errno may not be set when finite values are
2103         returned on overflow.  Document intent to set errno on underflow
2104         only for underflow to zero.
2106         [BZ #16271]
2107         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2108         round-to-nearest then adjust result for other rounding modes.
2109         * include/fenv.h (fegetround): Use libm_hidden_proto.
2110         * math/fegetround.c (fegetround): Use libm_hidden_def.
2111         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2112         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2113         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2114         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2115         Likewise.
2116         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2117         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2118         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2119         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2121 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2123         [BZ #16077]
2124         * nss/Versions (libnss_files): Add
2125         _nss_files_gethostbyname3_r.
2126         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2127         New function.
2128         (HOST_DB_LOOKUP): Remove macro.
2129         (_nss_files_gethostbyname_r): Implement function without the
2130         HOST_DB_LOOKUP macro.
2131         (_nss_files_gethostbyname2_r): Likewise.
2133 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
2135         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2137 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
2139         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2140         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2141         warning.
2143 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2145         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2146         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2147         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2148         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2149         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2150         __fe_nomask_env_priv and attribute_hidden.
2151         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2152         (libc_feupdateenv_test_ppc): Likewise.
2153         (libc_feresetround_ppc): Likewise.
2154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2155         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2156         compat_symbol macro.
2157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2158         (__fe_nomask_env): Likewise.
2159         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2161 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2163         * string/Makefile: Remove ifunc tests.
2164         * string/test-string.h: Define TEST_IFUNC.
2165         * string/test-bcopy-ifunc.c: Remove.
2166         * string/test-bzero-ifunc.c: Likewise.
2167         * string/test-memccpy-ifunc.c: Likewise.
2168         * string/test-memchr-ifunc.c: Likewise.
2169         * string/test-memcmp-ifunc.c: Likewise.
2170         * string/test-memcpy-ifunc.c: Likewise.
2171         * string/test-memmem-ifunc.c: Likewise.
2172         * string/test-memmove-ifunc.c: Likewise.
2173         * string/test-mempcpy-ifunc.c: Likewise.
2174         * string/test-memrchr-ifunc.c: Likewise.
2175         * string/test-memset-ifunc.c: Likewise.
2176         * string/test-rawmemchr-ifunc.c: Likewise.
2177         * string/test-stpcpy-ifunc.c: Likewise.
2178         * string/test-stpncpy-ifunc.c: Likewise.
2179         * string/test-strcasecmp-ifunc.c: Likewise.
2180         * string/test-strcasestr-ifunc.c: Likewise.
2181         * string/test-strcat-ifunc.c: Likewise.
2182         * string/test-strchr-ifunc.c: Likewise.
2183         * string/test-strchrnul-ifunc.c: Likewise.
2184         * string/test-strcmp-ifunc.c: Likewise.
2185         * string/test-strcpy-ifunc.c: Likewise.
2186         * string/test-strcspn-ifunc.c: Likewise.
2187         * string/test-strlen-ifunc.c: Likewise.
2188         * string/test-strncasecmp-ifunc.c: Likewise.
2189         * string/test-strncat-ifunc.c: Likewise.
2190         * string/test-strncmp-ifunc.c: Likewise.
2191         * string/test-strncpy-ifunc.c: Likewise.
2192         * string/test-strnlen-ifunc.c: Likewise.
2193         * string/test-strpbrk-ifunc.c: Likewise.
2194         * string/test-strrchr-ifunc.c: Likewise.
2195         * string/test-strspn-ifunc.c: Likewise.
2196         * string/test-strstr-ifunc.c: Likewise.
2198 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2200         * benchtests/Makefile: Remove ifunc tests.
2201         * benchtests/bench-string.h: Define TEST_IFUNC.
2202         * benchtests/bench-bcopy-ifunc.c: Remove.
2203         * benchtests/bench-bzero-ifunc.c: Likewise.
2204         * benchtests/bench-memccpy-ifunc.c: Likewise.
2205         * benchtests/bench-memchr-ifunc.c: Likewise.
2206         * benchtests/bench-memcmp-ifunc.c: Likewise.
2207         * benchtests/bench-memcpy-ifunc.c: Likewise.
2208         * benchtests/bench-memmem-ifunc.c: Likewise.
2209         * benchtests/bench-memmove-ifunc.c: Likewise.
2210         * benchtests/bench-mempcpy-ifunc.c: Likewise.
2211         * benchtests/bench-memrchr-ifunc.c: Likewise.
2212         * benchtests/bench-memset-ifunc.c: Likewise.
2213         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2214         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2215         * benchtests/bench-stpcpy-ifunc.c: Likewise.
2216         * benchtests/bench-stpncpy-ifunc.c: Likewise.
2217         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2218         * benchtests/bench-strcasestr-ifunc.c: Likewise.
2219         * benchtests/bench-strcat-ifunc.c: Likewise.
2220         * benchtests/bench-strchr-ifunc.c: Likewise.
2221         * benchtests/bench-strchrnul-ifunc.c: Likewise.
2222         * benchtests/bench-strcmp-ifunc.c: Likewise.
2223         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2224         * benchtests/bench-strcpy-ifunc.c: Likewise.
2225         * benchtests/bench-strcspn-ifunc.c: Likewise.
2226         * benchtests/bench-strlen-ifunc.c: Likewise.
2227         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2228         * benchtests/bench-strncat-ifunc.c: Likewise.
2229         * benchtests/bench-strncmp-ifunc.c: Likewise.
2230         * benchtests/bench-strncpy-ifunc.c: Likewise.
2231         * benchtests/bench-strnlen-ifunc.c: Likewise.
2232         * benchtests/bench-strpbrk-ifunc.c: Likewise.
2233         * benchtests/bench-strrchr-ifunc.c: Likewise.
2234         * benchtests/bench-strsep-ifunc.c: Likewise.
2235         * benchtests/bench-strspn-ifunc.c: Likewise.
2236         * benchtests/bench-strstr-ifunc.c: Likewise.
2238 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2240         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2242 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
2244         * resolv/netdb.h: Use __glibc_reserved instead __unused.
2245         * rt/aio.h: Likewise.
2246         * sysdeps/gnu/bits/utmp.h: Likewise.
2247         * sysdeps/gnu/bits/utmpx.h: Likewise.
2248         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2249         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2250         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2251         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2252         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2253         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2254         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2255         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2256         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2257         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2258         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2259         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2260         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2262         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2263         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2264         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2265         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2266         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2267         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2268         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2269         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2270         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2271         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2272         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2273         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2274         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2275         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2276         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2277         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2278         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2279         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2280         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2281         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2282         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2283         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2284         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2285         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2286         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2287         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2288         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2289         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2291 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
2293         [BZ #16245]
2294         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2295         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2297 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
2299         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2300         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2301         Likewise.
2303 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2305         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2306         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2307         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2308         (__fesetround): Remove define.
2309         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2310         rounding and exceptions handling.
2311         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2312         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2313         (__fe_nomask_env): Likewise.
2314         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2315         __fegetround instead of fegetround.
2316         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2317         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2319 2013-11-21  Roland McGrath  <roland@hack.frob.com>
2321         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2322         it's there.
2324         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2326 2013-11-21  Meador Inge  <meadori@codesourcery.com>
2328         [BZ #11157]
2329         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2330         (encrypt_r): Likewise.
2331         * malloc/obstack.h (obstack_free): Likewise.
2332         * posix/unistd.h (encrypt): Likewise.
2334 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
2336         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2337         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2338         DL_CALL_DT_FINI() that call the functions directly.
2339         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2340         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2341         * elf/dl-fini.c: Likewise.
2343 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
2345         * malloc/hooks.c (memalign_check): Add alignment rounding.
2346         * malloc/malloc.c (_mid_memalign): New function.
2347         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2348         Implement by calling _mid_memalign.
2349         * manual/probes.texi (Memory Allocation Probes): Remove
2350         memory_valloc_retry and memory_pvalloc_retry.
2352 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2354         * locale/programs/locarchive.c (open_archive): Add const
2355         qualifier to ARCHIVEFNAME and copy default fname to
2356         DEFAULT_FNAME.
2358         [BZ #15601]
2359         * libio/tst-widetext.input: Rename Oriya to Odia.
2360         * locale/iso-639.def: Likewise.
2362         * manual/probes.texi (Mathematical Function Probes): Add
2363         documentation for sin, cos, asin and acos probes.
2364         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2365         (__sin32): Add slowasin probe.
2366         (__cos32): Add slowacos probe.
2367         (__mpsin): Add slowsin probe.
2368         (__mpcos): Add slowcos probe.
2370 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
2372         [BZ #15483]
2373         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2374         thread-local __sim_exceptions_thread and global
2375         __sim_exceptions_global.
2376         (__sim_disabled_exceptions): Change to thread-local
2377         __sim_disabled_exceptions_thread and global
2378         __sim_disabled_exceptions_global.
2379         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2380         and global __sim_round_mode_global.
2381         (__simulate_exceptions): Use thread-local floating-point state and
2382         set global state from it as needed.
2383         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2384         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2385         __sim_round_mode_thread.
2386         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2387         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2388         and global __sim_exceptions_global.
2389         (__sim_disabled_exceptions): Change to thread-local
2390         __sim_disabled_exceptions_thread and global
2391         __sim_disabled_exceptions_global.
2392         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2393         and global __sim_round_mode_global.
2394         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2395         (SIM_SET_GLOBAL): Likewise.
2396         * sysdeps/powerpc/soft-fp/sfp-machine.h
2397         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2398         __sim_round_mode_thread.
2399         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2400         __sim_disabled_exceptions_thread.
2401         (__sim_exceptions): Change to __sim_exceptions_thread.
2402         (__sim_disabled_exceptions): Change to
2403         __sim_disabled_exceptions_thread.
2404         (__sim_round_mode): Change to __sim_round_mode_thread.
2405         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2406         thread-local floating-point state and set global state from it as
2407         needed.
2408         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2409         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2410         (__sim_disabled_exceptions): Remove extern declaration.
2411         (feenableexcept): Use thread-local floating-point state and set
2412         global state from it as needed.
2413         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2414         extern declaration.
2415         (__sim_disabled_exceptions): Likewise.
2416         (__sim_round_mode): Likewise.
2417         (__fegetenv): Use thread-local floating-point state.
2418         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2419         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2420         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2421         floating-point state and set global state from it as needed.
2422         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2423         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2424         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2425         Likewise.
2426         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2427         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2428         Likewise.
2429         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2430         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2431         Use __sim_round_mode_thread.
2432         * math/test-fenv-tls.c: New file.
2433         * math/Makefile (tests): Add test-fenv-tls.
2434         ($(objpfx)test-fenv-tls): Depend on
2435         $(common-objpfx)nptl/libpthread.so.
2437 2013-11-19  Andreas Schwab  <schwab@suse.de>
2439         * locale/programs/locale.c (show_info): Decode wordarray elements.
2440         * locale/categories.def (LC_MONETARY): Add element for
2441         _NL_MONETARY_CRNCYSTR.
2442         * locale/C-monetary.c (conversion_rate): New variable.
2443         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2444         element.
2446 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
2448         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2449         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2451 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
2453         * elf/Makefile (tst-auxv): New test.
2454         * elf/tst-auxv.c: New
2455         * elf/rtld.c (dl_main): Adjust AT_EXECFN
2457 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
2459         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2460         (hidden_proto): Caller changed.
2461         (hidden_tls_proto): New macro.
2462         (libc_hidden_tls_proto): Likewise.
2463         (rtld_hidden_tls_proto): Likewise.
2464         (libm_hidden_tls_proto): Likewise.
2465         (libresolv_hidden_tls_proto): Likewise.
2466         (librt_hidden_tls_proto): Likewise.
2467         (libdl_hidden_tls_proto): Likewise.
2468         (libnss_files_hidden_tls_proto): Likewise.
2469         (libnsl_hidden_tls_proto): Likewise.
2470         (libnss_nisplus_hidden_tls_proto): Likewise.
2471         (libutil_hidden_tls_proto): Likewise.
2473 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
2475         [BZ #10253]
2476         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2477         (decompose_rpath): Defer expansion to fillin_rpath.
2478         (_dl_init_paths): Pass linkmap to fillin_rpath.
2480 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2482         * benchtests/Makefile: Add strsep.
2483         * benchtests/bench-strsep.c: New file: strsep benchtest.
2484         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2486 2013-11-18  Andreas Schwab  <schwab@suse.de>
2488         * locale/programs/locale.c (show_info) [case byte]: Check for
2489         '\377' instead of '\177'.
2490         * locale/C-monetary.c (not_available): Always use "\377".
2491         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2492         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
2493         detect unavailable sign_posn locale elements.
2494         * locale/localeconv.c (__localeconv): For grouping and
2495         mon_grouping handle "\177" and "\377" like no grouping.
2496         (INT_ELEM): New macro.  Use it to set all numeric members.
2497         * locale/programs/ld-monetary.c (monetary_read)
2498         <tok_mon_grouping>: Normalize single -1 to the empty string.
2499         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2500         Likewise.
2502 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2504         [BZ #16055]
2505         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2506         when we match (nil).
2507         * stdio-common/tst-sscanf.c (struct test): Add testcase.
2509 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
2511         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2512         (NO_TEST_INLINE): Update value.
2513         (ERRNO_UNCHANGED): Likewise.
2514         (ERRNO_EDOM): Likewise.
2515         (ERRNO_ERANGE): Likewise.
2516         (IGNORE_RESULT): Likewise.
2517         (check_float_internal): Check signs of NaN results if
2518         TEST_NAN_SIGN used.
2519         (check_complex): Pass TEST_NAN_SIGN flag through to second
2520         check_float_internal call.
2521         (copysign_test_data): Add tests with quiet NaNs as second
2522         argument.  Use TEST_NAN_SIGN.
2523         (fabs_test_data): Add test of negative quiet NaN argument.  Use
2524         TEST_NAN_SIGN.
2525         (signbit_test_data): Add tests of quiet NaN argument.
2526         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2528         * math/gen-libm-test.pl (show_exceptions): Take extra argument
2529         $ignore_result.
2530         (parse_args): Handle function results specified as IGNORE.
2531         * math/libm-test.inc (IGNORE_RESULT): New macro.
2532         (check_float_internal): Do not check numerical result if flag
2533         IGNORE_RESULT set.
2534         (check_complex): Pass through IGNORE_RESULT to second
2535         check_float_internal call.
2536         (check_int): Do not check numerical result if flag IGNORE_RESULT
2537         set.
2538         (check_long): Likewise.
2539         (check_bool): Likewise.
2540         (check_longlong): Likewise.
2541         (lrint_test_data): Add tests of infinite and NaN arguments.
2542         (lrint_tonearest_test_data): Likewise.
2543         (lrint_towardzero_test_data): Likewise.
2544         (lrint_downward_test_data): Likewise.
2545         (lrint_upward_test_data): Likewise.
2546         (llrint_test_data): Likewise.
2547         (llrint_tonearest_test_data): Likewise.
2548         (llrint_towardzero_test_data): Likewise.
2549         (llrint_downward_test_data): Likewise.
2550         (llrint_upward_test_data): Likewise.
2551         (lround_test_data): Likewise.
2552         (llround_test_data): Likewise.
2554         * math/libm-test.inc (NO_TEST_INLINE): New macro.
2555         (ERRNO_UNCHANGED): Update value.
2556         (ERRNO_EDOM): Likewise.
2557         (ERRNO_ERANGE): Likewise.
2558         (NO_TEST_INLINE_FLOAT): New macro.
2559         (NO_TEST_INLINE_DOUBLE): Likewise.
2560         (enable_test): New function.
2561         (RUN_TEST_f_f): Check enable_test before running test.
2562         (RUN_TEST_2_f): Likewise.
2563         (RUN_TEST_fff_f): Likewise.
2564         (RUN_TEST_c_f): Likewise.
2565         (RUN_TEST_f_f1): Likewise.
2566         (RUN_TEST_fF_f1): Likewise.
2567         (RUN_TEST_fI_f1): Likewise.
2568         (RUN_TEST_ffI_f1): Likewise.
2569         (RUN_TEST_c_c): Likewise.
2570         (RUN_TEST_cc_c): Likewise.
2571         (RUN_TEST_f_i): Likewise.
2572         (RUN_TEST_f_i_tg): Likewise.
2573         (RUN_TEST_ff_i_tg): Likewise.
2574         (RUN_TEST_f_b): Likewise.
2575         (RUN_TEST_f_b_tg): Likewise.
2576         (RUN_TEST_f_l): Likewise.
2577         (RUN_TEST_f_L): Likewise.
2578         (RUN_TEST_fFF_11): Likewise.
2579         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2580         conditionals.
2581         (cosh_test_data): Likewise.
2582         (exp_test_data): Likewise.
2583         (expm1_test_data): Likewise.
2584         (hypot_test_data): Likewise.
2585         (pow_test_data): Likewise.
2586         (sinh_test_data): Likewise.
2587         (tanh_test_data): Likewise.
2588         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2589         flags argument.
2591         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2592         tests with quiet NaN input and output.
2593         (acosh_test_data): Likewise.
2594         (asin_test_data): Likewise.
2595         (asinh_test_data): Likewise.
2596         (atan_test_data): Likewise.
2597         (atanh_test_data): Likewise.
2598         (atan2_test_data): Likewise.
2599         (cbrt_test_data): Likewise.
2600         (cos_test_data): Likewise.
2601         (cosh_test_data): Likewise.
2602         (erf_test_data): Likewise.
2603         (erfc_test_data): Likewise.
2604         (exp_test_data): Likewise.
2605         (exp10_test_data): Likewise.
2606         (exp2_test_data): Likewise.
2607         (expm1_test_data): Likewise.
2608         (hypot_test_data): Likewise.
2609         (j0_test_data): Likewise.
2610         (j1_test_data): Likewise.
2611         (jn_test_data): Likewise.
2612         (lgamma_test_data): Likewise.
2613         (log_test_data): Likewise.
2614         (log10_test_data): Likewise.
2615         (log1p_test_data): Likewise.
2616         (log2_test_data): Likewise.
2617         (pow_test_data): Likewise.
2618         (scalb_test_data): Likewise.
2619         (sin_test_data): Likewise.
2620         (sincos_test_data): Likewise.
2621         (sinh_test_data): Likewise.
2622         (tan_test_data): Likewise.
2623         (tanh_test_data): Likewise.
2624         (tgamma_test_data): Likewise.
2625         (y0_test_data): Likewise.
2626         (y1_test_data): Likewise.
2627         (yn_test_data): Likewise.
2629         [BZ #16167]
2630         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2631         argument being NaN and avoid computations with second argument in
2632         that case.
2633         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2634         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2635         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2637 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
2639         * locale/iso-639.def: Add Chitwani Tharu (the).
2641 2013-11-14  Andreas Schwab  <schwab@suse.de>
2643         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2644         word instead of empty string.
2646 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2649         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2651         (__fe_nomask_env): Likewise.
2653 2013-11-13  Steve Ellcey  <sellcey@mips.com>
2655         * benchtests/bench-timing.h: Include time.h.
2657 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2659         [BZ #15997]
2660         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2661         to 3.4.0 for x32.
2662         * sysdeps/unix/sysv/linux/configure: Regenerated.
2664 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
2666         [BZ #16151]
2667         * stdlib/strtod_l.c (round_and_return): Do not consider
2668         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2669         exponent one less than half the least subnormal exponent.
2670         * stdlib/test-strtod-round-data: Add more tests.
2671         * stdlib/tst-strtod-round.c (tests): Regenerated.
2673 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2675         [BZ #14143]
2676         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2677         (__fe_mask_env): Likewise.
2678         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2679         libm_hidden_proto and add function prototype.
2680         (__fe_mask_env): Add function prototype.
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2682         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2684         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2686         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2688 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2690         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2691         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2693 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2695         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2696         of htab_find_slot().
2698 2013-11-11  David S. Miller  <davem@davemloft.net>
2700         [BZ #16150]
2701         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2702         symbol in the non-vis3 case in static builds.
2703         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2704         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2705         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2706         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2708 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2710         [BZ #387]
2711         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2712         it is empty.
2714 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2716         * benchtests/Makefile: Add bench-strtod.
2717         * benchtests/bench-strtod.c: New file: strtod benchtest
2719 2013-11-11  Andreas Schwab  <schwab@suse.de>
2721         [BZ #16153]
2722         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2723         terminating NUL in key length.
2725 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2727         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2728         Add artificial ODP entry for vDSO symbol for PPC64.
2729         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2730         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2732 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2734         [BZ #15374]
2735         * nss/getent.c (services_keys): Recognize services starting with digit.
2737 2013-11-06  David S. Miller  <davem@davemloft.net>
2739         [BZ #15985]
2740         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2741         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2743 2013-11-06  Will Newton  <will.newton@linaro.org>
2745         * manual/memory.texi (Malloc Examples): Remove register
2746         keyword from examples.
2748 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2750         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2752 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2754         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2755         depending on [__GCC_IEC_559 > 0].
2756         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2757         depending on [__GCC_IEC_559_COMPLEX > 0].
2759 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2761         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2762         to iso-639.def.
2764 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2766         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2768 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2770         [BZ #16112]
2771         * malloc/malloc (malloc_info): Do not handle first bin as
2772         special case.
2774 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2776         * locale/iso-639.def: Add Central Nahuatl (nhn).
2778 2013-11-01  Bruno Haible  <bruno@clisp.org>
2780         [BZ #7003]
2781         * manual/math.texi (BSD Random): Specify range upper bound as
2782         in POSIX.
2784 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2786         * locale/iso-639.def: Add Meadow Mari (mhr).
2788 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2790         [BZ #14752], [BZ #15763]
2791         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2792         Validate name.
2793         * rt/tst_shm.c: Add test for escaping directory.
2795 2013-10-31  Andreas Schwab  <schwab@suse.de>
2797         [BZ #15917]
2798         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2799         followed by 'x' as part of digit sequence.
2800         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2802 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2804         [BZ #16037]
2805         * configure.ac: allow GNU Make 4.0 and greater.
2806         * configure: Regenerated.
2808 2013-10-30  Will Newton  <will.newton@linaro.org>
2810         [BZ #16038]
2811         * malloc/hooks.c (memalign_check): Limit alignment to the
2812         maximum representable power of two.
2813         * malloc/malloc.c (__libc_memalign): Likewise.
2814         * malloc/tst-memalign.c (do_test): Add test for very
2815         large alignment values.
2816         * malloc/tst-posix_memalign.c (do_test): Likewise.
2818 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2820         [BZ #11087]
2821         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2822         (munmap_chunk): Likewise.
2823         (mremap_chunk): Likewise.
2825 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2827         [BZ #15799]
2828         * stdlib/div.c (div): Remove obsolete code.
2829         * stdlib/ldiv.c (ldiv): Likewise.
2830         * stdlib/lldiv.c (lldiv): Likewise.
2832 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2834         [BZ #16071]
2835         * nss/nss_files/files-XXX.c (get_contents_ret): New
2836         enumerator.
2837         (get_contents): New function.
2838         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2840 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2842         * configure.in: Moved to ...
2843         * configure.ac: ... here. Change reference to configure.in
2844         to configure.ac.
2845         * sysdeps/arm/preconfigure.ac: ... here.
2846         configure.in to configure.ac.
2847         * sysdeps/gnu/configure.in: Moved to ...
2848         * sysdeps/gnu/configure.ac: ... here.
2849         * sysdeps/i386/configure.in: Moved to ...
2850         * sysdeps/i386/configure.ac: ... here.
2851         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2852         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2853         * sysdeps/mach/configure.in: Moved to ...
2854         * sysdeps/mach/configure.ac: ... here.
2855         * sysdeps/mach/hurd/configure.in: Moved to ...
2856         * sysdeps/mach/hurd/configure.ac: ... here.
2857         * sysdeps/powerpc/configure.in: Moved to ...
2858         * sysdeps/powerpc/configure.ac: ... here.
2859         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2860         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2861         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2862         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2863         * sysdeps/s390/s390-32/configure.in: Moved to ...
2864         * sysdeps/s390/s390-32/configure.ac: ... here.
2865         * sysdeps/s390/s390-64/configure.in: Moved to ...
2866         * sysdeps/s390/s390-64/configure.ac: ... here.
2867         * sysdeps/sh/configure.in: Moved to ...
2868         * sysdeps/sh/configure.ac: ... here.
2869         * sysdeps/sparc/configure.in: Moved to ...
2870         * sysdeps/sparc/configure.ac: ... here.
2871         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2872         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2873         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2874         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2875         * sysdeps/x86_64/configure.in: Moved to ...
2876         * sysdeps/x86_64/configure.ac: ... here.
2877         * sysdeps/x86_64/preconfigure.in: Moved to ...
2878         * sysdeps/x86_64/preconfigure.ac: ... here.
2879         * aclocal.m4: Change reference to configure.in to configure.ac.
2880         * config.h.in: Likewise.
2881         * manual/install.texi: Likewise.
2882         * manual/maint.texi: Likewise.
2883         * Makefile: Likewise.
2884         * malloc/Makefile: Likewise.
2885         * nscd/Makefile: Likewise.
2886         * Makeconfig: Change reference to configure.in and
2887         preconfigure.in to configure.ac and preconfigure.ac
2888         respectively.
2889         * INSTALL: Regenerated.
2890         * configure: Likewise.
2891         * sysdeps/gnu/configure: Likewise.
2892         * sysdeps/i386/configure: Likewise.
2893         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2894         * sysdeps/mach/configure: Likewise.
2895         * sysdeps/mach/hurd/configure: Likewise.
2896         * sysdeps/powerpc/configure: Likewise.
2897         * sysdeps/powerpc/powerpc32/configure: Likewise.
2898         * sysdeps/powerpc/powerpc64/configure: Likewise.
2899         * sysdeps/s390/s390-32/configure: Likewise.
2900         * sysdeps/s390/s390-64/configure: Likewise.
2901         * sysdeps/sh/configure: Likewise.
2902         * sysdeps/sparc/configure: Likewise.
2903         * sysdeps/unix/sysv/linux/configure: Likewise.
2904         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2905         * sysdeps/x86_64/configure: Likewise.
2906         * sysdeps/x86_64/preconfigure: Likewise.
2908 2013-10-29  Andreas Schwab  <schwab@suse.de>
2910         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2912 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2914         * benchtests/pow-inputs: Add new inputs.
2916         * benchtests/exp-inputs: Add new inputs.
2918         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2919         conditional check for return value.
2920         (__cos32): Likewise.
2922 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2924         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2925         to provide a boost for large inputs with word alignment.
2926         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2927         implementation based on optimized PPC64 strcpy.
2928         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2929         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2930         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2931         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2933 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2935         [BZ #2801]
2936         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2938 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2940         [BZ #14876]
2941         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2942         * time/tst-strptime.c (day_tests): Add testcase.
2944 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2946         [BZ #14029]
2947         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2949 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2951         [BZ #16074]
2952         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2953         MAP_FAILED on error.
2955 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2957         [BZ #16072]
2958         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2959         heap for large requests.
2961 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2963         [BZ #9954]
2964         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2965         result if the result has no associated interface.
2966         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2967         interface for all 127.X.Y.Z addresses.
2969 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2971         * locale/iso-639.def: Add Ligurian (lij)
2973 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2975         [BZ #15825]
2976         * sunrpc/rpc_main.c: Document rpcgen -5.
2978 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2980         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2982 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2984         [BZ #10278]
2985         * posix/glob.c: Match only directories when trailing slash is present.
2986         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2987         (main): Add testcase.
2989 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2991         [BZ #15670]
2992         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2994 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2996         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2997         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2998         AUTH_DES and cindex for FIPS 140-2.
2999         (DES Encryption): Add cindex FIPS 46-3.
3001         * locale/locarchive.h (struct locarhandle): Add fname.
3002         * locale/programs/localedef.c (main): Pass ARGV[remaining]
3003         if an optional argument was specified to --list-archive,
3004         otherwise NULL.
3005         * locale/programs/locarchive.c (show_archive_content): Take new
3006         argument fname and pass it via ah.fname to open_archive.
3007         * locale/programs/localedef.h: Update decl.
3008         (open_archive): If AH->fname is non-null, open that file
3009         rather than the default file name, and don't ignore ENOENT.
3010         (create_archive): Set AH.fname to NULL.
3011         (delete_locales_from_archive): Likewise.
3012         (add_locales_to_archive): Likewise.
3013         * locale/programs/locfile.c (write_all_categories): Likewise.
3015 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
3016             Aldy Hernandez  <aldyh@redhat.com>
3018         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3019         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3020         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3021         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3022         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3023         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3024         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3025         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3026         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3027         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3028         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3029         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3030         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3031         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3032         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3033         Likewise.
3034         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3035         Likewise.
3036         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3037         Likewise.
3038         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3039         Likewise.
3040         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3041         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3042         Likewise.
3043         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3044         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3045         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3046         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3047         Likewise.
3048         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3049         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3050         * sysdeps/powerpc/preconfigure: Likewise.
3051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3052         Likewise.
3053         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3054         Replace contents of file by #include of <fenv_libc.h>.
3055         * sysdeps/powerpc/soft-fp/sfp-machine.h
3056         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3057         and <sys/prctl.h>.
3058         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3059         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3060         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3061         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3062         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3063         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3065         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3066         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3067         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3068         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3069         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3071         Allow copysignl PLT reference to be missing.
3073 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
3074             Joseph Myers  <joseph@codesourcery.com
3076         [BZ #15948]
3077         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3078         single character.
3079         (add_to_tablewc): Assert sequence of wide characters is nonempty.
3081 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3083         * elf/tst-tls-dlinfo.c: Don't include tls.h.
3084         * elf/tst-tls1.c: Likewise.
3085         * elf/tst-tls10.h: Likewise.
3086         * elf/tst-tls14.c: Likewise.
3087         * elf/tst-tls2.c: Likewise.
3088         * elf/tst-tls3.c: Likewise.
3089         * elf/tst-tls4.c: Likewise.
3090         * elf/tst-tls5.c: Likewise.
3091         * elf/tst-tls6.c: Likewise.
3092         * elf/tst-tls7.c: Likewise.
3093         * elf/tst-tls8.c: Likewise.
3094         * elf/tst-tls9.c: Likewise.
3095         * elf/tst-tlsmod1.c: Likewise.
3096         * elf/tst-tlsmod13.c: Likewise.
3097         * elf/tst-tlsmod13a.c: Likewise.
3098         * elf/tst-tlsmod14a.c: Likewise.
3099         * elf/tst-tlsmod16a.c: Likewise.
3100         * elf/tst-tlsmod16b.c: Likewise.
3101         * elf/tst-tlsmod2.c: Likewise.
3102         * elf/tst-tlsmod3.c: Likewise.
3103         * elf/tst-tlsmod4.c: Likewise.
3104         * elf/tst-tlsmod5.c: Likewise.
3105         * elf/tst-tlsmod6.c: Likewise.
3107 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
3109         [BZ #12486]
3110         * malloc/malloc.c: remove checks for statistics.
3112 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3114         [BZ #15277]
3115         * inet/inet_net.c (inet_network): Detect additional invalid strings.
3116         * inet/tst-network.c: Add testcase.
3118 2013-10-17  Andreas Schwab  <schwab@suse.de>
3120         [BZ #15218]
3121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3122         to determine canonical name.
3124 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
3126         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3127         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3128         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3129         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3130         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3131         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3132         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3133         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3134         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3135         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3136         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3137         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3138         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3139         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3140         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3141         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3142         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3143         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3144         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3145         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3146         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3148         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3149         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3150         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3151         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3152         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3153         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3154         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3155         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3156         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3157         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3158         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3159         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3160         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3161         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3162         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3163         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3164         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3165         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3166         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3167         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3168         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3169         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3170         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3171         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3172         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3173         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3174         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3175         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3176         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3177         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3178         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3179         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3180         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3181         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3182         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3183         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3185 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
3187         [BZ #16041]
3188         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3189         make result into a quiet NaN.
3191 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
3193         * soft-fp/adddf3.c: Fix horizontal whitespace.
3194         * soft-fp/addsf3.c: Likewise.
3195         * soft-fp/addtf3.c: Likewise.
3196         * soft-fp/divdf3.c: Likewise.
3197         * soft-fp/divsf3.c: Likewise.
3198         * soft-fp/divtf3.c: Likewise.
3199         * soft-fp/double.h: Likewise.
3200         * soft-fp/eqdf2.c: Likewise.
3201         * soft-fp/eqsf2.c: Likewise.
3202         * soft-fp/eqtf2.c: Likewise.
3203         * soft-fp/extenddftf2.c: Likewise.
3204         * soft-fp/extended.h: Likewise.
3205         * soft-fp/extendsfdf2.c: Likewise.
3206         * soft-fp/extendsftf2.c: Likewise.
3207         * soft-fp/extendxftf2.c: Likewise.
3208         * soft-fp/fixdfdi.c: Likewise.
3209         * soft-fp/fixdfsi.c: Likewise.
3210         * soft-fp/fixdfti.c: Likewise.
3211         * soft-fp/fixsfdi.c: Likewise.
3212         * soft-fp/fixsfsi.c: Likewise.
3213         * soft-fp/fixsfti.c: Likewise.
3214         * soft-fp/fixtfdi.c: Likewise.
3215         * soft-fp/fixtfsi.c: Likewise.
3216         * soft-fp/fixtfti.c: Likewise.
3217         * soft-fp/fixunsdfdi.c: Likewise.
3218         * soft-fp/fixunsdfsi.c: Likewise.
3219         * soft-fp/fixunsdfti.c: Likewise.
3220         * soft-fp/fixunssfdi.c: Likewise.
3221         * soft-fp/fixunssfsi.c: Likewise.
3222         * soft-fp/fixunssfti.c: Likewise.
3223         * soft-fp/fixunstfdi.c: Likewise.
3224         * soft-fp/fixunstfsi.c: Likewise.
3225         * soft-fp/fixunstfti.c: Likewise.
3226         * soft-fp/floatdidf.c: Likewise.
3227         * soft-fp/floatdisf.c: Likewise.
3228         * soft-fp/floatditf.c: Likewise.
3229         * soft-fp/floatsidf.c: Likewise.
3230         * soft-fp/floatsisf.c: Likewise.
3231         * soft-fp/floatsitf.c: Likewise.
3232         * soft-fp/floattidf.c: Likewise.
3233         * soft-fp/floattisf.c: Likewise.
3234         * soft-fp/floattitf.c: Likewise.
3235         * soft-fp/floatundidf.c: Likewise.
3236         * soft-fp/floatundisf.c: Likewise.
3237         * soft-fp/floatunditf.c: Likewise.
3238         * soft-fp/floatunsidf.c: Likewise.
3239         * soft-fp/floatunsisf.c: Likewise.
3240         * soft-fp/floatunsitf.c: Likewise.
3241         * soft-fp/floatuntidf.c: Likewise.
3242         * soft-fp/floatuntisf.c: Likewise.
3243         * soft-fp/floatuntitf.c: Likewise.
3244         * soft-fp/fmadf4.c: Likewise.
3245         * soft-fp/fmasf4.c: Likewise.
3246         * soft-fp/fmatf4.c: Likewise.
3247         * soft-fp/gedf2.c: Likewise.
3248         * soft-fp/gesf2.c: Likewise.
3249         * soft-fp/getf2.c: Likewise.
3250         * soft-fp/ledf2.c: Likewise.
3251         * soft-fp/lesf2.c: Likewise.
3252         * soft-fp/letf2.c: Likewise.
3253         * soft-fp/muldf3.c: Likewise.
3254         * soft-fp/mulsf3.c: Likewise.
3255         * soft-fp/multf3.c: Likewise.
3256         * soft-fp/negdf2.c: Likewise.
3257         * soft-fp/negsf2.c: Likewise.
3258         * soft-fp/negtf2.c: Likewise.
3259         * soft-fp/op-1.h: Likewise.
3260         * soft-fp/op-2.h: Likewise.
3261         * soft-fp/op-4.h: Likewise.
3262         * soft-fp/op-8.h: Likewise.
3263         * soft-fp/op-common.h: Likewise.
3264         * soft-fp/quad.h: Likewise.
3265         * soft-fp/single.h: Likewise.
3266         * soft-fp/soft-fp.h: Likewise.
3267         * soft-fp/sqrtdf2.c: Likewise.
3268         * soft-fp/sqrtsf2.c: Likewise.
3269         * soft-fp/sqrttf2.c: Likewise.
3270         * soft-fp/subdf3.c: Likewise.
3271         * soft-fp/subsf3.c: Likewise.
3272         * soft-fp/subtf3.c: Likewise.
3273         * soft-fp/truncdfsf2.c: Likewise.
3274         * soft-fp/trunctfdf2.c: Likewise.
3275         * soft-fp/trunctfsf2.c: Likewise.
3276         * soft-fp/trunctfxf2.c: Likewise.
3277         * soft-fp/unorddf2.c: Likewise.
3278         * soft-fp/unordsf2.c: Likewise.
3279         * soft-fp/unordtf2.c: Likewise.
3281 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
3283         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3284         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3286 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
3288         * elf/dl-libc.c: Clear initfini list after freeing.
3290 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
3292         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3293         * soft-fp/addsf3.c: Likewise.
3294         * soft-fp/addtf3.c: Likewise.
3295         * soft-fp/divdf3.c: Likewise.
3296         * soft-fp/divsf3.c: Likewise.
3297         * soft-fp/divtf3.c: Likewise.
3298         * soft-fp/double.h: Likewise.
3299         * soft-fp/eqdf2.c: Likewise.
3300         * soft-fp/eqsf2.c: Likewise.
3301         * soft-fp/eqtf2.c: Likewise.
3302         * soft-fp/extenddftf2.c: Likewise.
3303         * soft-fp/extended.h: Likewise.
3304         * soft-fp/extendsfdf2.c: Likewise.
3305         * soft-fp/extendsftf2.c: Likewise.
3306         * soft-fp/extendxftf2.c: Likewise.
3307         * soft-fp/fixdfdi.c: Likewise.
3308         * soft-fp/fixdfsi.c: Likewise.
3309         * soft-fp/fixdfti.c: Likewise.
3310         * soft-fp/fixsfdi.c: Likewise.
3311         * soft-fp/fixsfsi.c: Likewise.
3312         * soft-fp/fixsfti.c: Likewise.
3313         * soft-fp/fixtfdi.c: Likewise.
3314         * soft-fp/fixtfsi.c: Likewise.
3315         * soft-fp/fixtfti.c: Likewise.
3316         * soft-fp/fixunsdfdi.c: Likewise.
3317         * soft-fp/fixunsdfsi.c: Likewise.
3318         * soft-fp/fixunsdfti.c: Likewise.
3319         * soft-fp/fixunssfdi.c: Likewise.
3320         * soft-fp/fixunssfsi.c: Likewise.
3321         * soft-fp/fixunssfti.c: Likewise.
3322         * soft-fp/fixunstfdi.c: Likewise.
3323         * soft-fp/fixunstfsi.c: Likewise.
3324         * soft-fp/fixunstfti.c: Likewise.
3325         * soft-fp/floatdidf.c: Likewise.
3326         * soft-fp/floatdisf.c: Likewise.
3327         * soft-fp/floatditf.c: Likewise.
3328         * soft-fp/floatsidf.c: Likewise.
3329         * soft-fp/floatsisf.c: Likewise.
3330         * soft-fp/floatsitf.c: Likewise.
3331         * soft-fp/floattidf.c: Likewise.
3332         * soft-fp/floattisf.c: Likewise.
3333         * soft-fp/floattitf.c: Likewise.
3334         * soft-fp/floatundidf.c: Likewise.
3335         * soft-fp/floatundisf.c: Likewise.
3336         * soft-fp/floatunsidf.c: Likewise.
3337         * soft-fp/floatunsisf.c: Likewise.
3338         * soft-fp/floatuntidf.c: Likewise.
3339         * soft-fp/floatuntisf.c: Likewise.
3340         * soft-fp/floatuntitf.c: Likewise.
3341         * soft-fp/fmadf4.c: Likewise.
3342         * soft-fp/fmasf4.c: Likewise.
3343         * soft-fp/fmatf4.c: Likewise.
3344         * soft-fp/gedf2.c: Likewise.
3345         * soft-fp/gesf2.c: Likewise.
3346         * soft-fp/getf2.c: Likewise.
3347         * soft-fp/ledf2.c: Likewise.
3348         * soft-fp/lesf2.c: Likewise.
3349         * soft-fp/letf2.c: Likewise.
3350         * soft-fp/muldf3.c: Likewise.
3351         * soft-fp/mulsf3.c: Likewise.
3352         * soft-fp/multf3.c: Likewise.
3353         * soft-fp/negdf2.c: Likewise.
3354         * soft-fp/negsf2.c: Likewise.
3355         * soft-fp/negtf2.c: Likewise.
3356         * soft-fp/op-1.h: Likewise.
3357         * soft-fp/op-2.h: Likewise.
3358         * soft-fp/op-4.h: Likewise.
3359         * soft-fp/op-8.h: Likewise.
3360         * soft-fp/op-common.h: Likewise.
3361         * soft-fp/quad.h: Likewise.
3362         * soft-fp/single.h: Likewise.
3363         * soft-fp/soft-fp.h: Likewise.
3364         * soft-fp/sqrtdf2.c: Likewise.
3365         * soft-fp/sqrtsf2.c: Likewise.
3366         * soft-fp/sqrttf2.c: Likewise.
3367         * soft-fp/subdf3.c: Likewise.
3368         * soft-fp/subsf3.c: Likewise.
3369         * soft-fp/subtf3.c: Likewise.
3370         * soft-fp/truncdfsf2.c: Likewise.
3371         * soft-fp/trunctfdf2.c: Likewise.
3372         * soft-fp/trunctfsf2.c: Likewise.
3373         * soft-fp/trunctfxf2.c: Likewise.
3374         * soft-fp/unorddf2.c: Likewise.
3375         * soft-fp/unordsf2.c: Likewise.
3376         * soft-fp/unordtf2.c: Likewise.
3378 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
3380         [BZ #15672]
3381         * misc/error.c (error_tail): Fix possible buffer overflow.
3383 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
3385         [BZ #13028]
3386         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3387         address.
3389 2013-10-14  P. J. McDermott  <pj@pehjota.net>
3391         [BZ #832]
3392         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
3393         testing pipefail option.
3395 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3397         * soft-fp/double.h: Indent preprocessor directives inside #if.
3398         * soft-fp/extended.h: Likewise.
3399         * soft-fp/op-2.h: Likewise.
3400         * soft-fp/op-4.h: Likewise.
3401         * soft-fp/op-common.h: Likewise.
3402         * soft-fp/quad.h: Likewise.
3403         * soft-fp/single.h: Likewise.
3404         * soft-fp/soft-fp.h: Likewise.
3406 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
3408         * iconv/iconv_prog.c: Fix typos.
3409         * stdio-common/psiginfo-data.h: Likewise.
3411 2013-10-12   Reuben Thomas <rrt@sc3d.org>
3413         [BZ #15764]
3414         * locale/setlocale.c: Fix typo.
3416 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
3418         [BZ #16036]
3419         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3420         signaling NaN arguments.
3421         * soft-fp/unordsf2.c (__unordsf2): Likewise.
3422         * soft-fp/unordtf2.c (__unordtf2): Likewise.
3424         [BZ #14910]
3425         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3426         unordered operands.
3427         * soft-fp/gesf2.c (__gesf2): Likewise.
3428         * soft-fp/getf2.c (__getf2): Likewise.
3429         * soft-fp/ledf2.c (__ledf2): Likewise.
3430         * soft-fp/lesf2.c (__lesf2): Likewise.
3431         * soft-fp/letf2.c (__letf2): Likewise.
3433         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3434         * soft-fp/eqsf2.c (__eqsf2): Likewise.
3435         * soft-fp/eqtf2.c (__eqtf2): Likewise.
3436         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3437         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3438         * soft-fp/fixdfti.c (__fixdfti): Likewise.
3439         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3440         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3441         * soft-fp/fixsfti.c (__fixsfti): Likewise.
3442         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3443         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3444         * soft-fp/fixtfti.c (__fixtfti): Likewise.
3445         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3446         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3447         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3448         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3449         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3450         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3451         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3452         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3453         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3454         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3455         * soft-fp/floatdisf.c (__floatdisf): Likewise.
3456         * soft-fp/floatsisf.c (__floatsisf): Likewise.
3457         * soft-fp/floattidf.c (__floattidf): Likewise.
3458         * soft-fp/floattisf.c (__floattisf): Likewise.
3459         * soft-fp/floattitf.c (__floattitf): Likewise.
3460         * soft-fp/floatundidf.c (__floatundidf): Likewise.
3461         * soft-fp/floatundisf.c (__floatundisf): Likewise.
3462         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3463         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3464         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3465         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3466         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3467         * soft-fp/gesf2.c (__gesf2): Likewise.
3468         * soft-fp/getf2.c (__getf2): Likewise.
3469         * soft-fp/ledf2.c (__ledf2): Likewise.
3470         * soft-fp/lesf2.c (__lesf2): Likewise.
3471         * soft-fp/letf2.c (__letf2): Likewise.
3473         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3474         Undefine and redefine.
3475         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3476         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3477         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3478         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3479         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3480         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3481         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3482         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3483         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3484         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3485         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3486         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3487         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3488         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3489         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3491         [BZ #16032]
3492         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3493         without decrementing exponent if mantissa >= that for the
3494         denominator, not >.
3495         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3496         denominator, not >.  Decrement exponent in < case instead of
3497         incrementing in >= case.
3498         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3499         without decrementing exponent if mantissa >= that for the
3500         denominator, not >.
3502         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3503         computing saturated result for unsigned overflow.
3505 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3506             Jeff Law  <law@redhat.com>
3508         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3509         (atan2Mp): Add systemtap probe marker.
3510         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3511         (__ieee754_log): Add systemtap probe marker.
3512         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3513         (atanMp): Add systemtap probe marker.
3514         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3515         (tanMp): Add systemtap probe marker.
3516         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3517         (__slowexp): Add systemtap probe marker.
3518         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3519         (__slowpow): Add systemtap probe marker.
3520         * manual/probes.texi: Document probes.
3522 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
3524         [BZ #15362]
3525         * libio/fileops.c (_IO_new_file_write): Return count of bytes
3526         written.
3527         (_IO_new_file_xsputn): Don't return EOF if nothing has been
3528         written.
3529         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3530         written to buffer but not flushed.
3531         * libio/iofwrite_u.c:  Likewise.
3532         * libio/iopadn.c:  Return bytes returned even if EOF was
3533         encountered.
3534         * libio/iowpadn.c:  Likewise.
3535         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3536         if _IO_padn does not write the whole buffer.
3537         [!COMPILE_WPRINTF] (PAD): Likewise.
3539 2013-10-10  David S. Miller  <davem@davemloft.net>
3541         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3542         directory block.
3544 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3546         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
3547         instead of FSF address.
3548         * soft-fp/fixdfti.c: Likewise.
3549         * soft-fp/fixsfti.c: Likewise.
3550         * soft-fp/fixtfti.c: Likewise.
3551         * soft-fp/fixunsdfti.c: Likewise.
3552         * soft-fp/fixunssfti.c: Likewise.
3553         * soft-fp/fixunstfti.c: Likewise.
3554         * soft-fp/floattidf.c: Likewise.
3555         * soft-fp/floattisf.c: Likewise.
3556         * soft-fp/floattitf.c: Likewise.
3557         * soft-fp/floatuntidf.c: Likewise.
3558         * soft-fp/floatuntisf.c: Likewise.
3559         * soft-fp/floatuntitf.c: Likewise.
3560         * soft-fp/trunctfxf2.c: Likewise.
3562         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
3563         * soft-fp/fixdfti.c: Likewise.
3564         * soft-fp/fixsfti.c: Likewise.
3565         * soft-fp/fixtfti.c: Likewise.
3566         * soft-fp/fixunsdfti.c: Likewise.
3567         * soft-fp/fixunssfti.c: Likewise.
3568         * soft-fp/fixunstfti.c: Likewise.
3569         * soft-fp/floattidf.c: Likewise.
3570         * soft-fp/floattisf.c: Likewise.
3571         * soft-fp/floattitf.c: Likewise.
3572         * soft-fp/floatuntidf.c: Likewise.
3573         * soft-fp/floatuntisf.c: Likewise.
3574         * soft-fp/floatuntitf.c: Likewise.
3575         * soft-fp/trunctfxf2.c: Likewise.
3577 2013-10-10  David S. Miller  <davem@davemloft.net>
3579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3581 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
3583         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3584         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3585         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3586         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3587         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3588         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3589         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3591         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3592         for NaNs before doing comparisons on argument.
3593         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3594         Likewise.
3596 2013-10-10  Will Newton  <will.newton@linaro.org>
3598         * malloc/hooks.c (memalign_check): Ensure the value of bytes
3599         passed to _int_memalign does not overflow.
3601 2013-10-10  Torvald Riegel  <triegel@redhat.com>
3603         * scripts/bench.pl: Add include-sources directive.
3604         * benchtests/README: Update documentation.
3606 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
3608         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3609         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3610         instead of FP_INIT_ROUNDMODE.
3611         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3612         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3614         [BZ #16034]
3615         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
3616         copy class of input value.
3617         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
3618         not handle exceptions.
3619         * soft-fp/negsf2.c (__negsf2): Likewise.
3620         * soft-fp/negtf2.c (__negtf2): Likewise.
3621         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3623 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
3625         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3626         semicolon.  From Linux kernel.
3628 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
3630         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3632 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3634         [BZ #156]
3635         * manual/socket.texi: Added statement about buffer
3636         for gethostbyname2_r.
3638 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
3640         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3641         Use .p2align directive instead, throughout.
3642         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3643         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3644         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3645         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3646         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3647         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3648         * sysdeps/x86_64/strchr.S: Likewise.
3649         * sysdeps/x86_64/strrchr.S: Likewise.
3651 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3653         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3655         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3657         * sysdeps/generic/math_private.h (__mpsin1): Remove
3658         declaration.
3659         (__mpcos1): Likewise.
3660         (__mpsin): New argument __range_reduce.
3661         (__mpcos): Likewise.
3662         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3663         (slow): Use __mpsin and __mpcos.
3664         (slow1): Likewise.
3665         (slow2): Likewise.
3666         (sloww): Likewise.
3667         (sloww1): Likewise.
3668         (sloww2): Likewise.
3669         (bsloww): Likewise.
3670         (bsloww1): Likewise.
3671         (bsloww2): Likewise.
3672         (cslow2): Likewise.
3673         (csloww): Likewise.
3674         (csloww1): Likewise.
3675         (csloww2): Likewise.
3676         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3677         range_reduce.  Merge in __mpsin1.
3678         (__mpcos): Likewise.
3679         (__mpsin1): Remove.
3680         (__mpcos1): Likewise.
3682 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3684         * locale/loadlocale.c (_nl_intern_locale_data): Use
3685         LOCFILE_ALIGNED_P.
3686         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3687         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3688         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3689         obstack data is appropriately aligned.
3690         (obstack_int32_grow_fast): Likewise.
3691         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3692         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3693         (add_locale_uint32_array): Likewise.
3695 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3697         * benchtests/Makefile: Remove ARGLIST and RET variables.
3698         ($(objpfx)bench-%.c): Pass only function name to the script.
3699         * benchtests/README: Update documentation.
3700         * benchtests/acos-inputs: Add new directives.
3701         * benchtests/acosh-inputs: Likewise.
3702         * benchtests/asin-inputs: Likewise.
3703         * benchtests/asinh-inputs: Likewise.
3704         * benchtests/atan-inputs: Likewise.
3705         * benchtests/atanh-inputs: Likewise.
3706         * benchtests/cos-inputs: Likewise.
3707         * benchtests/cosh-inputs: Likewise.
3708         * benchtests/exp-inputs: Likewise.
3709         * benchtests/log-inputs: Likewise.
3710         * benchtests/pow-inputs: Likewise.
3711         * benchtests/rint-inputs: Likewise.
3712         * benchtests/sin-inputs: Likewise.
3713         * benchtests/sinh-inputs: Likewise.
3714         * benchtests/tan-inputs: Likewise.
3715         * benchtests/tanh-inputs: Likewise.
3716         * scripts/bench.pl: Add support for new directives.
3718 2013-10-07  Alan Modra  <amodra@gmail.com>
3720         * README: Fix careless merge.
3722 2013-10-05  Alan Modra  <amodra@gmail.com>
3724         * NEWS: Mention powerpc64le support and bugs fixed.
3725         * README: Both big-endian and little-endian powerpc64 supported.
3727 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3729         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3730         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3731         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3732         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3734 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3736         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3737         match prototype.
3739 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3741         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3742         Move -mhard-float appending from
3743         ports/sysdeps/powerpc/powerpc32/Makefile.
3744         [$(with-fp) = yes] (ASFLAGS): Likewise.
3745         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3746         * sysdeps/powerpc/nofpu: Move directory from
3747         ports/sysdeps/powerpc/nofpu.
3748         * sysdeps/powerpc/soft-fp: Move directory from
3749         ports/sysdeps/powerpc/soft-fp.
3750         * sysdeps/powerpc/powerpc32/405: Move directory from
3751         ports/sysdeps/powerpc/powerpc32/405.
3752         * sysdeps/powerpc/powerpc32/440: Move directory from
3753         ports/sysdeps/powerpc/powerpc32/440.
3754         * sysdeps/powerpc/powerpc32/464: Move directory from
3755         ports/sysdeps/powerpc/powerpc32/464.
3756         * sysdeps/powerpc/powerpc32/476: Move directory from
3757         ports/sysdeps/powerpc/powerpc32/476.
3758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3759         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3761         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3763         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3765         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3767         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3768         * README: Update for powerpc-*-linux-gnu software floating point
3769         support in libc.
3771         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3772         case to powerpc/powerpc32*.
3773         * sysdeps/unix/sysv/linux/configure: Regenerated.
3775         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3776         (_FPU_MASK_OM): Define as 0x04.
3777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3779         0x00c10080.
3780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3781         0x0000003c.
3782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3785         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3786         getcontext_e500.
3787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3788         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3789         setcontext_e500.
3790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3791         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3792         and setcontext_e500.
3794 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3796         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3798 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3800         * manual/threads.texi (Default Thread Attributes): Fix typo.
3802 2013-10-04  Will Newton  <will.newton@linaro.org>
3804         * malloc/Makefile: Add tst-memalign.
3805         * malloc/tst-memalign.c: New file.
3807         * malloc/tst-posix_memalign.c: Add comments.
3808         (do_test): Add comments and call free on all potentially
3809         allocated pointers. Add space after cast.
3811         * malloc/tst-pvalloc.c: Add comments.
3812         (do_test): Add comments and call free on all potentially
3813         allocated pointers. Remove duplicate check for NULL pointer.
3814         Add space after cast.
3816         * malloc/tst-valloc.c: Add comments.
3817         (do_test): Add comments and call free on all potentially
3818         allocated pointers. Remove duplicate check for NULL pointer.
3819         Add space after cast.
3821 2013-10-04  Alan Modra  <amodra@gmail.com>
3823         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3824         Use stdint types in rather than __attribute__((mode())).
3825         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3827 2013-10-04  Alan Modra  <amodra@gmail.com>
3829         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3830         Correct handling of unaligned relocs for little-endian.
3831         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3833 2013-10-04  Alan Modra  <amodra@gmail.com>
3835         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3836         * configure: Regenerate.
3837         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3838         * shlib-versions: Likewise.
3840 2013-10-04  Alan Modra  <amodra@gmail.com>
3842         * string/tester.c (test_memrchr): Increment reported test cycle.
3844 2013-10-04  Alan Modra  <amodra@gmail.com>
3846         * string/test-memcpy.c (do_one_test): When reporting errors, print
3847         string address and don't overrun end of string.
3849 2013-10-04  Alan Modra  <amodra@gmail.com>
3851         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3852         insrdi.  Make better use of reg selection to speed exit slightly.
3853         Schedule entry path a little better.  Remove useless "are we done"
3854         checks on entry to main loop.  Handle wrapping around zero address.
3855         Correct main loop count.  Handle single left-over word from main
3856         loop inline rather than by using loop_small.  Remove extra word
3857         case in loop_small caused by wrong loop count.  Add little-endian
3858         support.
3859         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3860         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3861         cache hint.
3862         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3863         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3864         support.  Avoid rlwimi.
3865         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3867 2013-10-04  Alan Modra  <amodra@gmail.com>
3869         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3870         insrdi.  Formatting.
3871         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3872         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3873         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3874         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3875         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3876         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3878 2013-10-04  Alan Modra  <amodra@gmail.com>
3880         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3881         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3882         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3883         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3884         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3885         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3886         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3887         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3888         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3889         use of regs.  Use power7 mtocrf.  Tidy function tails.
3891 2013-10-04  Alan Modra  <amodra@gmail.com>
3893         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3894         Formatting.  Consistently use rXXX register defines or rN defines.
3895         Use early exit labels that avoid restoring unused non-volatile regs.
3896         Make cr field use more consistent with rWORDn compares.  Rename
3897         regs used as shift registers for unaligned loop, using rN defines
3898         for short lifetime/multiple use regs.
3899         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3900         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3901         addi 1,1,64 to pop stack frame.  Simplify return value code.
3902         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3904 2013-10-04  Alan Modra  <amodra@gmail.com>
3906         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3907         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3908         rather than rlwimi.
3909         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3910         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3911         little-endian support.  Correct typos.
3912         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3913         rather than rlwimi.
3914         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3915         in loop and entry code to keep "and." results.
3916         (strchr): Add little-endian support.  Comment.  Move cntlzd
3917         earlier in tail.
3918         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3920 2013-10-04  Alan Modra  <amodra@gmail.com>
3922         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3923         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3924         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3925         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3927 2013-10-04  Alan Modra  <amodra@gmail.com>
3929         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3930         (rTMP): Define as r11.
3931         (strcmp): Add little-endian support.  Optimise tail.
3932         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3933         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3934         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3935         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3936         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3937         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3938         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3940 2013-10-04  Alan Modra  <amodra@gmail.com>
3942         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3943         little-endian support.  Remove unnecessary "are we done" tests.
3944         Handle "s" wrapping around zero and extremely large "size".
3945         Correct main loop count.  Handle single left-over word from main
3946         loop inline rather than by using small_loop.  Correct comments.
3947         Delete "zero" tail, use "end_max" instead.
3948         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3950 2013-10-04  Alan Modra  <amodra@gmail.com>
3952         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3953         support.  Don't branch over align.
3954         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3955         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3956         support.  Rearrange tmp reg use to suit.  Comment.
3957         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3959 2013-10-04  Alan Modra  <amodra@gmail.com>
3961         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3963 2013-10-04  Alan Modra  <amodra@gmail.com>
3965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3966         conditional form of branch and link when obtaining pc.
3967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3969 2013-10-04  Alan Modra  <amodra@gmail.com>
3971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3972         HIWORD/LOWORD.
3973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3976 2013-10-04  Alan Modra  <amodra@gmail.com>
3978         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3979         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3980         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3981         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3982         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3983         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3984         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3985         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3986         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3987         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3989 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3990             Alistair Popple <alistair@ozlabs.au.ibm.com>
3991             Alan Modra <amodra@gmail.com>
3993         [BZ #15723]
3994         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3995         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3996         _dl_hwcap access for little-endian.
3997         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3998         destroy vmx regs when saving unaligned.
3999         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4000         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
4001         destroy vmx regs when saving unaligned.
4003 2013-10-04  Alan Modra  <amodra@gmail.com>
4005         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4006         Don't use a union to pack hi/low value.
4008 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4010         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4011         for little-endian.
4012         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4013         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4014         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4015         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4016         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4018 2013-10-04  Alan Modra  <amodra@gmail.com>
4020         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4021         constants to usual value for .cst8 section, and remove redundant
4022         high address load.
4023         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4024         constant for 0x1p52.  Load little-endian words of double from
4025         correct stack offsets.
4027 2013-10-04  Alan Modra  <amodra@gmail.com>
4029         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4030         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4031         words of double from correct stack offsets.
4032         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4033         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4034         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4035         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4036         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4037         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4038         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4039         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4040         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4041         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4042         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4043         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4044         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4045         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4046         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4047         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4048         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4050 2013-10-04  Alan Modra  <amodra@gmail.com>
4052         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4053         64-bit int/double union.
4054         (_FPU_SETCW): Likewise.
4055         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4056         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4058 2013-10-04  Alan Modra  <amodra@gmail.com>
4060         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4061         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4063 2013-10-04  Alan Modra  <amodra@gmail.com>
4065         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4066         use vector int constants.
4067         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4069 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4071         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4072         array with long long.
4073         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4074         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4075         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4076         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4077         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4078         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4079         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4080         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4081         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4082         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4083         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4084         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4085         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4087 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
4089         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4090         (__signbit): Likewise.  Correct for little-endian.
4091         (__signbitl): Call __signbit.
4092         (lrint): Correct for little-endian.
4093         (lrintf): Call lrint.
4095 2013-10-04  Alan Modra  <amodra@gmail.com>
4097         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4098         union 32-bit int array member with 64-bit int array.
4099         (t515, tm256): Double rather than long double.
4100         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4102 2013-10-04  Alan Modra  <amodra@gmail.com>
4104         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4105         Delete.
4106         (IEEE854_LONG_DOUBLE_BIAS): Delete.
4107         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4108         version of math_ldbl.h.
4110 2013-10-04  Alan Modra  <amodra@gmail.com>
4112         [BZ #15734], [BZ #15735]
4113         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4114         all uses of ieee875 long double macros and unions.  Simplify test
4115         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
4116         ldbl_extract_mantissa value for ix,iy exponents.  Properly
4117         normalize after ldbl_extract_mantissa, and don't add hidden bit
4118         already handled.  Don't treat low word of ieee854 mantissa like
4119         low word of IBM long double and mask off bit when testing for
4120         zero.
4121         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4122         all uses of ieee875 long double macros and unions.  Simplify tests
4123         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
4124         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
4125         two1022, instead use their values.  Recognise that tests for large
4126         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
4127         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4128         Rewrite all uses of ieee875 long double macros and unions.  Simplify
4129         test for 0.0L and nan.  Correct negation.
4130         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4131         ieee875 long double macros and unions.  Correct output for large
4132         magnitude x.  Correct absolute value calculation.
4133         (__erfcl): Likewise.
4134         * math/libm-test.inc: Add tests for errors discovered in IBM long
4135         double versions of fmodl, remainderl, erfl and erfcl.
4137 2013-10-04  Alan Modra  <amodra@gmail.com>
4139         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4140         all uses of ieee854 long double macros and unions.  Simplify tests
4141         for long doubles that are fully specified by the high double.
4142         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4143         Likewise.
4144         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4145         Remove dead code too.
4146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4147         (__ieee754_ynl): Likewise.
4148         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4149         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4150         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4151         Remove dead code too.
4152         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4153         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4154         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4155         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4156         Simplify.
4157         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4158         Simplify.
4159         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4160         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4161         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4162         Comment on variable precision.
4163         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4164         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4165         Likewise.
4166         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4167         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4168         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4169         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4170         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4172 2013-10-04  Alan Modra  <amodra@gmail.com>
4174         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4175         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4176         all uses of ieee854 long double macros and unions.
4177         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4178         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4179         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4180         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4181         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4182         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4183         Likewise.
4184         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4185         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4186         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4187         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4188         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4189         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4190         Simplify sign and nan test too.
4191         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4192         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4193         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4194         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4195         Likewise.
4196         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4197         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4198         Likewise.
4199         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4200         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4201         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4202         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4203         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4206 2013-10-04  Alan Modra  <amodra@gmail.com>
4208         * stdio-common/printf_size.c (__printf_size): Don't use
4209         union ieee854_long_double in fpnum union.
4210         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
4211         signbit macro to retrieve sign from long double.
4212         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4213         retrieve sign from long double.
4214         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4215         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4216         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4217         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4218         * math/test-misc.c (main): Don't use union ieee854_long_double.
4220 2013-10-04  Alan Modra  <amodra@gmail.com>
4222         [BZ #15680]
4223         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4224         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4225         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4226         calculation.  Remove unnecessary test for denormal exponent.
4227         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4228         Correct handling of denormals.  Avoid undefined shift behaviour.
4229         Correct normalisation of low mantissa when low double is denormal.
4230         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4231         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
4232         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4233         Correct normalisation of low mantissa.  Test for overflow of high
4234         mantissa and normalise.
4235         (ldbl_nearbyint): Use more readable constant for two52.
4236         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4237         (__mpn_construct_long_double): Fix test for overflow of high
4238         mantissa and correct normalisation.  Avoid undefined shift.
4240 2013-10-04  Alan Modra  <amodra@gmail.com>
4242         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4243         (union ibm_extended_long_double): Define as an array of ieee754_double.
4244         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4245         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4246         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4247         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4248         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4249         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4250         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4251         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4252         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4253         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4254         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4256 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
4258         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4259         page size instead of calling getpagesize.
4261         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4262         (LOCFILE_ALIGN_MASK): Likewise.
4263         (LOCFILE_ALIGN_UP): Likewise.
4264         (LOCFILE_ALIGNED_P): Likewise.
4265         * locale/programs/ld-collate.c (collate_output): Use the new
4266         macros instead of __alignof__ (int32_t).
4267         * locale/weight.h (findidx): Likewise.
4269 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
4271         [BZ #431]
4272         * manual/string.texi: Fix strncat and wcsncat.
4274 2013-10-03  Brooks Moses  <bmoses@google.com>
4276         [BZ #15915]
4277         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4278         * Makerules: ...here, and adjust associated comments.
4280 2013-10-02  Will Newton  <will.newton@linaro.org>
4282         * malloc/Makefile: Add tst-pvalloc.
4283         * malloc/tst-pvalloc.c: New file.
4285 2013-10-02  Will Newton  <will.newton@linaro.org>
4287         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4288         improve test coverage.
4290 2013-10-02  Will Newton  <will.newton@linaro.org>
4292         * malloc/Makefile: Add tst-posix_memalign.
4293         * malloc/tst-posix_memalign.c: New file.
4295 2013-10-01  Eric Blake  <eblake@redhat.com>
4297         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4298         Use __THROWNL rather than __THROW on static functions.
4300 2013-09-30  Petr Machata  <pmachata@redhat.com>
4302         * elf/elf.h (R_AARCH64_ABS16): New macro.
4303         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4304         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4305         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4306         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4307         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4308         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4309         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4310         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4311         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4312         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4313         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4314         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4315         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4316         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4317         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4318         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4319         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4320         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4321         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4322         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4323         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4324         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4325         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4326         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4327         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4328         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4329         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4330         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4331         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4332         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4333         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4334         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4335         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4336         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4337         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4338         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4339         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4340         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4341         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4342         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4343         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4344         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4345         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4346         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4347         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4348         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4349         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4350         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4351         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4352         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4353         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4354         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4355         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4356         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4357         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4358         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4359         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4360         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4361         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4362         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4363         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4364         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4365         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4366         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4367         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4368         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4369         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4370         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4371         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4372         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4373         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4374         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4375         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4376         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4377         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4378         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4379         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4380         (R_AARCH64_TLSDESC_LDR): Likewise.
4381         (R_AARCH64_TLSDESC_ADD): Likewise.
4382         (R_AARCH64_TLSDESC_CALL): Likewise.
4384 2013-09-30  Andreas Schwab  <schwab@suse.de>
4386         [BZ #15048]
4387         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4388         the nss database lookup.
4389         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4390         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4392 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
4394         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4396 2013-09-28  P. J. McDermott  <pj@pehjota.net>
4398         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4399         ${Bash-specific parameter/pattern/string} parameter expansion.
4400         * sysdeps/unix/make-syscalls.sh: Likewise.
4402 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4404         * sysdeps/sh/stackguard-macros.h: New file.
4406 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
4408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4410         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4411         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4412         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4413         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4415 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4417         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4418         Fix thread ID register.
4420 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
4422         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4423         [POSIX || UNIX98]: Require rather than permitting all symbols from
4424         <time.h>.
4425         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4426         element of struct sched_param.
4427         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4428         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4429         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4430         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4431         constant.
4433 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
4435         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4436         argument calculation.
4438 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4440         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4441         Expect macro.
4442         [POSIX] (pthread_attr_t): Do not require type.
4443         [POSIX] (pthread_cond_t): Likewise.
4444         [POSIX] (pthread_condattr_t): Likewise.
4445         [POSIX] (pthread_key_t): Likewise.
4446         [POSIX] (pthread_mutex_t): Likewise.
4447         [POSIX] (pthread_mutexattr_t): Likewise.
4448         [POSIX] (pthread_once_t): Likewise.
4449         [POSIX] (pthread_t): Likewise.
4450         [POSIX-based standards] (pthread_atfork): Expect function.
4452 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
4453             Richard Sandiford  <richard@codesourcery.com>
4455         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4456         (swap_endianness_p): New extern variable.
4457         (set_big_endian): New inline function.
4458         (maybe_swap_uint32): Likewise.
4459         (maybe_swap_uint32_array): Likewise.
4460         (maybe_swap_uint32_obstack): Likewise.
4461         * locale/programs/locfile.c: Include <stdbool.h>.
4462         (swap_endianness_p): New variable.
4463         (add_locale_uint32): Call maybe_swap_uint32.
4464         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4465         (write_locale_data): Call maybe_swap_uint32_array.
4466         * locale/programs/ld-collate.c (obstack_int32_grow): Call
4467         maybe_swap_uint32.
4468         (obstack_int32_grow_fast): Likewise.
4469         (output_weightwc): Call maybe_swap_uint32_obstack.
4470         (collate_output): Likewise.
4471         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4472         (OPT_LITTLE_ENDIAN): Likewise.
4473         (options): Add --little-endian and --big-endian options.
4474         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4475         * locale/programs/locarchive.c: Include "locfile.h".
4476         (GET): New macro.
4477         (SET): Likewise.
4478         (INC): Likewise.
4479         (create_archive): Use the new macros to access fields of
4480         structures directly mapped from or written to locale archives.
4481         (oldlocrecentcmp): Likewise.
4482         (enlarge_archive): Likewise.
4483         (insert_name): Likewise.
4484         (add_alias): Likewise.
4485         (add_locale): Likewise.
4486         (delete_locales_from_archive): Likewise.
4487         (show_archive_content): Likewise.
4488         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
4489         locale data.
4491 2013-09-24  Roland McGrath  <roland@hack.frob.com>
4493         * manual/freemanuals.texi: Updated from (newly) canonical copy at
4494         http://www.gnu.org/doc/freemanuals.texi.
4495         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4497 2013-09-24  Will Newton  <will.newton@linaro.org>
4499         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4500         macro.
4502 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
4504         * locale/hashval.h (compute_hashval): Interpret bytes of key as
4505         unsigned char.
4507 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
4509         * manual/threads.texi (POSIX Threads): Fix a typo.
4511 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4513         [BZ #14547]
4514         * string/tst-strcoll-overflow.c: New test case.
4515         * string/Makefile (xtests): Add tst-strcoll-overflow.
4516         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4517         cache if string sizes may cause integer overflow.
4519         [BZ #14547]
4520         * string/strcoll_l.c (coll_seq): New members rule, idx,
4521         save_idx and back_us.
4522         (get_next_seq_nocache): New function.
4523         (do_compare_nocache): New function.
4524         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4525         when malloc fails.
4527 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
4529         [BZ #15754]
4530         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4531         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4532         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4534         [BZ #15754]
4535         * elf/Makefile (tests): Add tst-ptrguard1.
4536         (tests-static): Add tst-ptrguard1-static.
4537         (tst-ptrguard1-ARGS): Define.
4538         (tst-ptrguard1-static-ARGS): Define.
4539         * elf/tst-ptrguard1.c: New file.
4540         * elf/tst-ptrguard1-static.c: New file.
4541         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4542         * sysdeps/i386/stackguard-macros.h: Likewise.
4543         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4544         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4545         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4546         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4547         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4548         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4550 2013-09-23  Hector Marco  <hecmargi@upv.es>
4551             Ismael Ripoll  <iripoll@disca.upv.es>
4552             Carlos O'Donell  <carlos@redhat.com>
4554         [BZ #15754]
4555         * sysdeps/generic/stackguard-macros.h: Define
4556         __pointer_chk_guard_local and POINTER_CHK_GUARD.
4557         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4558         Define __pointer_chk_guard_local.
4559         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4560         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4562 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
4564         [BZ #15859]
4565         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4567 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
4569         * include/string.h (__ffs): Declare as hidden.
4570         * string/ffs.c (__ffs): Define as hidden.
4571         * sysdeps/i386/ffs.c (__ffs): Likewise.
4572         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4573         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4574         * sysdeps/s390/ffs.c (__ffs): Likewise.
4575         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4577 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
4579         * NEWS: Mention malloc probes.
4581         * malloc/arena.c (new_heap): New memory_heap_new probe.
4582         (grow_heap): New memory_heap_more probe.
4583         (shrink_heap): New memory_heap_less probe.
4584         (heap_trim): New memory_heap_free probe.
4585         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4586         (systrim): New memory_sbrk_less probe.
4587         * manual/probes.texi: Document them.
4589         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4590         * manual/probes.texi: Document it.
4592         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4593         (__libc_realloc): Add memory_realloc_retry probe.
4594         (__libc_memalign): Add memory_memalign_retry probe.
4595         (__libc_valloc): Add memory_valloc_retry probe.
4596         (__libc_pvalloc): Add memory_pvalloc_retry probe.
4597         (__libc_calloc): Add memory_calloc_retry probe.
4598         * manual/probes.texi: Document them.
4600         * malloc/arena.c (get_free_list): Add probe
4601         memory_arena_reuse_free_list.
4602         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4603         and memory_arena_reuse.
4604         (arena_get2) [!PER_THREAD]: Likewise.
4605         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4606         memory_arena_reuse_realloc.
4607         * manual/probes.texi: Document them.
4609         * malloc/malloc.c (__libc_free): Add
4610         memory_mallopt_free_dyn_thresholds probe.
4611         (__libc_mallopt): Add multiple memory_mallopt probes.
4612         * manual/probes.texi: Document them.
4614         * malloc/malloc.c: Include stap-probe.h.
4615         (__libc_mallopt): Add memory_mallopt probe.
4616         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4617         * manual/probes.texi: New.
4618         * manual/Makefile (chapters): Add probes.
4619         * manual/threads.texi: Set next node.
4621 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
4623         [BZ #15963, #13985]
4624         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4625         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4626         Add `Chinese' to `nan' entry name.
4628 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4630         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4631         (POLYNOMIAL): Likewise.
4632         (TAYLOR_SINCOS): Likewise.
4633         (TAYLOR_SLOW): Likewise.
4634         (__sin): Use TAYLOR_SINCOS.
4635         (__cos): Likewise.
4636         (slow): Use TAYLOR_SLOW.
4637         (sloww): Likewise.
4638         (bsloww): Likewise.
4639         (csloww): Likewise.
4641 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4643         * stdlib/strtod_l.c: Fix buffer overrun.
4645 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4647         * benchtests/Makefile (bench): Add sincos.
4648         * benchtests/bench-sincos.c: New file.
4650         * math/libm-test.inc (cos_test_data): New test inputs.
4651         (sin_test_data): Likewise.
4653         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4654         macro.
4655         (__sin): Use it.
4656         (__cos): Likewise.
4657         (slow1): Likewise.
4658         (slow2): Likewise.
4659         (sloww1): Likewise.
4660         (sloww2): Likewise.
4661         (bsloww1): Likewise.
4662         (bsloww2): Likewise.
4663         (cslow2): Likewise.
4664         (csloww1): Likewise.
4665         (csloww2): Likewise.
4667         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4668         function.
4669         (__sin): Use it.
4670         (__cos): Likewise.
4672         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4673         gotos.
4674         (__cos): Likewise.
4676 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
4678         * config.h.in (HAVE_MIPS_NAN2008): New macro.
4679         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4680         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4681         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4682         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4683         * elf/cache.c (print_entry): Handle the new cache flags.
4685 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4686             Aldy Hernandez  <aldyh@redhat.com>
4688         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4689         Change condition to [_SOFT_FLOAT].
4690         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4695         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4697         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4699         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4700         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4702         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4703         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4705         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4706         declaration.
4708 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4710         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4711         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4712         (__longjmp): Use LOAD_GP to load saved GPRs.
4713         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4714         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4715         (__sigsetjmp): Use SAVE_GP to save GPRs.
4717         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4718         Do not append -msoft-float.
4719         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4721 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4723         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4725 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4727         [BZ #15966]
4728         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4729         (_FPU_GETCW): Use initial "__" on variable and field names but not
4730         on macro parameter name.
4731         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4732         parentheses around reference to macro parameter.
4734 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4736         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4737         prototype.
4738         (ctype_startup): Use uint32_t in cast and sizeof for
4739         ctype->charnames.
4741 2013-09-11  Jia Liu  <proljc@gmail.com>
4743         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4744         __daddr_t_defined.
4745         [__FreeBSD__]: Likewise.
4747 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4750         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4751         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4752         (strchr): Remove __strchr_sse42 ifunc selection.
4753         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4754         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4756 2013-09-11  Will Newton  <will.newton@linaro.org>
4758         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4759         parameter to RES. Remove hardcoded 1000 value.
4760         * benchtests/bench-skeleton.c (main): Pass RES parameter
4761         to TIMING_INIT and multiply result by 1000.
4763 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4767 2013-09-11  Andreas Schwab  <schwab@suse.de>
4769         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4770         if not defined.
4771         (O_TMPFILE) [__USE_GNU]: Define.
4772         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4773         Define.
4775 2013-09-11  Will Newton  <will.newton@linaro.org>
4777         [BZ #15857]
4778         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4779         does not overflow.
4781 2013-09-11  Will Newton  <will.newton@linaro.org>
4783         [BZ #15856]
4784         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4785         does not overflow.
4787 2013-09-11  Will Newton  <will.newton@linaro.org>
4789         [BZ #15855]
4790         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4791         does not overflow.
4793 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4795         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4796         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4797         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4798         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4799         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4801 2013-09-10  Allan McRae  <allan@archlinux.org>
4803         [BZ #15748]
4804         * manual/arith.texi (Parsing of Floats): Clarify
4805         cross-reference.
4807         [BZ #15849]
4808         * manual/install.texi (Running make install): Mention
4809         --enable-pt-chown.
4810         * INSTALL: Regenerated.
4812 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4814         * csu/init-first.c (_init): Remove the !SHARED condition around
4815         FPU control word initialization.
4816         * elf/dl-support.c (_dl_fpu_control): New variable.
4817         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4818         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4819         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4820         * math/test-fpucw-static.c: New file.
4821         * math/test-fpucw-ieee.c: New file.
4822         * math/test-fpucw-ieee-static.c: New file.
4823         * math/Makefile (tests): Add `test-fpucw-ieee' and
4824         `$(tests-static)'.
4825         (tests-static): New variable.
4826         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4827         dependency to...
4828         [($(build-shared),yes)]
4829         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4830         ... this.
4831         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4832         New dependency.
4834 2013-09-09  Allan McRae  <allan@archlinux.org>
4836         [BZ #15939]
4837         * manual/string.texi (Collation Functions): Fix typo in
4838         strcoll example.
4839         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4841         [BZ #15893]
4842         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4844         [BZ #15892]
4845         * libio/memstream.c (open_memstream): Fix memory leak.
4846         * libio/wmemstream.c (open_wmemstream): Likewise.
4848         [BZ #15895]
4849         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4851 2013-09-09  Will Newton  <will.newton@linaro.org>
4853         * malloc/Makefile: Add tst-realloc to tests.
4854         * malloc/tst-realloc.c: New file.
4856 2013-09-09  Allan McRae  <allan@archlinux.org>
4858         [BZ #15844]
4859         * COPYING: Update from GNU website to fix FSF address.
4860         * COPYING.LIB: Likewise.
4862 2013-09-06  David S. Miller  <davem@davemloft.net>
4864         * po/zh_TW.po: Update Chinese (traditional) translation from
4865         translation project.
4867 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4868             Joseph Myers  <joseph@codesourcery.com>
4870         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4871         "localeinfo.h".
4872         (obstack_chunk_alloc): New macro.
4873         (obstack_chunk_free): Likewise.
4874         (record_offset): New function.
4875         (init_locale_data): Likewise.
4876         (align_locale_data): Likewise.
4877         (add_locale_empty): Likewise.
4878         (add_locale_raw_data): Likewise.
4879         (add_locale_raw_obstack): Likewise.
4880         (add_locale_string): Likewise.
4881         (add_locale_wstring): Likewise.
4882         (add_locale_uint32): Likewise.
4883         (add_locale_uint32_array): Likewise.
4884         (add_locale_char): Likewise.
4885         (start_locale_structure): Likewise.
4886         (end_locale_structure): Likewise.
4887         (start_locale_prelude): Likewise.
4888         (end_locale_prelude): Likewise.
4889         (write_locale_data): Take locale_file structure rather than an
4890         iovec.
4891         * locale/programs/locfile.h: Include "obstack.h".
4892         (struct locale_file): Change to store locale file contents instead
4893         of header.
4894         (init_locale_data): New prototype.
4895         (align_locale_data): Likewise.
4896         (add_locale_empty): Likewise.
4897         (add_locale_raw_data): Likewise.
4898         (add_locale_raw_obstack): Likewise.
4899         (add_locale_string): Likewise.
4900         (add_locale_wstring): Likewise.
4901         (add_locale_uint32): Likewise.
4902         (add_locale_uint32_array): Likewise.
4903         (add_locale_char): Likewise.
4904         (start_locale_structure): Likewise.
4905         (end_locale_structure): Likewise.
4906         (start_locale_prelude): Likewise.
4907         (end_locale_prelude): Likewise.
4908         (write_locale_data): Update prototype.
4909         * locale/programs/3level.h (struct TABLE): Remove result field.
4910         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4911         Use new locale_file interface.
4912         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4913         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4914         * locale/programs/ld-address.c (address_output): Use new
4915         locale_file interface.
4916         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4917         NO_ADD_LOCALE.
4918         (collate_finish): Don't call collseq_table_finalize.
4919         (collate_output): Use new locale_file interface.
4920         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4921         in file.
4922         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4923         (TABLE): Move defines earlier in file.
4924         (ELEMENT): Likewise.
4925         (DEFAULT): Likewise.
4926         (wctrans_table_add): Move macro and inline function earlier in
4927         file.
4928         (struct wctype_table): Move type earlier in file.
4929         (add_locale_wctype_table): New static prototype.
4930         (struct locale_ctype_t): Use logical types instead of struct iovec
4931         pointers for members.
4932         (ctype_output): Use new locale_file interface.
4933         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4934         new locale_file interface.
4935         (allocate_arrays): Update for use of new locale_file interface.
4936         * locale/programs/ld-identification.c (identification_output): Use
4937         new locale_file interface.
4938         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4939         * locale/programs/ld-messages.c (messages_output): Likewise.
4940         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4941         * locale/programs/ld-name.c (name_output): Likewise.
4942         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4943         * locale/programs/ld-paper.c (paper_output): Likewise.
4944         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4945         * locale/programs/ld-time.c (time_output): Likewise.
4947 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4949         * benchtests/Makefile: Add memrchr benchmark.
4950         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4951         benchmark as memrchr.
4952         * benchtests/bench-memrchr-ifunc.c: New file.
4953         * benchtests/bench-memrchr.c: New file.
4955 2013-09-06   Will Newton  <will.newton@linaro.org>
4957         * benchtests/Makefile (string-bench): Add memcpy.
4959 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4960             Cong Wang  <amwang@redhat.com>
4962         * sysdeps/unix/sysv/linux/bits/in.h
4963         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4964         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4965         before __USE_KERNEL_IPV6_DEFS uses.
4966         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4967         IPPROTO_BEETPH.
4968         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4969         sockaddr_in6, or ipv6_mreq.
4971 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4973         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4974         memory access for final bytes in some large inputs.
4975         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4977 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4979         * string/test-memrchr.c: New file.
4980         * string/test-memrchr-ifunc.c: New file.
4981         * string/Makefile: Add new memrchr testcase.
4983 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4985         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4986         fanotify_init returns EPERM.
4988 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4990         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4991         errors.
4992         (top level): Treat second token from macro or constant entries for
4993         allowed headers as allowed.
4994         * include/complex.h: Condition internal declarations on
4995         [!_ISOMAC].
4996         * include/fenv.h: Condition include of <stdbool.h> and internal
4997         declarations on [!_ISOMAC].
4999 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
5001         [BZ #15923]
5002         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5004 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
5006         * configure.in (--enable-versioning): Remove configure option.
5007         (libc_cv_asm_symver_directive): Remove configure test.
5008         (libc_cv_ld_version_script_option): Likewise.
5009         (VERSIONING): Remove variable and AC_SUBST.
5010         (DO_VERSIONING): Remove AC_DEFINE.
5011         * configure: Regenerated.
5012         * config.h.in (DO_VERSIONING): Remove macro.
5013         * Makerules [$(versioning) = yes]: Change conditionals to
5014         [$(build-shared) = yes].
5015         * config.make.in (versioning): Remove variable.
5016         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5017         [$(build-shared) = yes].
5018         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5019         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5020         * elf/Makefile [$(versioning) = yes]: Change conditionals to
5021         [$(build-shared) = yes].
5022         * extra-lib.mk [$(versioning) = yes]: Likewise.
5023         * hurd/Makefile [$(versioning) = yes]: Likewise.
5024         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5025         [SHARED].
5026         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5027         [SHARED].
5028         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5029         [SHARED && !NO_HIDDEN].
5030         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5031         [SHARED].
5032         [SHARED && DO_VERSIONING]: Likewise..
5033         * libio/Makefile [$(versioning) = yes]: Change conditionals to
5034         [$(build-shared) = yes].
5035         * manual/install.texi (--disable-versioning): Remove
5036         documentation.
5037         * INSTALL: Regenerated.
5038         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5039         to [SHARED].
5040         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5041         [$(build-shared) = yes].
5042         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5043         * sysdeps/i386/i686/multiarch/strstr-c.c
5044         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5045         [SHARED && !NO_HIDDEN].
5046         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5047         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5048         * sysdeps/powerpc/powerpc32/dl-machine.c
5049         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5050         * sysdeps/powerpc/powerpc32/sysdep.h
5051         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5052         to [SHARED && PIC && !NO_HIDDEN].
5053         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5054         conditional to [SHARED].
5056 2013-09-04   Will Newton  <will.newton@linaro.org>
5058         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5059         * benchtests/bench-string.h: Include bench-timing.h instead
5060         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5061         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5062         call to HP_TIMING_DIFF_INIT.
5063         * benchtests/bench-memccpy.c: Use bench-timing.h macros
5064         instead of hp-timing.h macros.
5065         * benchtests/bench-memchr.c: Likewise.
5066         * benchtests/bench-memcmp.c: Likewise.
5067         * benchtests/bench-memcpy.c: Likewise.
5068         * benchtests/bench-memmem.c: Likewise.
5069         * benchtests/bench-memmove.c: Likewise.
5070         * benchtests/bench-memset.c: Likewise.
5071         * benchtests/bench-rawmemchr.c: Likewise.
5072         * benchtests/bench-strcasecmp.c: Likewise.
5073         * benchtests/bench-strcasestr.c: Likewise.
5074         * benchtests/bench-strcat.c: Likewise.
5075         * benchtests/bench-strchr.c: Likewise.
5076         * benchtests/bench-strcmp.c: Likewise.
5077         * benchtests/bench-strcpy.c: Likewise.
5078         * benchtests/bench-strcpy_chk.c: Likewise.
5079         * benchtests/bench-strlen.c: Likewise.
5080         * benchtests/bench-strncasecmp.c: Likewise.
5081         * benchtests/bench-strncat.c: Likewise.
5082         * benchtests/bench-strncmp.c: Likewise.
5083         * benchtests/bench-strncpy.c: Likewise.
5084         * benchtests/bench-strnlen.c: Likewise.
5085         * benchtests/bench-strpbrk.c: Likewise.
5086         * benchtests/bench-strrchr.c: Likewise.
5087         * benchtests/bench-strspn.c: Likewise.
5088         * benchtests/bench-strstr.c: Likewise.
5090 2013-09-04  Will Newton  <will.newton@linaro.org>
5092         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5094 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
5096         [BZ #15427]
5097         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5098         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5099         * math/libm-test.inc (lgamma_test_data): Add more tests.
5100         * sysdeps/i386/fpu/libm-test-ulps: Update.
5101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5103 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
5105         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5107         Add ifunc.
5108         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5109         Add strcmp-sse2-unaligned
5110         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5112 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5114         * Versions.def (libc): Add GLIBC_2.19.
5116 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
5118         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5119         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5121 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
5123         [BZ #14155]
5124         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5125         intermediate calculations in recurrence.
5126         (__ieee754_ynf): Likewise.
5127         * math/libm-test.inc (jn_test_data): Do not allow spurious
5128         underflow exception.  Add more tests.
5129         (yn_test_data): Add more tests.
5130         * sysdeps/i386/fpu/libm-test-ulps: Update.
5131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5133 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
5135         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5137 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5139         * csu/init-first.c: Fix then/than typos.
5140         * locale/programs/ld-collate.c: Likewise.
5141         * locale/programs/linereader.h: Likewise.
5142         * manual/charset.texi: Likewise.
5143         * manual/filesys.texi: Likewise.
5144         * manual/stdio.texi: Likewise.
5145         * manual/string.texi: Likewise.
5146         * stdlib/fmtmsg.c: Likewise.
5147         * sysdeps/i386/stpncpy.S: Likewise.
5148         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5149         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5150         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5151         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5153 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
5155         * elf/dl-open.c: Fix typos.
5156         * iconvdata/gbbig5.c: Likewise.
5157         * iconvdata/iso-2022-jp.c: Likewise.
5158         * iconv/gconv_int.h: Likewise.
5159         * iconv/loop.c: Likewise.
5160         * nis/rpcsvc/nis.h: Likewise.
5161         * resolv/ns_name.c: Likewise.
5162         * stdio-common/vfscanf.c: Likewise.
5163         * streams/stropts.h: Likewise.
5164         * sunrpc/rpc_thread.c: Likewise.
5165         * sysdeps/i386/strpbrk.S: Likewise.
5166         * sysdeps/ieee754/k_standard.c: Likewise.
5167         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5168         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5169         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5170         * sysdeps/mach/hurd/profil.c: Likewise.
5171         * sysdeps/s390/dl-procinfo.h: Likewise.
5172         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5173         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5174         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5175         * sysdeps/x86_64/dl-trampoline.S: Likewise.
5176         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5178 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
5180         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5181         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5183 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
5185         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5186         aix specific files.
5187         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5188         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5189         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5190         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5191         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5192         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5193         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5194         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5196 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5197             Roland McGrath  <roland@hack.frob.com>
5199         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5200         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5202 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5204         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5205         __executable_start symbol instead of _start.
5207 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
5209         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5210         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5211         Move macros to...
5212         * sysdeps/gnu/ldsodefs.h: ... this new file.
5214         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5215         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5216         instead of ELFOSABI_LINUX.
5218         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5219         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5220         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5221         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5222         Likewise.
5223         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5224         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5225         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5226         Likewise.
5227         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5228         (ibm_extended_long_double): Add ieee_nan member.
5229         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5230         (do_test): New function.
5232         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5233         TEST_TRUNC.
5234         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5235         functions, renamed from truncdfsf_test, trunctfsf_test,
5236         trunctfdf_test.
5237         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5238         functions.
5239         (do_test): Run all these.
5241 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
5243         * argp/argp-help.c: Fix typos.
5244         * argp/argp-parse.c: Likewise.
5245         * debug/backtracesyms.c: Likewise.
5246         * elf/elf.h: Likewise.
5247         * malloc/malloc.c: Likewise.
5248         * nis/nis_print.c: Likewise.
5249         * resolv/res_comp.c: Likewise.
5250         * stdlib/stdlib.h: Likewise.
5251         * sunrpc/clnt_tcp.c: Likewise.
5252         * sunrpc/clnt_udp.c: Likewise.
5253         * sunrpc/clnt_unix.c: Likewise.
5254         * sysdeps/unix/bsd/ptsname.c: Likewise.
5255         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5256         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5258         Likewise.
5259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5260         Likewise.
5261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5262         Likewise.
5263         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5265 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5267         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5270 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
5272         [BZ #15897]
5273         * dlfcn/Makefile (tests): Add bug-dl-leaf.
5274         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5275         ($(objpfx)bug-dl-leaf): New rule.
5276         ($(objpfx)bug-dl-leaf.so): Likewise.
5277         ($(objpfx)bug-dl-leaf.out): Likewise.
5278         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5279         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5280         * dlfcn/bug-dl-leaf.c: New test.
5281         * dlfcn/bug-dl-leaf-lib.c: Likewise.
5282         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5283         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5284         (dlclose): Likewise.
5285         (dlmopen): Likewise.
5287 2013-08-27  Roland McGrath  <roland@hack.frob.com>
5289         * include/netdb.h [!_ISOMAC]:
5290         Don't include <tls.h>.
5291         (h_errno, __libc_h_errno): Move declaration and macros out of
5292         [_LIBC_REENTRANT].
5294         * include/resolv.h [_RESOLV_H_]:
5295         Don't include <tls.h>.
5296         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5297         * resolv/res_libc.c: Don't include <tls.h>.
5298         (_res): Use __attribute__ ((nocommon)) in place of
5299         __attribute__ ((section (".bss"))).
5301         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5302         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5304         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5306         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5307         only under [SIOCGIFCONF && SIOCGIFNETMASK].
5309         * resolv/res_mkquery.c: Include <sys/time.h>.
5311         * inet/ifreq.c: Moved to ...
5312         * sysdeps/unix/ifreq.c: ... here.
5313         * inet/ifreq.c: New file, true stub version.
5315         * socket/sa_len.c: New file.
5316         * socket/Makefile (aux): Add it.
5317         * sysdeps/unix/sysv/linux/Makefile
5318         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5319         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5320         and #include <socket/sa_len.c>.
5321         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5322         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5324         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5325         * bits/socket.h: ... here.
5327         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5328         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5329         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5331 2013-08-27  Andreas Schwab  <schwab@suse.de>
5333         [BZ #15736]
5334         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5335         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5336         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5337         * string/test-strcasecmp.c (test_main): Run tests in several
5338         locales.
5339         * string/test-strncasecmp.c (test_main): Likewise.
5341         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5342         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5343         to __strcasecmp_nonascii and __strncasecmp_nonascii.
5344         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5345         (__strncasecmp_ssse3) [PIC]: Likewise.
5347 2013-08-26  Roland McGrath  <roland@hack.frob.com>
5349         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5351         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5352         instead of explicitly declaring xdecrypt.
5353         * nis/nss_nis/nis-publickey.c: Likewise.
5355 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5357         [BZ #15890]
5358         * nscd/aicache.c: Include res_hconf.h.
5359         (addhstaiX): Initialize res_hconf.
5361 2013-08-26  Andreas Schwab  <schwab@suse.de>
5363         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5364         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5366 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5368         * nscd/aicache.c (addhstaiX): Fix indentation.
5370 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
5372         * configure.ac: Quote $build_pt_chown test.
5373         * configure: Regenerated.
5375 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
5377         [BZ #15532]
5378         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5379         * math/s_cexpf.c (__cexpf): Likewise.
5380         * math/s_cexpl.c (__cexpl): Likewise.
5381         * math/libm-test.inc (cexp_test_data): Correct expected return
5382         value for NaN + i0.  Add another test.
5384 2013-08-22  David S. Miller  <davem@davemloft.net>
5386         * po/ca.po: Update Catalan translation from translation project.
5387         * po/uk.po: Add Ukrainian translations from translation project.
5389 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
5391         [BZ #15797]
5392         * math/s_fdim.c (__fdim): Check for infinite arguments if result
5393         is infinite, not alongside NaN test.
5394         * math/s_fdimf.c (__fdimf): Likewise.
5395         * math/s_fdiml.c (__fdiml): Likewise.
5396         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
5397         errno is unchanged.
5399 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
5401         * argp/argp-help.c: Fix typos.
5402         * crypt/speeds.c: Likewise.
5403         * csu/check_fds.c: Likewise.
5404         * elf/dl-load.c: Likewise.
5405         * elf/dl-open.c: Likewise.
5406         * elf/reldep3.c: Likewise.
5407         * elf/reldep.c: Likewise.
5408         * elf/sprof.c: Likewise.
5409         * iconv/iconv_charmap.c: Likewise.
5410         * iconv/skeleton.c: Likewise.
5411         * iconv/strtab.c: Likewise.
5412         * io/lockf64.c: Likewise.
5413         * libio/libioP.h: Likewise.
5414         * resolv/gai_notify.c: Likewise.
5415         * resolv/ns_name.c: Likewise.
5416         * resolv/ns_samedomain.c: Likewise.
5417         * resolv/res_send.c: Likewise.
5418         * stdlib/random.c: Likewise.
5419         * sunrpc/rpc/xdr.h: Likewise.
5420         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5421         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5422         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5423         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5424         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5425         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5427         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5428         * sysdeps/mach/hurd/check_fds.c: Likewise.
5429         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5430         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5431         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5432         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5433         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5434         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5435         * sysdeps/pthread/aio_notify.c: Likewise.
5436         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5437         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5438         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5439         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5440         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5442 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5444         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5445         version if bit_Slow_SSE4_2 is set.
5446         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5447         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5449 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5451         [BZ #15867]
5452         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5453         trampoline stack frame information.
5454         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5455         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5456         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5457         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5458         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5459         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5460         (_libc_vdso_platform_setup): Initialize the signal trampolines.
5461         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5462         sa_flags value.
5463         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5464         interrupting a syscall and set with option SA_SIGINFO.
5466 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5468         [BZ #15531]
5469         * math/s_cproj.c (__cproj): Only return an infinity if one part of
5470         argument is infinite.
5471         * math/s_cprojf.c (__cprojf): Likewise.
5472         * math/s_cprojl.c (__cprojl): Likewise.
5473         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5474         * math/libm-test.inc (cproj_test_data): Add more tests.
5476         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5478         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5479         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5480         size.  Use __ffs to determine corresponding shift.
5482 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
5483             Roland McGrath  <roland@hack.frob.com>
5485         * Makefile (INSTALL): Remove trailing blank lines from output of
5486         makeinfo.
5488 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5490         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5491         Align 32 bit compat elf_greg to 8 bytes.
5493 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5495         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5497 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
5499         * string/strcoll_l.c (coll_seq): New structure.
5500         (get_next_seq_cached): New function.
5501         (get_next_seq): New function.
5502         (do_compare): New function.
5503         (STRCOLL): Use GNU style definition.  Simplify implementation
5504         by using get_next_seq, get_next_seq_cached and do_compare.
5506 2013-08-16  Florian Weimer  <fweimer@redhat.com>
5508         [BZ #14699]
5509         CVE-2013-4237
5510         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5511         member.
5512         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5513         member.
5514         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5515         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5516         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
5517         conditional.
5518         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5519         GETDENTS_64BIT_ALIGNED.
5520         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5521         * manual/filesys.texi (Reading/Closing Directory): Document
5522         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
5523         strongly.
5524         * manual/conf.texi (Limits for Files): Add portability note to
5525         NAME_MAX, PATH_MAX.
5526         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5528 2013-08-13  Andreas Schwab  <schwab@suse.de>
5530         [BZ #15749]
5531         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5532         of fabs.
5533         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5534         LDBL_MAX_EXP >= 16384]: Add tests for it.
5536 2013-08-12  David S. Miller  <davem@davemloft.net>
5538         * version.h (RELEASE): Set to "development".
5539         (VERSION): Set to "2.18.90".
5540         * NEWS: Add 2.19 section.
5542 2013-08-03  David S. Miller  <davem@davemloft.net>
5544         * po/ko.po: Update Korean translation from translation project.
5546 2013-08-01  David S. Miller  <davem@davemloft.net>
5548         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
5549         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5550         Bilka.
5552 2013-07-30  David S. Miller  <davem@davemloft.net>
5554         * po/fr.po: Update French translation from translation project.
5556 2013-07-28  David S. Miller  <davem@davemloft.net>
5558         * po/cs.po: Update Czech translation from translation project.
5560         * po/sv.po: Update Swedish translation from translation project.
5562 2013-07-27  David S. Miller  <davem@davemloft.net>
5564         * po/eo.po: Update Esperanto translation from translation project.
5566         * po/vi.po: Update Vietnamese translation from translation project.
5568         * po/de.po: Update German translation from translation project.
5570 2013-07-26  David S. Miller  <davem@davemloft.net>
5572         * po/bg.po: Update Bulgarian translation from translation project.
5574         * po/nl.po: Update Dutch translation from translation project.
5575         * po/pl.po: Update Polish translation from translation project.
5576         * po/ru.po: Update Russian translation from translation project.
5578 2013-07-24  David S. Miller  <davem@davemloft.net>
5580         * po/libc.pot: Update.
5582 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5584         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5585         variable page size.
5586         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5587         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5588         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5590 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5592         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5594 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5595             Andreas Schwab  <schwab@suse.de>
5596             Roland McGrath  <roland@hack.frob.com>
5597             Joseph Myers  <joseph@codesourcery.com>
5598             Carlos O'Donell  <carlos@redhat.com>
5600         [BZ #15755]
5601         * config.h.in: Define HAVE_PT_CHOWN.
5602         * config.make.in (build-pt-chown): New variable.
5603         * configure.in (--enable-pt_chown): New configure option.
5604         * configure: Regenerate.
5605         * login/Makefile: Include Makeconfig.  Build pt_chown only if
5606         build-pt-chown is enabled.
5607         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5608         pt_chown to fix pty ownership.
5609         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5610         CLOSE_ALL_FDS.
5611         * manual/install.texi (Configuring and compiling): Mention
5612         --enable-pt_chown. Add @findex for grantpt.
5613         * INSTALL: Regenerate.
5615 2013-07-20  David S. Miller  <davem@davemloft.net>
5617         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5618         difference between 32-bit and 64-bit.
5620 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
5622         [BZ #15711]
5623         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5624         Avoid system header dependency with -ffreestanding.
5625         ($(objpfx)bits/syscall%d): Likewise.
5627 2013-07-13  David S. Miller  <davem@davemloft.net>
5629         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5630         underflows from atanl/atan2l due to bug 15319.
5631         (casinh_test_data): Likewise.
5633 2013-07-07  David S. Miller  <davem@davemloft.net>
5635         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5637 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
5639         * sysdeps/i386/fpu/libm-test-ulps: Update.
5640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5642 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5644         * configure.in (--enable-lock-elision): Fix message text.
5645         * INSTALL: Regenerate.
5646         * configure: Regenerate.
5648 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5652 2013-07-03  Andreas Jaeger  <aj@suse.de>
5654         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5655         define.
5656         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5657         (ptrace_peeksiginfo_args): Add.
5658         (__ptrace_peeksiginfo_flags): Add.
5659         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5660         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5661         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5663 2013-07-03  Allan McRae  <allan@archlinux.org>
5665         * sysdeps/i386/fpu/libm-test-ulps: Update.
5667 2013-07-02  David S. Miller  <davem@davemloft.net>
5669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5671 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
5673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5675 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5677         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5680 2013-07-02  Andi Kleen <ak@linux.intel.com>
5682         * config.h.in (ENABLE_LOCK_ELISION): Add.
5683         * configure.in (--enable-lock-elision): Add option.
5684         * manual/install.texi: Document --enable lock elision.
5685         * configure: Regenerate
5686         * INSTALL: Regenerate.
5688 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5690         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5691         SSE4.2 strcasecmp for libc.a.
5692         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5694 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5696         [BZ #13304]
5697         * soft-fp/op-common.h (_FP_FMA): New macro.
5698         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5699         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5700         (_FP_MUL_MEAT_1_imm): ... here.
5701         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5702         (_FP_MUL_MEAT_1_wide): ... here.
5703         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5704         (_FP_MUL_MEAT_1_hard): ... here.
5705         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5706         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5707         (_FP_MUL_MEAT_2_wide): ... here.
5708         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5709         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5710         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5711         (_FP_MUL_MEAT_2_gmp): ... here.
5712         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5713         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5714         (_FP_MUL_MEAT_4_wide): ... here.
5715         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5716         (_FP_MUL_MEAT_4_gmp): ... here.
5717         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5718         (_FP_WFRACBITS_DW_S): Likewise.
5719         (_FP_WFRACXBITS_DW_S): Likewise.
5720         (_FP_HIGHBIT_DW_S): Likewise.
5721         (FP_FMA_S): Likewise.
5722         (_FP_FRAC_HIGH_DW_S): Likewise.
5723         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5724         (_FP_WFRACBITS_DW_D): Likewise.
5725         (_FP_WFRACXBITS_DW_D): Likewise.
5726         (_FP_HIGHBIT_DW_D): Likewise.
5727         (FP_FMA_D): Likewise.
5728         (_FP_FRAC_HIGH_DW_D): Likewise.
5729         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5730         (_FP_WFRACBITS_DW_E): Likewise.
5731         (_FP_WFRACXBITS_DW_E): Likewise.
5732         (_FP_HIGHBIT_DW_E): Likewise.
5733         (FP_FMA_E): Likewise.
5734         (_FP_FRAC_HIGH_DW_E): Likewise.
5735         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5736         (_FP_WFRACBITS_DW_Q): Likewise.
5737         (_FP_WFRACXBITS_DW_Q): Likewise.
5738         (_FP_HIGHBIT_DW_Q): Likewise.
5739         (FP_FMA_Q): Likewise.
5740         (_FP_FRAC_HIGH_DW_Q): Likewise.
5741         * soft-fp/fmasf4.c: New file.
5742         * soft-fp/fmadf4.c: Likewise.
5743         * soft-fp/fmatf4.c: Likewise.
5745 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5748         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5749         Silvermont.
5750         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5751         macro.
5752         (index_Slow_SSE4_2): Likewise.
5753         (index_Prefer_PMINUB_for_stringop): Likewise.
5754         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5755         bit_Slow_SSE4_2 is set.
5756         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5757         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5759 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5761         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5762         rtld_global._dl_hwcap2.
5763         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5764         POWER8.
5765         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5766         POWER8 feature descriptions defined in _dl_hwcap2.
5767         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5768         string handling for POWER8 feature bits.
5769         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5770         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5771         _dl_powerpc_cap_flags.
5772         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5773         * sysdeps/powerpc/rtld-global-offsets.sym
5774         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5775         _dl_hwcap2 in the rtld_global_ro structure.
5777 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5779         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5780         hardware capabilities in support of AT_HWCAP2.
5781         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5782         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5783         GLRO(dl_hwcap2).
5784         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5785         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5786         explicitly the unknown a_type display mechanism is used.
5787         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5788         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5789         struct member.
5790         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5791         to macro prototype for AT_HWCAP2 support.
5792         * sysdeps/i386/dl-procinfo.h: Likewise.
5793         * sysdeps/s390/dl-procinfo.h: Likewise.
5794         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5795         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5796         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5797         return -1 for unknown a_type display fallback.
5798         * sysdeps/sparc/dl-procinfo.h: Likewise.
5799         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5800         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5802 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5804         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5805         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5807 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5809         [BZ #12492]
5810         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5811         mprotect making __stack_prot writable.
5813 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5814             Joseph Myers  <joseph@codesourcery.com>
5816         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5817         as being properly aligned.
5819 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5821         * dlfcn/modstatic5.c: New file.
5822         * dlfcn/tststatic5.c: New file.
5823         * dlfcn/Makefile (tests): Add tststatic5.
5824         (tests-static): Likewise.
5825         (modules-names): Add modstatic5.
5826         (tststatic5-ENV): New variable.
5827         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5829         [BZ #15022]
5830         * elf/dl-support.c (_dl_main_map): New variable.
5831         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5832         (_dl_nns, _dl_load_adds): Set to 1.
5833         (_dl_initial_searchlist): Refer to _dl_main_map.
5834         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5835         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5836         call to _dl_get_origin.
5837         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5838         around call_map.
5839         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5840         * dlfcn/modstatic3.c: New file.
5841         * dlfcn/tststatic3.c: New file.
5842         * dlfcn/tststatic4.c: New file.
5843         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5844         (tests-static): Likewise.
5845         (modules-names): Add modstatic3.
5846         (tststatic3-ENV, tststatic4-ENV): New variables.
5847         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5848         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5850 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5852         * configure.in (CC): Require GCC version 4.4 or later.
5853         * configure: Regenerated.
5854         * manual/install.texi (Tools for Compilation): Update GCC version
5855         requirement.
5856         * INSTALL: Regenerated.
5858 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5860         [BZ #15674]
5861         * string/test-memcmp.c (check2): New.
5862         (main): Call check2.
5864         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5866 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5868         [BZ #15022]
5869         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5870         over to...
5871         (dl_open_worker) [!SHARED]: ... here.
5873 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5875         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5877 2013-06-25  Richard Henderson  <rth@redhat.com>
5879         * locale/programs/locarchive.c: Include <libc-internal.h>
5881 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5883         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5884         trailing whitespace removed.
5886 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5888         [BZ #10283]
5889         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5890         * locale/programs/locarchive.c: Include libc-mmap.h.
5891         (prepare_address_space): Take two new outputs (the mmap base and len).
5892         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5893         values.
5894         (create_archive): Declare new mmap base and len values for
5895         prepare_address_space, and store the result in ah.
5896         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5897         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5898         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5899         Declare new mmap base and len values for
5900         prepare_address_space, and store the result in new_ah.
5901         (open_archive): Declare new mmap base and len values for
5902         prepare_address_space, and store the result in ah.
5903         (close_archive): If ah->mmap_base is not NULL, use that and
5904         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5905         * sysdeps/generic/libc-mmap.h: New file.
5907 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5909         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5910         (ALIGN_UP): Likewise.
5911         (PTR_ALIGN_DOWN): Likewise.
5912         (PTR_ALIGN_UP): Likewise.
5914 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5916         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5917         entry mapped to PPC_PLATFORM_POWER8.
5918         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5919         POWER8.
5920         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5921         (_dl_string_platform): Add case for exporting platform position for
5922         POWER8.
5923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5924         search path to sysdeps/powerpc/powerpc32/power8 directory.
5925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5926         search path to sysdeps/powerpc/powerpc64/power8 directory.
5927         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5928         power7 directories.
5929         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5930         power7 directories.
5932 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5934         * INSTALL: Regenerate.
5936         * nscd/connections.c (nscd_init): Fix comment.
5938 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5940         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5942         [BZ #15667]
5943         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5944         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5946 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5948         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5949         DL_DST_REQ_STATIC.
5950         (DL_DST_REQ_STATIC): Remove macro.
5952 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5954         [BZ #7006]
5955         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5956         with a shift of 0 bits.
5958 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5960         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5961         $(tststatic-ENV).
5963 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5965         [BZ #15655]
5966         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5968 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5970         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5971         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5972         accepts -fno-tree-loop-distribute-patterns.
5973         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5974         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5975         recursive call.
5976         * string/memset.c (memset): Likewise.
5977         * string/test-memmove.c (simple_memmove): Disable loop transformation
5978         to library calls.
5979         * string/test-memset.c (simple_memset): Likewise.
5980         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5981         * benchtests/bench-memset.c (simple_memset): Likewise.
5982         * configure: Regenerated.
5984 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5986         * math/test-misc.c (main): Ignore fesetround failure when failures
5987         of subsequent rounding tests would be ignored.
5989         [BZ #15654]
5990         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5991         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5992         * math/fegetenv.c (__fegetenv): Return 0.
5993         * math/fegetexcept.c (fegetexcept): Return 0.
5994         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5995         FE_TONEAREST.
5996         * math/feholdexcpt.c (feholdexcept): Return 0.
5997         * math/fesetenv.c (__fesetenv): Return 0.
5998         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5999         argument FE_TONEAREST.
6000         * math/feupdateenv.c (__feupdateenv): Return 0.
6001         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6003 2013-06-18  Roland McGrath  <roland@hack.frob.com>
6005         * elf/rtld-Rules (rtld-compile-command.S): New variable.
6006         (rtld-compile-command.s, rtld-compile-command.c): New variables.
6007         ($(objpfx)rtld-%.os rules): Use them.
6009 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6011         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6012         fields.
6014 2013-06-17  Roland McGrath  <roland@hack.frob.com>
6016         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6017         length of target pattern, then descending length of dependency pattern.
6018         * configure.in (AWK): Require gawk 3.1.2 or newer.
6019         * manual/install.texi (Tools for Compilation): Say that we do.
6020         * configure: Regenerated.
6022         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6023         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6024         * scripts/sysd-rules.awk: ... this new script.
6025         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6026         than a glob-style pattern.
6028 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
6030         * math/test-misc.c (main): Do not treat incorrectly rounded
6031         conversions as failure unless ROUNDING_TESTS passes.
6033 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
6035         [BZ #15631]
6036         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6037         restore exception state around main square root computation, then
6038         check for inexactness explicitly.
6040         * math/libm-test.inc (fma_test_data): Add another test.
6042 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6044         * manual/threads.texi (Non-POSIX Extensions): New document
6045         node.  Document pthread_getattr_default_np and
6046         pthread_setattr_default_np.
6048         * Versions.def (libpthread): Add GLIBC_2.18.
6049         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6051         Likewise.
6052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6053         Likewise.
6054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6055         Likewise.
6056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6057         Likewise.
6058         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6059         Likewise.
6060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6061         Likewise.
6062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6063         Likewise.
6064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6065         Likewise.
6066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6067         Likewise.
6069 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6071         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6072         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6074 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6075             H.J. Lu  <hjl.tools@gmail.com>
6077         [BZ #15627]
6078         * sysdeps/x86_64/rtld-memset.c: Remove file.
6079         * sysdeps/x86_64/rtld-memset.S: New file.
6081 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
6083         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6084         (test_in_one_mode): Take arguments for whether the rounding mode
6085         is supported for each floating-point type.
6086         (do_test): Pass new arguments to test_in_one_mode using
6087         ROUNDING_TESTS.
6089 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6091         * posix/tst-waitid.c (do_test): Distinguish different instances of
6092         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
6093         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6094         before entering the kernel for waitpid.
6096 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6098         * NEWS: Fix note on clock function precision.  Text by Roland
6099         McGrath.
6101 2013-06-13  Roland McGrath  <roland@hack.frob.com>
6103         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6104         it into place only when and if the sanity check passes.
6106 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
6108         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6109         output for whether conversion result is exact.  Take argument
6110         indicating whether type is IBM long double.
6111         (round_for_all): Change need_exact field to ibm_ld.
6112         * stdlib/tst-strtod-round.c (struct exactness): New type.
6113         (struct test): Change bool ld_ok field to struct exactness exact.
6114         (TEST): Update all definitions for change to field.
6115         (tests): Regenerate array contents.
6116         (test_in_one_mode): Take pointer to new field instead of old ld_ok
6117         field value.  Check for IBM long double here.
6118         (do_test): Update calls to test_in_one_mode.
6120 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6122         [BZ #12515]
6123         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6124         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6126 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6128         [BZ #15605]
6129         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6130         generated by the compiler on loop optimizations.
6131         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6132         general definitions.
6134 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
6136         * math/bug-nextafter.c: Include <math-tests.h>.
6137         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6138         the relevant type.
6139         * math/bug-nexttoward.c: Include <math-tests.h>.
6140         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6141         the relevant type.
6142         * math/test-misc.c: Include <math-tests.h>.
6143         (main): Only test for exceptions if EXCEPTION_TESTS is true for
6144         the relevant type.
6146 2013-06-12  Andreas Jaeger  <aj@suse.de>
6148         * po/ia.po: Update Interlingua translation from translation
6149         project.
6151 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6153         * include/fenv.h: Include stdbool.h.
6154         (struct rm_ctx): New structure.
6155         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6156         Define macro.
6157         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6158         (SET_RESTORE_ROUNDF): Likewise.
6159         (SET_RESTORE_ROUNDL): Likewise.
6160         (SET_RESTORE_ROUND_NOEX): Likewise.
6161         (SET_RESTORE_ROUND_NOEXF): Likewise.
6162         (SET_RESTORE_ROUND_NOEXL): Likewise.
6163         (SET_RESTORE_ROUND_53BIT): Likewise.
6164         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6165         (libc_feresetround_noexf_ctx): Likewise.
6166         (libc_feresetround_noexl_ctx): Likewise.
6167         (libc_feholdsetround_53bit_ctx): Likewise.
6168         (libc_feresetround_53bit_ctx): Likewise.
6169         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6170         (libc_feholdexcept_setround_sse_ctx): New function.
6171         (libc_fesetenv_sse_ctx): Likewise.
6172         (libc_feupdateenv_sse_ctx): Likewise.
6173         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6174         (libc_feholdexcept_setround_387_ctx): Likewise.
6175         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6176         (libc_feholdsetround_387_prec_ctx): Likewise.
6177         (libc_feholdsetround_387_ctx): Likewise.
6178         (libc_feholdsetround_387_53bit_ctx): Likewise.
6179         (libc_feholdsetround_sse_ctx): Likewise.
6180         (libc_feresetround_sse_ctx): Likewise.
6181         (libc_feresetround_387_ctx): Likewise.
6182         (libc_feupdateenv_387_ctx): Likewise.
6183         (libc_feholdexcept_setroundf_ctx): Define macro.
6184         (libc_fesetenvf_ctx): Likewise.
6185         (libc_feupdateenvf_ctx): Likewise.
6186         (libc_feholdsetroundf_ctx): Likewise.
6187         (libc_feresetroundf_ctx): Likewise.
6188         (libc_feholdexcept_setround_ctx): Likewise.
6189         (libc_fesetenv_ctx): Likewise.
6190         (libc_feupdateenv_ctx): Likewise.
6191         (libc_feholdsetround_ctx): Likewise.
6192         (libc_feresetround_ctx): Likewise.
6193         (libc_feholdexcept_setroundl_ctx): Likewise.
6194         (libc_feupdateenvl_ctx): Likewise.
6195         (libc_feholdsetroundl_ctx): Likewise.
6196         (libc_feresetroundl_ctx): Likewise.
6197         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6198         (libc_feresetround_53bit_ctx): Likewise.
6200 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6202         * locale/iso-639.def: Convert to UTF-8.
6204 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
6206         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6207         (EXCEPTION_TESTS_double): Likewise.
6208         (EXCEPTION_TESTS_long_double): Likewise.
6209         (EXCEPTION_TESTS): Likewise.
6210         * math/libm-test.inc (test_exceptions): Only test exceptions if
6211         EXCEPTION_TESTS (FLOAT).
6213 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6215         * benchtests/Makefile (string-bench): Add strcpy_chk and
6216         stpcpy_chk.
6217         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6218         * benchtests/bench-stpcpy_chk.c: New file.
6219         * benchtests/bench-strcpy_chk-ifunc.c: New file.
6220         * benchtests/bench-strcpy_chk.c: New file.
6221         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6222         code.
6223         (do_test): Likewise.
6225 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6227         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6228         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6229         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6230         with tabs where appropriate.
6231         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6232         dl-procinfo.h.
6233         [PPC_PLATFORM_PPC440]: Likewise.
6234         [PPC_PLATFORM_PPC464]: Likewise.
6235         [PPC_PLATFORM_PPC476]: Likewise.
6236         (_dl_string_platform): Add support for detecting ppc405, ppc440,
6237         ppc464, and ppc476 platform strings merging from ports/
6238         dl-procinfo.h.
6240 2013-06-11  Andreas Schwab  <schwab@suse.de>
6242         [BZ #14991]
6243         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6244         (from_ucs4_idx): Regenerate.
6245         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6246         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6247         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6248         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6249         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6250         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6251         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6252         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6253         from FROM_LOOP and TO_LOOP specific macros.
6254         (BODY): Handle combining characters.
6255         * iconvdata/BIG5HKSCS.irreversible: Update.
6256         * iconvdata/BIG5HKSCS.precomposed: New file.
6257         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6258         characters.
6259         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6261 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6263         * include/sys/time.h: Fix indentation and add copyright header.
6265         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6266         (do_test): Likewise.
6267         * string/test-memchr.c (do_one_test): Likewise.
6268         (do_test): Likewise.
6269         * string/test-memcmp.c (do_one_test): Likewise.
6270         (do_test): Likewise.
6271         * string/test-memcpy.c (do_one_test): Likewise.
6272         (do_test): Likewise.
6273         * string/test-memmem.c (do_one_test): Likewise.
6274         (do_test): Likewise.
6275         (do_random_tests): Likewise.
6276         * string/test-memmove.c (do_one_test): Likewise.
6277         (do_test): Likewise.
6278         * string/test-memset.c (do_one_test): Likewise.
6279         (do_test): Likewise.
6280         * string/test-rawmemchr.c (do_one_test): Likewise.
6281         (do_test): Likewise.
6282         * string/test-strcasecmp.c (do_one_test): Likewise.
6283         (do_test): Likewise.
6284         * string/test-strcasestr.c (do_one_test): Likewise.
6285         (do_test): Likewise.
6286         * string/test-strcat.c (do_one_test): Likewise.
6287         (do_test): Likewise.
6288         * string/test-strchr.c (do_one_test): Likewise.
6289         (do_test): Likewise.
6290         * string/test-strcmp.c (do_one_test): Likewise.
6291         (do_test): Likewise.
6292         * string/test-strcpy.c (do_one_test): Likewise.
6293         (do_test): Likewise.
6294         * string/test-string.h: Likewise.
6295         (test_init): Likewise.
6296         * string/test-strlen.c (do_one_test): Likewise.
6297         (do_test): Likewise.
6298         * string/test-strncasecmp.c (do_one_test): Likewise.
6299         (do_test): Likewise.
6300         * string/test-strncat.c (do_one_test): Likewise.
6301         (do_test): Likewise.
6302         * string/test-strncmp.c (do_one_test): Likewise.
6303         (do_test_limit): Likewise.
6304         (do_test): Likewise.
6305         * string/test-strncpy.c (do_one_test): Likewise.
6306         (do_test): Likewise.
6307         * string/test-strnlen.c (do_one_test): Likewise.
6308         (do_test): Likewise.
6309         * string/test-strpbrk.c (do_one_test): Likewise.
6310         (do_test): Likewise.
6311         * string/test-strrchr.c (do_one_test): Likewise.
6312         (do_test): Likewise.
6313         * string/test-strspn.c (do_one_test): Likewise.
6314         (do_test): Likewise.
6315         * string/test-strstr.c (do_one_test): Likewise.
6316         (do_test): Likewise.
6318         * benchtests/Makefile (string-bench): Add string benchmarks.
6319         * benchtests/bench-bcopy-ifunc.c: New file.
6320         * benchtests/bench-bcopy.c: New file.
6321         * benchtests/bench-bzero-ifunc.c: New file.
6322         * benchtests/bench-bzero.c: New file.
6323         * benchtests/bench-memccpy-ifunc.c: New file.
6324         * benchtests/bench-memccpy.c: New file.
6325         * benchtests/bench-memchr-ifunc.c: New file.
6326         * benchtests/bench-memchr.c: New file.
6327         * benchtests/bench-memcmp-ifunc.c: New file.
6328         * benchtests/bench-memcmp.c: New file.
6329         * benchtests/bench-memmem-ifunc.c: New file.
6330         * benchtests/bench-memmem.c: New file.
6331         * benchtests/bench-memmove-ifunc.c: New file.
6332         * benchtests/bench-memmove.c: New file.
6333         * benchtests/bench-mempcpy-ifunc.c: New file.
6334         * benchtests/bench-mempcpy.c: New file.
6335         * benchtests/bench-memset-ifunc.c: New file.
6336         * benchtests/bench-memset.c: New file.
6337         * benchtests/bench-rawmemchr-ifunc.c: New file.
6338         * benchtests/bench-rawmemchr.c: New file.
6339         * benchtests/bench-stpcpy-ifunc.c: New file.
6340         * benchtests/bench-stpcpy.c: New file.
6341         * benchtests/bench-stpncpy-ifunc.c: New file.
6342         * benchtests/bench-stpncpy.c: New file.
6343         * benchtests/bench-strcasecmp-ifunc.c: New file.
6344         * benchtests/bench-strcasecmp.c: New file.
6345         * benchtests/bench-strcasestr-ifunc.c: New file.
6346         * benchtests/bench-strcasestr.c: New file.
6347         * benchtests/bench-strcat-ifunc.c: New file.
6348         * benchtests/bench-strcat.c: New file.
6349         * benchtests/bench-strchr-ifunc.c: New file.
6350         * benchtests/bench-strchr.c: New file.
6351         * benchtests/bench-strchrnul-ifunc.c: New file.
6352         * benchtests/bench-strchrnul.c: New file.
6353         * benchtests/bench-strcmp-ifunc.c: New file.
6354         * benchtests/bench-strcmp.c: New file.
6355         * benchtests/bench-strcpy-ifunc.c: New file.
6356         * benchtests/bench-strcpy.c: New file.
6357         * benchtests/bench-strcspn-ifunc.c: New file.
6358         * benchtests/bench-strcspn.c: New file.
6359         * benchtests/bench-strlen-ifunc.c: New file.
6360         * benchtests/bench-strlen.c: New file.
6361         * benchtests/bench-strncasecmp-ifunc.c: New file.
6362         * benchtests/bench-strncasecmp.c: New file.
6363         * benchtests/bench-strncat-ifunc.c: New file.
6364         * benchtests/bench-strncat.c: New file.
6365         * benchtests/bench-strncmp-ifunc.c: New file.
6366         * benchtests/bench-strncmp.c: New file.
6367         * benchtests/bench-strncpy-ifunc.c: New file.
6368         * benchtests/bench-strncpy.c: New file.
6369         * benchtests/bench-strnlen-ifunc.c: New file.
6370         * benchtests/bench-strnlen.c: New file.
6371         * benchtests/bench-strpbrk-ifunc.c: New file.
6372         * benchtests/bench-strpbrk.c: New file.
6373         * benchtests/bench-strrchr-ifunc.c: New file.
6374         * benchtests/bench-strrchr.c: New file.
6375         * benchtests/bench-strspn-ifunc.c: New file.
6376         * benchtests/bench-strspn.c: New file.
6377         * benchtests/bench-strstr-ifunc.c: New file.
6378         * benchtests/bench-strstr.c: New file.
6380         * benchtests/Makefile: Disable parallel execution of targets.
6381         (string-bench): Add memcpy.
6382         (benchset): New variable to store a list of benchmark sets.
6383         (bench-func): Renamed from bench.
6384         (bench-set): New target.
6385         (bench): Depend on bench-func and bench-set.
6386         * benchtests/README: Add section on benchmark sets.
6387         * benchtests/bench-memcpy-ifunc.c: New file.
6388         * benchtests/bench-memcpy.c: New file.
6389         * benchtests/bench-string.h: New file.
6391 2013-06-11  Andreas Schwab  <schwab@suse.de>
6393         [BZ #15577]
6394         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6395         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6396         values in the triple.
6397         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6398         terminator in the group key.
6400 2013-06-11  Andreas Jaeger  <aj@suse.de>
6402         * po/zh_TW.po: Update Chinese (traditional) translation from
6403         translation project.
6405 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6407         * include/time.h (__clock_gettime): Add libc_hidden_proto.
6408         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6409         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
6410         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6411         (clock_getcpuclockid): Likewise.
6412         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6413         Add weak_alias and libc_hidden_def.
6414         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6415         * rt/clock_gettime.c (clock_gettime): Rename to
6416         __clock_gettime.  Add weak_alias and libc_hidden_def.
6417         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6418         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6419         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
6420         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6421         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6422         Likewise.
6423         * rt/clock_settime.c (clock_settime): Rename to
6424         __clock_settime.  Add weak_alias and libc_hidden_def.
6425         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6427 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
6429         * mach/err_boot.sub: Remove trailing whitespace.
6430         * mach/err_ipc.sub: Likewise.
6431         * mach/err_mach.sub: Likewise.
6433         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6434         (ROUNDING_TESTS_double): Likewise.
6435         (ROUNDING_TESTS_long_double): Likewise.
6436         (ROUNDING_TESTS): Likewise.
6437         * math/libm-test.inc: Include <math-tests.h>.
6438         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6439         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6440         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6441         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6443 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6445         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6446         of assigning.
6448 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
6450         * sysdeps/gnu/errlist.awk: Do not generate space at end of
6451         otherwise empty TRANS lines.
6452         * sysdeps/gnu/errlist.c: Regenerated.
6454         * catgets/gencat.c (error_print): Use (void) in function
6455         definition.
6456         * crypt/crypt_util.c (__init_des): Likewise.
6457         * crypt/speeds.c (Stop): Likewise.
6458         (main): Likewise.
6459         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6460         * inet/ruserpass.c (token): Likewise.
6461         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6462         * intl/localealias.c (extend_alias_table): Likewise.
6463         * intl/plural-exp.c (init_germanic_plural): Likewise.
6464         * libio/fcloseall.c (__fcloseall): Likewise.
6465         * libio/genops.c (_IO_flush_all): Likewise.
6466         (_IO_flush_all_linebuffered): Likewise.
6467         (_IO_cleanup): Likewise.
6468         (_IO_iter_begin): Likewise.
6469         (_IO_iter_end): Likewise.
6470         (_IO_list_lock): Likewise.
6471         (_IO_list_unlock): Likewise.
6472         (_IO_list_resetlock): Likewise.
6473         * libio/getchar.c (getchar): Likewise.
6474         * libio/getchar_u.c (getchar_unlocked): Likewise.
6475         * libio/getwchar.c (getwchar): Likewise.
6476         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6477         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6478         * login/getpt.c (__getpt): Likewise.
6479         * login/tst-utmp.c (main): Likewise.
6480         * malloc/hooks.c (__malloc_check_init): Likewise.
6481         * malloc/malloc.c (__malloc_stats): Likewise.
6482         * malloc/mtrace.c (tr_break): Likewise.
6483         (mtrace): Likewise.
6484         (muntrace): Likewise.
6485         * misc/fstab.c (endfsent): Likewise.
6486         * misc/getclktck.c (__getclktck): Likewise.
6487         * misc/getdtsz.c (__getdtablesize): Likewise.
6488         * misc/gethostid.c (gethostid): Likewise.
6489         * misc/getpagesize.c (__getpagesize): Likewise.
6490         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6491         (__get_nprocs): Likewise.
6492         (__get_phys_pages): Likewise.
6493         (__get_avphys_pages): Likewise.
6494         * misc/getttyent.c (getttyent): Likewise.
6495         (setttyent): Likewise.
6496         (endttyent): Likewise.
6497         * misc/getusershell.c (getusershell): Likewise.
6498         (endusershell): Likewise.
6499         (setusershell): Likewise.
6500         (initshells): Likewise.
6501         * misc/hsearch.c (__hdestroy): Likewise.
6502         * misc/sync.c (sync): Likewise.
6503         * misc/syslog.c (closelog_internal): Likewise.
6504         (closelog): Likewise.
6505         * misc/ttyslot.c (ttyslot): Likewise.
6506         * misc/vhangup.c (vhangup): Likewise.
6507         * posix/fork.c (__fork): Likewise.
6508         * posix/getegid.c (__getegid): Likewise.
6509         * posix/geteuid.c (__geteuid): Likewise.
6510         * posix/getgid.c (__getgid): Likewise.
6511         * posix/getpid.c (__getpid): Likewise.
6512         * posix/getppid.c (__getppid): Likewise.
6513         * posix/getuid.c (__getuid): Likewise.
6514         * posix/pause.c (pause): Likewise.
6515         * posix/setpgrp.c (setpgrp): Likewise.
6516         * posix/setsid.c (__setsid): Likewise.
6517         * posix/test-vfork.c (noop): Likewise.
6518         * resolv/gethnamaddr.c (_endhtent): Likewise.
6519         (_gethtent): Likewise.
6520         (ht_endhostent): Likewise.
6521         (gethostent): Likewise.
6522         (dns_service): Likewise.
6523         * stdlib/drand48.c (drand48): Likewise.
6524         * stdlib/lrand48.c (lrand48): Likewise.
6525         * stdlib/mrand48.c (mrand48): Likewise.
6526         * stdlib/rand.c (rand): Likewise.
6527         * stdlib/random.c (__random): Likewise.
6528         * stdlib/setenv.c (clearenv): Likewise.
6529         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6530         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6531         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6532         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6533         (__get_nprocs): Likewise.
6534         (__get_phys_pages): Likewise.
6535         (__get_avphys_pages): Likewise.
6536         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6537         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6538         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6539         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6540         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6541         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6542         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6543         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6544         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6545         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6546         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6547         * sysdeps/mach/hurd/sync.c (sync): Likewise.
6548         * sysdeps/posix/clock.c (clock): Likewise.
6549         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6550         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6551         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6552         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6553         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6554         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6555         (__get_nprocs_conf): Likewise.
6556         (__get_phys_pages): Likewise.
6557         (__get_avphys_pages): Likewise.
6558         * time/clock.c (clock): Likewise.
6559         * time/tzset.c (__tzname_max): Likewise.
6561 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
6563         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6564         (__bswap_32): Do not use "register".
6565         * crypt/crypt.c (_ufc_doit_r): Likewise.
6566         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6567         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6568         * gmon/gmon.c (__monstartup): Likewise.
6569         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6570         * hurd/hurdmalloc.c (more_memory): Likewise.
6571         (malloc): Likewise.
6572         (free): Likewise.
6573         (realloc): Likewise.
6574         (malloc_fork_prepare): Likewise.
6575         (malloc_fork_parent): Likewise.
6576         (malloc_fork_child): Likewise.
6577         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6578         (_svcauth_des): Likewise.
6579         * inet/inet_lnaof.c (inet_lnaof): Likewise.
6580         * inet/inet_net.c (inet_network): Likewise.
6581         * inet/inet_netof.c (inet_netof): Likewise.
6582         * inet/rcmd.c (__validuser2_sa): Likewise.
6583         * io/fts.c (fts_open): Likewise.
6584         (fts_load): Likewise.
6585         (fts_close): Likewise.
6586         (fts_read): Likewise.
6587         (fts_children): Likewise.
6588         (fts_build): Likewise.
6589         (fts_stat): Likewise.
6590         (fts_sort): Likewise.
6591         (fts_alloc): Likewise.
6592         (fts_lfree): Likewise.
6593         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6594         (_IO_file_xsgetn): Likewise.
6595         (_IO_file_xsgetn_mmap): Likewise.
6596         * libio/iofopncook.c (_IO_cookie_read): Likewise.
6597         (_IO_cookie_write): Likewise.
6598         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6599         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6600         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6601         * malloc/obstack.c (_obstack_begin): Likewise.
6602         (_obstack_begin_1): Likewise.
6603         (_obstack_newchunk): Likewise.
6604         (_obstack_allocated_p): Likewise.
6605         (obstack_free): Likewise.
6606         (_obstack_memory_used): Likewise.
6607         * misc/getttyent.c (getttynam): Likewise.
6608         (getttyent): Likewise.
6609         (skip): Likewise.
6610         (value): Likewise.
6611         * misc/getusershell.c (initshells): Likewise.
6612         * misc/syslog.c (__vsyslog_chk): Likewise.
6613         * misc/ttyslot.c (ttyslot): Likewise.
6614         * nis/nis_hash.c (__nis_hash): Likewise.
6615         * posix/fnmatch_loop.c (FCT): Likewise.
6616         * posix/getconf.c (print_all): Likewise.
6617         (main): Likewise.
6618         * posix/getopt.c (exchange): Likewise.
6619         * posix/glob.c (globfree): Likewise.
6620         (prefix_array): Likewise.
6621         (__glob_pattern_type): Likewise.
6622         * resolv/arpa/nameser.h (NS_GET16): Likewise.
6623         (NS_GET32): Likewise.
6624         (NS_PUT16): Likewise.
6625         (NS_PUT32): Likewise.
6626         * resolv/gethnamaddr.c (getanswer): Likewise.
6627         (gethostbyname2): Likewise.
6628         (gethostbyaddr): Likewise.
6629         (_gethtent): Likewise.
6630         (_gethtbyname2): Likewise.
6631         (_gethtbyaddr): Likewise.
6632         * resolv/ns_print.c (dst_s_get_int16): Likewise.
6633         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6634         * resolv/res_init.c (__res_vinit): Likewise.
6635         (net_mask): Likewise.
6636         * resolv/res_mkquery.c (outchar): Likewise.
6637         (PRINT): Likewise.
6638         * stdio-common/printf_fp.c (outchar): Likewise.
6639         (PRINT): Likewise.
6640         * stdio-common/printf_fphex.c (outchar): Likewise.
6641         (PRINT): Likewise.
6642         * stdio-common/printf_size.c (outchar): Likewise.
6643         (PRINT): Likewise.
6644         * stdio-common/test_rdwr.c (main): Likewise.
6645         * stdio-common/tfformat.c (matches): Likewise.
6646         * stdio-common/vfprintf.c (outchar): Likewise.
6647         (printf_unknown): Likewise.
6648         (buffered_vfprintf): Likewise.
6649         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6650         * stdio-common/xbug.c (AppendToBuffer): Likewise.
6651         (ReadFile): Likewise.
6652         * stdlib/qsort.c (SWAP): Likewise.
6653         (_quicksort): Likewise.
6654         * stdlib/setenv.c (__add_to_environ): Likewise.
6655         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6656         * stdlib/strtol_l.c (__strtol_l): Likewise.
6657         * stdlib/tst-strtod.c (main): Likewise.
6658         * stdlib/tst-strtol.c (main): Likewise.
6659         * stdlib/tst-strtoll.c (main): Likewise.
6660         * string/bits/string2.h (__strcmp_cc): Likewise.
6661         (__strcmp_cg): Likewise.
6662         (__strcspn_c1): Likewise.
6663         (__strcspn_c2): Likewise.
6664         (__strcspn_c3): Likewise.
6665         (__strspn_c1): Likewise.
6666         (__strspn_c2): Likewise.
6667         (__strspn_c3): Likewise.
6668         (__strsep_1c): Likewise.
6669         (__strsep_2c): Likewise.
6670         (__strsep_3c): Likewise.
6671         * string/memccpy.c (__memccpy): Likewise.
6672         * string/stpcpy.c (__stpcpy): Likewise.
6673         * string/strcmp.c (strcmp): Likewise.
6674         * string/strrchr.c (strrchr): Likewise.
6675         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6676         Likewise.
6677         * sysdeps/mach/hurd/getcwd.c
6678         (_hurd_canonicalize_directory_name_internal): Likewise.
6679         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6680         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6681         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6682         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6683         Likewise, in both definitions.
6684         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6685         definitions.
6686         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6687         64] (__bswap_64): Likewise.
6688         * time/test_time.c (main): Likewise.
6689         * time/tzfile.c (__tzfile_read): Likewise.
6690         (__tzfile_compute): Likewise.
6691         * time/tzset.c (__tzset_parse_tz): Likewise.
6692         (tzset_internal): Likewise.
6693         (compute_change): Likewise.
6694         * wcsmbs/wcscat.c (__wcscat): Likewise.
6695         * wcsmbs/wcschr.c (wcschr): Likewise.
6696         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6697         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6698         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6699         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6700         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6701         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6702         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6703         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6704         * wcsmbs/wmemset.c (wmemset): Likewise.
6706 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6708         * scripts/config.guess: Update to version 2013-05-16.
6709         * scripts/config.sub: Update to version 2013-04-24.
6710         * scripts/install-sh: Update to version 2011-11-20.07.
6711         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6712         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6714 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6716         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6717         * elf/sln.c: Likewise.
6718         * hurd/hurd/ioctl.h: Likewise.
6719         * hurd/hurdmalloc.c: Likewise.
6720         * hurd/xattr.c: Likewise.
6721         * include/shlib-compat.h: Likewise.
6722         * inet/ruserpass.c: Likewise.
6723         * libio/iofgets_u.c: Likewise.
6724         * libio/iofgetws_u.c: Likewise.
6725         * locale/programs/ld-identification.c: Likewise.
6726         * locale/programs/ld-time.c: Likewise.
6727         * mach/msg-destroy.c: Likewise.
6728         * nss/nss_files/files-netgrp.c: Likewise.
6729         * resolv/res_data.c: Likewise.
6730         * soft-fp/op-1.h: Likewise.
6731         * soft-fp/op-2.h: Likewise.
6732         * soft-fp/op-4.h: Likewise.
6733         * soft-fp/op-common.h: Likewise.
6734         * stdio-common/printf_fphex.c: Likewise.
6735         * stdlib/strtod_l.c: Likewise.
6736         * sunrpc/rpc/clnt.h: Likewise.
6737         * sysdeps/generic/framestate.c: Likewise.
6738         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6739         * sysdeps/i386/bsd-setjmp.S: Likewise.
6740         * sysdeps/i386/__longjmp.S: Likewise.
6741         * sysdeps/i386/setjmp.S: Likewise.
6742         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6743         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6744         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6745         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6746         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6747         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6748         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6749         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6750         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6751         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6752         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6753         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6754         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6755         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6756         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6757         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6758         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6759         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6760         * sysdeps/ieee754/support.c: Likewise.
6761         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6762         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6763         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6764         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6765         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6766         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6767         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6768         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6769         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6770         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6771         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6772         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6773         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6774         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6775         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6776         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6777         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6780 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6782         * posix/transbug.c: Remove executable mode.
6784 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6786         * crypt/speeds.c: Remove trailing whitespace.
6787         * dlfcn/default.c: Likewise.
6788         * elf/ifuncdep2.c: Likewise.
6789         * elf/ifuncmain1.c: Likewise.
6790         * elf/ifuncmain1vis.c: Likewise.
6791         * elf/testobj.h: Likewise.
6792         * elf/tst-stackguard1.c: Likewise.
6793         * gmon/sys/gmon.h: Likewise.
6794         * hurd/hurdmsg.c: Likewise.
6795         * hurd/new-fd.c: Likewise.
6796         * hurd/ports-get.c: Likewise.
6797         * iconvdata/ibm1008_420.c: Likewise.
6798         * inet/tst-getni1.c: Likewise.
6799         * inet/tst-getni2.c: Likewise.
6800         * libio/ioungetc.c: Likewise.
6801         * libio/wfiledoalloc.c: Likewise.
6802         * manual/libm-err-tab.pl: Likewise.
6803         * math/w_dremf.c: Likewise.
6804         * misc/ftruncate.c: Likewise.
6805         * posix/bug-glob2.c: Likewise.
6806         * posix/tst-pcre.c: Likewise.
6807         * posix/wait4.c: Likewise.
6808         * resolv/README: Likewise.
6809         * resolv/res_debug.h: Likewise.
6810         * resolv/tst-inet_ntop.c: Likewise.
6811         * setjmp/bug269-setjmp.c: Likewise.
6812         * soft-fp/extended.h: Likewise.
6813         * soft-fp/op-1.h: Likewise.
6814         * soft-fp/op-2.h: Likewise.
6815         * soft-fp/op-4.h: Likewise.
6816         * soft-fp/op-8.h: Likewise.
6817         * soft-fp/testit.c: Likewise.
6818         * stdio-common/bug16.c: Likewise.
6819         * stdlib/random.c: Likewise.
6820         * sunrpc/rpcsvc/rquota.x: Likewise.
6821         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6822         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6823         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6824         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6825         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6826         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6827         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6828         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6829         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6830         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6831         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6832         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6833         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6834         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6835         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6836         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6837         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6838         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6839         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6840         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6841         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6842         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6843         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6844         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6845         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6846         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6847         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6848         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6849         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6850         * sysdeps/ieee754/s_lib_version.c: Likewise.
6851         * sysdeps/mach/hurd/check_fds.c: Likewise.
6852         * sysdeps/mach/hurd/getsockname.c: Likewise.
6853         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6854         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6855         * sysdeps/powerpc/bits/link.h: Likewise.
6856         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6857         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6858         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6859         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6860         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6861         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6862         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6863         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6864         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6865         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6866         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6867         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6868         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6869         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6870         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6871         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6872         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6873         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6874         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6875         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6876         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6877         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6878         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6879         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6880         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6881         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6882         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6883         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6884         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6885         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6886         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6887         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6888         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6889         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6890         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6891         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6892         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6893         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6894         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6895         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6896         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6897         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6898         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6899         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6900         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6901         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6902         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6903         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6904         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6905         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6906         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6907         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6908         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6909         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6910         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6911         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6912         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6913         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6914         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6915         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6916         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6917         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6918         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6919         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6920         * sysdeps/powerpc/sysdep.h: Likewise.
6921         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6922         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6923         * sysdeps/sh/dl-trampoline.S: Likewise.
6924         * sysdeps/sh/memset.S: Likewise.
6925         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6926         * sysdeps/sh/strlen.S: Likewise.
6927         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6928         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6929         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6930         * sysdeps/sparc/sparc32/rem.S: Likewise.
6931         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6932         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6933         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6934         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6935         * sysdeps/sparc/sparc32/urem.S: Likewise.
6936         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6937         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6938         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6939         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6940         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6941         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6942         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6943         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6944         * sysdeps/unix/bsd/times.c: Likewise.
6945         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6946         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6950         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6951         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6952         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6953         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6954         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6955         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6956         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6957         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6958         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6959         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6960         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6961         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6962         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6963         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6964         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6965         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6966         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6967         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6968         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6969         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6970         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6971         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6972         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6973         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6974         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6975         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6976         * sysdeps/x86_64/strcspn.S: Likewise.
6978 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6980         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6981         generated file.  Regenerate properly from gen-translit.pl.
6982         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6983         locale/C-translit.h.
6985 2013-06-05  Andreas Schwab  <schwab@suse.de>
6987         [BZ #15100]
6988         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6989         week as 6 instead of -1.
6990         * time/tst-strptime.c (day_tests): Add test case.
6992 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6994         * sysdeps/generic/math_private.h
6995         (libc_feholdexcept_setround_53bit): Replace with
6996         libc_feholdsetround_53bit.
6997         (libc_feupdateenv_53bit): Replace with
6998         libc_feresetround_53bit.
6999         (SET_RESTORE_ROUND_53BIT): Adjust.
7001 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7003         * string/test-strchrnul.c: Add copyright header.
7005         * posix/tst-getaddrinfo4.c: Increase test timeout.
7007 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
7009         [BZ #15536]
7010         * math/libm-test.inc (MAX_EXP): Remove
7011         (MIN_EXP): Define.
7012         (ulp): Use MIN_EXP - MANT_DIG.
7013         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7015 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
7017         * po/be.po: Revert last change.
7018         * po/zh_CN.po: Likewise.
7019         * po/header.pot: Likewise.
7021 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
7023         * Makefile ($(common-objpfx)linkobj/libc.so): Define
7024         link-libc-deps to empty as target-specific variable.
7025         * Makerules (link-libc-args): New variable.
7026         (libc-for-link): Likewise.
7027         (link-libc-deps): Likewise.
7028         (lib%.so): Depend on $(link-libc-deps).  Link with
7029         $(link-libc-args).
7030         (build-module): Link with $(link-libc-args).
7031         (build-module-asneeded): Likewise.
7032         (build-module-helper-objlist): Filter out $(link-libc-deps) from
7033         list of objects.
7034         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7035         target-specific variable.
7036         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7037         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7038         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7039         libc.
7040         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7041         libc and ld.so.
7042         ($(objpfx)libpcprofile.so): Likewise.
7043         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7044         libc_nonshared.a.
7045         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7046         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7047         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7048         $(link-libc-deps).
7049         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7050         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7051         * login/Makefile ($(objpfx)libutil.so): Likewise.
7052         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7053         * math/Makefile ($(objpfx)libm.so): Likewise.
7054         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7055         $(objpfx)libnsl.so): Define libc-for-link as target-specific
7056         variable instead of depending directly on libc.
7057         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7058         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7059         $(link-libc-deps).
7060         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7061         libc.
7062         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7063         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7064         ($(objpfx)libanl.so): Likewise.
7065         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7066         ld.so.
7067         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7068         $(link-libc-deps).
7069         * sysdeps/i386/fpu/Makefile: Remove file.
7070         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7071         ($(objpfx)libm.so): Remove dependency on ld.so.
7073 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
7075         [BZ # 15553]
7076         * nis/yp_xdr.c (XDRMAXNAME): Define.
7077         (XDRMAXRECORD): Define.
7078         (xdr_domainname): Use XDRMAXNAME.
7079         (xdr_mapname): Likewise.
7080         (xdr_peername): Likewise.
7081         (xdr_keydat): Use XDRMAXRECORD.
7082         (xdr_valdat): Likewise.
7084 2013-05-30  Jeff Law  <law@redhat.com>
7086         [BZ #14256]
7087         * manual/errno.texi (ESTALE): Update to account for more than
7088         just NFS file systems.
7089         * sysdeps/gnu/errlist.c: Regenerated.
7091 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7093         [BZ #15465]
7094         * elf/Makefile (tests): Add tst-null-argv.
7095         (modules-names):  Add tst-null-argv-lib.
7096         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7097         (tst-null-argv-ENV): Set environment for tst-null-argv.
7098         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7099         (RTLD_PROGNAME): New macro.
7100         * elf/tst-null-argv.c: New test case.
7101         * elf/tst-null-argv-lib.c: Library for test case.
7102         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7103         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7104         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7105         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7106         * elf/dl-init.c (call_init): Likewise.
7107         (_dl_init): Likewise.
7108         * elf/dl-load.c (print_search_path): Likewise.
7109         (_dl_map_object): Likewise.
7110         * elf/dl-lookup.c (do_lookup_x): Likewise.
7111         (add_dependency): Likewise.
7112         (_dl_lookup_symbol_x): Likewise.
7113         (_dl_debug_bindings): Likewise.
7114         * elf/dl-open.c (_dl_show_scope): Likewise.
7115         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7116         * elf/dl-version.c (match_symbol): Likewise.
7117         (_dl_check_map_versions): Likewise.
7118         * elf/rtld.c (dl_main): Likewise.
7119         (print_unresolved): Use RTLD_PROGNAME.
7120         (print_missing_version): Likewise.
7121         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7122         (elf_machine_rela): Likewise.
7123         * sysdeps/powerpc/powerpc32/dl-machine.c
7124         (__process_machine_rela): Likewise.
7125         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7126         Likewise.
7127         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7128         Likewise.
7129         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7130         Likewise.
7131         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7132         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7133         Likewise.
7134         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7135         Likewise.
7136         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7138 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
7140         * po/be.po: Add descriptive title.
7141         * po/zh_CN.po: Likewise.
7142         * po/header.pot: Likewise.
7144 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
7146         * locale/programs/locarchive.c (create_archive): Inlucde fname in
7147         error message.
7148         (enlarge_archive): Likewise.
7150 2013-05-28  Ben North  <ben@redfrontdoor.org>
7152         * manual/arith.texi (frexp): It is the magnitude of the return
7153         value which lies in [0.5, 1), not the return value itself.
7155 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7159 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
7161         * stdio-common/bug26.c (main): Correct fscanf template.
7163         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7164         declare _dl_skip_args.
7166         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7167         Don't declare.
7169         * manual/platform.texi: Add missing @end deftypefun.
7171 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7173         [BZ #15529]
7174         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7175         bit of mantissa of 2^16382.
7176         * math/libm-test.inc (hypot_test_data): Add more tests.
7178         * math/libm-test.inc: Add drem and pow10 to list of tested
7179         functions.
7180         (pow10_test): New function.
7181         (drem_test): Likewise.
7182         (drem_test_tonearest): Likewise.
7183         (drem_test_towardzero): Likewise.
7184         (drem_test_downward): Likewise.
7185         (drem_test_upward): Likewise.
7186         (main): Call the new functions.
7188         * math/libm-test.inc (finite_test_data): Remove.
7189         (finite_test): Run tests from isfinite_test_data.
7190         (gamma_test_data): Remove.
7191         (gamma_test): Run tests from lgamma_test_data.
7192         * sysdeps/i386/fpu/libm-test-ulps: Update.
7193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7195 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7197         * manual/platform.texi: Add PowerPC PPR function set documentation.
7198         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7199         implementation.
7201 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
7203         * math/libm-test.inc (MAX_EXP): Define.
7204         (ULPDIFF): Define.
7205         (ulp): New function.
7206         (check_float_internal): Use ULPDIFF.
7207         (cpow_test): Disable failing test.
7208         (check_ulp): Test ulp() implemetnation.
7209         (main): Call check_ulp before starting tests.
7211 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
7213         * math/gen-libm-test.pl (generate_testfile): Do not handle
7214         START_DATA and END_DATA.
7215         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7216         END_DATA.
7217         (acos_tonearest_test_data): Likewise.
7218         (acos_towardzero_test_data): Likewise.
7219         (acos_downward_test_data): Likewise.
7220         (acos_upward_test_data): Likewise.
7221         (acosh_test_data): Likewise.
7222         (asin_test_data): Likewise.
7223         (asin_tonearest_test_data): Likewise.
7224         (asin_towardzero_test_data): Likewise.
7225         (asin_downward_test_data): Likewise.
7226         (asin_upward_test_data): Likewise.
7227         (asinh_test_data): Likewise.
7228         (atan_test_data): Likewise.
7229         (atanh_test_data): Likewise.
7230         (atan2_test_data): Likewise.
7231         (cabs_test_data): Likewise.
7232         (cacos_test_data): Likewise.
7233         (cacosh_test_data): Likewise.
7234         (carg_test_data): Likewise.
7235         (casin_test_data): Likewise.
7236         (casinh_test_data): Likewise.
7237         (catan_test_data): Likewise.
7238         (catanh_test_data): Likewise.
7239         (cbrt_test_data): Likewise.
7240         (ccos_test_data): Likewise.
7241         (ccosh_test_data): Likewise.
7242         (ceil_test_data): Likewise.
7243         (cexp_test_data): Likewise.
7244         (cimag_test_data): Likewise.
7245         (clog_test_data): Likewise.
7246         (clog10_test_data): Likewise.
7247         (conj_test_data): Likewise.
7248         (copysign_test_data): Likewise.
7249         (cos_test_data): Likewise.
7250         (cos_tonearest_test_data): Likewise.
7251         (cos_towardzero_test_data): Likewise.
7252         (cos_downward_test_data): Likewise.
7253         (cos_upward_test_data): Likewise.
7254         (cosh_test_data): Likewise.
7255         (cosh_tonearest_test_data): Likewise.
7256         (cosh_towardzero_test_data): Likewise.
7257         (cosh_downward_test_data): Likewise.
7258         (cosh_upward_test_data): Likewise.
7259         (cpow_test_data): Likewise.
7260         (cproj_test_data): Likewise.
7261         (creal_test_data): Likewise.
7262         (csin_test_data): Likewise.
7263         (csinh_test_data): Likewise.
7264         (csqrt_test_data): Likewise.
7265         (ctan_test_data): Likewise.
7266         (ctan_tonearest_test_data): Likewise.
7267         (ctan_towardzero_test_data): Likewise.
7268         (ctan_downward_test_data): Likewise.
7269         (ctan_upward_test_data): Likewise.
7270         (ctanh_test_data): Likewise.
7271         (ctanh_tonearest_test_data): Likewise.
7272         (ctanh_towardzero_test_data): Likewise.
7273         (ctanh_downward_test_data): Likewise.
7274         (ctanh_upward_test_data): Likewise.
7275         (erf_test_data): Likewise.
7276         (erfc_test_data): Likewise.
7277         (exp_test_data): Likewise.
7278         (exp_tonearest_test_data): Likewise.
7279         (exp_towardzero_test_data): Likewise.
7280         (exp_downward_test_data): Likewise.
7281         (exp_upward_test_data): Likewise.
7282         (exp10_test_data): Likewise.
7283         (exp2_test_data): Likewise.
7284         (expm1_test_data): Likewise.
7285         (fabs_test_data): Likewise.
7286         (fdim_test_data): Likewise.
7287         (finite_test_data): Likewise.
7288         (floor_test_data): Likewise.
7289         (fma_test_data): Likewise.
7290         (fma_towardzero_test_data): Likewise.
7291         (fma_downward_test_data): Likewise.
7292         (fma_upward_test_data): Likewise.
7293         (fmax_test_data): Likewise.
7294         (fmin_test_data): Likewise.
7295         (fmod_test_data): Likewise.
7296         (fpclassify_test_data): Likewise.
7297         (frexp_test_data): Likewise.
7298         (gamma_test_data): Likewise.
7299         (hypot_test_data): Likewise.
7300         (ilogb_test_data): Likewise.
7301         (isfinite_test_data): Likewise.
7302         (isgreater_test_data): Likewise.
7303         (isgreaterequal_test_data): Likewise.
7304         (isinf_test_data): Likewise.
7305         (isless_test_data): Likewise.
7306         (islessequal_test_data): Likewise.
7307         (islessgreater_test_data): Likewise.
7308         (isnan_test_data): Likewise.
7309         (isnormal_test_data): Likewise.
7310         (issignaling_test_data): Likewise.
7311         (isunordered_test_data): Likewise.
7312         (j0_test_data): Likewise.
7313         (j1_test_data): Likewise.
7314         (jn_test_data): Likewise.
7315         (ldexp_test_data): Likewise.
7316         (lgamma_test_data): Likewise.
7317         (lrint_test_data): Likewise.
7318         (lrint_tonearest_test_data): Likewise.
7319         (lrint_towardzero_test_data): Likewise.
7320         (lrint_downward_test_data): Likewise.
7321         (lrint_upward_test_data): Likewise.
7322         (llrint_test_data): Likewise.
7323         (llrint_tonearest_test_data): Likewise.
7324         (llrint_towardzero_test_data): Likewise.
7325         (llrint_downward_test_data): Likewise.
7326         (llrint_upward_test_data): Likewise.
7327         (log_test_data): Likewise.
7328         (log10_test_data): Likewise.
7329         (log1p_test_data): Likewise.
7330         (log2_test_data): Likewise.
7331         (logb_test_data): Likewise.
7332         (logb_downward_test_data): Likewise.
7333         (lround_test_data): Likewise.
7334         (llround_test_data): Likewise.
7335         (modf_test_data): Likewise.
7336         (nearbyint_test_data): Likewise.
7337         (nextafter_test_data): Likewise.
7338         (nexttoward_test_data): Likewise.
7339         (pow_test_data): Likewise.
7340         (pow_tonearest_test_data): Likewise.
7341         (pow_towardzero_test_data): Likewise.
7342         (pow_downward_test_data): Likewise.
7343         (pow_upward_test_data): Likewise.
7344         (remainder_test_data): Likewise.
7345         (remainder_tonearest_test_data): Likewise.
7346         (remainder_towardzero_test_data): Likewise.
7347         (remainder_downward_test_data): Likewise.
7348         (remainder_upward_test_data): Likewise.
7349         (remquo_test_data): Likewise.
7350         (rint_test_data): Likewise.
7351         (rint_tonearest_test_data): Likewise.
7352         (rint_towardzero_test_data): Likewise.
7353         (rint_downward_test_data): Likewise.
7354         (rint_upward_test_data): Likewise.
7355         (round_test_data): Likewise.
7356         (scalb_test_data): Likewise.
7357         (scalbn_test_data): Likewise.
7358         (scalbln_test_data): Likewise.
7359         (signbit_test_data): Likewise.
7360         (sin_test_data): Likewise.
7361         (sin_tonearest_test_data): Likewise.
7362         (sin_towardzero_test_data): Likewise.
7363         (sin_downward_test_data): Likewise.
7364         (sin_upward_test_data): Likewise.
7365         (sincos_test_data): Likewise.
7366         (sinh_test_data): Likewise.
7367         (sinh_tonearest_test_data): Likewise.
7368         (sinh_towardzero_test_data): Likewise.
7369         (sinh_downward_test_data): Likewise.
7370         (sinh_upward_test_data): Likewise.
7371         (sqrt_test_data): Likewise.
7372         (tan_test_data): Likewise.
7373         (tan_tonearest_test_data): Likewise.
7374         (tan_towardzero_test_data): Likewise.
7375         (tan_downward_test_data): Likewise.
7376         (tan_upward_test_data): Likewise.
7377         (tanh_test_data): Likewise.
7378         (tgamma_test_data): Likewise.
7379         (trunc_test_data): Likewise.
7380         (y0_test_data): Likewise.
7381         (y1_test_data): Likewise.
7382         (yn_test_data): Likewise.
7383         (significand_test_data): Likewise.
7385         * math/gen-libm-test.pl (@functions): Remove variable.
7386         (generate_testfile): Don't handle START and END lines.
7387         * math/libm-test.inc (START): New macro.
7388         (END): Likewise.
7389         (END_COMPLEX): Likewise.
7390         (acos_test): Use END macro without arguments.
7391         (acos_test_tonearest): Likewise.
7392         (acos_test_towardzero): Likewise.
7393         (acos_test_downward): Likewise.
7394         (acos_test_upward): Likewise.
7395         (acosh_test): Likewise.
7396         (asin_test): Likewise.
7397         (asin_test_tonearest): Likewise.
7398         (asin_test_towardzero): Likewise.
7399         (asin_test_downward): Likewise.
7400         (asin_test_upward): Likewise.
7401         (asinh_test): Likewise.
7402         (atan_test): Likewise.
7403         (atanh_test): Likewise.
7404         (atan2_test): Likewise.
7405         (cabs_test): Likewise.
7406         (cacos_test): Use END_COMPLEX macro without arguments.
7407         (cacosh_test): Likewise.
7408         (carg_test): Use END macro without arguments.
7409         (casin_test): Use END_COMPLEX macro without arguments.
7410         (casinh_test): Likewise.
7411         (catan_test): Likewise.
7412         (catanh_test): Likewise.
7413         (cbrt_test): Use END macro without arguments.
7414         (ccos_test): Use END_COMPLEX macro without arguments.
7415         (ccosh_test): Likewise.
7416         (ceil_test): Use END macro without arguments.
7417         (cexp_test): Use END_COMPLEX macro without arguments.
7418         (cimag_test): Use END macro without arguments.
7419         (clog_test): Use END_COMPLEX macro without arguments.
7420         (clog10_test): Likewise.
7421         (conj_test): Likewise.
7422         (copysign_test): Use END macro without arguments.
7423         (cos_test): Likewise.
7424         (cos_test_tonearest): Likewise.
7425         (cos_test_towardzero): Likewise.
7426         (cos_test_downward): Likewise.
7427         (cos_test_upward): Likewise.
7428         (cosh_test): Likewise.
7429         (cosh_test_tonearest): Likewise.
7430         (cosh_test_towardzero): Likewise.
7431         (cosh_test_downward): Likewise.
7432         (cosh_test_upward): Likewise.
7433         (cpow_test): Use END_COMPLEX macro without arguments.
7434         (cproj_test): Likewise.
7435         (creal_test): Use END macro without arguments.
7436         (csin_test): Use END_COMPLEX macro without arguments.
7437         (csinh_test): Likewise.
7438         (csqrt_test): Likewise.
7439         (ctan_test): Likewise.
7440         (ctan_test_tonearest): Likewise.
7441         (ctan_test_towardzero): Likewise.
7442         (ctan_test_downward): Likewise.
7443         (ctan_test_upward): Likewise.
7444         (ctanh_test): Likewise.
7445         (ctanh_test_tonearest): Likewise.
7446         (ctanh_test_towardzero): Likewise.
7447         (ctanh_test_downward): Likewise.
7448         (ctanh_test_upward): Likewise.
7449         (erf_test): Use END macro without arguments.
7450         (erfc_test): Likewise.
7451         (exp_test): Likewise.
7452         (exp_test_tonearest): Likewise.
7453         (exp_test_towardzero): Likewise.
7454         (exp_test_downward): Likewise.
7455         (exp_test_upward): Likewise.
7456         (exp10_test): Likewise.
7457         (exp2_test): Likewise.
7458         (expm1_test): Likewise.
7459         (fabs_test): Likewise.
7460         (fdim_test): Likewise.
7461         (finite_test): Likewise.
7462         (floor_test): Likewise.
7463         (fma_test): Likewise.
7464         (fma_test_towardzero): Likewise.
7465         (fma_test_downward): Likewise.
7466         (fma_test_upward): Likewise.
7467         (fmax_test): Likewise.
7468         (fmin_test): Likewise.
7469         (fmod_test): Likewise.
7470         (fpclassify_test): Likewise.
7471         (frexp_test): Likewise.
7472         (gamma_test): Likewise.
7473         (hypot_test): Likewise.
7474         (ilogb_test): Likewise.
7475         (isfinite_test): Likewise.
7476         (isgreater_test): Likewise.
7477         (isgreaterequal_test): Likewise.
7478         (isinf_test): Likewise.
7479         (isless_test): Likewise.
7480         (islessequal_test): Likewise.
7481         (islessgreater_test): Likewise.
7482         (isnan_test): Likewise.
7483         (isnormal_test): Likewise.
7484         (issignaling_test): Likewise.
7485         (isunordered_test): Likewise.
7486         (j0_test): Likewise.
7487         (j1_test): Likewise.
7488         (jn_test): Likewise.
7489         (ldexp_test): Likewise.
7490         (lgamma_test): Likewise.
7491         (lrint_test): Likewise.
7492         (lrint_test_tonearest): Likewise.
7493         (lrint_test_towardzero): Likewise.
7494         (lrint_test_downward): Likewise.
7495         (lrint_test_upward): Likewise.
7496         (llrint_test): Likewise.
7497         (llrint_test_tonearest): Likewise.
7498         (llrint_test_towardzero): Likewise.
7499         (llrint_test_downward): Likewise.
7500         (llrint_test_upward): Likewise.
7501         (log_test): Likewise.
7502         (log10_test): Likewise.
7503         (log1p_test): Likewise.
7504         (log2_test): Likewise.
7505         (logb_test): Likewise.
7506         (logb_test_downward): Likewise.
7507         (lround_test): Likewise.
7508         (llround_test): Likewise.
7509         (modf_test): Likewise.
7510         (nearbyint_test): Likewise.
7511         (nextafter_test): Likewise.
7512         (nexttoward_test): Likewise.
7513         (pow_test): Likewise.
7514         (pow_test_tonearest): Likewise.
7515         (pow_test_towardzero): Likewise.
7516         (pow_test_downward): Likewise.
7517         (pow_test_upward): Likewise.
7518         (remainder_test): Likewise.
7519         (remainder_test_tonearest): Likewise.
7520         (remainder_test_towardzero): Likewise.
7521         (remainder_test_downward): Likewise.
7522         (remainder_test_upward): Likewise.
7523         (remquo_test): Likewise.
7524         (rint_test): Likewise.
7525         (rint_test_tonearest): Likewise.
7526         (rint_test_towardzero): Likewise.
7527         (rint_test_downward): Likewise.
7528         (rint_test_upward): Likewise.
7529         (round_test): Likewise.
7530         (scalb_test): Likewise.
7531         (scalbn_test): Likewise.
7532         (scalbln_test): Likewise.
7533         (signbit_test): Likewise.
7534         (sin_test): Likewise.
7535         (sin_test_tonearest): Likewise.
7536         (sin_test_towardzero): Likewise.
7537         (sin_test_downward): Likewise.
7538         (sin_test_upward): Likewise.
7539         (sincos_test): Likewise.
7540         (sinh_test): Likewise.
7541         (sinh_test_tonearest): Likewise.
7542         (sinh_test_towardzero): Likewise.
7543         (sinh_test_downward): Likewise.
7544         (sinh_test_upward): Likewise.
7545         (sqrt_test): Likewise.
7546         (tan_test): Likewise.
7547         (tan_test_tonearest): Likewise.
7548         (tan_test_towardzero): Likewise.
7549         (tan_test_downward): Likewise.
7550         (tan_test_upward): Likewise.
7551         (tanh_test): Likewise.
7552         (tgamma_test): Likewise.
7553         (trunc_test): Likewise.
7554         (y0_test): Likewise.
7555         (y1_test): Likewise.
7556         (yn_test): Likewise.
7557         (significand_test): Likewise.
7559 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
7561         [BZ #15381]
7562         * libio/genops.c (_IO_no_init): Initialize wide struct info.
7564 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7566         [BZ #14894]
7567         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7568         __ppc_mdoio and __ppc_mdoom.
7569         * manual/platform.texi: Document new functions __ppc_yield,
7570         __ppc_mdoio and __ppc_mdoom.
7572 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
7574         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7575         (main): Mention "tls" pseudo-hwcap is legacy.
7576         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7578 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7580         * math/gen-libm-test.pl (parse_args): Output only string of
7581         arguments as text for test name, not full call or descriptions of
7582         tests for extra outputs.
7583         (generate_testfile): Do not pass function name to parse_args.
7584         Generate this_func variable from START.
7585         * math/libm-test.inc (struct test_f_f_data): Rename test_name
7586         field to arg_str.
7587         (struct test_ff_f_data): Likewise.
7588         (test_ff_f_data_nexttoward): Likewise.
7589         (struct test_fi_f_data): Likewise.
7590         (struct test_fl_f_data): Likewise.
7591         (struct test_if_f_data): Likewise.
7592         (struct test_fff_f_data): Likewise.
7593         (struct test_c_f_data): Likewise.
7594         (struct test_f_f1_data): Likewise.  Remove field extra_name.
7595         (struct test_fF_f1_data): Likewise.
7596         (struct test_ffI_f1_data): Likewise.
7597         (struct test_c_c_data): Rename test_name field to arg_str.
7598         (struct test_cc_c_data): Likewise.
7599         (struct test_f_i_data): Likewise.
7600         (struct test_ff_i_data): Likewise.
7601         (struct test_f_l_data): Likewise.
7602         (struct test_f_L_data): Likewise.
7603         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
7604         and extra2_name.
7605         (COMMON_TEST_SETUP): New macro.
7606         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7607         (COMMON_TEST_CLEANUP): Likewise.
7608         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7609         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
7610         macros.
7611         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7612         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
7613         macros.
7614         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7615         (RUN_TEST_fff_f): Take argument string.  Call new setup and
7616         cleanup macros.
7617         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7618         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
7619         macros.
7620         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7621         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
7622         macros.
7623         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7624         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
7625         cleanup macros.
7626         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7627         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
7628         cleanup macros.
7629         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7630         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
7631         cleanup macros.
7632         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7633         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
7634         macros.
7635         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7636         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
7637         macros.
7638         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7639         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
7640         macros.
7641         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7642         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
7643         cleanup macros.
7644         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7645         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
7646         cleanup macros.
7647         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7648         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
7649         macros.
7650         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7651         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
7652         cleanup macros.
7653         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7654         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
7655         macros.
7656         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7657         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
7658         macros.
7659         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7660         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
7661         cleanup macros.
7662         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7664 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7666         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7667         to _sifields.sigfault.
7668         (si_addr_lsb): Define new macro.
7669         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7670         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7671         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7673 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
7675         [BZ #15441]
7676         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7677         returns -1.
7678         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7679         null return -1.
7680         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7681         loading the domain.
7683 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7685         * math/gen-libm-test.pl (parse_args): Do not include expected
7686         result in test name.
7687         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7688         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7689         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7690         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7691         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7694 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7696         * benchtests/Makefile: Sort function entries.
7698         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7699         tanh, asinh, acosh, atanh.
7700         * benchtests/acos-inputs: New file.
7701         * benchtests/acosh-inputs: New file.
7702         * benchtests/asin-inputs: New file.
7703         * benchtests/asinh-inputs: New file.
7704         * benchtests/atanh-inputs: New file.
7705         * benchtests/cosh-inputs: New file.
7706         * benchtests/log-inputs: New file.
7707         * benchtests/sinh-inputs: New file.
7708         * benchtests/tanh-inputs: New file.
7710 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7712         [BZ #15339]
7713         * posix/tst-getaddrinfo4.c: New test.
7714         * posix/Makefile (tests): Add it.
7716 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7718         [BZ #15339]
7719         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7720         when no services were used.
7721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7722         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7724 2013-05-21  Andreas Schwab  <schwab@suse.de>
7726         [BZ #15014]
7727         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7728         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7729         successful.
7730         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7731         redundant variable declarations and reallocation of buffer when
7732         parsing as IPv6 address.  Always set NSS status when called from
7733         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7734         buffer too small.  Correct computation of needed size.
7735         * nss/Makefile (tests): Add test-digits-dots.
7736         * nss/test-digits-dots.c: New test.
7738 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7740         * benchtests/Makefile: Remove instructions for adding
7741         benchmark tests.
7742         * benchtests/README: New file to explain how to execute and
7743         enhance the benchmark tests.
7745 2013-05-21  Andreas Schwab  <schwab@suse.de>
7747         [BZ #15493]
7748         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7749         * setjmp/tst-sigsetjmp.c: New test.
7751 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7753         * sysdeps/x86_64/memset.S (memset): New implementation.
7754         (__bzero): Likewise.
7755         (__memset_tail): New function.
7757 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7759         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7760         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7761         __memcpy_sse2_unaligned ifunc selection.
7762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7763         Add memcpy-sse2-unaligned.S.
7764         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7765         Add: __memcpy_sse2_unaligned.
7767 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7769         [BZ #15490]
7770         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7771         math_force_eval before restoring floating-point envrionment.
7772         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7773         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7774         Likewise.
7775         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7776         <math_private.h>.
7777         (__nearbyintl): Use math_force_eval before restoring
7778         floating-point environment.
7779         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7781         * math/gen-libm-test.pl (special_functions): Remove.
7782         (parse_args): Don't handle TEST_extra.  Handle functions with no
7783         return value.
7784         * math/libm-test.inc (struct test_sincos_data): Replace with
7785         struct test_fFF_11_data.
7786         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7787         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7788         (sincos_test_data): Change element type to struct
7789         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7790         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7791         RUN_TEST_LOOP_sincos.
7792         * math/README.libm-test: Don't mention special handling of
7793         individual functions.
7794         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7795         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7796         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7797         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7798         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7801         * math/gen-libm-test.pl (get_variable): Remove function.
7802         (parse_args): Don't show pointer parameters to call in test
7803         names.  Use "extra output N" in test names for extra outputs
7804         rather than naming variables.
7806 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7808         [BZ #15488]
7809         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7810         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7811         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7812         double tests.
7813         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7814         disable.
7815         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7816         check_long_double.
7818         * math/gen-libm-test.pl (@tests): Remove variable.
7819         ($count): Likewise.
7820         (new_test): Remove function.
7821         (show_exceptions): New function.
7822         (special_functions): Use show_exceptions instead of new_test.
7823         (parse_args): Likewise.
7824         (generate_testfile): Pass only function name in generated call to
7825         print_max_error or print_complex_max_error.
7826         (get_ulps): Do not handle complex tests specially.
7827         (output_test): Rename to ...
7828         (get_all_ulps_for_test): ... this.  Return a string rather than
7829         printing to a file.  Require ulps to be present.
7830         (output_ulps): Generate arrays rather than #defines.
7831         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7832         (struct ulp_data): New type.
7833         (BUILD_COMPLEX_ULP): Remove macro.
7834         (compare_ulp_data): New function.
7835         (find_ulps): Likewise.
7836         (find_test_ulps): Likewise.
7837         (find_function_ulps): Likewise.
7838         (find_complex_function_ulps): Likewise.
7839         (print_max_error): Determine allowed ulps using
7840         find_function_ulps.
7841         (print_complex_max_error): Determine allowed ulps using
7842         find_complex_function_ulps.
7843         (check_float_internal): Determine max ulps using find_test_ulps.
7844         (check_float): Do not take max_ulp parameter.  Update call to
7845         check_float_internal.
7846         (check_complex): Likewise.
7847         (check_int): Do not take max_ulp parameter.
7848         (check_long): Likewise.
7849         (check_bool): Likewise.
7850         (check_longlong): Likewise.
7851         (struct test_f_f_data): Remove max_ulp field.
7852         (struct test_ff_f_data): Likewise.
7853         (struct test_ff_f_data_nexttoward): Likewise.
7854         (struct test_fi_f_data): Likewise.
7855         (struct test_fl_f_data): Likewise.
7856         (struct test_if_f_data): Likewise.
7857         (struct test_fff_f_data): Likewise.
7858         (struct test_c_f_data): Likewise.
7859         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7860         (struct test_fF_f1_data): Likewise.
7861         (struct test_ffI_f1_data): Likewise.
7862         (struct test_c_c_data): Remove max_ulp field.
7863         (struct test_cc_c_data): Likewise.
7864         (struct test_f_i_data): Likewise.
7865         (struct test_ff_i_data): Likewise.
7866         (struct test_f_l_data): Likewise.
7867         (struct test_f_L_data): Likewise.
7868         (struct test_sincos_data): Likewise.
7869         (RUN_TEST_f_f): Do not handle ulps.
7870         (RUN_TEST_LOOP_f_f): Likewise.
7871         (RUN_TEST_2_f): Likewise.
7872         (RUN_TEST_LOOP_2_f): Likewise.
7873         (RUN_TEST_fff_f): Likewise.
7874         (RUN_TEST_LOOP_fff_f): Likewise.
7875         (RUN_TEST_c_f): Likewise.
7876         (RUN_TEST_LOOP_c_f): Likewise.
7877         (RUN_TEST_f_f1): Likewise.
7878         (RUN_TEST_LOOP_f_f1): Likewise.
7879         (RUN_TEST_fF_f1): Likewise.
7880         (RUN_TEST_LOOP_fF_f1): Likewise.
7881         (RUN_TEST_fI_f1): Likewise.
7882         (RUN_TEST_LOOP_fI_f1): Likewise.
7883         (RUN_TEST_ffI_f1): Likewise.
7884         (RUN_TEST_LOOP_ffI_f1): Likewise.
7885         (RUN_TEST_c_c): Likewise.
7886         (RUN_TEST_LOOP_c_c): Likewise.
7887         (RUN_TEST_cc_c): Likewise.
7888         (RUN_TEST_LOOP_cc_c): Likewise.
7889         (RUN_TEST_f_i): Likewise.
7890         (RUN_TEST_LOOP_f_i): Likewise.
7891         (RUN_TEST_f_i_tg): Likewise.
7892         (RUN_TEST_LOOP_f_i_tg): Likewise.
7893         (RUN_TEST_ff_i_tg): Likewise.
7894         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7895         (RUN_TEST_f_b): Likewise.
7896         (RUN_TEST_LOOP_f_b): Likewise.
7897         (RUN_TEST_f_b_tg): Likewise.
7898         (RUN_TEST_LOOP_f_b_tg): Likewise.
7899         (RUN_TEST_f_l): Likewise.
7900         (RUN_TEST_LOOP_f_l): Likewise.
7901         (RUN_TEST_f_L): Likewise.
7902         (RUN_TEST_LOOP_f_L): Likewise.
7903         (RUN_TEST_sincos): Likewise.
7904         (RUN_TEST_LOOP_sincos): Likewise.
7906 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7908         [BZ #15480]
7909         [BZ #15485]
7910         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7911         main case of finite arguments, set rounding mode to FE_TONEAREST
7912         and discard exceptions.
7913         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7914         exceptions.
7915         (remainder_tonearest_test_data): New variable.
7916         (remainder_test_tonearest): New function.
7917         (remainder_towardzero_test_data): New variable.
7918         (remainder_test_towardzero): New function.
7919         (remainder_downward_test_data): New variable.
7920         (remainder_test_downward): New function.
7921         (remainder_upward_test_data): New variable.
7922         (remainder_test_upward): New function.
7923         (main): Call the new test functions.
7925         * math/libm-test.inc (struct test_f_f1_data): Remove field
7926         extra_init.
7927         (struct test_fF_f1_data): Likewise.
7928         (struct test_ffI_f1_data): Likewise.
7929         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7930         based on value of EXTRA_EXPECTED.
7931         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7932         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7933         EXTRA_VAR based on value of EXTRA_EXPECTED.
7934         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7935         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7936         EXTRA_VAR based on value of EXTRA_EXPECTED.
7937         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7938         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7939         EXTRA_VAR based on value of EXTRA_EXPECTED.
7940         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7941         * math/gen-libm-test.pl (parse_args): Don't output initializers
7942         for extra output values.
7944         * math/libm-test.inc (check_int): Expect result to be exactly
7945         equal to expected value and do not handle ulps.
7946         (check_long): Likewise.
7947         (check_longlong): Likewise.
7949         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7950         exceptions.
7951         (cimag_test_data): Likewise.
7952         (conj_test_data): Likewise.
7953         (copysign_test_data): Likewise.
7954         (cproj_test_data): Likewise.
7955         (creal_test_data): Likewise.
7956         (fabs_test_data): Likewise.
7957         (fdim_test_data): Likewise.
7958         (finite_test_data): Likewise.
7959         (floor_test_data): Likewise.
7960         (fmax_test_data): Likewise.
7961         (fmin_test_data): Likewise.
7962         (fmod_test_data): Likewise.
7963         (fpclassify_test_data): Likewise.
7964         (frexp_test_data): Likewise.
7965         (ilogb_test_data): Likewise.
7966         (isfinite_test_data): Likewise.
7967         (isgreater_test_data): Likewise.
7968         (isgreaterequal_test_data): Likewise.
7969         (isinf_test_data): Likewise.
7970         (isless_test_data): Likewise.
7971         (islessequal_test_data): Likewise.
7972         (islessgreater_test_data): Likewise.
7973         (isnan_test_data): Likewise.
7974         (isnormal_test_data): Likewise.
7975         (issignaling_test_data): Likewise.
7976         (isunordered_test_data): Likewise.
7977         (ldexp_test_data): Likewise.
7978         (lrint_test_data): Likewise.
7979         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7980         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7981         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7982         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7983         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7984         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7985         test input.
7986         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7987         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7988         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7989         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7990         that test input.
7991         (lrint_downward_test_data): Test for "inexact" exceptions.
7992         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7993         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7994         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7995         test input.
7996         (lrint_upward_test_data): Test for "inexact" exceptions.
7997         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7998         test input.
7999         (llrint_test_data): Test for "inexact" exceptions.
8000         (llrint_test_data) [TEST_FLOAT]: Disable one test.
8001         (llrint_tonearest_test_data): Test for "inexact" exceptions.
8002         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8003         (llrint_towardzero_test_data): Test for "inexact" exceptions.
8004         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8005         (llrint_downward_test_data): Test for "inexact" exceptions.
8006         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8007         (llrint_upward_test_data): Test for "inexact" exceptions.
8008         (logb_test_data): Likewise.
8009         (logb_downward_test_data): Likewise.
8010         (nextafter_test_data): Likewise.
8011         (nexttoward_test_data): Likewise.
8012         (remainder_test_data): Likewise.
8013         (remquo_test_data): Likewise.
8014         (scalbn_test_data): Likewise.
8015         (scalbln_test_data): Likewise.
8016         (signbit_test_data): Likewise.
8017         (sqrt_test_data): Likewise.
8018         (significand_test_data): Likewise.
8020 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8022         [BZ #15424]
8023         * benchtests/bench-modf.c (struct args): Mark arg0 as
8024         volatile.
8025         * scripts/bench.pl: Mark members of struct args as volatile.
8027 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8029         [BZ # 15497]
8030         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8031         negative infinity on POWER6 or lower.
8032         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8034 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8036         [BZ #15442]
8037         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8038         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8039         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8040         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8041         (_FP_SETQNAN): New macro.
8042         (_FP_SETQNAN_SEMIRAW): Likewise.
8043         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8044         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8045         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8046         (FP_EXTEND): Use _FP_FRAC_SNANP.
8047         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8048         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8049         into account.
8050         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8051         New macro.
8052         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8053         Likewise.
8055 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8057         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8058         with DIVIDE_BY_ZERO_EXCEPTION.
8059         (gamma_test_data): Likewise.
8060         (lgamma_test_data): Likewise.
8061         (log_test_data): Likewise.
8062         (log10_test_data): Likewise.
8063         (log2_test_data): Likewise.
8064         (tgamma_test_data): Likewise.
8066         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8067         (acos_test_tonearest): Likewise.
8068         (acos_test_towardzero): Likewise.
8069         (acos_test_downward): Likewise.
8070         (acos_test_upward): Likewise.
8071         (acosh_test): Likewise.
8072         (asin_test): Likewise.
8073         (asin_test_tonearest): Likewise.
8074         (asin_test_towardzero): Likewise.
8075         (asin_test_downward): Likewise.
8076         (asin_test_upward): Likewise.
8077         (asinh_test): Likewise.
8078         (atan_test): Likewise.
8079         (atanh_test): Likewise.
8080         (atan2_test): Likewise.
8081         (cabs_test): Likewise.
8082         (cacos_test): Likewise.
8083         (cacosh_test): Likewise.
8084         (casin_test): Likewise.
8085         (casinh_test): Likewise.
8086         (catan_test): Likewise.
8087         (catanh_test): Likewise.
8088         (cbrt_test): Likewise.
8089         (ccos_test): Likewise.
8090         (ccosh_test): Likewise.
8091         (cexp_test): Likewise.
8092         (clog_test): Likewise.
8093         (clog10_test): Likewise.
8094         (cos_test): Likewise.
8095         (cos_test_tonearest): Likewise.
8096         (cos_test_towardzero): Likewise.
8097         (cos_test_downward): Likewise.
8098         (cos_test_upward): Likewise.
8099         (cosh_test): Likewise.
8100         (cosh_test_tonearest): Likewise.
8101         (cosh_test_towardzero): Likewise.
8102         (cosh_test_downward): Likewise.
8103         (cosh_test_upward): Likewise.
8104         (cpow_test): Likewise.
8105         (csin_test): Likewise.
8106         (csinh_test): Likewise.
8107         (csqrt_test): Likewise.
8108         (ctan_test): Likewise.
8109         (ctan_test_tonearest): Likewise.
8110         (ctan_test_towardzero): Likewise.
8111         (ctan_test_downward): Likewise.
8112         (ctan_test_upward): Likewise.
8113         (ctanh_test): Likewise.
8114         (ctanh_test_tonearest): Likewise.
8115         (ctanh_test_towardzero): Likewise.
8116         (ctanh_test_downward): Likewise.
8117         (ctanh_test_upward): Likewise.
8118         (erf_test): Likewise.
8119         (erfc_test): Likewise.
8120         (exp_test): Likewise.
8121         (exp_test_tonearest): Likewise.
8122         (exp_test_towardzero): Likewise.
8123         (exp_test_downward): Likewise.
8124         (exp_test_upward): Likewise.
8125         (exp10_test): Likewise.
8126         (exp2_test): Likewise.
8127         (expm1_test): Likewise.
8128         (fmod_test): Likewise.
8129         (gamma_test): Likewise.
8130         (hypot_test): Likewise.
8131         (j0_test): Likewise.
8132         (j1_test): Likewise.
8133         (jn_test): Likewise.
8134         (lgamma_test): Likewise.
8135         (log_test): Likewise.
8136         (log10_test): Likewise.
8137         (log1p_test): Likewise.
8138         (log2_test): Likewise.
8139         (logb_test_downward): Likewise.
8140         (pow_test): Likewise.
8141         (pow_test_tonearest): Likewise.
8142         (pow_test_towardzero): Likewise.
8143         (pow_test_downward): Likewise.
8144         (pow_test_upward): Likewise.
8145         (remainder_test): Likewise.
8146         (remquo_test): Likewise.
8147         (sin_test): Likewise.
8148         (sin_test_tonearest): Likewise.
8149         (sin_test_towardzero): Likewise.
8150         (sin_test_downward): Likewise.
8151         (sin_test_upward): Likewise.
8152         (sincos_test): Likewise.
8153         (sinh_test): Likewise.
8154         (sinh_test_tonearest): Likewise.
8155         (sinh_test_towardzero): Likewise.
8156         (sinh_test_downward): Likewise.
8157         (sinh_test_upward): Likewise.
8158         (sqrt_test): Likewise.
8159         (tan_test): Likewise.
8160         (tan_test_tonearest): Likewise.
8161         (tan_test_towardzero): Likewise.
8162         (tan_test_downward): Likewise.
8163         (tan_test_upward): Likewise.
8164         (tanh_test): Likewise.
8165         (tgamma_test): Likewise.
8166         (y0_test): Likewise.
8167         (y1_test): Likewise.
8168         (yn_test): Likewise.
8170         * math/gen-libm-test.pl (adjust_arg): Remove function.
8171         (special_function): Remove argument $in_func.  Only handle
8172         generating output for tables of tests, not inside functions.
8173         (parse_args): Likewise.
8174         (generate_testfile): Remove variable $in_func.  Update call to
8175         parse_args.
8176         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8177         (MINUS_ZERO_INIT): Rename macro to minus_zero.
8178         (PLUS_INFTY_INIT): Rename macro to plus_infty.
8179         (MINUS_INFTY_INIT): Rename macro to minus_infty.
8180         (QNAN_VALUE_INIT): Rename macro to qnan_value.
8181         (MAX_VALUE_INIT): Rename macro to max_value.
8182         (MIN_VALUE_INIT): Rename macro to min_value.
8183         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8184         (plus_zero): Remove variable.
8185         (minus_zero): Likewise.
8186         (plus_infty): Likewise.
8187         (minus_infty): Likewise.
8188         (qnan_value): Likewise.
8189         (max_value): Likewise.
8190         (min_value): Likewise.
8191         (min_subnorm_value): Likewise.
8193 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8195         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8196         uint64_t or uint32_t usage.
8197         * crypt/sha256-block.c: Likewise.
8198         * crypt/sha256-crypt.c: Likewise.
8199         * crypt/sha256.c: Likewise.
8200         * crypt/sha512-block.c: Likewise.
8201         * crypt/sha512-crypt.c: Likewise.
8202         * crypt/sha512.c: Likewise.
8203         * debug/backtrace-tst.c: Likewise.
8204         * debug/pcprofiledump.c: Likewise.
8205         * elf/cache.c: Likewise.
8206         * elf/dl-cache.c: Likewise.
8207         * elf/dl-misc.c: Likewise.
8208         * elf/dl-profile.c: Likewise.
8209         * elf/dl-support.c: Likewise.
8210         * elf/ldconfig.c: Likewise.
8211         * elf/sprof.c: Likewise.
8212         * iconv/dummy-repertoire.c: Likewise.
8213         * iconv/iconv_charmap.c: Likewise.
8214         * iconv/skeleton.c: Likewise.
8215         * iconvdata/8bit-generic.c: Likewise.
8216         * iconvdata/cp737.h: Likewise.
8217         * iconvdata/cp775.h: Likewise.
8218         * iconvdata/ibm1008.h: Likewise.
8219         * iconvdata/ibm1025.h: Likewise.
8220         * iconvdata/ibm1046.h: Likewise.
8221         * iconvdata/ibm1097.h: Likewise.
8222         * iconvdata/ibm1112.h: Likewise.
8223         * iconvdata/ibm1122.h: Likewise.
8224         * iconvdata/ibm1123.h: Likewise.
8225         * iconvdata/ibm1124.h: Likewise.
8226         * iconvdata/ibm1129.h: Likewise.
8227         * iconvdata/ibm1130.h: Likewise.
8228         * iconvdata/ibm1132.h: Likewise.
8229         * iconvdata/ibm1133.h: Likewise.
8230         * iconvdata/ibm1137.h: Likewise.
8231         * iconvdata/ibm1140.h: Likewise.
8232         * iconvdata/ibm1141.h: Likewise.
8233         * iconvdata/ibm1142.h: Likewise.
8234         * iconvdata/ibm1143.h: Likewise.
8235         * iconvdata/ibm1144.h: Likewise.
8236         * iconvdata/ibm1145.h: Likewise.
8237         * iconvdata/ibm1146.h: Likewise.
8238         * iconvdata/ibm1147.h: Likewise.
8239         * iconvdata/ibm1148.h: Likewise.
8240         * iconvdata/ibm1149.h: Likewise.
8241         * iconvdata/ibm1153.h: Likewise.
8242         * iconvdata/ibm1154.h: Likewise.
8243         * iconvdata/ibm1155.h: Likewise.
8244         * iconvdata/ibm1156.h: Likewise.
8245         * iconvdata/ibm1157.h: Likewise.
8246         * iconvdata/ibm1158.h: Likewise.
8247         * iconvdata/ibm1160.h: Likewise.
8248         * iconvdata/ibm1161.h: Likewise.
8249         * iconvdata/ibm1162.h: Likewise.
8250         * iconvdata/ibm1163.h: Likewise.
8251         * iconvdata/ibm1164.h: Likewise.
8252         * iconvdata/ibm1166.h: Likewise.
8253         * iconvdata/ibm1167.h: Likewise.
8254         * iconvdata/ibm12712.h: Likewise.
8255         * iconvdata/ibm1390.h: Likewise.
8256         * iconvdata/ibm1399.h: Likewise.
8257         * iconvdata/ibm16804.h: Likewise.
8258         * iconvdata/ibm4517.h: Likewise.
8259         * iconvdata/ibm4899.h: Likewise.
8260         * iconvdata/ibm4909.h: Likewise.
8261         * iconvdata/ibm4971.h: Likewise.
8262         * iconvdata/ibm5347.h: Likewise.
8263         * iconvdata/ibm803.h: Likewise.
8264         * iconvdata/ibm856.h: Likewise.
8265         * iconvdata/ibm901.h: Likewise.
8266         * iconvdata/ibm902.h: Likewise.
8267         * iconvdata/ibm9030.h: Likewise.
8268         * iconvdata/ibm9066.h: Likewise.
8269         * iconvdata/ibm921.h: Likewise.
8270         * iconvdata/ibm922.h: Likewise.
8271         * iconvdata/ibm9448.h: Likewise.
8272         * iconvdata/isiri-3342.h: Likewise.
8273         * iconvdata/jis0201.h: Likewise.
8274         * include/link.h: Likewise.
8275         * include/netdb.h: Likewise.
8276         * inet/check_native.c: Likewise.
8277         * inet/check_pf.c: Likewise.
8278         * inet/getipv4sourcefilter.c: Likewise.
8279         * inet/getnameinfo.c: Likewise.
8280         * inet/getsourcefilter.c: Likewise.
8281         * inet/htonl.c: Likewise.
8282         * inet/setipv4sourcefilter.c: Likewise.
8283         * inet/setsourcefilter.c: Likewise.
8284         * inet/test-inet6_opt.c: Likewise.
8285         * inet/tst-network.c: Likewise.
8286         * locale/C-collate.c: Likewise.
8287         * locale/C-ctype.c: Likewise.
8288         * locale/C-time.c: Likewise.
8289         * locale/C-translit.h: Likewise.
8290         * locale/loadarchive.c: Likewise.
8291         * locale/programs/3level.h: Likewise.
8292         * locale/programs/charmap.c: Likewise.
8293         * locale/programs/charmap.h: Likewise.
8294         * locale/programs/ld-address.c: Likewise.
8295         * locale/programs/ld-collate.c: Likewise.
8296         * locale/programs/ld-ctype.c: Likewise.
8297         * locale/programs/ld-identification.c: Likewise.
8298         * locale/programs/ld-measurement.c: Likewise.
8299         * locale/programs/ld-messages.c: Likewise.
8300         * locale/programs/ld-monetary.c: Likewise.
8301         * locale/programs/ld-name.c: Likewise.
8302         * locale/programs/ld-numeric.c: Likewise.
8303         * locale/programs/ld-paper.c: Likewise.
8304         * locale/programs/ld-telephone.c: Likewise.
8305         * locale/programs/ld-time.c: Likewise.
8306         * locale/programs/linereader.c: Likewise.
8307         * locale/programs/locale.c: Likewise.
8308         * locale/programs/locarchive.c: Likewise.
8309         * locale/programs/locfile.h: Likewise.
8310         * locale/programs/repertoire.c: Likewise.
8311         * locale/programs/simple-hash.c: Likewise.
8312         * locale/programs/simple-hash.h: Likewise.
8313         * malloc/memusage.c: Likewise.
8314         * malloc/memusagestat.c: Likewise.
8315         * nis/nis_defaults.c: Likewise.
8316         * nis/nis_hash.c: Likewise.
8317         * nis/nis_print.c: Likewise.
8318         * nis/nis_xdr.c: Likewise.
8319         * nscd/connections.c: Likewise.
8320         * nscd/hstcache.c: Likewise.
8321         * nscd/nscd_gethst_r.c: Likewise.
8322         * nscd/nscd_getserv_r.c: Likewise.
8323         * nscd/nscd_helper.c: Likewise.
8324         * nscd/servicescache.c: Likewise.
8325         * nss/makedb.c: Likewise.
8326         * nss/nss_db/db-XXX.c: Likewise.
8327         * nss/nss_db/db-initgroups.c: Likewise.
8328         * nss/nss_db/db-netgrp.c: Likewise.
8329         * nss/nss_files/files-network.c: Likewise.
8330         * nss/nss_files/files-parse.c: Likewise.
8331         * posix/bug-regex5.c: Likewise.
8332         * posix/fnmatch_loop.c: Likewise.
8333         * posix/regcomp.c: Likewise.
8334         * posix/regexec.c: Likewise.
8335         * posix/tst-rfc3484-2.c: Likewise.
8336         * posix/tst-rfc3484-3.c: Likewise.
8337         * posix/tst-rfc3484.c: Likewise.
8338         * resolv/nss_dns/dns-canon.c: Likewise.
8339         * resolv/nss_dns/dns-network.c: Likewise.
8340         * resolv/res_init.c: Likewise.
8341         * resolv/res_mkquery.c: Likewise.
8342         * resolv/tst-aton.c: Likewise.
8343         * stdlib/cxa_atexit.c: Likewise.
8344         * stdlib/cxa_finalize.c: Likewise.
8345         * stdlib/gen-fpioconst.c: Likewise.
8346         * stdlib/strtol_l.c: Likewise.
8347         * string/tst-endian.c: Likewise.
8348         * sunrpc/auth_des.c: Likewise.
8349         * sunrpc/clnt_udp.c: Likewise.
8350         * sunrpc/rtime.c: Likewise.
8351         * sunrpc/svcauth_des.c: Likewise.
8352         * sunrpc/xdr.c: Likewise.
8353         * sunrpc/xdr_intXX_t.c: Likewise.
8354         * sunrpc/xdr_rec.c: Likewise.
8355         * sysdeps/generic/ldconfig.h: Likewise.
8356         * sysdeps/generic/ldsodefs.h: Likewise.
8357         * sysdeps/generic/memusage.h: Likewise.
8358         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8360         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8361         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8362         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8363         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8364         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8365         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8366         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8367         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8368         * sysdeps/posix/getaddrinfo.c: Likewise.
8369         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8370         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8371         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8372         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8373         * sysdeps/powerpc/test-gettimebase.c: Likewise.
8374         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8375         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8376         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8377         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8378         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8379         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8380         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8381         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8382         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8383         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8384         * sysdeps/x86_64/dl-tls.h: Likewise.
8385         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8386         * time/alt_digit.c: Likewise.
8387         * time/era.c: Likewise.
8388         * wcsmbs/tst-c16c32-1.c: Likewise.
8390 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8392         * math/libm-test.inc (struct test_sincos_data): New type.
8393         (RUN_TEST_LOOP_sincos): New macro.
8394         (sincos_test_data): New variable.
8395         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8397 2013-05-16  Richard Henderson  <rth@redhat.com>
8399         * math/atest-exp2.c (LIMB64): New macro.
8400         (CONSTSZ): New macro.
8401         (mp_exp1, mp_exp_m1, mp_log2): New variables.
8402         (hexdig): Move ...
8403         (print_mpn_fp): ... to function scope.
8404         (read_mpn_hex): Remove.
8405         (get_log2): Remove.
8406         (exp2_mpn): Use mp_log2.
8407         (main): Use mp_exp1.
8409 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
8411         * math/libm-test.inc: Remove comment about not testing "inexact"
8412         exceptions.
8413         (INEXACT_EXCEPTION): New macro.
8414         (NO_INEXACT_EXCEPTION): Likewise.
8415         (INVALID_EXCEPTION_OK): Update value.
8416         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8417         (OVERFLOW_EXCEPTION_OK): Likewise.
8418         (UNDERFLOW_EXCEPTION_OK): Likewise.
8419         (IGNORE_ZERO_INF_SIGN): Likewise.
8420         (ERRNO_UNCHANGED): Likewise.
8421         (ERRNO_EDOM): Likewise.
8422         (ERRNO_ERANGE): Likewise.
8423         (test_exceptions): Handle testing "inexact" exceptions.
8424         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8425         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8426         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8427         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8428         INEXACT_EXCEPTION.
8429         (rint_towardzero_test_data): Likewise.
8430         (rint_downward_test_data): Likewise.
8431         (rint_upward_test_data): Likewise.
8433         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8434         with OVERFLOW_EXCEPTION.
8435         (exp10_test_data): Likewise.
8436         (exp2_test_data): Likewise.
8437         (expm1_test_data): Likewise.
8438         (lgamma_test_data): Likewise.
8439         (pow_test_data): Likewise.
8440         (tgamma_test_data): Likewise.
8441         (yn_test_data): Remove duplicate test of overflow.
8443         * math/libm-test.inc (struct test_cc_c_data): New type.
8444         (RUN_TEST_LOOP_cc_c): New macro.
8445         (cpow_test_data): New variable.
8446         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8448         * math/libm-test.inc (struct test_f_L_data): New type.
8449         (RUN_TEST_LOOP_f_L): New macro.
8450         (llrint_test_data): New variable.
8451         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8452         (llrint_tonearest_test_data): New variable.
8453         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8454         (llrint_towardzero_test_data): New variable.
8455         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8456         (llrint_downward_test_data): New variable.
8457         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8458         (llrint_upward_test_data): New variable.
8459         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8460         (llround_test_data): New variable.
8461         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8463 2013-05-13  Peter Collingbourne  <pcc@google.com>
8465         * math/atest-exp2.c (get_log2): Remove const attribute.
8467 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8469         * math/libm-test.inc (struct test_f_l_data): New type.
8470         (RUN_TEST_LOOP_f_l): New macro.
8471         (lrint_test_data): New variable.
8472         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8473         (lrint_tonearest_test_data): New variable.
8474         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8475         (lrint_towardzero_test_data): New variable.
8476         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8477         (lrint_downward_test_data): New variable.
8478         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8479         (lrint_upward_test_data): New variable.
8480         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8481         (lround_test_data): New variable.
8482         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8484 2013-05-15  Peter Collingbourne  <pcc@google.com>
8486         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8487         (EXTRACT_WORDS64) Use where appropriate.
8488         (INSERT_WORDS64) Likewise.
8490         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8491         constraints with x constraints.
8492         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8494         * malloc/obstack.c (_obstack_compat): Add initializer.
8496 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8498         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8499         si_trapno and add si_addr_lsb to _sifields.sigfault.
8500         (si_trapno): Remove macro.
8501         (si_addr_lsb): Define new macro.
8502         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8504 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
8506         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8507         instead of TEST_f_l.
8508         (llrint_test_tonearest): Likewise.
8509         (llrint_test_towardzero): Likewise.
8510         (llrint_test_downward): Likewise.
8511         (llrint_test_upward): Likewise.
8512         (llround_test): Likewise.
8514         * math/libm-test.inc (struct test_f_i_data): Add comment.
8515         (RUN_TEST_LOOP_f_b): New macro.
8516         (RUN_TEST_LOOP_f_b_tg): Likewise.
8517         (finite_test_data): New variable.
8518         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8519         (isfinite_test_data): New variable.
8520         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8521         (isinf_test_data): New variable.
8522         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8523         (isnan_test_data): New variable.
8524         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8525         (isnormal_test_data): New variable.
8526         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8527         (issignaling_test_data): New variable.
8528         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8529         (signbit_test_data): New variable.
8530         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8532         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8533         with INVALID_EXCEPTION.
8534         (acosh_test_data): Likewise.
8535         (asin_test_data): Likewise.
8536         (atanh_test_data): Likewise.
8537         (fmod_test_data): Likewise.
8538         (log_test_data): Likewise.
8539         (log10_test_data): Likewise.
8540         (log2_test_data): Likewise.
8541         (pow_test_data): Likewise.
8542         (sqrt_test_data): Likewise.
8543         (y0_test_data): Likewise.
8544         (y1_test_data): Likewise.
8545         (yn_test_data): Likewise.
8547         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8548         function contents.
8550         * math/libm-test.inc (struct test_ff_i_data): New type.
8551         (RUN_TEST_LOOP_ff_i_tg): New macro.
8552         (isgreater_test_data): New variable.
8553         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8554         (isgreaterequal_test_data): New variable.
8555         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8556         (isless_test_data): New variable.
8557         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8558         (islessequal_test_data): New variable.
8559         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8560         (islessgreater_test_data): New variable.
8561         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8562         (isunordered_test_data): New variable.
8563         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8565 2013-05-14  David S. Miller  <davem@davemloft.net>
8567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8569 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
8571         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8573         * math/libm-test.inc (struct test_fF_f1_data): Change type of
8574         extra_test to int.
8575         (struct test_f_i_data): Change type of max_ulp to int.
8577         * math/libm-test.inc (test_ffI_f1_data): New type.
8578         (RUN_TEST_LOOP_ffI_f1): New macro.
8579         (remquo_test_data): New variable.
8580         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8582         * setjmp/tst-setjmp-fp.c: New file.
8583         * setjmp/Makefile (tests): Add tst-setjmp-fp.
8584         (link-libm): New variable.
8585         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8587         * math/libm-test.inc (struct test_f_i_data): New type.
8588         (RUN_TEST_LOOP_f_i): New macro.
8589         (RUN_TEST_LOOP_f_i_tg): Likewise.
8590         (fpclassify_test_data): New variable.
8591         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8592         (ilogb_test_data): New variable.
8593         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8595         * math/libm-test.inc (scalbln_test): Correct function name in END
8596         call.
8598         * math/libm-test.inc (struct test_f_f1_data): Add comment.
8599         (RUN_TEST_LOOP_fI_f1): New macro.
8600         (frexp_test_data): New variable.
8601         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8603         * math/libm-test.inc (struct test_fF_f1_data): New type.
8604         (RUN_TEST_LOOP_fF_f1): New macro.
8605         (modf_test_data): New variable.
8606         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8608         * math/libm-test.inc (struct test_f_f1_data): New type.
8609         (RUN_TEST_LOOP_f_f1): New macro.
8610         (gamma_test_data): New variable.
8611         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8612         (lgamma_test_data): New variable.
8613         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8615 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
8617         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8618         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8619         (main): Comment "tls" pseudo-hwcap.
8621 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
8623         * math/libm-test.inc (struct test_fl_f_data): New type.
8624         (RUN_TEST_LOOP_fl_f): New variable.
8625         (scalbln_test_data): New variable.
8626         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8628         * math/libm-test.inc (struct test_fi_f_data): New type.
8629         (RUN_TEST_LOOP_fi_f): New macro.
8630         (ldexp_test_data): New variable.
8631         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8632         (scalbn_test_data): New variable.
8633         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8635         * math/libm-test.inc (struct test_c_f_data): New type.
8636         (RUN_TEST_LOOP_c_f): New macro.
8637         (cabs_test_data): New variable.
8638         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8639         (carg_test_data): New variable.
8640         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8641         (cimag_test_data): New variable.
8642         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8643         (creal_test_data): New variable.
8644         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8646         * math/libm-test.inc (struct test_if_f_data): New type.
8647         (RUN_TEST_LOOP_if_f): New macro.
8648         (jn_test_data): New variable.
8649         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8650         (yn_test_data): New variable.
8651         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8653         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8655 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8657         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8658         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8660 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8662         * benchtests/Makefile (CPPFLAGS-nonlib): Add
8663         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8664         (bench-deps): Add bench-timing.h.
8665         * benchtests-bench-skeleton.c: Include bench-timing.h.
8666         (main): Use TIMING_* macros instead of clock_gettime.
8667         * benchtests/bench-timing.h: New file.
8669         [BZ #14582]
8670         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8671         Renamed from _LIB_VERSION.
8672         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8674 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
8676         * math/libm-test.inc (struct test_fff_f_data): New type.
8677         (RUN_TEST_LOOP_fff_f): New macro.
8678         (fma_test_data): New variable.
8679         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8680         (fma_towardzero_test_data): New variable.
8681         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8682         (fma_downward_test_data): New variable.
8683         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8684         (fma_upward_test_data): New variable.
8685         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8687         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8688         (struct test_c_c_data): New type.
8689         (RUN_TEST_LOOP_c_c): New macro.
8690         (cacos_test_data): New variable.
8691         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8692         (cacosh_test_data): New variable.
8693         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8694         (casin_test_data): New variable.
8695         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8696         (casinh_test_data): New variable.
8697         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8698         (catan_test_data): New variable.
8699         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8700         (catanh_test_data): New variable.
8701         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8702         (ccos_test_data): New variable.
8703         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8704         (ccosh_test_data): New variable.
8705         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8706         (cexp_test_data): New variable.
8707         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8708         (clog_test_data): New variable.
8709         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8710         (clog10_test_data): New variable.
8711         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8712         (conj_test_data): New variable.
8713         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8714         (cproj_test_data): New variable.
8715         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8716         (csin_test_data): New variable.
8717         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8718         (csinh_test_data): New variable.
8719         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8720         (csqrt_test_data): New variable.
8721         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8722         (ctan_test_data): New variable.
8723         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8724         (ctan_tonearest_test_data): New variable.
8725         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8726         (ctan_towardzero_test_data): New variable.
8727         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8728         (ctan_downward_test_data): New variable.
8729         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8730         (ctan_upward_test_data): New variable.
8731         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8732         (ctanh_test_data): New variable.
8733         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8734         (ctanh_tonearest_test_data): New variable.
8735         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8736         (ctanh_towardzero_test_data): New variable.
8737         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8738         (ctanh_downward_test_data): New variable.
8739         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8740         (ctanh_upward_test_data): New variable.
8741         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8742         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8743         of BUILD_COMPLEX.
8745         * math/libm-test.inc (struct test_ff_f_data): New type.
8746         (struct test_ff_f_data_nexttoward): Likewise.
8747         (RUN_TEST_LOOP_2_f): New macro.
8748         (RUN_TEST_LOOP_ff_f): Likewise.
8749         (atan2_test_data): New variable.
8750         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8751         (copysign_test_data): New variable.
8752         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8753         (fdim_test_data): New variable.
8754         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8755         (fmax_test_data): New variable.
8756         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8757         (fmin_test_data): New variable.
8758         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8759         (fmod_test_data): New variable.
8760         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8761         (hypot_test_data): New variable.
8762         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8763         (nextafter_test_data): New variable.
8764         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8765         (nexttoward_test_data): New variable.
8766         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8767         (pow_test_data): New variable.
8768         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8769         (pow_tonearest_test_data): New variable.
8770         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8771         (pow_towardzero_test_data): New variable.
8772         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8773         (pow_downward_test_data): New variable.
8774         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8775         (pow_upward_test_data): New variable.
8776         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8777         (remainder_test_data): New variable.
8778         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8779         (scalb_test_data): New variable.
8780         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8781         * sysdeps/i386/fpu/libm-test-ulps: Update.
8783 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8785         * math/libm-test.inc (fma_test): Use max_value instead of local
8786         variable fltmax.
8787         (nextafter_test): Likewise.
8789         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8790         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8791         (acos_downward_test_data): New variable.
8792         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8793         (acos_upward_test_data): New variable.
8794         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8795         (acosh_test_data): New variable.
8796         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8797         (asin_test_data): New variable.
8798         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8799         (asin_tonearest_test_data): New variable.
8800         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8801         (asin_towardzero_test_data): New variable.
8802         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8803         (asin_downward_test_data): New variable.
8804         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8805         (asin_upward_test_data): New variable.
8806         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8807         (asinh_test_data): New variable.
8808         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8809         (atan_test_data): New variable.
8810         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8811         (atanh_test_data): New variable.
8812         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8813         (cbrt_test_data): New variable.
8814         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8815         (ceil_test_data): New variable.
8816         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8817         (cos_test_data): New variable.
8818         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8819         (cos_tonearest_test_data): New variable.
8820         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8821         (cos_towardzero_test_data): New variable.
8822         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8823         (cos_downward_test_data): New variable.
8824         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8825         (cos_upward_test_data): New variable.
8826         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8827         (cosh_test_data): New variable.
8828         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8829         (cosh_tonearest_test_data): New variable.
8830         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8831         (cosh_towardzero_test_data): New variable.
8832         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8833         (cosh_downward_test_data): New variable.
8834         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8835         (cosh_upward_test_data): New variable.
8836         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8837         (erf_test_data): New variable.
8838         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8839         (erfc_test_data): New variable.
8840         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8841         (exp_test_data): New variable.
8842         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8843         (exp_tonearest_test_data): New variable.
8844         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8845         (exp_towardzero_test_data): New variable.
8846         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8847         (exp_downward_test_data): New variable.
8848         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8849         (exp_upward_test_data): New variable.
8850         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8851         (exp10_test_data): New variable.
8852         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8853         (exp2_test_data): New variable.
8854         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8855         (expm1_test_data): New variable.
8856         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8857         (fabs_test_data): New variable.
8858         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8859         (floor_test_data): New variable.
8860         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8861         (j0_test_data): New variable.
8862         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8863         (j1_test_data): New variable.
8864         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8865         (log_test_data): New variable.
8866         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8867         (log10_test_data): New variable.
8868         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8869         (log1p_test_data): New variable.
8870         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8871         (log2_test_data): New variable.
8872         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8873         (logb_test_data): New variable.
8874         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8875         (logb_downward_test_data): New variable.
8876         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8877         (nearbyint_test_data): New variable.
8878         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8879         (rint_test_data): New variable.
8880         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8881         (rint_tonearest_test_data): New variable.
8882         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8883         (rint_towardzero_test_data): New variable.
8884         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8885         (rint_downward_test_data): New variable.
8886         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8887         (rint_upward_test_data): New variable.
8888         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8889         (round_test_data): New variable.
8890         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8891         (sin_test_data): New variable.
8892         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8893         (sin_tonearest_test_data): New variable.
8894         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8895         (sin_towardzero_test_data): New variable.
8896         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8897         (sin_downward_test_data): New variable.
8898         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8899         (sin_upward_test_data): New variable.
8900         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8901         (sinh_test_data): New variable.
8902         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8903         (sinh_tonearest_test_data): New variable.
8904         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8905         (sinh_towardzero_test_data): New variable.
8906         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8907         (sinh_downward_test_data): New variable.
8908         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8909         (sinh_upward_test_data): New variable.
8910         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8911         (sqrt_test_data): New variable.
8912         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8913         (tan_test_data): New variable.
8914         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8915         (tan_tonearest_test_data): New variable.
8916         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8917         (tan_towardzero_test_data): New variable.
8918         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8919         (tan_downward_test_data): New variable.
8920         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8921         (tan_upward_test_data): New variable.
8922         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8923         (tanh_test_data): New variable.
8924         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8925         (tgamma_test_data): New variable.
8926         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8927         (trunc_test_data): New variable.
8928         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8929         (y0_test_data): New variable.
8930         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8931         (y1_test_data): New variable.
8932         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8933         (significand_test_data): New variable.
8934         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8936 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8938         [BZ #12387]
8939         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8941 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8943         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8945 2013-05-10  Andreas Jaeger  <aj@suse.de>
8947         [BZ #15448]
8948         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8949         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8951 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8953         * math/gen-libm-test.pl (adjust_arg): New function.
8954         (special_functions): Handle generating output in both functions
8955         and arrays.
8956         (parse_args): Likewise.
8957         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8958         $in_func argument to parse_args.
8959         * math/libm-test.inc (struct test_f_f_data): New type.
8960         (IF_ROUND_INIT_): New macro.
8961         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8962         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8963         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8964         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8965         (ROUND_RESTORE_): Likewise.
8966         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8967         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8968         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8969         (ROUND_RESTORE_FE_UPWARD): Likewise.
8970         (RUN_TEST_LOOP_f_f): New macro.
8971         (acos_test_data): New variable.
8972         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8973         (acos_tonearest_test_data): New variable.
8974         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8976 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8978         * benchtests/bench-skeleton.c (startup): Fix coding style.
8980 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8982         [BZ #6809]
8983         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8984         negative infinity argument.
8985         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8986         negative infinity argument.
8987         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8988         negative infinity argument.
8989         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8990         domain errors.
8992 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8994         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8995         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8996         * iconv/iconv_prog.c (main): Likewise.
8997         * locale/programs/charmap-dir.c (charmap_readdir)
8998         (fopen_uncompressed): Likewise.
8999         * locale/programs/locfile.c (siblings_uncached)
9000         (write_locale_data): Use lstat64 instead of lstat.
9001         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9002         stat.
9004 2013-05-10  Andreas Jaeger  <aj@suse.de>
9006         [BZ #15395]
9007         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9008         localization.
9009         Include <locale.h>.
9011 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
9013         * elf/dl-close.c (_dl_close_worker): Add comments.
9015 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
9017         [BZ #15359]
9018         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9019         high part of pi/2.
9020         (__ieee754_rem_pio2l): Update comments.
9022         [BZ #15429]
9023         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9024         high part of pi/2.
9025         (__ieee754_rem_pio2l): Update comments.
9027         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9028         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9030         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9031         M_PI_4l.
9033         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9034         (M_PI_34_LOG10El): Likewise.
9035         (M_PI2_LOG10El): Likewise.
9036         (M_PI4_LOG10El): Likewise.
9037         (M_PI_LOG10El): Likewise.
9039 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9043 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
9045         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9046         (MINUS_ZERO_INIT): Likewise.
9047         (PLUS_INFTY_INIT): Likewise.
9048         (MINUS_INFTY_INIT): Likewise.
9049         (QNAN_VALUE_INIT): Likewise.
9050         (MAX_VALUE_INIT): Likewise.
9051         (MIN_VALUE_INIT): Likewise.
9052         (MIN_SUBNORM_VALUE_INIT): Likewise.
9053         (plus_zero): Initialize with PLUS_ZERO_INIT.
9054         (minus_zero): Initialize with MINUS_ZERO_INIT.
9055         (plus_infty): Initialize with PLUS_INFTY_INIT.
9056         (minus_infty): Initialize with MINUS_INFTY_INIT.
9057         (qnan_value): Initialize with QNAN_VALUE_INIT.
9058         (max_value): Initialize with MAX_VALUE_INIT.
9059         (min_value): Initialize with MIN_VALUE_INIT.
9060         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9062         * math/libm-test.inc (RUN_TEST_if_f): New macro.
9063         (jn_test): Use TEST_if_f instead of TEST_ff_f.
9064         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9065         (yn_test): Use TEST_if_f instead of TEST_ff_f.
9067         * math/libm-test.inc (RUN_TEST_f_f): New macro.
9068         (RUN_TEST_2_f): Likewise.
9069         (RUN_TEST_ff_f): Likewise.
9070         (RUN_TEST_fi_f): Likewise.
9071         (RUN_TEST_fl_f): Likewise.
9072         (RUN_TEST_fff_f): Likewise.
9073         (RUN_TEST_c_f): Likewise.
9074         (RUN_TEST_f_f1): Likewise.
9075         (RUN_TEST_fF_f1): Likewise.
9076         (RUN_TEST_fI_f1): Likewise.
9077         (RUN_TEST_ffI_f1): Likewise.
9078         (RUN_TEST_c_c): Likewise.
9079         (RUN_TEST_cc_c): Likewise.
9080         (RUN_TEST_f_i): Likewise.
9081         (RUN_TEST_f_i_tg): Likewise.
9082         (RUN_TEST_ff_i_tg): Likewise.
9083         (RUN_TEST_f_b): Likewise.
9084         (RUN_TEST_f_b_tg): Likewise.
9085         (RUN_TEST_f_l): Likewise.
9086         (RUN_TEST_f_L): Likewise.
9087         (RUN_TEST_sincos): Likewise.
9088         * math/gen-libm-test.pl (new_test): Take new argument to indicate
9089         whether to show exceptions.  Do not include ");\n" in return
9090         value.
9091         (special_functions): Output call to RUN_TEST_sincos instead of
9092         check_float calls.  Update calls to new_test.
9093         (parse_args): Output call to single RUN_TEST_* macro instead of
9094         check_* calls and other assignments.  Update calls to new_test.
9096         [BZ #2546]
9097         [BZ #2560]
9098         [BZ #5159]
9099         [BZ #15426]
9100         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9101         input to result for tgamma overflow.
9102         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9103         (gamma_coeff): New variable.
9104         (NCOEFF): New macro.
9105         (gamma_positive): New function.
9106         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9107         underflow here.  Use gamma_positive instead of exp (lgamma) for
9108         other arguments.
9109         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9110         (gamma_coeff): New variable.
9111         (NCOEFF): New macro.
9112         (gammaf_positive): New function.
9113         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9114         underflow here.  Use gamma_positive instead of exp (lgamma) for
9115         other arguments.
9116         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9117         (gamma_coeff): New variable.
9118         (NCOEFF): New macro.
9119         (gammal_positive): New function.
9120         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9121         underflow here.  Use gamma_positive instead of exp (lgamma) for
9122         other arguments.
9123         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9124         (gamma_coeff): New variable.
9125         (NCOEFF): New macro.
9126         (gammal_positive): New function.
9127         (__ieee754_gammal_r): Handle positive infinity, overflow and
9128         underflow here.  Handle NaN the same as positive infinity.  Remove
9129         check x < 0xffffffff for negative integers.  Use gamma_positive
9130         instead of exp (lgamma) for other arguments.
9131         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9132         (gamma_coeff): New variable.
9133         (NCOEFF): New macro.
9134         (gammal_positive): New function.
9135         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9136         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9137         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9138         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9139         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9140         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9141         * sysdeps/generic/math_private.h (__gamma_productf): New
9142         prototype.
9143         (__gamma_product): Likewise.
9144         (__gamma_productl): Likewise.
9145         * math/Makefile (libm-calls): Add gamma_product.
9146         * math/libm-test.inc (tgamma_test): Add more tests.
9147         * sysdeps/i386/fpu/libm-test-ulps: Update.
9148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9150 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
9152         * benchtests/bench-skeleton.c (main): Preheat CPU.
9154 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
9156         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9158 2013-05-07  Roland McGrath  <roland@hack.frob.com>
9160         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9161         and _dl_skip_args_internal.
9163 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
9165         * manual/message.texi (Message Translation): Talk about users.
9166         Message to key mapping impacts design.
9168 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9170         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9172         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9174         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9175         * sysdeps/wordsize-64/glob64.c: ... here.
9177         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9178         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9179         New macros.
9181         * debug/getlogin_r_chk.c: Moved to ...
9182         * login/getlogin_r_chk.c: ... here.
9183         * debug/Makefile (routines): Move getlogin_r_chk to ...
9184         * login/Makefile (routines): ... here.
9185         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9186         * login/Versions (libc: GLIBC_2.4): ... here.
9188         * io/poll.c (__poll): Renamed from poll.
9189         Add libc_hidden_def.
9190         (poll): Define as weak alias.
9192         * debug/ptsname_r_chk.c: Moved to ...
9193         * login/ptsname_r_chk.c: ... here.
9194         * debug/Makefile (routines): Move ptsname_r_chk to ...
9195         * login/Makefile (routines): ... here.
9196         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9197         * login/Versions (libc: GLIBC_2.4): ... here.
9199         * posix/getlogin.c: Moved to ...
9200         * login/getlogin.c: ... here.
9201         * posix/getlogin_r.c: Moved to ...
9202         * login/getlogin_r.c: ... here.
9203         * posix/getlogin_r.c: Moved to ...
9204         * login/getlogin_r.c: ... here.
9205         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9206         * login/Makefile (routines): ... here.
9207         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9208         * login/Versions (libc: GLIBC_2.0): ... here.
9210         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9211         (setrlimit): Define as weak alias.
9213         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9214         Call __ names for open, ftruncate, and close.
9215         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9216         (truncate): Define as weak alias.
9218 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
9220         * math/gen-libm-test.pl (parse_args): Initialize x before each
9221         test of frexp, modf and remquo.
9223         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9224         test signgam value.
9226 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9228         [BZ #15418]
9229         [BZ #15419]
9230         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9231         internal tests.
9232         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9234 2013-05-06  Roland McGrath  <roland@hack.frob.com>
9236         * elf/dl-writev.h: New file.
9237         * elf/dl-misc.c: Include it.
9238         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9239         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9241 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
9243         * math/libm-test.inc (noXFails): Remove variable.
9244         (noXPasses): Likewise.
9245         (BUILD_COMPLEX_INT): Remove macro.
9246         (print_screen): Remove xfail argument.
9247         (print_screen_max_error): Likewise.
9248         (update_stats): Likewise.
9249         (print_max_error): Likewise.  Update calls to other affected
9250         functions.
9251         (print_complex_max_error): Likewise.
9252         (test_single_exception): Update calls to print_screen.
9253         (test_single_errno): Likewise.
9254         (check_float_internal): Remove xfail argument.  Update calls to
9255         other affected functions.
9256         (check_float): Likewise.
9257         (check_complex): Likewise.
9258         (check_int): Likewise.
9259         (check_long): Likewise.
9260         (check_bool): Likewise.
9261         (check_longlong): Likewise.
9262         (main): Don't print noXFails and noXPasses.
9263         * math/gen-libm-test.pl (top level): Don't mention expected
9264         failure handling in comment.
9265         (new_test): Don't handle expected failures.
9266         (parse_args): Don't mention expected failure handling in comment.
9267         (generate_testfile): Don't handle expected failures.
9268         (parse_ulps): Likewise.
9269         (print_ulps_file): Likewise.
9270         (get_failure): Remove function.
9271         (output_test): Don't handle expected failures.
9272         * make/README.libm-test: Don't mention expected failure handling.
9274         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
9275         (minus_zero): Likewise.
9276         (plus_infty): Likewise.
9277         (minus_infty): Likewise.
9278         (qnan_value): Likewise.
9279         (max_value): Likewise.
9280         (min_value): Likewise.
9281         (min_subnorm_value): Likewise.
9282         (initialize): Do not initialize those variables dynamically.
9284 2013-05-03  Roland McGrath  <roland@hack.frob.com>
9286         * io/open.c (__open_2): Moved to ...
9287         * io/open_2.c: ... this new file.
9288         * io/open64.c (__open64_2): Moved to ...
9289         * io/open64_2.c: ... this new file.
9290         * io/openat.c (__openat_2): Moved to ...
9291         * io/openat_2.c: ... this new file.
9292         * io/openat64.c (__openat64_2): Moved to ...
9293         * io/openat64_2.c: ... this new file.
9294         * io/Makefile (routines): Add them.
9295         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9296         * sysdeps/unix/sysv/linux/open_2.c: File removed.
9297         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9298         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9299         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9300         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9301         (__openat64): Add hidden_ver.
9302         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9303         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9305         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9306         Separately conditionalize setting of GLRO(dl_sysinfo) so
9307         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9308         as well, but the actual setting is only under [NEED_DL_SYSINFO].
9310 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9312         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9313         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9314         definition.
9315         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9316         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9317         (_libc_vdso_platform_setup): Add __vdso_time initialization.
9318         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9319         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9321 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
9323         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9324         test signgam value.
9326         * math/libm-test.inc (hypot_test): Do not use
9327         IGNORE_ZERO_INF_SIGN.
9329 2013-05-03  Andreas Jaeger  <aj@suse.de>
9331         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9332         Linux 3.9.
9333         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9334         (PF_MAX): Adjust for VSOCK change.
9336 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9340 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
9342         [BZ #15264]
9343         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9344         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9345         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9347 2013-05-02  David S. Miller  <davem@davemloft.net>
9349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9351 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
9353         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9355 2013-05-01  Roland McGrath  <roland@hack.frob.com>
9357         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9359 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
9361         [BZ #14952]
9362         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9363         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9364         Use __attribute__ ((__gnu_inline__)).
9365         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9366         Don't use __attribute__ ((__gnu_inline__)).
9368 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
9370         [BZ #15423]
9371         * math/s_catan.c (__catan): Handle small real or imaginary part of
9372         input specially to avoid spurious underflow.
9373         * math/s_catanf.c (__catanf): Likewise.
9374         * math/s_catanh.c (__catanh): Likewise.
9375         * math/s_catanhf.c (__catanhf): Likewise.
9376         * math/s_catanhl.c (__catanhl): Likewise.
9377         * math/s_catanl.c (__catanl): Likewise.
9378         * math/libm-test.inc (catan_test): Add more tests.
9379         (catanh_test): Likewise.
9380         * sysdeps/i386/fpu/libm-test-ulps: Update.
9381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9383 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9387 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
9389         [BZ #15416]
9390         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9391         accurately for denominator in atan2.
9392         * math/s_catanf.c (__catanf): Likewise.
9393         * math/s_catanh.c (__catanh): Likewise.
9394         * math/s_catanhf.c (__catanhf): Likewise.
9395         * math/s_catanhl.c (__catanhl): Likewise.
9396         * math/s_catanl.c (__catanl): Likewise.
9397         * math/libm-test.inc (catan_test): Add more tests.
9398         (catanh_test): Likewise.
9399         * sysdeps/i386/fpu/libm-test-ulps: Update.
9400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9402 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9404         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9406         * benchtests/Makefile (bench): Remove slow benchmarks.
9407         * benchtests/atan-inputs: Add slow benchmark inputs.
9408         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9409         (BENCH_FUNC): Accept variant offset.
9410         (VARIANT): Define.
9411         * benchtests/bench-skeleton.c (main): Run benchmark for each
9412         variant.
9413         * benchtests/cos-inputs: Add slow benchmark inputs.
9414         * benchtests/exp-inputs: Likewise.
9415         * benchtests/pow-inputs: Likewise.
9416         * benchtests/sin-inputs: Likewise.
9417         * benchtests/slowatan-inputs: Remove.
9418         * benchtests/slowatan.c: Remove.
9419         * benchtests/slowcos-inputs: Remove.
9420         * benchtests/slowcos.c: Remove.
9421         * benchtests/slowexp-inputs: Remove.
9422         * benchtests/slowexp.c: Remove.
9423         * benchtests/slowpow-inputs: Remove.
9424         * benchtests/slowpow.c: Remove.
9425         * benchtests/slowsin-inputs: Remove.
9426         * benchtests/slowsin.c: Remove.
9427         * benchtests/slowtan-inputs: Remove.
9428         * benchtests/slowtan.c: Remove.
9429         * benchtests/tan-inputs: Add slow benchmark inputs.
9430         * scripts/bench.pl: Parse comments and directives.
9432         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
9433         in CPPFLAGS.
9434         ($(objpfx)bench-%.c): Remove *-ITER.
9435         * benchtests/bench-modf.c: Remove definition of ITER.
9436         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9437         (main): Loop for DURATION seconds instead of fixed number of
9438         iterations.
9439         * scripts/bench.pl: Don't expect iterations in parameters.
9441 2013-04-29  Roland McGrath  <roland@hack.frob.com>
9443         * io/fchdir.c (__fchdir): Renamed from fchdir.
9444         (fchdir): Define as weak alias.
9446 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9448         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9449         (ERRNO_EDOM): Likewise.
9450         (ERRNO_ERANGE): Likewise.
9451         (noErrnoTests): New variable.
9452         (init_max_error): Set errno to 0.
9453         (test_single_errno): New function.
9454         (test_errno): Likewise.
9455         (check_float_internal): Call test_errno.  Set errno to 0.
9456         (check_complex): Refer to errno tests in comment.
9457         (check_int): Call test_errno.  Set errno to 0.
9458         (check_long): Likewise.
9459         (check_bool): Likewise.
9460         (check_longlong): Likewise.
9461         (cos_test): Use ERRNO_* flags for errno tests instead of
9462         check_int.
9463         (expm1_test): Likewise.
9464         (fmod_test): Likewise.
9465         (ilogb_test): Likewise.
9466         (lgamma_test): Likewise.
9467         (pow_test): Likewise.
9468         (remainder_test): Likewise.
9469         (sin_test): Likewise.
9470         (tan_test): Likewise.
9471         (yn_test): Likewise.
9472         (initialize): Set errno to 0.
9473         (main): Print number of errno tests.
9474         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9476 2013-04-29  Andreas Jaeger  <aj@suse.de>
9478         [BZ #15084]
9479         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9480         and RES_USEVC.
9482         [BZ #15085]
9483         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9484         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9485         unimplemented.
9487         [BZ #15380]
9488         * stdlib/random.c (__initstate): Return NULL if
9489         __initstate fails.
9491         [BZ #15086]
9492         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9493         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9494         RES_SNGLKUPREOP.
9496 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9500 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
9502         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9503         of individual tests.
9504         (casin_test): Likewise.
9505         (casinh_test): Likewise.
9507 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
9509         [BZ #15409]
9510         * math/s_catan.c (__catan): Handle arguments with large real or
9511         imaginary part separately without squaring.
9512         * math/s_catanf.c (__catanf): Likewise.
9513         * math/s_catanh.c (__catanh): Likewise.
9514         * math/s_catanhf.c (__catanhf): Likewise.
9515         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9516         and redefine.
9517         (__catanhl): Handle arguments with large real or imaginary part
9518         separately without squaring.
9519         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9520         and redefine.
9521         (__catanl): Handle arguments with large real or imaginary part
9522         separately without squaring.
9523         * math/libm-test.inc (catan_test): Add more tests.
9524         (catanh_test): Likewise.
9525         * sysdeps/i386/fpu/libm-test-ulps: Update.
9526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9528 2013-04-27  Andreas Jaeger  <aj@suse.de>
9530         [BZ #15007]
9531         * stdlib/stdlib.h: Update guards for qecvt.
9532         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9533         <stdlib.h>.
9535 2013-04-27  Allan McRae  <allan@archlinux.org>
9537         * sysdeps/i386/fpu/libm-test-ulps: Update.
9539 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
9541         [BZ #15406]
9542         * math/s_catan.c: Include <float.h>.
9543         (__catan): Ensure underflow exception occurs for underflowed
9544         result.
9545         * math/s_catanf.c: Include <float.h>.
9546         (__catanf): Ensure underflow exception occurs for underflowed
9547         result.
9548         * math/s_catanh.c: Include <float.h>.
9549         (__catanh): Ensure underflow exception occurs for underflowed
9550         result.
9551         * math/s_catanhf.c: Include <float.h>.
9552         (__catanhf): Ensure underflow exception occurs for underflowed
9553         result.
9554         * math/s_catanhl.c: Include <float.h>.
9555         (__catanhl): Ensure underflow exception occurs for underflowed
9556         result.
9557         * math/s_catanl.c: Include <float.h>.
9558         (__catanl): Ensure underflow exception occurs for underflowed
9559         result.
9560         * math/libm-test.inc (catan_test): Add more tests.
9561         (catanh_test): Likewise.
9563         [BZ #15405]
9564         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9565         underflowed result.
9566         * math/s_ccoshf.c (__ccoshf): Likewise.
9567         * math/s_ccoshl.c (__ccoshl): Likewise.
9568         * math/s_csin.c (__csin): Likewise.
9569         * math/s_csinf.c (__csinf): Likewise.
9570         * math/s_csinh.c (__csinh): Likewise.
9571         * math/s_csinhf.c (__csinhf): Likewise.
9572         * math/s_csinhl.c (__csinhl): Likewise.
9573         * math/s_csinl.c (__csinl): Likewise.
9574         * math/libm-test.inc (ccos_test): Add more tests.
9575         (ccosh_test): Likewise.
9576         (csin_test): Likewise.
9577         (csinh_test): Likewise.
9579 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9581         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9582         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9583         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9584         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9585         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9586         powerpc/power5+/fpu folders.
9587         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9590 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
9592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9594 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
9596         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9597         additions to variable.
9598         [$(config-machine) = x86_64] (modules-names): Likewise.
9599         ($(objpfx)tst-audit3): Remove dependency.
9600         ($(objpfx)tst-audit3.out): Likewise.
9601         ($(objpfx)tst-audit4): Likewise.
9602         ($(objpfx)tst-audit4.out): Likewise.
9603         ($(objpfx)tst-audit5): Likewise.
9604         ($(objpfx)tst-audit5.out): Likewise.
9605         ($(objpfx)tst-audit6): Likewise.
9606         ($(objpfx)tst-audit6.out): Likewise.
9607         ($(objpfx)tst-audit7): Likewise.
9608         ($(objpfx)tst-audit7.out): Likewise.
9609         (tst-audit3-ENV): Remove variable.
9610         (tst-audit4-ENV): Likewise.
9611         (tst-audit5-ENV): Likewise.
9612         (tst-audit6-ENV): Likewise.
9613         (tst-audit7-ENV): Likewise.
9614         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9615         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9616         addition to variable.
9617         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9618         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9619         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9620         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9621         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9622         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9623         tst-audit3, tst-audit4 and tst-audit5.
9624         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9625         tst-audit6 and tst-audit7.
9626         [$(subdir) = elf] (modules-names): Add audit modules for those
9627         tests.
9628         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9629         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9630         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9631         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9632         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9633         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9634         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9635         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9636         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9637         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9638         [$(subdir) = elf] (tst-audit3-ENV): New variable.
9639         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9640         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9641         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9642         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9643         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9644         Likewise.
9645         [$(subdir) = elf && $(config-cflags-avx) = yes]
9646         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9647         [$(subdir) = elf && $(config-cflags-avx) = yes]
9648         (CFLAGS-tst-auditmod4a.c): Likewise.
9649         [$(subdir) = elf && $(config-cflags-avx) = yes]
9650         (CFLAGS-tst-auditmod4b.c): Likewise.
9651         [$(subdir) = elf && $(config-cflags-avx) = yes]
9652         (CFLAGS-tst-auditmod6b.c): Likewise.
9653         [$(subdir) = elf && $(config-cflags-avx) = yes]
9654         (CFLAGS-tst-auditmod6c.c): Likewise.
9655         [$(subdir) = elf && $(config-cflags-avx) = yes]
9656         (CFLAGS-tst-auditmod7b.c): Likewise.
9657         * elf/tst-audit3.c: Move to ...
9658         * sysdeps/x86_64/tst-audit3.c: ... here.
9659         * elf/tst-audit4.c: Move to ...
9660         * sysdeps/x86_64/tst-audit4.c: ... here.
9661         * elf/tst-audit5.c: Move to ...
9662         * sysdeps/x86_64/tst-audit5.c: ... here.
9663         * elf/tst-audit6.c: Move to ...
9664         * sysdeps/x86_64/tst-audit6.c: ... here.
9665         * elf/tst-audit7.c: Move to ...
9666         * sysdeps/x86_64/tst-audit7.c: ... here.
9667         * elf/tst-auditmod3a.c: Move to ...
9668         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9669         * elf/tst-auditmod3b.c: Move to ...
9670         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9671         * elf/tst-auditmod4a.c: Move to ...
9672         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9673         * elf/tst-auditmod4b.c: Move to ...
9674         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9675         * elf/tst-auditmod5a.c: Move to ...
9676         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9677         * elf/tst-auditmod5b.c: Move to ...
9678         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9679         * elf/tst-auditmod6a.c: Move to ...
9680         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9681         * elf/tst-auditmod6b.c: Move to ...
9682         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9683         * elf/tst-auditmod6c.c: Move to ...
9684         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9685         * elf/tst-auditmod7a.c: Move to ...
9686         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9687         * elf/tst-auditmod7b.c: Move to ...
9688         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9690 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9692         [BZ #15366]
9693         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9694         define unconditionally.
9695         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9696         define unconditionally.
9697         (INT8_C, INT16_C, etc.): Likewise.
9699 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9701         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9702         __ehdr_start with hidden visibility.
9704         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9706 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9708         * math/libm-test.inc (cos_test): Use accurate hex constants.
9709         (sincost_test): Likewise.
9711 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9713         * math/libm-test.inc (catan_test): Add more tests.
9714         (catanh_test): Likewise.
9716         * math/s_catanf.c (__catanf): Use suffixed floating-point
9717         constants.
9718         * math/s_catanhf.c (__catanhf): Likewise.
9719         * math/s_catanhl.c (__catanhl): Likewise.
9720         * math/s_catanl.c (__catanl): Likewise.
9722         [BZ #15394]
9723         * math/s_catan.c (__catan): Calculate imaginary part of result
9724         with log1p not log unless computing log of number close to 0.
9725         * math/s_catanf.c (__catanf): Likewise.
9726         * math/s_catanl.c (__catanl): Likewise.
9727         * math/s_catanh.c (__catanh): Calculate real part of result with
9728         log1p not log unless computing log of number close to 0.
9729         * math/s_catanhf.c (__catanhf): Likewise.
9730         * math/s_catanhl.c (__catanhl): Likewise.
9731         * math/libm-test.inc (catan_test): Add more tests.
9732         (catanh_test): Likewise.
9733         * sysdeps/i386/fpu/libm-test-ulps: Update.
9734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9736 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9738         * benchtests/Makefile: Mention files in which fast and slow
9739         paths of math functions are implemented.
9741 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9743         * sysdeps/posix/timespec_get.c: New file.
9745 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9747         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9748         POWER.
9749         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9750         for POWER.
9751         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9752         powerpc/power5/fpu folders.
9753         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9754         * benchtests/Makefile: Add modf testcase.
9755         * benchtests/bench-modf.c: New file: Benchmark test for mo
9757 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9759         [BZ #14888]
9760         * time/Makefile (tests): Add tst-strptime-whitespace.
9761         * time/strptime_l.c (get_number): Use ISSPACE.
9762         (__strptime_internal): Likewise.
9763         * time/tst-strptime-whitespace.c: New test case.
9765 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9767         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9768         member.
9769         (_nss_files_init): Set it here.
9771 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9773         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9774         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9775         unsigned.
9777 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9779         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9781 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9783         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9784         size just once.
9786 2013-04-21  David S. Miller  <davem@davemloft.net>
9788         * po/ru.po: Update Russion translation from translation project.
9790 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9792         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9793         and setfsgid.
9795 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9797         * configure.in: Remove i386 configure warning. Remove i386 case.
9798         * configure: Regenerate.
9799         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9800         Add example to error message.
9801         * sysdeps/i386/configure: Regenerate.
9803 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9805         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9806         slowtan.
9807         * benchtests/cos-inputs: New file.
9808         * benchtests/slowcos-inputs: New file.
9809         * benchtests/slowcos.c: New file.
9810         * benchtests/slowtan-inputs: New file.
9811         * benchtests/slowtan.c: New file.
9812         * benchtests/tan-inputs: New file.
9814 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9816         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9817         considered kosher.
9819 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9821         * benchtests/Makefile: Include cppflags-iterator.mk to add
9822         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9824         * Makefile.in (bench-clean): New target.
9825         * benchtests/Makefile (bench-clean): Likewise.
9827 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9829         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9831 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9833         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9835 2013-04-15  Andreas Schwab  <schwab@suse.de>
9837         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9838         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9839         * nscd/pwdcache.c (cache_addpw): Likewise.
9840         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9841         more than recsize.
9843 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9845         * benchtests/Makefile (bench): Write all output to
9846         bench-out.tmp together.
9848 2013-04-15  Andreas Schwab  <schwab@suse.de>
9850         * nscd/nscd.c (main): Don't fork again after closing files.
9852 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9854         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9856         * benchtests/Rules (bench-deps): Collect dependencies into a
9857         single variable.  Add Makefile to dependencies.
9858         ($(objpfx)bench-%.c): Depend on bench-deps.
9860 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9861             Xavier Roche  <roche+kml2@exalead.com>
9863         [BZ #15361]
9864         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9865         just that it's a file descriptor.
9866         * manual/llio.texi (Synchronizing AIO Operations): Update description
9867         for EBADF error from aio_fsync.
9869 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9871         * Rules (bench): Move target definition...
9872         * benchtests/Makefile: ... here.
9874 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9876         * math/libm-test.inc (cos_test): Fix PI/2 test.
9877         (sincos_test): Likewise.
9878         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9879         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9881 2013-04-11  Andreas Schwab  <schwab@suse.de>
9883         [BZ #13988]
9884         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9885         accept exponent character only when digits were seen.
9886         * stdio-common/Makefile (tests): Add bug26.
9887         * stdio-common/bug26.c: New file.
9889         [BZ #14293]
9890         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9891         non-freeable.
9893 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9895         * Makeconfig (rtld-prefix): Define built linker prefix.
9896         * Rules (run-bench): Use it.
9897         * math/Makefile (run-regen-ulps): Likewise.
9899         * Rules (bench): Remove eval.
9901 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9902             Roland McGrath  <roland@hack.frob.com>
9903             Ondrej Bilka  <neleai@seznam.cz>
9905         [BZ #15346]
9906         * time/getdate.c: Include ctype.h and alloca.h.
9907         (__getdate_r): Trim leading and trailing spaces of input.
9908         * time/tst-getdate.c (tests): Add tests with leading and
9909         trailing spaces.
9911 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9913         [BZ #14280]
9914         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9915         when computing value.
9917 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9919         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9920         Use testrun.sh to run libm tests.
9922         [BZ #15309]
9923         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9925 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9927         [BZ #15264]
9928         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9930 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9932         * Makefile.in (regen-ulps): New target.
9933         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9934         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9935         [ifneq (no,$(PERL)] (regen-ulps): New target.
9936         [ifeq (no,$(PERL)] (regen-ulps): New target.
9937         * math/libm-test.inc (ulps_file_name): Define.
9938         (output_dir): New variable.
9939         (options): Add "output-dir" option.
9940         (parse_opt): Handle 'o' case.
9941         (main): If output_dir is non-NULL use it as a prefix
9942         otherwise use "".
9943         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9945 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9947         [BZ #10060, #10062]
9948         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9949         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9950         fail configure if __sync_val_compare_and_swap is not inlined.
9951         * sysdeps/i386/configure: Regenerate.
9952         * configure.in: Build for i686 when configured for i386.
9953         * configure: Regenerate.
9954         * README: Remove i386 reference.
9956 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9958         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9959         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9961 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9963         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9964         (lmsnanval): New variables.
9965         (F): Add conversion tests.
9966         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9967         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9969         * stdio-common/tstdiomisc.c (F): Properly collect individual
9970         tests' results.
9972         [BZ #14686, #15336]
9973         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9974         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9975         Instead, use input NaN values or generate a qNaN by arithmetic
9976         operation.  Also fix bugs to comply with the standard.
9977         * math/libm-test.inc (remainder_test): Add more tests.
9979         [BZ #15335, #15342]
9980         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9981         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9982         input NaN values or generate a qNaN by arithmetic operation.
9984         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9985         unreachable code.
9987         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9988         definitions.
9990 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9992         [BZ #14478]
9993         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9994         underflowed result.
9995         * math/s_cexpf.c (__cexpf): Likewise.
9996         * math/s_cexpl.c (__cexpl): Likewise.
9997         * math/libm-test.inc (cexp_test): Add more tests.
9999 2013-04-03  Andreas Schwab  <schwab@suse.de>
10001         [BZ #15330]
10002         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10003         order arrays from heap if bigger than alloca cutoff.
10005 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
10007         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10008         (SNAN_TESTS_double): Refer to GCC PR56831.
10009         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10010         GCC PR56828.
10012 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10014         * Rules (bench): Move bench.out after the run is complete.
10016         * Rules (bench): Echo currently running benchmark.
10018         * benchtests/Makefile (bench): Add atan and slowatan.
10019         * benchtests/atan-inputs: New file.
10020         * benchtests/slowatan-inputs: New file.
10021         * benchtests/slowatan.c: New file.
10023         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10024         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10025         its value.
10027         [BZ #15305]
10028         * sysdeps/unix/sysv/linux/kernel-features.h
10029         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10030         __ASSUME_XFS_RESTRICTED_CHOWN.
10031         * sysdeps/unix/sysv/linux/pathconf.c
10032         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10033         Save and restore errno.
10035 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
10037         [BZ #15327]
10038         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10039         arguments using __kernel_casinh.
10040         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10041         arguments using __kernel_casinhf.
10042         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10043         arguments using __kernel_casinhl.
10044         * math/libm-test.inc (cacosh_test): Add more tests.
10045         * sysdeps/i386/fpu/libm-test-ulps: Update.
10046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10048 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10050         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10053         * bench/Makefile (bench): Add sin and slowsin.
10054         * benchtests/sin-inputs: New file.
10055         * benchtests/slowsin-inputs: New file.
10056         * benchtests/slowsin.c: New file.
10058         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10059         (bench): Add slowexp and slowpow.
10060         (exp-ITER): Increase iterations.
10061         (pow-ITER): Likewise.
10062         * benchtests/exp-inputs: Change input.
10063         * benchtests/pow-inputs: Likewise.
10064         * benchtests/slowexp-inputs: New file.
10065         * benchtests/slowexp.c: New file.
10066         * benchtests/slowpow-inputs: New file.
10067         * benchtests/slowpow.c: New file.
10069 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10071         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10072         instructions.
10073         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10074         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10075         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10076         * benchtests/Makefile: Add rint benchtest.
10077         * benchtests/rint-inputs: Input for rint benchtest.
10079 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
10081         * Versions.def (libm): Add GLIBC_2.18.
10082         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10083         hidden libm prototypes.
10084         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10085         * math/Makefile (libm-calls): Add s_issignaling.
10086         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10087         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
10088         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10089         declaration.
10090         * math/math.h [__USE_GNU] (issignaling): New macro.
10091         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10092         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10093         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10094         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10095         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10096         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10097         * manual/arith.texi (issignaling): New section.
10098         * manual/libm-err-tab.pl (@all_functions): Update comment.
10099         * math/gen-libm-test.pl (parse_args): Apply special handling for
10100         issignaling.
10101         * math/libm-test.inc (print_float, issignaling_test): New
10102         functions.
10103         (check_float_internal): Add issignaling checks.
10104         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10105         default definition.
10106         * sysdeps/powerpc/math-tests.h: New file.
10107         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10108         tests.
10109         * math/test-snan.c (TEST_FUNC): Likewise.
10111 2013-03-30  David S. Miller  <davem@davemloft.net>
10113         * po/de.po: Update from translation team.
10115 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
10117         [BZ #10357]
10118         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10119         imaginary part less than 1.0 and real part less than 0.5
10120         specially.
10121         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10122         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10123         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10124         (cacos_test): Add more tests.
10125         (casin_test): Likewise.
10126         (casinh_test): Likewise.
10127         * sysdeps/i386/fpu/libm-test-ulps: Update.
10128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10130 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10132         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10133         ONE with its value.
10135         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10136         (__pow_mp): Replace ONE and MONE with their values.
10137         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10138         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10139         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10140         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10141         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10142         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10144         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10146         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10147         (__pow_mp): Replace ZERO and MZERO with their values.
10148         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10149         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10150         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10152         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10153         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10154         (__sqr): Likewise.
10156         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10158         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10160 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10162         * include/stdlib.h [!SHARED] (__call_tls_dtors):
10163         Declare with __attribute__ ((weak)).
10164         * stdlib/exit.c (__libc_atexit) [!SHARED]:
10165         Call __call_tls_dtors only if it's not NULL.
10167 2013-03-28  Roland McGrath  <roland@hack.frob.com>
10169         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10170         didn't do it already, then set _dl_phdr and _dl_phnum based on the
10171         magic __ehdr_start linker symbol if it's defined.
10172         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10173         them up here if it was already done.
10175         * elf/dl-support.c (_dl_phdr): Make pointer to const.
10176         (_dl_aux_init): Use const in cast when setting it.
10177         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10178         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10179         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10181         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10182         Declare them here.
10183         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10184         * csu/libc-tls.c: Nor here.
10185         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10187         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10188         (__libc_message): Never call vsyslog.
10190 2013-03-28  Alan Modra  <amodra@gmail.com>
10192         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10193         Define as empty.
10194         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10195         Likewise.
10197 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10199         [BZ #15214]
10200         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10201         underflow.
10202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10204 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10206         [BZ #15304]
10207         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10208         Don't add gid passed as argument.
10210         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10212 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
10214         [BZ #15307]
10215         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10216         imaginary part between 1.0 and 1.5 and real part less than 0.5
10217         specially.
10218         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10219         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10220         * math/libm-test.inc (cacos_test): Add more tests.
10221         (casin_test): Likewise.
10222         (casinh_test): Likewise.
10223         * sysdeps/i386/fpu/libm-test-ulps: Update.
10224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10226 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10228         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10229         constants.
10230         (norm): Likewise.
10231         (denorm): Likewise.
10232         (__dbl_mp): Likewise.
10233         (add_magnitudes): Likewise.
10234         (sub_magnitudes): Likewise.
10235         (__add): Likewise.
10236         (__sub): Likewise.
10237         (__mul): Likewise.
10238         (__sqr): Likewise.
10239         (__inv): Likewise.
10240         (__dvd): Likewise.
10242         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10243         commented code.
10244         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10245         (__dubcos): Likewise.
10246         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10247         (__ieee754_acos): Likewise.
10248         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10249         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10250         (__exp1): Likewise.
10251         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10252         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10253         (log1): Likewise.
10254         (my_log2): Likewise.
10255         (checkint): Likewise.
10256         * sysdeps/ieee754/dbl-64/e_remainder.c
10257         (__ieee754_remainder): Likewise.
10258         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10259         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10260         (bsloww): Likewise.
10261         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10263         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10264         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10265         MANTISSA_STORE_T to store computations on mantissa.  Use
10266         macros for rounding and division.
10267         (denorm): Likewise.
10268         (__dbl_mp): Likewise.
10269         (add_magnitudes): Likewise.
10270         (sub_magnitudes): Likewise.
10271         (__mul): Likewise.
10272         (__sqr): Likewise.
10273         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10274         powers of two in terms of TWOPOW macro.
10275         (mp_no): Make type of mantissa as MANTISSA_T.
10276         [!RADIXI]: Define RADIXI.
10277         [!TWO52]: Define TWO52.
10278         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10280 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10282         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10283         llroundl symbol when building for PPC32.
10285 2013-03-24  Mark H Weaver  <mhw@netris.org>
10287         * manual/arith.texi (Normalization Functions): Fix prototypes for
10288         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10290 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10292         [BZ #13889]
10293         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10294         high value to check if expl overflow.
10295         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10296         to check for underflow and overflow.
10297         * math/libm-test.inc: Add exp test.
10299 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
10301         [BZ #11120]
10302         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10303         with NOT_IN_libc.
10305 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10307         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10308         symbol.
10310 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
10312         * math/gen-libm-test.pl (parse_args, special_functions): Properly
10313         wrap blocks consisting of several statements.
10315         * sysdeps/generic/math-tests.h: New file.
10316         * sysdeps/i386/fpu/math-tests.h: Likewise.
10317         * math/test-snan.c: Include it.
10318         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10320 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10322         [BZ #15285]
10323         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10324         (__ieee754_j0l): Do not improve calculations using cos of twice
10325         input for inputs above LDBL_MAX / 2.0L.
10326         (__ieee754_y0l): Likewise.
10327         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10328         (__ieee754_j1l): Do not improve calculations using cos of twice
10329         input for inputs above LDBL_MAX / 2.0L.
10330         (__ieee754_y1l): Likewise.
10331         * math/libm-test.inc (j0_test): Add another test.
10332         (j1_test): Likewise.
10333         (y0_test): Likewise.
10334         (y1_test): Likewise.
10335         * sysdeps/i386/fpu/libm-test-ulps: Update.
10337 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10339         * Rules ($(objpfx)bench-%.c): Include code from a C source
10340         file.
10342 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
10344         [BZ #15287]
10345         * math/k_casinh.c (__kernel_casinh): Handle arguments with
10346         imaginary part 1.0 and real part less than 0.5 specially.
10347         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10348         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10349         * math/libm-test.inc (cacos_test): Add more tests.
10350         (casin_test): Likewise.
10351         (casinh_test): Likewise.
10352         * sysdeps/i386/fpu/libm-test-ulps: Update.
10353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10355 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10357         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10358         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10360 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
10362         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10363         * config.make.in (config-cflags-sse4): Remove variable.
10364         (config-cflags-avx): Likewise.
10365         (config-cflags-sse2avx): Likewise.
10366         (config-cflags-novzeroupper): Likewise.
10367         (config-asflags-i686): Likewise.
10368         (have-mfma4): Likewise.
10369         (have-as-vis3): Likewise.
10370         (MIG): Likewise.
10371         * configure.in (MIG): Do not AC_SUBST.
10372         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10373         (libc_cv_cc_sse4): Do not AC_SUBST.
10374         (libc_cv_cc_avx): Likewise.
10375         (libc_cv_cc_sse2avx): Likewise.
10376         (libc_cv_cc_novzeroupper): Likewise.
10377         (libc_cv_cc_fma4): Likewise.
10378         (libc_cv_as_i686): Likewise.
10379         (libc_cv_sparc_as_vis3): Likewise.
10380         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10381         LIBC_CONFIG_VAR.
10382         (config-asflags-i686): Likewise.
10383         (config-cflags-avx): Likewise.
10384         (config-cflags-sse2avx): Likewise.
10385         (have-mfma4): Likewise.
10386         (config-cflags-novzeroupper): Likewise.
10387         * sysdeps/mach/configure.in (MIG): Likewise.
10388         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10389         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10390         LIBC_CONFIG_VAR.
10391         (config-cflags-avx): Likewise.
10392         (config-cflags-sse2avx): Likewise.
10393         (have-mfma4): Likewise.
10394         (config-cflags-novzeroupper): Likewise.
10395         * configure: Regenerated.
10396         * sysdeps/i386/configure: Likewise.
10397         * sysdeps/mach/configure: Likewise.
10398         * sysdeps/sparc/configure: Likewise.
10399         * sysdeps/x86_64/configure: Likewise.
10401 2013-03-20  Roland McGrath  <roland@hack.frob.com>
10403         [BZ #14812]
10404         * locale/programs/localedef.c (options): Put N_ translation marker
10405         on argument names, not just descriptions.
10407 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10409         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10411 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
10413         [BZ #14176]
10414         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10416 2013-03-19  Roland McGrath  <roland@hack.frob.com>
10418         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10419         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10420         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10421         [!BEFORE_ABORT] (before_abort): New function.
10422         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10423         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10424         (writev_for_fatal): New function.
10425         (WRITEV_FOR_FATAL): New macro; call that.
10426         (backtrace_and_maps): New function.
10427         (BEFORE_ABORT): New macro; call that.
10428         (struct str_list): Type removed.
10429         (__libc_message, __libc_fatal): Functions removed.
10430         Include <sysdeps/posix/libc_fatal.c> instead.
10432 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
10434         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10435         constants.
10436         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10437         double constants.
10439 2013-03-19  Andreas Schwab  <schwab@suse.de>
10441         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10442         * sysdeps/gnu/configure: Regenerate.
10444         * configure.in: Substitute libc_cv_rtlddir.
10445         * configure: Regenerate.
10446         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10447         * Makeconfig (rtlddir, inst_rtlddir): New variables.
10448         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10449         * elf/Makefile (install-others, CFLAGS-interp.c)
10450         (ldso_install, common-ldd-rewrite): Likewise.
10451         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10452         $(inst_slibdir)/$(rtld-installed-name).
10453         * scripts/rellns-sh: Add -p option.
10454         * Makerules (make-shlib-link): Use rellns-sh to get relative name
10455         for source.
10457 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10459         * manual/nptl.texi: Renamed to ...
10460         * manual/threads.texi: ... this.
10461         * manual/Makefile (chapters): Update.
10463 2013-03-18  Roland McGrath  <roland@hack.frob.com>
10465         [BZ #14812]
10466         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10467         on argument names, not just descriptions.
10468         * malloc/memusagestat.c (options): Likewise.
10469         * nss/getent.c (options): Likewise.
10471 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
10473         [BZ #14812]
10474         * iconv/iconv_prog.c (options): Put N_ translation marker
10475         on argument names, not just descriptions.
10476         * iconv/iconvconfig.c (options): Likewise.
10478 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
10480         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10481         implementation which is faster on all x86_64 architectures.
10482         Tested on AMD, Intel Nehalem, SNB, IVB.
10483         * sysdeps/x86_64/strnlen.S: Likewise.
10485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10486         Remove all multiarch strlen and strnlen versions.
10487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10488         Remove strlen and strnlen related parts.
10490         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10491         Inline strlen part.
10492         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10494         * sysdeps/x86_64/multiarch/strlen.S: Remove.
10495         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10496         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10497         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10498         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10499         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10501 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
10503         * manual/memory.texi (Malloc Tunable Parameters):
10504         Sort parameters alphabetically. Add comments for missing entries.
10506 2013-03-17  David S. Miller  <davem@davemloft.net>
10508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10510 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
10512         [BZ #15283]
10513         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10514         for arguments at most half maximum finite value.
10515         * math/libm-test.inc (j0_test): Add more tests.
10516         (j1_test): Likewise.
10517         (y0_test): Likewise.
10518         (y1_test): Likewise.
10519         * sysdeps/i386/fpu/libm-test-ulps: Update.
10520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10522         [BZ #14155]
10523         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10524         1 / x and functions P and Q for arguments above 0x1p256L.
10525         (__ieee754_y0l): Likewise.
10526         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10527         (__ieee754_y1l): Likewise.
10528         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10529         (j1_test): Likewise.
10530         (y0_test): Likewise.
10531         (y1_test): Likewise.
10533 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
10535         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10536         variable.
10538 2013-03-15  Roland McGrath  <roland@hack.frob.com>
10540         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10541         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10542         zero since it's initialized to EXEC_PAGESIZE.
10544         * sysdeps/unix/sysv/linux/ldsodefs.h
10545         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10546         * sysdeps/generic/ldsodefs.h: ... here.
10548 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
10550         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10552         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10553         math/test-snan.c.
10554         * math/test-snan.c: Renamed from
10555         sysdeps/powerpc/fpu/test-powerpc-snan.c.
10556         * math/Makefile (tests): Add test-snan.
10557         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10558         test-powerpc-snan.
10560         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10561         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
10562         functions.
10563         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
10564         __builtin_nan family of functions.
10565         * math/libm-test.inc (initialize): Initialize qnan_value with
10566         __builtin_nan family of functions.
10567         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10568         Remove variables.
10569         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10570         Remove functions.
10571         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
10572         storage class.  Initialize qNaN_var and sNaN_var with
10573         __builtin_nan and __builtin_nans families of functions,
10574         respectively.
10576         * math/libm-test.inc (acosh_test): Also test with qNaN input.
10577         (sqrt_test): Remove duplicate test with qNaN input.
10578         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10579         (round_test, signbit_test, significand_test): Note missing +/-Inf
10580         as well as qNaN tests.
10582         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10583         qNaN_var.  Fix a few strings, too.
10584         * math/libm-test.inc (nan_value): Rename to qnan_value.
10585         * math/gen-libm-test.pl (%beautify): Adjust to that.
10586         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10587         * math/test-misc.c (main): Likewise.
10588         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10589         to __qnan_bytes, and __qnan_union, respectively.
10590         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10591         Likewise.
10592         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10593         and lqnanval, respectively.
10594         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10595         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10596         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10597         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10599         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10600         * math/test-misc.c (main) [__x86_64__]: Enable test for long
10601         doubles.
10603         * math/test-misc.c (main): Fix copy'n'pastos.
10604         * misc/tst-efgcvt.c (special): Likewise.
10606         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10607         Remove declarations.
10609 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10611         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10612         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10613         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10614         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10616 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10618         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10619         macro to return vdso values correctly in IFUNC implementations.
10620         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10621         Optimization by using IFUNC.
10623 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10624             Richard Henderson  <rth@redhat.com>
10625             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10627         * Makefile.in (bench): New target.
10628         * NEWS: Mention the benchmark framework.
10629         * Rules (bench): Likewise.
10630         (binaries-bench): Generate binaries for functions to
10631         benchmark.
10632         * benchtests/Makefile: New makefile for benchmark tests.
10633         * benchtests/bench-skeleton.c: New skeleton file for benchmark
10634         programs.
10635         * benchtests/exp-inputs: New input file for EXP function.
10636         * benchtests/pow-inputs: New input file for POW function.
10637         * scripts/bench.pl: New script to generate source files for
10638         benchmark programs.
10640 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10642         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10643         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10644         computations on mantissa.  Use macros for rounding and
10645         division.
10646         (denorm): Likewise.
10647         (__dbl_mp): Likewise.
10648         (add_magnitudes): Likewise.
10649         (sub_magnitudes): Likewise.
10650         (__mul): Likewise.
10651         (__sqr): Likewise.
10652         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10653         powers of two in terms of TWOPOW macro.
10654         (mp_no): Make type of mantissa as MANTISSA_T.
10655         [!RADIXI]: Define RADIXI.
10656         [!TWO52]: Define TWO52.
10657         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10659         * manual/nptl.texi (cindex): Modify threads to pthreads.
10661 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
10663         * sysdeps/x86_64/preconfigure: Regenerated.
10665 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
10667         [BZ #14155]
10668         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10669         0x1p28 and above.
10670         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10671         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10672         0x1p28 and above.
10673         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10674         * math/libm-test.inc (j0_test): Do not allow one spurious
10675         underflow exception.
10676         (y1_test): Likewise.
10678 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10680         * manual/Makefile (chapters): Add nptl.
10681         * manual/debug.texi (Debugging Support): Add link to Threads
10682         chapter.
10683         * manual/nptl.texi: New file.
10685         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10687 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10689         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10690         for non-NULL pointer before the memory validity test. Pointed
10691         out by Holger Brunck <holger.brunck@keymile.com>.
10693 2013-03-13  Andreas Schwab  <schwab@suse.de>
10695         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10696         instead of .os.
10698 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10700         * timezone/zic.c: Update from tzcode 2013b.
10702 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10704         * manual/install.texi (Configuring and compiling):
10705         Mention i686 and i586.
10706         * INSTALL: Regenerate.
10708 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10710         * sysdeps/init_array/elf-init.c: New file.
10711         * csu/elf-init.c
10712         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10713         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10715         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10716         __gmon_start__ as global, but as static with a .preinit_array pointer.
10717         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10718         * sysdeps/init_array/crti.S: New file, empty except for comments.
10719         * sysdeps/init_array/crtn.S: Likewise.
10721 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10723         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10724         definining bcopy.
10725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10726         Remove Prefer_SSE_for_memop.
10727         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10728         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10729         HAS_PREFER_SSE_FOR_MEMOP.
10730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10731         memset-x86-64.
10732         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10733         Remove bzero, memset ifunc support.
10734         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10735         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10736         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10737         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10739 2013-03-11  Andreas Schwab  <schwab@suse.de>
10741         [BZ #15234]
10742         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10743         by SHLIB_COMPAT.
10744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10745         (GLIBC_2.16): Remove pthread_atfork.
10747 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10749         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10750         (ptestcases.h): Likewise.
10752 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10754         * Makeconfig ($(common-objpfx)config.status): Depend on
10755         sysdeps/*/preconfigure{,.in} too.
10757 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10759         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10760         (__free_hook): Use void * instead of __malloc_ptr_t.
10761         (__malloc_hook): Likewise.
10762         (__realloc_hook): Likewise.
10763         (__memalign_hook): Likewise.
10764         (__after_morecore_hook): Likewise.
10765         * malloc/arena.c (save_malloc_hook): Likewise.
10766         (save_free_hook): Likewise.
10767         * malloc/hooks.c (malloc_hook_ini): Likewise.
10768         (realloc_hook_ini): Likewise.
10769         (memalign_hook_ini): Likewise.
10770         * malloc/malloc.c (malloc_hook_ini): Likewise.
10771         (realloc_hook_ini): Likewise.
10772         (memalign_hook_ini): Likewise.
10773         (__free_hook): Likewise.
10774         (__malloc_hook): Likewise.
10775         (__realloc_hook): Likewise.
10776         (__memalign_hook): Likewise.
10777         (__libc_malloc): Likewise.
10778         (__libc_free): Likewise.
10779         (__libc_realloc): Likewise.
10780         (__libc_memalign): Likewise.
10781         (__libc_valloc): Likewise.
10782         (__libc_pvalloc): Likewise.
10783         (__libc_calloc): Likewise.
10784         (__posix_memalign): Likewise.
10785         * malloc/morecore.c (__sbrk): Likewise.
10786         (__default_morecore): Likewise.
10788         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10790         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10791         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10792         __malloc_ptrdiff_t.
10794         * malloc/malloc.h (__malloc_size_t): Remove macro.
10795         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10796         __malloc_size_t.
10797         (old_memalign_hook): Likewise.
10798         (old_realloc_hook): Likewise.
10799         (struct hdr): Likewise.
10800         (flood): Likewise.
10801         (mallochook): Likewise.
10802         (memalignhook): Likewise.
10803         (reallochook): Likewise.
10804         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10805         (tr_old_realloc_hook): Likewise.
10806         (tr_old_memalign_hook): Likewise.
10807         (tr_mallochook): Likewise.
10808         (tr_reallochook): Likewise.
10809         (tr_memalignhook): Likewise.
10811 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10813         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10814         default_ldbl_pack and using as default implementation.
10815         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10816         implementation.
10817         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10818         redundant definition.
10819         (ldbl_insert_mantissa): Likewise.
10820         (ldbl_canonicalize): Likewise.
10821         (ldbl_nearbyint): Likewise.
10822         (ldbl_pack): Rename to ldbl_pack_ppc.
10823         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10824         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10825         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10827 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10830         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10831         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10832         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10834         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10835         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10836         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10838 2013-03-07  Andreas Jaeger  <aj@suse.de>
10840         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10841         bits/mman-linux.h.
10843 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10845         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10846         Include mpa.h and declare __MPEXP.
10847         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10848         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10849         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10850         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10851         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10852         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10853         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10855         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10856         (__slowpow): Use long double EXPL and LOGL functions to
10857         compute POW.
10858         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10859         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10860         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10861         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10862         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10863         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10866         intermediate variable to calculate exponent.
10867         (__sqr): Likewise.
10868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10869         Likewise.
10870         (__sqr): Likewise.
10872         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10873         [!NO__SQR]: Define __sqr.
10874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10875         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10876         sysdeps/ieee754/dbl-64/mpa.c.
10877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10879         [BZ #12723]
10880         * posix/Makefile (tests): Add tst-pathconf.
10881         * posix/tst-pathconf.c: New test case.
10882         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10883         _PC_PIPE_BUF.
10884         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10886 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10888         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10890 2013-03-06  Andreas Jaeger  <aj@suse.de>
10892         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10893         definition via __MAP_ANONYMOUS.
10895         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10896         it's not part of Linux headers.
10898         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10899         (MAP_HUGE_MASK): Define.
10901         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10902         Define.
10903         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10904         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10905         Define.
10906         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10907         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10908         Define.
10909         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10910         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10911         Define.
10912         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10914         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10915         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10916         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10917         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10918         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10919         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10921         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10922         Handle f2fs.
10924         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10925         Handle f2fs and efivarfs.
10927         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10928         f2fs.
10930         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10931         (EFIVARFS_MAGIC): Add.
10932         (F2FS_LINK_MAX): Add.
10934 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10936         * stdio-common/vfprintf.c: Replace __builtin_expect with
10937         __glibc_unlikely.
10939 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10941         [BZ #13550]
10942         * sysdeps/generic/bp-sym.h: Remove file.
10943         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10944         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10945         <bp-sym.h> and <bp-asm.h>.
10946         (__longjmp): Don't use BP_SYM.
10947         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10948         and <bp-asm.h>.
10949         (memcpy): Don't use BP_SYM.
10950         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10951         <bp-sym.h> and <bp-asm.h>.
10952         (memcpy): Don't use BP_SYM.
10953         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10954         <bp-asm.h>.
10955         (memcpy): Don't use BP_SYM.
10956         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10957         <bp-asm.h>.
10958         (memset): Don't use BP_SYM.
10959         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10960         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10961         (__bzero): Don't use BP_SYM.
10962         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10963         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10964         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10965         <bp-sym.h> and <bp-asm.h>.
10966         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10967         pointers.
10968         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10969         <bp-sym.h> and <bp-asm.h>.
10970         (memcpy): Don't use BP_SYM.
10971         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10972         <bp-sym.h> and <bp-asm.h>.
10973         (memset): Don't use BP_SYM.
10974         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10975         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10976         (__bzero): Don't use BP_SYM.
10977         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10978         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10979         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10980         <bp-sym.h> and <bp-asm.h>.
10981         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10982         pointers.
10983         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10984         <bp-sym.h> and <bp-asm.h>.
10985         (memcpy): Don't use BP_SYM.
10986         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10987         <bp-sym.h> and <bp-asm.h>.
10988         (memset): Don't use BP_SYM.
10989         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10990         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10991         (__bzero): Don't use BP_SYM.
10992         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10993         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10994         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10995         <bp-sym.h> and <bp-asm.h>.
10996         (__memchr): Don't use BP_SYM.
10997         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10998         <bp-sym.h> and <bp-asm.h>.
10999         (memcmp): Don't use BP_SYM.  Remove comment about bounded
11000         pointers.
11001         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11002         <bp-sym.h> and <bp-asm.h>.
11003         (memcpy): Don't use BP_SYM.
11004         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11005         <bp-sym.h> and <bp-asm.h>.
11006         (__mempcpy): Don't use BP_SYM.
11007         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11008         <bp-sym.h> and <bp-asm.h>.
11009         (__memrchr): Don't use BP_SYM.
11010         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11011         <bp-sym.h> and <bp-asm.h>.
11012         (memset): Don't use BP_SYM.
11013         (__bzero): Likewise.
11014         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11015         <bp-sym.h> and <bp-asm.h>.
11016         (__rawmemchr): Don't use BP_SYM.
11017         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11018         <bp-sym.h> and <bp-asm.h>.
11019         (__STRCMP): Don't use BP_SYM.
11020         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11021         <bp-sym.h> and <bp-asm.h>.
11022         (strchr): Don't use BP_SYM.
11023         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11024         <bp-sym.h> and <bp-asm.h>.
11025         (__strchrnul): Don't use BP_SYM.
11026         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11027         <bp-sym.h> and <bp-asm.h>.
11028         (strlen): Don't use BP_SYM.
11029         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11030         <bp-sym.h> and <bp-asm.h>.
11031         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11032         pointers.
11033         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11034         <bp-sym.h> and <bp-asm.h>.
11035         (__strnlen): Don't use BP_SYM.
11036         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11037         <bp-sym.h> and <bp-asm.h>.
11038         (__GI__setjmp): Don't use BP_SYM.
11039         (_setjmp): Likewise.
11040         (__sigsetjmp): Likewise.
11041         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11042         (L(start_addresses)): Don't use BP_SYM.
11043         (_start): Likewise.
11044         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11045         <bp-asm.h>.
11046         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11047         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11048         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11049         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11050         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11051         <bp-asm.h>.
11052         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11053         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
11054         about bounded pointers.
11055         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11056         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11057         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11058         <bp-asm.h>.
11059         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11060         about bounded pointers.  Remove GKM FIXME comments.
11061         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11062         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11063         <bp-asm.h>.
11064         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11065         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
11066         Remove GKM FIXME comments.
11067         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11068         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11069         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11070         <bp-asm.h>.
11071         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
11072         about bounded pointers.  Remove GKM FIXME comment.
11073         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11074         and <bp-asm.h>.
11075         (strncmp): Don't use BP_SYM.  Remove comment about bounded
11076         pointers.
11077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11078         <bp-sym.h> and <bp-asm.h>.
11079         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11081         <bp-sym.h> and <bp-asm.h>.
11082         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11083         comment.
11085 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11087         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11088         call free(NULL).
11090 2013-03-05  David S. Miller  <davem@davemloft.net>
11092         * po/es.po: Update from translation team.
11094 2013-03-05  Andreas Jaeger  <aj@suse.de>
11096         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11097         <bits/mman-linux.h>.
11098         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11099         is fine.
11100         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11101         <bits/mman-linux.h> to end of file.
11102         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11103         is fine.
11104         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11105         <bits/mman-linux.h> to end of file.
11106         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11107         is fine.
11108         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11109         <bits/mman-linux.h> to end of file.
11111         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11112         (MCL_CURRENT, MCL_FUTURE): Define here.
11114 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11116         [BZ #15232]
11117         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11118         attribute_hidden.
11119         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11121 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11123         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11124         fourth parameter needed for rt_sigprocmask syscall.
11125         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11126         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11127         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11128         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11129         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11130         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11132 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
11134         [BZ #13550]
11135         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11136         comment about bounded pointers.
11137         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11138         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11140 2013-03-04  Andreas Jaeger  <aj@suse.de>
11142         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11143         common definitions.
11145         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11146         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11147         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11148         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11149         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11150         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11152 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11154         [BZ #15055]
11155         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11156         __ieee754_sqrl instead of __sqrl.
11158 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
11160         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11161         * sysdeps/powerpc/fpu_control.h: ... here.
11162         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11163         * sysdeps/powerpc/bits/fenvinline.h: ... here.
11164         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11165         * sysdeps/powerpc/bits/mathinline.h: ... here.
11167 2013-03-01  Roland McGrath  <roland@hack.frob.com>
11169         * elf/dl-hwcaps.c (_dl_important_hwcaps):
11170         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11171         to just [NEED_DL_SYSINFO_DSO].
11172         * elf/dl-support.c: Likewise.
11173         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11174         * elf/rtld.c (dl_main): Likewise.
11175         * elf/setup-vdso.h (setup_vdso): Likewise.
11176         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11177         * sysdeps/unix/sysv/linux/dl-sysdep.c
11178         (_dl_discover_osversion): Likewise.
11180 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
11182         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11183         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11185 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11187         * NEWS: Mention libm performance improvements and non-x86 PI
11188         futex support.
11190         * csu/libc-start.c (__pthread_initialize_minimal): Change
11191         function arguments.
11192         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11194 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
11196         [BZ #13550]
11197         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11198         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11199         <bp-sym.h> and <bp-asm.h>.
11200         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11201         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11202         and <bp-asm.h>.
11203         (memcpy): Don't use BP_SYM.
11204         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11205         <bp-asm.h>.
11206         (__mpn_add_n): Don't use BP_SYM.
11207         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11208         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11209         and <bp-asm.h>.
11210         (__mpn_addmul_1): Don't use BP_SYM.
11211         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11212         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11213         <bp-sym.h>.
11214         (_setjmp): Don't use BP_SYM.
11215         (__novmx_setjmp): Likewise.
11216         (__GI__setjmp): Likewise.
11217         (__vmx_setjmp): Likewise.
11218         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11219         <bp-sym.h>.
11220         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11221         (__bzero): Don't use BP_SYM.
11222         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11223         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11224         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11225         <bp-sym.h> and <bp-asm.h>.
11226         (memcpy): Don't use BP_SYM.
11227         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11228         <bp-sym.h> and <bp-asm.h>.
11229         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11230         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11231         <bp-sym.h> and <bp-asm.h>.
11232         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11233         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11234         <bp-asm.h>.
11235         (__mpn_lshift): Don't use BP_SYM.
11236         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11237         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11238         <bp-asm.h>.
11239         (memset): Don't use BP_SYM.
11240         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11241         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11242         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11243         <bp-asm.h>.
11244         (__mpn_mul_1): Don't use BP_SYM.
11245         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11246         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11247         <bp-sym.h> and <bp-asm.h>.
11248         (memcmp): Don't use BP_SYM.
11249         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11250         <bp-sym.h> and <bp-asm.h>.
11251         (memcpy): Don't use BP_SYM.
11252         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11253         <bp-sym.h> and <bp-asm.h>.
11254         (memset): Don't use BP_SYM.
11255         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11256         <bp-sym.h> and <bp-asm.h>.
11257         (strncmp): Don't use BP_SYM.
11258         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11259         <bp-sym.h> and <bp-asm.h>.
11260         (memcpy): Don't use BP_SYM.
11261         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11262         <bp-sym.h> and <bp-asm.h>.
11263         (memset): Don't use BP_SYM.
11264         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11265         <bp-sym.h> and <bp-asm.h>.
11266         (__memchr): Don't use BP_SYM.
11267         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11268         <bp-sym.h> and <bp-asm.h>.
11269         (memcmp): Don't use BP_SYM.
11270         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11271         <bp-sym.h> and <bp-asm.h>.
11272         (memcpy): Don't use BP_SYM.
11273         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11274         <bp-sym.h> and <bp-asm.h>.
11275         (__mempcpy): Don't use BP_SYM.
11276         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11277         <bp-sym.h> and <bp-asm.h>.
11278         (__memrchr): Don't use BP_SYM.
11279         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11280         <bp-sym.h> and <bp-asm.h>.
11281         (memset): Don't use BP_SYM.
11282         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11283         <bp-sym.h> and <bp-asm.h>.
11284         (__rawmemchr): Don't use BP_SYM.
11285         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11286         <bp-sym.h> and <bp-asm.h>.
11287         (__STRCMP): Don't use BP_SYM.
11288         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11289         <bp-sym.h> and <bp-asm.h>.
11290         (strchr): Don't use BP_SYM.
11291         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11292         <bp-sym.h> and <bp-asm.h>.
11293         (__strchrnul): Don't use BP_SYM.
11294         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11295         <bp-sym.h> and <bp-asm.h>.
11296         (strlen): Don't use BP_SYM.
11297         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11298         <bp-sym.h> and <bp-asm.h>.
11299         (strncmp): Don't use BP_SYM.
11300         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11301         <bp-sym.h> and <bp-asm.h>.
11302         (__strnlen): Don't use BP_SYM.
11303         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11304         <bp-asm.h>.
11305         (__mpn_rshift): Don't use BP_SYM.
11306         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11307         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11308         <bp-sym.h> and <bp-asm.h>.
11309         (__sigsetjmp): Don't use BP_SYM.
11310         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11311         (L(start_addresses)): Don't use BP_SYM.
11312         (_start): Likewise.
11313         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11314         <bp-asm.h>.
11315         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11316         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11317         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11318         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11319         <bp-asm.h>.
11320         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11321         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11322         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11323         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11324         <bp-asm.h>.
11325         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11326         comments.
11327         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11328         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11329         <bp-asm.h>.
11330         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
11331         FIXME comments.
11332         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11333         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11334         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11335         <bp-asm.h>.
11336         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
11337         comment.
11338         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11339         and <bp-asm.h>.
11340         (strncmp): Don't use BP_SYM,
11341         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11342         <bp-asm.h>.
11343         (__mpn_sub_n): Don't use BP_SYM.
11344         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11345         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11346         and <bp-asm.h>.
11347         (__mpn_submul_1): Don't use BP_SYM.
11348         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11350         <bp-sym.h> and <bp-asm.h>.
11351         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11353         <bp-sym.h> and <bp-asm.h>.
11354         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
11355         comment.
11357 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11360         Use ZK to minimize writes to Z.
11361         (sub_magnitudes): Simplify code a bit.
11362         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11363         Use ZK to minimize writes to Z.
11364         (sub_magnitudes): Simplify code a bit.
11366 2013-02-27  Roland McGrath  <roland@hack.frob.com>
11368         * csu/gmon-start.c: Add special exception to license text.
11370 2013-02-27  Richard Henderson  <rth@redhat.com>
11372         * scripts/config.guess: Update from config.git.
11373         * scripts/config.sub: Likewise.
11375 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11377         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11379         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11381         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11383         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11385         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11387 2013-02-26  Roland McGrath  <roland@hack.frob.com>
11389         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11390         [$(build-shared = yes].
11392 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11394         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11395         (__mul): Reduce iterations for calculating mantissa.
11397         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11398         MPTWO.
11399         (__mpranred): Likewise.
11401         [BZ #15160]
11402         * malloc/memusagestat.c (main): Draw graphs for heap and stack
11403         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11405 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
11407         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11408         Define __attribute__.
11410 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11412         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11413         unused.
11414         * posix/regex_internal.h (__attribute): Remove.
11415         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11416         (re_string_context_at): Likewise.
11417         (bitset_not): Use __attribute__ and mark function as possibly
11418         unused.
11419         (bitset_merge): Likewise.
11420         (bitset_mask): Likewise.
11421         (re_string_char_size_at): Likewise.
11422         (re_string_wchar_at): Likewise.
11423         (re_string_elem_size_at): Likewise.
11425 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11427         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11428         code.
11429         (cc32): Likewise.
11431         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11432         (__acr): Likewise.
11433         (__cpy): Likewise.
11434         (norm): Likewise.
11435         (denorm): Likewise.
11436         (__dbl_mp): Likewise.
11437         (add_magnitudes): Likewise.
11438         (sub_magnitudes): Likewise.
11439         (__mul): Likewise.
11440         (__inv): Likewise.
11442         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11443         style.
11445         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11446         style.
11448         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11449         code.
11451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11452         up changes with default code.
11453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11454         Likewise.
11456 2013-02-24  Allan McRae  <allan@archlinux.org>
11458         * manual/socket.texi (The Internet Namespace): Order menu items
11459         to match that in the file.
11461         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11462         node listing of the info page menu.
11464 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
11466         [BZ #13550]
11467         * sysdeps/i386/bp-asm.h: Remove file.
11468         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11469         (PARMS): Do not use macros from bp-asm.h.
11470         (S1): Likewise.
11471         (S2): Likewise.
11472         (SIZE): Likewise.
11473         (__mpn_add_n): Do not use BP_SYM
11474         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11475         "bp-asm.h".
11476         (PARMS): Do not use macros from bp-asm.h.
11477         (S1): Likewise.
11478         (SIZE): Likewise.
11479         (__mpn_addmul_1): Do not use BP_SYM
11480         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11481         "bp-asm.h".
11482         (PARMS): Do not use macros from bp-asm.h.
11483         (SIGMSK): Likewise.
11484         (_setjmp): Likewise.  Do not use BP_SYM.
11485         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11486         "bp-asm.h".
11487         (PARMS): Do not use macros from bp-asm.h.
11488         (SIGMSK): Likewise.
11489         (setjmp): Likewise.  Do not use BP_SYM.
11490         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11491         "bp-asm.h".
11492         (PARMS): Do not use macros from bp-asm.h.
11493         (__frexp): Do not use BP_SYM.
11494         (frexp): Likewise.
11495         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11496         "bp-asm.h".
11497         (PARMS): Do not use macros from bp-asm.h.
11498         (__frexpf): Do not use BP_SYM.
11499         (frexpf): Likewise.
11500         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11501         "bp-asm.h".
11502         (PARMS): Do not use macros from bp-asm.h.
11503         (__frexpl): Do not use BP_SYM.
11504         (frexpl): Likewise.
11505         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11506         "bp-asm.h".
11507         (PARMS): Do not use macros from bp-asm.h.
11508         (__remquo): Do not use BP_SYM.
11509         (remquo): Likewise.
11510         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11511         "bp-asm.h".
11512         (PARMS): Do not use macros from bp-asm.h.
11513         (__remquof): Do not use BP_SYM.
11514         (remquof): Likewise.
11515         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11516         "bp-asm.h".
11517         (PARMS): Do not use macros from bp-asm.h.
11518         (__remquol): Do not use BP_SYM.
11519         (remquol): Likewise.
11520         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11521         "bp-asm.h".
11522         (PARMS): Do not use macros from bp-asm.h.
11523         (DEST): Likewise.
11524         (SRC): Likewise.
11525         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
11526         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11527         "bp-asm.h".
11528         (PARMS): Do not use macros from bp-asm.h.
11529         (strlen): Do not use BP_SYM.
11530         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11531         "bp-asm.h".
11532         (PARMS): Do not use macros from bp-asm.h.
11533         (S1): Likewise.
11534         (S2): Likewise.
11535         (SIZE): Likewise.
11536         (__mpn_add_n): Do not use BP_SYM.
11537         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11538         "bp-asm.h".
11539         (PARMS): Do not use macros from bp-asm.h.
11540         (S1): Likewise.
11541         (SIZE): Likewise.
11542         (__mpn_addmul_1): Do not use BP_SYM.
11543         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11544         weak_alias.
11545         (bzero): Likewise.
11546         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11547         "bp-asm.h".
11548         (PARMS): Do not use macros from bp-asm.h.
11549         (S): Likewise.
11550         (SIZE): Likewise.
11551         (__mpn_lshift): Do not use BP_SYM.
11552         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11553         "bp-asm.h".
11554         (PARMS): Do not use macros from bp-asm.h.
11555         (DEST): Likewise.
11556         (SRC): Likewise.
11557         (LEN): Likewise.
11558         (memcpy): Likewise.  Do not use BP_SYM.
11559         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11560         libc_hidden_def and weak_alias.
11561         (mempcpy): Do not use BP_SYM in weak_alias.
11562         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
11567         [!BZERO_P] (CHR): Likewise.
11568         (memset): Likewise.  Do not use BP_SYM.
11569         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11570         "bp-asm.h".
11571         (PARMS): Do not use macros from bp-asm.h.
11572         (S1): Likewise.
11573         (SIZE): Likewise.
11574         (__mpn_mul_1): Do not use BP_SYM.
11575         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11576         "bp-asm.h".
11577         (PARMS): Do not use macros from bp-asm.h.
11578         (S): Likewise.
11579         (SIZE): Likewise.
11580         (__mpn_rshift): Do not use BP_SYM.
11581         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11582         "bp-asm.h".
11583         (PARMS): Do not use macros from bp-asm.h.
11584         (STR): Likewise.
11585         (CHR): Likewise.
11586         (strchr): Likewise.  Do not use BP_SYM.
11587         (index): Do not use BP_SYM in weak_alias.
11588         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11589         "bp-asm.h".
11590         (PARMS): Do not use macros from bp-asm.h.
11591         (DEST): Likewise.
11592         (SRC): Likewise.
11593         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
11594         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11595         "bp-asm.h".
11596         (PARMS): Do not use macros from bp-asm.h.
11597         (strlen): Do not use BP_SYM.
11598         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11599         "bp-asm.h".
11600         (PARMS): Do not use macros from bp-asm.h.
11601         (S1): Likewise.
11602         (S2): Likewise.
11603         (SIZE): Likewise.
11604         (__mpn_sub_n): Do not use BP_SYM.
11605         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11606         "bp-asm.h".
11607         (PARMS): Do not use macros from bp-asm.h.
11608         (S1): Likewise.
11609         (SIZE): Likewise.
11610         (__mpn_submul_1): Do not use BP_SYM.
11611         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11612         "bp-asm.h".
11613         (PARMS): Do not use macros from bp-asm.h.
11614         (S1): Likewise.
11615         (S2): Likewise.
11616         (SIZE): Likewise.
11617         (__mpn_add_n): Do not use BP_SYM.
11618         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11619         weak_alias.
11620         (bzero): Likewise.
11621         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11622         "bp-asm.h".
11623         (PARMS): Do not use macros from bp-asm.h.
11624         (BLK2): Likewise.
11625         (LEN): Likewise.
11626         (memcmp): Do not use BP_SYM.
11627         (bcmp): Do not use BP_SYM in weak_alias.
11628         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11629         "bp-asm.h".
11630         (PARMS): Do not use macros from bp-asm.h.
11631         (DEST): Likewise.
11632         (SRC): Likewise.
11633         (LEN): Likewise.
11634         (memcpy): Likewise.  Do not use BP_SYM.
11635         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11636         "bp-asm.h".
11637         (PARMS): Do not use macros from bp-asm.h.
11638         (DEST): Likewise.
11639         (SRC): Likewise.
11640         (LEN): Likewise.
11641         (memmove): Likewise.  Do not use BP_SYM.
11642         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11643         "bp-asm.h".
11644         (PARMS): Do not use macros from bp-asm.h.
11645         (DEST): Likewise.
11646         (SRC): Likewise.
11647         (LEN): Likewise.
11648         (__mempcpy): Likewise.  Do not use BP_SYM.
11649         (mempcpy): Do not use BP_SYM in weak_alias.
11650         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11651         "bp-asm.h".
11652         (PARMS): Do not use macros from bp-asm.h.
11653         (DEST): Likewise.
11654         (LEN): Likewise.
11655         [!BZERO_P] (CHR): Likewise.
11656         (memset): Likewise.  Do not use BP_SYM.
11657         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11658         "bp-asm.h".
11659         (PARMS): Do not use macros from bp-asm.h.
11660         (STR2): Likewise.
11661         (strcmp): Do not use BP_SYM.
11662         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11663         "bp-asm.h".
11664         (PARMS): Do not use macros from bp-asm.h.
11665         (STR): Likewise.
11666         (DELIM): Likewise.
11667         [USE_AS_STRTOK_R] (SAVE): Likewise.
11668         (FUNCTION): Likewise.  Do not use BP_SYM.
11669         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11670         aliases.
11671         (strtok_r): Likewise.
11672         (__GI___strtok_r): Likewise.
11673         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11674         (PARMS): Do not use macros from bp-asm.h.
11675         (S): Likewise.
11676         (SIZE): Likewise.
11677         (__mpn_lshift): Do not use BP_SYM.
11678         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11679         (PARMS): Do not use macros from bp-asm.h.
11680         (STR): Likewise.
11681         (CHR): Likewise.
11682         (__memchr): Do not use BP_SYM.
11683         (memchr): Do not use BP_SYM in weak_alias.
11684         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11685         (PARMS): Do not use macros from bp-asm.h.
11686         (BLK2): Likewise.
11687         (LEN): Likewise.
11688         (memcmp): Do not use BP_SYM.
11689         (bcmp): Do not use BP_SYM in weak_alias.
11690         * sysdeps/i386/mul_1.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         (SIZE): Likewise.
11694         (__mpn_mul_1): Do not use BP_SYM.
11695         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11696         "bp-asm.h".
11697         (PARMS): Do not use macros from bp-asm.h.
11698         (STR): Likewise.
11699         (CHR): Likewise.
11700         (__rawmemchr): Do not use BP_SYM.
11701         (rawmemchr): Do not use BP_SYM in weak_alias.
11702         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11703         (PARMS): Do not use macros from bp-asm.h.
11704         (S): Likewise.
11705         (SIZE): Likewise.
11706         (__mpn_rshift): Do not use BP_SYM.
11707         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11708         (PARMS): Do not use macros from bp-asm.h.
11709         (SIGMSK): Likewise.
11710         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11711         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11712         (_start): Do not use BP_SYM.
11713         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11714         (PARMS): Do not use macros from bp-asm.h.
11715         (DEST): Likewise.
11716         (SRC): Likewise.
11717         (__stpcpy): Likewise.  Do not use BP_SYM.
11718         (stpcpy): Do not use BP_SYM in weak_alias.
11719         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11720         "bp-asm.h".
11721         (PARMS): Do not use macros from bp-asm.h.
11722         (DEST): Likewise.
11723         (SRC): Likewise.
11724         (LEN): Likewise.
11725         (__stpncpy): Likewise.  Do not use BP_SYM.
11726         (stpncpy): Do not use BP_SYM in weak_alias.
11727         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11728         (PARMS): Do not use macros from bp-asm.h.
11729         (STR): Likewise.
11730         (CHR): Likewise.
11731         (strchr): Likewise.  Do not use BP_SYM.
11732         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11733         "bp-asm.h".
11734         (PARMS): Do not use macros from bp-asm.h.
11735         (STR): Likewise.
11736         (CHR): Likewise.
11737         (__strchrnul): Likewise.  Do not use BP_SYM.
11738         (strchrnul): Do not use BP_SYM in weak_alias.
11739         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11740         "bp-asm.h".
11741         (PARMS): Do not use macros from bp-asm.h.
11742         (STOP): Likewise.
11743         (strcspn): Do not use BP_SYM.
11744         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11745         "bp-asm.h".
11746         (PARMS): Do not use macros from bp-asm.h.
11747         (STR): Likewise.
11748         (STOP): Likewise.
11749         (strpbrk): Likewise.  Do not use BP_SYM.
11750         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11751         "bp-asm.h".
11752         (PARMS): Do not use macros from bp-asm.h.
11753         (STR): Likewise.
11754         (CHR): Likewise.
11755         (strrchr): Likewise.  Do not use BP_SYM.
11756         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11757         (PARMS): Do not use macros from bp-asm.h.
11758         (SKIP): Likewise.
11759         (strspn): Do not use BP_SYM.
11760         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11761         (PARMS): Do not use macros from bp-asm.h.
11762         (STR): Likewise.
11763         (DELIM): Likewise.
11764         (SAVE): Likewise.
11765         (FUNCTION): Likewise.  Do not use BP_SYM.
11766         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11767         aliases.
11768         (strtok_r): Likewise.
11769         (__GI___strtok_r): Likewise.
11770         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11771         (PARMS): Do not use macros from bp-asm.h.
11772         (S1): Likewise.
11773         (S2): Likewise.
11774         (SIZE): Likewise.
11775         (__mpn_sub_n): Do not use BP_SYM.
11776         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11777         "bp-asm.h".
11778         (PARMS): Do not use macros from bp-asm.h.
11779         (S1): Likewise.
11780         (SIZE): Likewise.
11781         (__mpn_submul_1): Do not use BP_SYM.
11782         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11783         <bp-sym.h>.
11784         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11785         and <bp-asm.h>.
11786         (PARMS): Do not use macros from bp-asm.h.
11787         (FLAGS): Likewise.
11788         (PTID): Likewise.
11789         (TLS): Likewise.
11790         (CTID): Likewise.
11791         (__clone): Do not use BP_SYM.
11792         (clone): Do not use BP_SYM in weak_alias.
11793         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11794         and <bp-asm.h>.
11795         (PARMS): Do not use macros from bp-asm.h.
11796         (LEN): Likewise.
11797         (__mmap64): Do not use BP_SYM.
11798         (mmap64): Do not use BP_SYM in weak_alias.
11799         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11800         <bp-sym.h> and <bp-asm.h>.
11801         (PARMS): Do not use macros from bp-asm.h.
11802         (__posix_fadvise64_l64): Do not use BP_SYM.
11803         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11804         (PARMS): Do not use macros from bp-asm.h.
11805         (NSOPS): Likewise.
11806         (semtimedop): Do not use BP_SYM.
11807         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11808         and <bp-asm.h>.
11810 2013-02-21  Allan McRae  <allan@archlinux.org>
11812         * manual/message.texi (Charset conversion in gettext):
11813         Move @end statement to beginning of line.
11815 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11818         static.
11819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11820         Likewise.
11822         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11823         (denorm): Likewise.
11824         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11827 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11829         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11830         tail-call to the resolved function if pltexit isn't needed.
11832 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11835         or Y being zero as being unlikely.
11836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11837         Likewise.
11839 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11841         * manual/nss.texi (System Databases and Name Service Switch):
11842         Remove frobnicate @pxref.
11844 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11846         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11847         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11849 2013-02-20  Petr Machata  <pmachata@redhat.com>
11851         * elf/elf.h (R_ARM_TARGET1): New macro.
11852         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11853         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11854         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11855         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11856         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11857         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11858         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11859         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11860         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11861         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11862         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11863         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11864         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11865         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11866         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11867         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11868         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11869         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11870         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11871         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11872         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11873         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11874         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11875         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11876         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11877         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11878         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11879         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11880         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11881         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11882         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11883         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11884         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11885         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11886         (R_ARM_THM_GOT_BREL12): Likewise.
11887         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11888         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11889         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11890         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11891         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11892         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11893         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11894         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11895         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11897 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11899         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11900         __attribute_used__ to __attribute__ ((unused)).
11902 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11904         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11905         powerpc mpa.c.
11906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11907         comment formatting.
11908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11910 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11912         [BZ #13550]
11913         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11914         Remove macro.
11915         (ENTER): Remove both macro definitions.
11916         (LEAVE): Likewise.
11917         (CHECK_BOUNDS_LOW): Likewise.
11918         (CHECK_BOUNDS_HIGH): Likewise.
11919         (CHECK_BOUNDS_BOTH): Likewise.
11920         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11921         (RETURN_BOUNDED_POINTER): Likewise.
11922         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11923         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11924         (POP_ERRNO_LOCATION_RETURN): Likewise.
11925         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11926         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11927         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11928         macros.
11929         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11930         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11931         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11932         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11933         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11934         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11935         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11936         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11937         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11938         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11939         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11940         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11941         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11942         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11943         removed macros.
11944         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11945         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11946         macros.
11947         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11948         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11949         * sysdeps/i386/i586/memset.S (memset): Likewise.
11950         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11951         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11952         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11953         macros.
11954         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11955         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11956         Change uses of L(2) to L(out).
11957         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11958         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11959         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11960         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11961         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11962         removed macros.
11963         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11964         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11965         macros.
11966         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11967         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11968         (RETURN): Do not use macro LEAVE.
11969         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11970         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11971         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11972         * sysdeps/i386/i686/memset.S (memset): Likewise.
11973         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11974         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11975         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11976         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11977         Likewise.
11978         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11979         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11980         L(1_2) and L(1_3) into L(1).
11981         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11982         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11983         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11984         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11985         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11986         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11987         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11988         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11989         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11990         macros.
11991         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11992         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11993         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11994         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11995         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11996         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11997         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11998         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11999         * sysdeps/i386/strcspn.S (strcspn): Likewise.
12000         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12001         * sysdeps/i386/strrchr.S (strrchr): Likewise.
12002         * sysdeps/i386/strspn.S (strspn): Likewise.
12003         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12004         conditional code.
12005         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12006         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12007         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12008         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
12009         L(1_3) into L(1_1).
12010         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12011         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12012         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12013         macros.
12014         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12016 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
12018         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12019         macro.
12021 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12023         * math/atest-exp.c (exp_mpn): Remove ROUND.
12024         * math/atest-exp2.c (exp_mpn): Likewise.
12025         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12027         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12028         * stdlib/tst-tls-atexit-lib.c: Likewise.
12029         * stdlib/tst-tls-atexit.c: Likewise.
12031 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12033         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12034         and __attribute_alloc_size__.
12036 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12038         * include/programs/xmalloc.h: Change __attribute_alloc_size to
12039         __attribute_alloc_size__.
12040         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12041         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12043 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
12045         * include/programs/xmalloc.h: New file.
12046         * catgets/gencat.c: Include it.
12047         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12048         * elf/pldd.c: Likewise.
12049         * iconv/iconv_charmap.c: Likewise.
12050         * iconv/iconvconfig.c: Likewise.
12051         * iconv/strtab.c: Likewise.
12052         * locale/programs/locale.c: Likewise.
12053         * locale/programs/localedef.h: Likewise.
12054         * locale/programs/simple-hash.c: Likewise.
12055         * nscd/nscd.h: Likewise.
12056         * nss/makedb.c: Likewise.
12057         * sysdeps/generic/ldconfig.h: Likewise.
12059 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12061         * Versions.def: Add GLIBC_2.18.
12062         * include/link.h (struct link_map): New member l_tls_dtor_count.
12063         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12064         (__call_tls_dtors): Likewise.
12065         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12066         __cxa_thread_atexit_impl.
12067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12068         Likewise.
12069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12070         Likewise.
12071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12072         Likewise.
12073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12074         Likewise.
12075         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12077         Likewise.
12078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12079         Likewise.
12080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12082         Likewise.
12083         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12084         (tests): Add test case tst-tls-atexit.
12085         (modules-names): Add shared library for tst-tls-atexit.
12086         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12087         (GLIBC_PRIVATE): Add __call_tls_dtors.
12088         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12089         for libstdc++.
12090         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12091         * stdlib/tst-tls-atexit.c: New test case.
12092         * stdlib/tst-tls-atexit-lib.c: New test case.
12094         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12096         * elf/Versions (ld): Add _dl_find_dso_for_object.
12097         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12098         * elf/dl-open.c (_dl_find_dso_for_object): New function.
12099         (dl_open_worker): Use _dl_find_dso_for_object.
12100         * elf/dl-sym.c (do_sym): Likewise.
12101         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12103 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12105         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12106         Syntactic changes only.
12107         (_dl_runtime_profile): Do a tail-call to the resolved function.
12109 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
12111         [BZ #13550]
12112         * sysdeps/x86_64/bp-asm.h: Remove file.
12113         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12114         <bp-sym.h> and <bp-asm.h>.
12115         (__clone): Do not use BP_SYM.
12116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12117         <bp-sym.h> and <bp-asm.h>.
12118         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12119         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12120         "bp-asm.h".
12121         (_setjmp): Do not use BP_SYM.
12122         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12123         "bp-asm.h".
12124         (setjmp): Do not use BP_SYM.
12125         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12126         libc_hidden_def.
12127         (mempcpy): Do not use BP_SYM in weak_alias.
12128         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12129         "bp-asm.h".
12130         (strchr): Do not use BP_SYM.
12131         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12132         "bp-asm.h".
12133         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12134         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12135         (_start): Do not use BP_SYM.
12136         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12137         "bp-asm.h".
12138         (strcat): Do not use BP_SYM.
12139         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12140         "bp-asm.h".
12141         (STRCMP): Do not use BP_SYM.
12142         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12143         "bp-asm.h".
12144         (STRCPY): Do not use BP_SYM.
12145         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12146         "bp-asm.h".
12147         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12148         "bp-asm.h".
12149         (FUNCTION): Do not use BP_SYM.
12150         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12151         weak_alias.
12152         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12154 2013-02-17  Andreas Jaeger  <aj@suse.de>
12156         * time/Versions: Sort entries.
12157         * string/Versions: Likewise.
12158         * resolv/Versions: Likewise.
12159         * posix/Versions: Likewise.
12160         * iconv/Versions: Likewise.
12161         * elf/Versions: Likewise.
12162         * wcsmbs/Versions: Likewise.
12164 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12166         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12167         loop termination condition.
12169         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12170         variable to calculate EZ.
12171         (__sqr): Likewise.
12173         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12174         the lower precision input.
12176 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
12178         [BZ #13550]
12179         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12180         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12181         (run-via-rtld-prefix): Do not handle %-bp tests.
12182         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12183         (all-object-suffixes): Remove .ob.
12184         (bppfx): Remove variable.
12185         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12186         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12187         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12188         [$(build-bounded) = yes] (libtype.ob): Likewise.
12189         * Makerules (elide-routines.ob): Remove variable.
12190         (do-tests-clean): Do not handle *-bp.out.
12191         (common-mostlyclean): Do not handle *-bp and *-bp.out.
12192         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12193         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12194         (tests): Do not include $(tests-bp.out).
12195         (xtests): Do not include $(xtests-bp.out).
12196         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12197         [$(build-bounded) = yes] ($(addprefix
12198         $(objpfx),$(binaries-bounded))): Remove rule.
12199         ($(objpfx)%-bp.out): Remove rule.
12200         * config.make.in (build-bounded): Remove variable.
12201         * crypt/Makefile [$(build-bounded) = yes]
12202         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12203         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12204         append to variable.
12205         [$(build-bounded) = yes] (install-lib): Likewise.
12206         [$(build-bounded) = yes] (generated): Likewise.
12207         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12208         Remove rule.
12209         * intl/Makefile [$(build-bounded) = yes]
12210         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12211         * math/Makefile [$(build-bounded) = yes]
12212         ($(tests:%=$(objpfx)%-bp): Likewise.
12213         * misc/Makefile [$(build-bounded) = yes]
12214         ($(objpfx)tst-tsearch-bp): Likewise.
12215         * nptl/Makeconfig (bounded-thread-library): Remove variable.
12216         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12217         Remove dependency.
12218         * string/Makefile (o-objects.ob): Remove variable.
12219         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12220         (CFLAGS-.ob): Remove variable.
12221         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12222         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12223         both definitions of variable.
12224         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12225         (ASFLAGS-.ob): Remove variable.
12227 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
12229         [BZ #13550]
12230         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12231         Remove __BOUNDED_POINTERS__ from condition.
12232         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12233         * string/bits/string2.h [!__NO_STRING_INLINES &&
12234         !__BOUNDED_POINTERS__]: Likewise.
12235         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12236         Likewise.
12237         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12238         Remove conditional code.
12239         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12240         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12241         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12242         condition.
12244         [BZ #13550]
12245         * csu/libc-start.c: Do not include <bp-sym.h>.
12246         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12247         * elf/dl-open.c: Do not include <bp-sym.h>.
12248         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12249         * math/fegetenv.c: Do not include <bp-sym.h>.
12250         (fegetenv): Do not use BP_SYM in versioned symbols.
12251         * nptl/sysdeps/pthread/bits/libc-lockP.h
12252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12253         <bp-sym.h>.
12254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12255         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12257         (__pthread_mutex_destroy): Likewise.
12258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12259         (__pthread_mutex_lock): Likewise.
12260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12261         (__pthread_mutex_trylock): Likewise.
12262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12263         (__pthread_mutex_unlock): Likewise.
12264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12265         (__pthread_mutexattr_init): Likewise.
12266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12267         (__pthread_mutexattr_destroy): Likewise.
12268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12269         (__pthread_mutexattr_settype): Likewise.
12270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12271         (__pthread_rwlock_init): Likewise.
12272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12273         (__pthread_rwlock_destroy): Likewise.
12274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12275         (__pthread_rwlock_rdlock): Likewise.
12276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12277         (__pthread_rwlock_tryrdlock): Likewise.
12278         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12279         (__pthread_rwlock_wrlock): Likewise.
12280         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12281         (__pthread_rwlock_trywrlock): Likewise.
12282         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12283         (__pthread_rwlock_unlock): Likewise.
12284         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12285         (__pthread_key_create): Likewise.
12286         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12287         (__pthread_setspecific): Likewise.
12288         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12289         (__pthread_getspecific): Likewise.
12290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12291         Likewise.
12292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12293         (_pthread_cleanup_push_defer): Likewise.
12294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12295         (_pthread_cleanup_pop_restore): Likewise.
12296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12297         (pthread_setcancelstate): Likewise.
12298         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12299         <bp-sym.h>.
12300         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12301         (memchr): Do not use BP_SYM in weak_alias.
12302         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12303         (fegetenv): Do not use BP_SYM in versioned symbols.
12304         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12305         (fesetenv): Do not use BP_SYM in versioned symbols.
12306         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12307         (feupdateenv): Do not use BP_SYM in versioned symbols.
12308         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12309         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12310         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12311         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12312         (open64): Do not use BP_SYM in weak_alias.
12313         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12314         (fegetenv): Do not use BP_SYM in versioned symbols.
12315         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12316         (fesetenv): Do not use BP_SYM in versioned symbols.
12317         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12318         (feupdateenv): Do not use BP_SYM in versioned symbols.
12319         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12320         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12321         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12322         (feraiseexcept): Do not use BP_SYM in versioned symbols.
12323         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12324         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12325         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12326         <bp-sym.h>.
12327         (__libc_start_main): Do not use BP_SYM.
12329 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12332         redundant return line.
12333         (norm): Likewise.
12334         (denorm): Likewise.
12335         (dbl_mp): Likewise.
12336         (sub_magnitudes): Likewise.
12337         (__add): Likewise.
12338         (__sub): Likewise.
12339         (__mul): Likewise.
12340         (__inv): Likewise.
12341         (__dvd): Likewise.
12342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12343         (norm): Likewise.
12344         (denorm): Likewise.
12345         (dbl_mp): Likewise.
12346         (sub_magnitudes): Likewise.
12347         (__add): Likewise.
12348         (__sub): Likewise.
12349         (__mul): Likewise.
12350         (__inv): Likewise.
12351         (__dvd): Likewise.
12353         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12354         instead of __mul.
12355         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12356         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12357         (cc32): Likewise.
12359         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12360         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12361         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12362         of __mul for squares.
12363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12364         function
12365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12366         Likewise.
12367         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12368         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12370 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
12372         [BZ #13550]
12373         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12374         code.
12375         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12376         prototype or function definition.  Rename ubp_* variables and
12377         parameters.  Remove argv definitions conditional on
12378         [__BOUNDED_POINTERS__].
12379         * debug/backtrace.c (__backtrace): Do not use __unbounded.
12380         * elf/dl-runtime.c (_dl_fixup): Likewise.
12381         * include/set-hooks.h (RUN_HOOK): Likewise.
12382         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12383         definition.
12384         * string/strcpy.c (strcpy): Do not use __unbounded.
12385         * sysdeps/generic/frame.h (struct layout): Likewise.
12386         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12387         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12388         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12389         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12390         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12391         (__backtrace): Likewise.
12392         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12393         use __ptrvalue.
12394         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12395         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12396         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12397         Likewise.
12398         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12399         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12400         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12401         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12402         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12403         Do not use __unbounded.
12404         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12405         Rename __unboundedrlimits parameter to rlimits in prototype.
12406         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12407         Do not use __unbounded.
12408         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12409         not use __ptrvalue.
12410         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12411         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12412         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12413         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12414         __ptrvalue or __unbounded.
12415         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12416         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12417         use __unbounded.
12418         (__new_msgctl): Do not use __ptrvalue.
12419         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12420         __unbounded.
12421         (__libc_msgrcv): Do not use __ptrvalue.
12422         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12423         startup_info): Do not use __unbounded.
12424         (__libc_start_main): Likewise.  Rename ubp_* variables and
12425         parameters.  Remove argv definitions conditional on
12426         [__BOUNDED_POINTERS__].
12427         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12428         __ptrvalue.
12429         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12430         use __unbounded.
12431         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12432         or __ptrvalue.
12433         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12434         use __unbounded.
12435         (__new_shmctl): Do not use __ptrvalue.
12436         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12437         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12438         Likewise.
12439         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12440         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12441         (__libc_sigaction): Likewise.
12442         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12443         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12444         Likewise.
12445         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12447 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
12449         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12451         * string/mempcpy.c: Implement by calling memcpy.
12453 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12455         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12458         evaluation.
12460         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12461         values in the mantissa.
12463         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12464         minimize writes to Z.
12465         (sub_magnitudes): Simplify code a bit.
12467 2013-02-12  Roland McGrath  <roland@hack.frob.com>
12469         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12470         from the message.  The linker prefixes all warnings with that already.
12472 2013-02-12  Andreas Schwab  <schwab@suse.de>
12474         [BZ #15078]
12475         * posix/regexec.c (extend_buffers): Add parameter min_len.
12476         (check_matching): Pass minimum needed length.
12477         (clean_state_log_if_needed): Likewise.
12478         (get_subexp): Likewise.
12479         * posix/Makefile (tests): Add bug-regex34.
12480         (bug-regex34-ENV): Define.
12481         * posix/bug-regex34.c: New file.
12483         [BZ #11561]
12484         * posix/regcomp.c (parse_bracket_exp): When looking up collating
12485         elements compare against the byte sequence of it, not its name.
12486         * posix/Makefile (tests): Add bug-regex35.
12487         (bug-regex35-ENV): Define.
12488         * posix/bug-regex35.c: New file.
12490 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12492         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
12493         comment.
12494         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12495         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12496         (CHECK_EOL): Add undef.
12498 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
12500         * bits/stdlib-bsearch.h: New file.
12501         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12502         * stdlib/stdlib.h: Likewise.
12504 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12506         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12507         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12508         declaration.
12509         * manual/search.texi (Array Search Function): Add missing const in
12510         lfind prototype.
12511         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12512         declaration to use rlim_t.
12513         (Basic Scheduling Functions): Remove erroneous const from
12514         sched_getparam prototype.  Remove erroneous * from
12515         sched_get_priority_max and sched_get_priority_min prototypes.
12516         (Resource Usage): Fix summary @comment on vtimes to refer to
12517         sys/vtimes.h rather than vtimes.h.
12518         Add missing *s in vtimes prototype.
12519         (Limits on Resources): Fix ulimit prototype to return long int.
12520         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12521         prototypes to use long int rather than double.
12522         (BSD Random): Fix initstate and setstate to use char *, not void *.
12523         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12524         prototype to make second argument 'struct aiocb64 *const[]'.
12525         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12526         (Status of AIO Operations): Remove erroneous const in aio_return and
12527         aio_return64 prototypes.
12528         (Synchronizing I/O): Fix sync prototype to return void.
12529         * manual/startup.texi (Suboptions): Remove an erroneous const in
12530         getsubopt prototype.
12531         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12532         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12533         use size_t rather than int.
12534         (Scanning All Users): Likewise for getpwent_r.
12535         (Setting Groups): Add missing const to setgroups prototype.
12536         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12537         * manual/socket.texi (Host Names): Fix gethostbyaddr and
12538         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12539         'const void *' rather than 'const char *'.
12540         (Host Address Functions): Likewise for inet_ntop.
12541         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12542         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12543         ssize_t for return value.
12544         (Sending Data): Likewise for send, sendto, sendmsg.
12545         (Socket Option Functions): Add a missing const in setsockopt prototype.
12546         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12547         use wchar_t for the argument.
12548         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12549         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12550         take no arguments.
12551         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12552         double/float/long double for second argument.
12553         Fix return types of significand, significandf, significandl.
12554         * manual/filesys.texi (Setting Permissions): Use mode_t for second
12555         argument in fchmod prototype.
12556         (File Owner): Use uid_t and gid_t in fchown prototype.
12557         (File Times): Add const to utimes, futimes, and lutimes prototypes.
12558         (Making Special Files): Use mode_t and dev_t in mknod prototype.
12559         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12560         use 'const struct dirent **' as argument types to CMP function pointer
12561         argument.
12562         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12563         (File Times): Fix summary magic @comment for struct utimbuf and utime
12564         to refer to utime.h, not time.h.
12565         * manual/string.texi (Argz Functions): Add missing const in
12566         argz_extract and argz_next prototypes.
12567         (Finding Tokens in a String): Likewise for basename.
12568         (String/Array Comparison): Fix typo in wcscasecmp prototype.
12569         (Copying and Concatenation): Fix typo in wmemmove prototype.
12570         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12571         (Signal Stack): Remove erroneous const in sigstack prototype.
12572         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12573         prototype.
12574         (Simple Calendar Time): Likewise for stime.
12575         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12576         prototype.
12577         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12578         say sys/sysctl.h instead.
12579         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12580         and vsyslog prototypes.
12582 2013-02-11  Tom de Vries  <tom@codesourcery.com>
12584         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12585         Remove.
12587 2013-02-11  Roland McGrath  <roland@hack.frob.com>
12589         * misc/sys/mman.h: Fix typo in mremap comment.
12591 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12593         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12594         the '\0' terminator.
12596 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12598         [BZ #13550]
12599         * debug/segfault.c: Don't include <bp-checks.h>.
12600         * sysdeps/generic/bp-checks.h: Remove file.
12601         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12602         (__GETDENTS): Don't use CHECK_N.
12603         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12604         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12605         (__getgroups): Don't use CHECK_N.
12606         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12607         (setgroups): Don't use CHECK_N.
12608         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12609         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12610         (__libc_msgrcv): Don't use CHECK_N.
12611         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12612         (__libc_msgsnd): Don't use CHECK_N.
12613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12614         <bp-checks.h>.
12615         (__libc_pread): Don't use CHECK_N.
12616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12617         include <bp-checks.h>.
12618         (__libc_pread64): Don't use CHECK_N.
12619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12620         include <bp-checks.h>.
12621         (__libc_pwrite): Don't use CHECK_N.
12622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12623         include <bp-checks.h>.
12624         (__libc_pwrite64): Don't use CHECK_N.
12625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12626         <bp-checks.h>.
12627         (__libc_pread): Don't use CHECK_N.
12628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12629         include <bp-checks.h>.
12630         (__libc_pread64): Don't use CHECK_N.
12631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12632         include <bp-checks.h>.
12633         (__libc_pwrite): Don't use CHECK_N.
12634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12635         include <bp-checks.h>.
12636         (__libc_pwrite64): Don't use CHECK_N.
12637         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12638         (do_pread): Don't use CHECK_N.
12639         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12640         (do_pread64): Don't use CHECK_N.
12641         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12642         (do_pwrite): Don't use CHECK_N.
12643         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12644         (do_pwrite64): Don't use CHECK_N.
12645         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12646         (__libc_readv): Don't use CHECK_N.
12647         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12648         (semop): Don't use CHECK_N.
12649         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12650         <bp-checks.h>.
12651         (semtimedop): Don't use CHECK_N.
12652         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12653         (__libc_pread): Don't use CHECK_N.
12654         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12655         <bp-checks.h>.
12656         (__libc_pread64): Don't use CHECK_N.
12657         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12658         <bp-checks.h>.
12659         (__libc_pwrite): Don't use CHECK_N.
12660         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12661         <bp-checks.h>.
12662         (__libc_pwrite64): Don't use CHECK_N.
12663         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12664         <bp-checks.h>.
12665         (__libc_msgrcv): Don't use CHECK_N.
12666         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12667         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
12668         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12669         (__libc_writev): Don't use CHECK_N.
12671 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12673         * string/strcpy.c: Removed unused variable.
12675         * Makeconfig (+sysdep-includes): Define with := rather than =.
12676         Use an existing include/ subdir of each sysdeps dir before it.
12678 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12680         * nscd/connection.c (register_traced_file): Comment function.
12681         [HAVE_INOTIFY] (union __inev): Define.
12682         [HAVE_INOTIFY] (inotify_check_files): New function.
12683         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12684         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12685         clear_db_cache.
12686         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12688 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12690         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12691         loaded if not already and that a failure is permanent.
12693 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12695         [BZ #15006]
12696         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12697         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12699 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12701         [BZ #13550]
12702         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12703         (CHECK_1_NULL_OK): Likewise.
12704         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12705         (__fxstat): Do not use CHECK_1.
12706         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12707         <bp-checks.h>.
12708         (___fxstat64): Do not use CHECK_1.
12709         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12710         <bp-checks.h>.
12711         (__fxstatat): Do not use CHECK_1.
12712         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12713         <bp-checks.h>.
12714         (__fxstatat64): Do not use CHECK_1.
12715         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12716         <bp-checks.h>.
12717         (__fxstat): Do not use CHECK_1.
12718         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12719         <bp-checks.h>.
12720         (__fxstatat): Do not use CHECK_1.
12721         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12722         <bp-checks.h>.
12723         (__getresgid): Do not use CHECK_1.
12724         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12725         <bp-checks.h>.
12726         (__getresuid): Do not use CHECK_1.
12727         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12728         <bp-checks.h>.
12729         (__lxstat): Do not use CHECK_1.
12730         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12731         <bp-checks.h>.
12732         (__old_msgctl): Do not use CHECK_1.
12733         (__new_msgctl): Likewise.
12734         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12735         <bp-checks.h>.
12736         (__new_setrlimit): Do not use CHECK_1.
12737         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12738         <bp-checks.h>.
12739         (__old_shmctl): Do not use CHECK_1.
12740         (__new_shmctl): Likewise.
12741         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12742         <bp-checks.h>.
12743         (__xstat): Do not use CHECK_1.
12744         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12745         (__lxstat): Do not use CHECK_1.
12746         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12747         <bp-checks.h>.
12748         (___lxstat64): Do not use CHECK_1.
12749         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12750         (__old_msgctl): Do not use CHECK_1.
12751         (__new_msgctl): Likewise.
12752         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12753         <bp-checks.h>.
12754         (__gettimeofday): Do not use CHECK_1.
12755         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12756         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12757         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12758         <bp-checks.h>.
12759         (__gettimeofday): Do not use CHECK_1.
12760         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12761         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12762         (__new_shmctl): Do not use CHECK_1.
12763         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12764         <bp-checks.h>.
12765         (do_sigtimedwait): Do not use CHECK_1.
12766         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12767         <bp-checks.h>.
12768         (do_sigwaitinfo): Do not use CHECK_1.
12769         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12770         <bp-checks.h>.
12771         (msgctl): Do not use CHECK_1.
12772         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12773         <bp-checks.h>.
12774         (shmctl): Do not use CHECK_1.
12775         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12776         (ustat): Do not use CHECK_1.
12777         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12778         <bp-checks.h>.
12779         (__fxstat): Do not use CHECK_1.
12780         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12781         <bp-checks.h>.
12782         (__fxstatat): Do not use CHECK_1.
12783         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12784         <bp-checks.h>.
12785         (__lxstat): Do not use CHECK_1.
12786         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12787         <bp-checks.h>.
12788         (__xstat): Do not use CHECK_1.
12789         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12790         (__xstat): Do not use CHECK_1.
12791         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12792         (___xstat64): Do not use CHECK_1.
12794         [BZ #13550]
12795         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12796         definitions.
12797         (CHECK_BOUNDS_HIGH): Likewise.
12798         * string/strcpy.c: Do not include <bp-checks.h>.
12799         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12801 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12803         * nscd/nscd-client.h (__nscd_drop_map_ref):
12804         Add __attribute__ ((unused)).
12805         * nis/nss-nisplus.h (niserr2nss): Likewise.
12807         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12808         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12810         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12811         Remove inline keyword.
12812         * include/rounding-mode.h (round_away): Likewise.
12813         * libio/wfileops.c (adjust_wide_data): Likewise.
12814         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12815         (__m128i_strloadu_tolower): Likewise.
12816         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12817         (__m128i_strloadu_tolower): Likewise.
12818         * time/mktime.c (ydhms_diff): Likewise.
12819         * locale/elem-hash.h (elem_hash): Likewise.
12820         * locale/setlocale.c (setdata): Likewise.
12821         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12822         (re_string_wchar_at): Likewise.
12823         (bitset_not, bitset_merge, bitset_mask): Likewise.
12824         [!(__GNUC__ > 3)] (inline): Remove macro.
12825         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12826         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12827         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12828         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12829         * string/memcmp.c (memcmp_bytes): Likewise.
12830         * locale/programs/locarchive.c (compute_hashval): Likewise.
12831         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12832         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12833         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12834         * nss/getent.c (print_rpc, print_protocols): Likewise.
12835         (print_passwd, print_group, print_aliases): Likewise.
12836         * nis/nss-nisplus.h (niserr2nss): Likewise.
12837         * nscd/connections.c (restart_p): Likewise.
12838         Change return type to bool.
12840 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12842         * Makeconfig (all-Depend-files): Add existing
12843         $(sorted-subdirs:=/Depend) files.
12844         (all-subdirs): Remove nss.
12845         * sysdeps/unix/inet/Subdirs: Add it here instead.
12846         * hesiod/Depend: New file.
12848         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12849         instead of calling alloca.
12851         * io/lseek.c (__lseek): Rename to __libc_lseek.
12852         Define __lseek as an alias.
12854         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12856 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12858         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12859         else clause and remove check for non-standard endianness.
12861 2013-02-04  David S. Miller  <davem@davemloft.net>
12863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12865 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12867         [BZ #13550]
12868         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12869         (__ubp_memchr): Remove prototype.
12870         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12871         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12872         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12873         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12874         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12875         Remove alias.
12876         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12877         (__ubp_memchr): Likewise.
12878         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12879         (__ubp_memchr): Likewise.
12880         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12881         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12882         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12883         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12884         CHECK_STRING.
12885         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12886         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12887         (__getcwd): Do not use CHECK_STRING.
12888         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12889         <bp-checks.h>.
12890         (__real_chown): Do not use CHECK_STRING.
12891         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12892         <bp-checks.h>.
12893         (fchownat): Do not use CHECK_STRING.
12894         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12895         CHECK_STRING.
12896         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12897         <bp-checks.h>.
12898         (__lchown): Do not use CHECK_STRING.
12899         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12900         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12901         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12902         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12904         include <bp-checks.h>.
12905         (truncate64): Do not use CHECK_STRING.
12906         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12907         <bp-checks.h>.
12908         (__real_chown): Do not use CHECK_STRING.
12909         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12910         <bp-checks.h>.
12911         (__lchown): Do not use CHECK_STRING.
12912         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12913         <bp-checks.h>.
12914         (__chown): Do not use CHECK_STRING.
12915         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12916         <bp-checks.h>.
12917         (truncate64): Do not use CHECK_STRING.
12918         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12919         Likewise.
12920         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12921         (__xmknod): Do not use CHECK_STRING.
12922         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12923         <bp-checks.h>.
12924         (__xmknodat): Do not use CHECK_STRING.
12925         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12926         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12928 2013-02-04  Andreas Schwab  <schwab@suse.de>
12930         [BZ #14142]
12931         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12932         * include/netdb.h: Likewise for h_errno.
12933         * elf/tst-stackguard1.c: Include <tls.h>.
12935 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12937         * elf/link.h (struct link_map): Extend the l_addr comment.
12938         * include/link.h (struct link_map): Likewise.
12940 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12942         [BZ #13550]
12943         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12944         (BOUNDED_1): Remove macro.
12945         * debug/backtrace.c: Don't include <bp-checks.h>.
12946         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12947         (__backtrace): Likewise.
12948         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12949         <bp-checks.h>.
12950         (__backtrace): Don't use BOUNDED_1.
12951         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12952         <bp-checks.h>.
12953         (__backtrace): Don't use BOUNDED_1.
12954         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12955         (__backtrace): Don't use BOUNDED_1.
12956         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12957         (shmat): Don't use BOUNDED_N.
12959 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12961         [BZ #13550]
12962         * sysdeps/generic/bp-start.h: Remove file.
12963         * csu/libc-start.c: Don't include <bp-start.h>.
12964         (LIBC_START_MAIN): Set up __environ directly instead of using
12965         INIT_ARGV_and_ENVIRON.
12966         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12967         <bp-start.h>.
12969         [BZ #13550]
12970         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12971         definitions.
12972         (CHECK_FCNTL): Likewise.
12973         (CHECK_N_PAGES): Likewise.
12975         [BZ #13550]
12976         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12977         definitions.
12978         (CHECK_SIGSET_NULL_OK): Likewise.
12979         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12980         <bp-checks.h>.
12981         (sigpending): Don't use CHECK_SIGSET.
12982         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12983         <bp-checks.h>.
12984         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12985         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12986         <bp-checks.h>.
12987         (do_sigsuspend): Don't use CHECK_SIGSET.
12988         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12989         use CHECK_SIGSET.
12990         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12991         (do_sigwait): Don't use CHECK_SIGSET.
12992         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12993         use CHECK_SIGSET.
12994         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12995         include <bp-checks.h>.
12996         (sigpending): Don't use CHECK_SIGSET.
12997         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12998         include <bp-checks.h>.
12999         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13000         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13001         <bp-checks.h>.
13002         (sigpending): Don't use CHECK_SIGSET.
13003         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13004         <bp-checks.h>.
13005         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13007         [BZ #13550]
13008         * sysdeps/generic/bp-semctl.h: Remove file.
13009         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13010         <bp-checks.h> and <bp-semctl.h>.
13011         (__old_semctl): Don't use CHECK_SEMCTL.
13012         (__new_semctl): Likewise.
13013         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13014         and <bp-semctl.h>.
13015         (__old_semctl): Don't use CHECK_SEMCTL.
13016         (__new_semctl): Likewise.
13017         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13018         <bp-checks.h> and <bp-semctl.h>.
13019         (__old_semctl): Don't use CHECK_SEMCTL.
13020         (__new_semctl): Likewise.
13021         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13022         <bp-checks.h> and <bp-semctl.h>.
13023         (semctl): Don't use CHECK_SEMCTL.
13025         [BZ #13550]
13026         * Makerules (elide-bp-thunks): Remove variable.
13027         (elide-routines.oS): Don't use $(elide-bp-thunks).
13028         (elide-routines.os): Likewise.
13029         (elide-routines.o): Likewise.
13030         (elide-routines.op): Likewise.
13031         (elide-routines.og): Likewise.
13032         (objects): Don't use $(bp-thunks).
13033         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13034         include.
13035         (common-generated): Do not add s-proto-bp.d.
13036         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13037         (int): Likewise.
13038         (typ): Likewise.
13039         Do not generate makefile rules for bounded-pointer thunks.
13040         * sysdeps/generic/bp-thunks.h: Remove file.
13041         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13042         * sysdeps/unix/s-proto-bp.S: Likewise.
13044         [BZ #15062]
13045         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13046         parts of result separately when argument is not close to line from
13047         -i to i and one part of argument is small.
13048         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13049         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13050         * math/libm-test.inc (cacos_test): Add more tests.
13051         (casin_test): Likewise.
13052         (casinh_test): Likewise.
13053         * sysdeps/i386/fpu/libm-test-ulps: Update.
13054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13056 2013-01-31  David S. Miller  <davem@davemloft.net>
13058         * po/de.po: Update from translation team.
13060 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
13062         * time/tzfile.c: Include stdint.h for SIZE_MAX.
13064 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
13066         * configure.in (_AC_PROG_CC_C89): New definition.
13067         * configure: Regenerate.
13069         * configure.in (AC_PROG_CPP): New definition.
13070         * configure: Regenerate.
13072 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13074         * debug/tst-backtrace.h: New file.
13075         * debug/tst-backtrace2.c: Include tst-backtrace.h.
13076         (ret): Remove variable.
13077         (x): Likewise.
13078         (FAIL): Remove macro.
13079         (NO_INLINE): Likewise.
13080         (fn1): Use match function instead of strstr.
13081         * debug/tst-backtrace3.c: Include tst-backtrace.h.
13082         (ret): Remove variable.
13083         (x): Likewise.
13084         (FAIL): Remove macro.
13085         (NO_INLINE): Likewise.
13086         (fn): Use match function instead of strstr.
13087         * debug/tst-backtrace4.c: Include tst-backtrace.h.
13088         (ret): Remove variable.
13089         (x): Likewise.
13090         (FAIL): Remove macro.
13091         (NO_INLINE): Likewise.
13092         (handle_signal): Use match function instead of strstr.
13093         * debug/tst-backtrace5.c: Include tst-backtrace.h.
13094         (ret): Remove variable.
13095         (x): Likewise.
13096         (FAIL): Remove macro.
13097         (NO_INLINE): Likewise.
13098         (handle_signal): Use match function instead of strstr.
13100 2013-01-23  Roland McGrath  <roland@hack.frob.com>
13102         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13104 2013-01-23  David S. Miller  <davem@davemloft.net>
13106         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13107         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13108         argument of CAS if possible.
13109         * sysdeps/sparc/sparc64/bits/atomic.h
13110         (__arch_compare_and_exchange_val_32_acq): Likewise.
13111         (__arch_compare_and_exchange_val_64_acq): Likewise.
13113 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
13115         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13116         * sysdeps/posix/ulimit.c: ... this.
13117         Include <limits.h>.
13118         * sysdeps/unix/bsd/ulimit.c: Remove file.
13120 2013-01-23  Adam Conrad  <adconrad@0c3.net>
13122         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13123         (LDFLAGS-tst-array5): Likewise.
13125 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
13127         [BZ #15036]
13128         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13129         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13130         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13131         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13133 2013-01-21  David S. Miller  <davem@davemloft.net>
13135         * sysdeps/sparc/backtrace.c: New file.
13136         * sysdeps/sparc/sparc32/backtrace.h: New file.
13137         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13138         * sysdeps/sparc/sparc64/backtrace.h: New file.
13139         * sysdeps/sparc/sparc64/backtrace.c: Delete.
13140         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13141         -funwind-tables.
13143 2013-01-21  Andreas Schwab  <schwab@suse.de>
13145         [BZ #15020]
13146         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13147         closed its stdout.
13149 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
13151         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13152         "mpa2.h".
13153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13155 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
13156             Mark Mitchell  <mark@codesourcery.com>
13157             Tom de Vries  <tom@codesourcery.com>
13158             Paul Pluzhnikov  <ppluzhnikov@google.com>
13160         * debug/tst-backtrace2.c: New file.
13161         * debug/tst-backtrace3.c: Likewise.
13162         * debug/tst-backtrace4.c: Likewise.
13163         * debug/tst-backtrace5.c: Likewise.
13164         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13165         (CFLAGS-tst-backtrace3.c): Likewise.
13166         (CFLAGS-tst-backtrace4.c): Likewise.
13167         (CFLAGS-tst-backtrace5.c): Likewise.
13168         (LDFLAGS-tst-backtrace2): Likewise.
13169         (LDFLAGS-tst-backtrace3): Likewise.
13170         (LDFLAGS-tst-backtrace4): Likewise.
13171         (LDFLAGS-tst-backtrace5): Likewise.
13172         (tests): Add new tests tst-backtrace2, tst-backtrace3,
13173         tst-backtrace4 and tst-backtrace5.
13175 2013-01-18  Anton Blanchard  <anton@samba.org>
13176             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13178         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13179         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13180         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13181         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13183         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13184         "+r" and remove output regs list as redundant.  Add explicit inline
13185         asm to specify register of return val to work around compiler codegen
13186         bug.  Remove (int) cast on return value.  Add return type parameter to
13187         use in macro so that this macro does not truncate return value for
13188         64-bit values.
13189         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13190         pass to INTERNAL_VSYSCALL_NCS.
13191         (INLINE_VSYSCALL): Add 'long int' as return type to
13192         INTERNAL_VSYSCALL_NCS macro invocation.
13193         (INTERNAL_VSYSCALL): Add 'long int' as return type to
13194         INTERNAL_VSYSCALL_NCS macro invocation.
13195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13197 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13199         [BZ #14496]
13200         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13201         Fix application of SIMD FP exception mask.
13203         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13204         mp_no from a power of two.
13205         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13206         __mpexp_twomm1.  Use __pow_mp.
13208         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13209         multiplication.
13211 2013-01-17  David S. Miller  <davem@davemloft.net>
13213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13215 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13217         [BZ #15023]
13218         * include/complex.h: Condition contents on [!_COMPLEX_H].
13219         (__kernel_casinhf): New prototype.
13220         (__kernel_casinh): Likewise.
13221         (__kernel_casinhl): Likewise.
13222         * math/Makefile (libm_calls): Add k_casinh.
13223         * math/k_casinh.c: New file.
13224         * math/k_casinhf.c: Likewise.
13225         * math/k_casinhl.c: Likewise.
13226         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13227         finite nonzero arguments.
13228         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13229         finite nonzero arguments.
13230         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13231         finite nonzero arguments.
13232         * math/s_casinh.c: Do not include <float.h>.
13233         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13234         * math/s_casinhf.c: Do not include <float.h>.
13235         (__casinhf): Move code for finite nonzero arguments to
13236         k_casinhf.c.
13237         * math/s_casinhl.c: Do not include <float.h>.
13238         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13239         redefine.
13240         (__casinhl): Move code for finite nonzero arguments to
13241         k_casinhl.c.
13242         * math/libm-test.inc (cacos_test): Add more tests.
13243         * sysdeps/i386/fpu/libm-test-ulps: Update.
13244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13246 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
13248         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13249         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13250         [!HAVE_MREMAP]: Remove [defined linux] case.
13251         * malloc/arena.c: Do not include <malloc-sysdep.h>.
13253 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13255         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13257 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
13259         * elf/elf.h (R_386_SIZE32): New relocation.
13260         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13261         R_386_SIZE32.
13262         (elf_machine_rela): Likewise.
13263         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13264         R_X86_64_SIZE64 and R_X86_64_SIZE32.
13266 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
13268         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13269         (FP_FAST_FMA): Do not define.
13270         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13271         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13272         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13273         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13274         !_SOFT_FLOAT]: Likewise.
13275         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13276         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13277         value.
13278         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13279         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13280         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13281         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13282         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13283         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13284         file.
13286 2013-01-16  Andreas Schwab  <schwab@suse.de>
13288         [BZ #14327]
13289         * include/stdlib.h (__mktemp): Add declaration.
13290         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13291         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13293 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13295         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13296         definitions.
13297         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13298         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13299         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13300         definitions here.
13301         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13302         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13303         definitions.
13304         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13305         and ONE.
13306         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13307         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13308         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13309         definitions.
13310         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13311         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13312         definitions.
13313         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13315         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13317 2013-01-15  David S. Miller  <davem@davemloft.net>
13319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13320         trunc{,f} to libm-sysdep_routes.
13321         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13323         file.
13324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13326         file.
13327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13328         file.
13329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13331         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13332         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13333         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13334         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13335         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13336         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13339         nearbyint{,f} to libm-sysdep_routes.
13340         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13342         New file.
13343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13344         file.
13345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13346         New file.
13347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13348         file.
13349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13351         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13352         file.
13353         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13354         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13355         file.
13356         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13357         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13358         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13360         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13361         libc_feholdexcept and libc_fesetenv.
13363 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
13365         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13367 2013-01-14  David S. Miller  <davem@davemloft.net>
13369         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13370         (SPARC_ASM_VIS2_IFUNC): Likewise.
13371         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13373         use of 'siam' instruction.
13374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13375         Likewise.
13376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13377         Likewise.
13378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13379         Likewise.
13380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13385         file.
13386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13387         file.
13388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13389         file.
13390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13391         file.
13392         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13393         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13394         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13397         new VIS2 routines.
13398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13401         Likewise.
13402         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13403         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13404         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13405         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13407         routines to libm-sysdep_routines.
13408         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13411         fdim/fdimf to libm-sysdep_routines.
13412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13413         file.
13414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13416         file.
13417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13420         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13421         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13422         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13423         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13425 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13427         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13428         to optimize copies.
13430         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13434         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13435         local variable MPTWO.
13436         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13437         Likewise.
13439 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13441         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13442         GLOB_NOESCAPE.
13444 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13446         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13448 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
13450         * manual/pattern.texi (glob_t): Document gl_flags.
13451         (glob64_t): Likewise.
13453 2013-01-11  David S. Miller  <davem@davemloft.net>
13455         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13456         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13457         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
13458         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13459         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13460         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13461         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13462         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13463         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13464         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13465         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13466         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13467         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13469         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13470         sparc V9 rather than using V8 code.
13471         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13472         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13474         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13475         Move to...
13476         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13477         Here.
13479 2013-01-11  Roland McGrath  <roland@hack.frob.com>
13481         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13482         not in the main loop.
13483         * configure: Regenerated.
13485 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
13487         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13488         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13489         to just #else.
13490         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
13491         [!__GLIBC_HAVE_LONG_LONG] case.
13492         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13493         condition to just #else.
13494         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13495         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13496         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13497         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13498         unconditional.
13499         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13500         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13501         #elif condition to just #else.
13502         * sysdeps/unix/sysv/linux/sys/sysmacros.h
13503         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13504         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13505         #elif condition to just #else.
13507 2013-01-11  Steve Ellcey  <sellcey@mips.com>
13509         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13510         (EF_MIPS_ARCH_64): Fix value.
13511         (EF_MIPS_ARCH_32R2): New.
13512         (EF_MIPS_ARCH_64R2): New.
13514 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
13516         * Makeconfig (+link-pie-before-libc): New.
13517         (+link-pie-after-libc): Likewise.
13518         (+link-pie-tests): Likewise.
13519         (+link-pie): Rewritten.
13520         (link-before-libc): Remove $(config-LDFLAGS).
13521         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13522         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13523         (config-LDFLAGS): Renamed to ...
13524         (rtld-LDFLAGS): This.
13525         (rtld-tests-LDFLAGS): New macro.
13526         (link-libc-rpath-link): Likewise.
13527         (link-libc-tests-rpath-link): Likewise.
13528         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13529         (link-libc): Prepand $(link-libc-rpath-link).
13530         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13531         (test-program-prefix): New macro.
13532         (test-via-rtld-prefix): Likewise.
13533         (test-program-cmd): Likewise.
13534         (host-test-program-cmd): Likewise.
13535         * Makefile ($(common-objpfx)testrun.sh): Replace
13536         $(run-program-prefix) with $(test-program-prefix).
13537         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13538         $(rtld-LDFLAGS).
13539         ($(common-objpfx)shlib.lds): Likewise.
13540         (build-module-helper): Likewise.
13541         ($(common-objpfx)format.lds): Likewise.
13542         * Rules (binaries-pie-tests): New.
13543         (binaries-pie-notests): Likewise.
13544         (binaries-pie): Rewritten.
13545         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13546         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13547         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13548         (make-test-out): Replace $(host-built-program-cmd) with
13549         $(host-test-program-cmd).
13550         * config.make.in (build-hardcoded-path-in-tests): New variable.
13551         * configure.in (--enable-hardcoded-path-in-tests): New configure
13552         option.
13553         (hardcoded_path_in_tests): New AC_SUBST.
13554         * configure: Regenerated.
13555         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13556         $(built-program-cmd) with $(test-program-cmd).
13557         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13558         (test_program_cmd): This.
13559         * elf/Makefile ($(objpfx)order.out): Run test with
13560         $(test-program-prefix).
13561         ($(objpfx)order2.out): Likewise.
13562         ($(objpfx)tst-initorder.out): Likewise.
13563         ($(objpfx)tst-initorder2.out): Likewise.
13564         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13565         $(test-program-cmd).
13566         ($(objpfx)tst-array1-static.out): Likewise.
13567         ($(objpfx)tst-array2.out): Likewise.
13568         ($(objpfx)tst-array3.out): Likewise.
13569         ($(objpfx)tst-array4.out): Likewise.
13570         ($(objpfx)tst-array5.out): Likewise.
13571         ($(objpfx)tst-array5-static.out): Likewise.
13572         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13573         $(test-program-cmd).
13574         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13575         $(run-program-prefix) with $(test-program-prefix).
13576         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13577         (test_program_prefix): This.
13578         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13579         $(run-program-prefix) with $(test-program-prefix).
13580         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13581         (test_program_prefix): This.
13582         * iconvdata/tst-tables.sh: Likewise.
13583         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13584         $(run-program-prefix) with $(test-program-prefix).
13585         ($(objpfx)tst-translit.out): Likewise.
13586         ($(objpfx)tst-gettext2.out): Likewise.
13587         ($(objpfx)tst-gettext4.out): Likewise.
13588         ($(objpfx)tst-gettext6.out): Likewise.
13589         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13590         (test_program_prefix): This.
13591         * intl/tst-gettext2.sh: Likewise.
13592         * intl/tst-gettext4.sh  Likewise.
13593         * intl/tst-gettext6.sh: Likewise.
13594         * intl/tst-translit.sh: Likewise.
13595         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13596         with $(test-program-cmd).
13597         * libio/Makefile ($(objpfx)test-freopen.out): Replace
13598         $(run-program-prefix) with $(test-program-prefix).
13599         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13600         (test_program_prefix): This.
13601         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13602         $(run-program-prefix) with $(test-program-prefix).
13603         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13604         (test_program_prefix): This.
13605         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13606         * posix/Makefile ($(objpfx)globtest.out): Replace
13607         $(run-via-rtld-prefix) and $(test-wrapper) with
13608         $(test-program-prefix) and $(test-via-rtld-prefix).
13609         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13610         $(test-program-prefix).
13611         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13612         $(host-test-program-cmd).
13613         (tst-spawn-ARGS): Likewise.
13614         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13615         $(test-program-prefix).
13616         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13617         (test_via_rtld_prefix): This.
13618         (test_wrapper): Renamed to ...
13619         (test_program_prefix): This.
13620         (run_program_prefix): Replaced by test_program_prefix.
13621         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13622         (test_program_prefix): This.
13623         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13624         with $(host-test-program-cmd).
13625         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13626         $(run-program-prefix) with $(test-program-prefix).
13627         ($(objpfx)tst-printf.out): Likewise.
13628         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13629         $(test-program-cmd).
13630         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13631         (test_program_prefix): This.
13632         * stdio-common/tst-unbputc.sh: Likewise.
13633         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13634         $(run-program-prefix) with $(test-program-prefix).
13635         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13636         (test_program_prefix): This.
13637         * string/Makefile ($(objpfx)tst-svc.out):  Replace
13638         $(built-program-cmd) with $(test-program-cmd).
13640 2013-01-11  Andreas Jaeger  <aj@suse.de>
13642         [BZ #15003]
13643         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13644         value. Sync with Linux 3.7.
13646 2013-01-10  David S. Miller  <davem@davemloft.net>
13648         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13649         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13650         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13652 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13654         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13655         never set.
13656         * configure: Regenerated.
13658 2013-01-10  David S. Miller  <davem@davemloft.net>
13660         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13661         sparc V9 rather than using V8 code.
13662         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13663         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13665 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13667         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13668         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13669         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13670         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13671         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13672         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13673         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13674         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13675         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13676         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13677         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13678         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13679         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13680         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13681         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13682         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13683         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13684         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13685         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13686         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13687         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13688         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13689         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13690         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13691         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13692         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13693         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13695 2013-01-10  David S. Miller  <davem@davemloft.net>
13697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13699 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13701         * posix/Makefile (tests-static): New variable.
13702         (tests): Add $(tests-static).
13703         (tst-exec-static-ARGS): New variable.
13704         (tst-spawn-static-ARGS): Likewise.
13705         * posix/tst-exec-static.c: New file.
13706         * posix/tst-spawn-static.c: Likewise.
13707         * posix/tst-exec.c: Support run directly.
13708         * posix/tst-spawn.c: Likewise.
13710 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13712         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13713         long.
13714         * math/bits/mathcalls.h (llrint): Likewise.
13715         (llround): Likewise.
13716         * stdlib/stdlib.h (struct drand48_data): Likewise.
13717         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13718         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13719         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13720         Likewise.
13721         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13722         Likewise.
13723         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13724         (elf_greg_t): Likewise.
13725         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13726         (__jmp_buf): Likewise.
13727         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13728         definitions.
13729         (llrint): Likewise, for all definitions.
13730         (llrintl): Likewise.
13732         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13733         Remove [__GNUC__] condition.
13734         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13735         condition to just [__USE_ISOC99].
13736         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13738 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13740         [BZ #14200]
13741         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13742         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13743         defined.
13744         (_POSIX_V6_ILP32_OFF32): Likewise.
13745         (_XBS5_ILP32_OFF32): Likewise.
13746         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13747         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13749 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13751         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13753         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13754         doubles __mpexp_twomm1.  Adjust usage.
13755         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13756         Remove.
13758 2013-01-10  Andreas Schwab  <schwab@suse.de>
13760         [BZ #14964]
13761         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13762         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13764 2013-01-09  David S. Miller  <davem@davemloft.net>
13766         [BZ #15003]
13767         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13768         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13769         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13770         TCP_FASTOPEN): Define.
13771         (tcp_repair_opt): New structure.
13772         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13773         enum values.
13774         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13775         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13776         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13777         (tcp_cookie_transactions): New structure.
13779 2013-01-09  Anton Blanchard  <anton@samba.org>
13781         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13782         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13783         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13784         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13786 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13788         * include/features.h (__USE_ANSI): Remove.
13790 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13792         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13794         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13796 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13798         * sysdeps/s390/fpu/libm-test-ulps: Update.
13800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13802         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13803         (__acr): Likewise.
13804         (__cpy): Likewise.
13805         (norm): Likewise.
13806         (denorm): Likewise.
13807         (__mp_dbl): Likewise.
13808         (__dbl_mp): Likewise.
13809         (add_magnitudes): Likewise.
13810         (sub_magnitudes): Likewise.
13811         (__add): Likewise.
13812         (__sub): Likewise.
13813         (__mul): Likewise.
13814         (__inv): Likewise.
13815         (__dvd): Likewise.
13816         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13817         (__acr): Likewise.
13818         (__cpy): Likewise.
13819         (norm): Likewise.
13820         (denorm): Likewise.
13821         (__mp_dbl): Likewise.
13822         (__dbl_mp): Likewise.
13823         (add_magnitudes): Likewise.
13824         (sub_magnitudes): Likewise.
13825         (__add): Likewise.
13826         (__sub): Likewise.
13827         (__mul): Likewise.
13828         (__inv): Likewise.
13829         (__dvd): Likewise.
13830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13831         (__acr): Likewise.
13832         (__cpy): Likewise.
13833         (norm): Likewise.
13834         (denorm): Likewise.
13835         (__mp_dbl): Likewise.
13836         (__dbl_mp): Likewise.
13837         (add_magnitudes): Likewise.
13838         (sub_magnitudes): Likewise.
13839         (__add): Likewise.
13840         (__sub): Likewise.
13841         (__mul): Likewise.
13842         (__inv): Likewise.
13843         (__dvd): Likewise.
13845 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13847         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13848         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13849         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13850         2 && __USE_EXTERN_INLINES]: Likewise.
13852 2013-01-08  Andreas Jaeger  <aj@suse.de>
13854         [BZ# 14985]
13855         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13856         Remove.
13857         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13858         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13860 2013-01-07  Anton Blanchard  <anton@samba.org>
13862         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13863         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13864         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13865         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13866         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13867         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13868         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13869         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13871         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13872         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13873         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13874         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13875         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13876         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13877         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13878         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13879         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13880         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13881         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13882         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13883         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13884         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13885         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13886         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13887         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13888         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13889         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13890         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13891         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13892         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13893         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13894         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13895         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13896         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13897         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13898         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13899         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13900         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13901         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13902         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13903         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13904         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13906 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13908         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13909         (__MALLOC_PMT): Likewise.
13910         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13911         [__GNUC__], only on [_LIBC].
13912         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13913         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13914         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13915         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13916         forward declaration.
13917         (realloc_hook_ini): Likewise.
13918         (memalign_hook_ini): Likewise.
13919         (__libc_memalign): Do not use __MALLOC_PMT in variable
13920         declaration.
13921         (__libc_valloc): Likewise.
13922         (__libc_pvalloc): Likewise.
13923         (__libc_calloc): Likewise.
13924         (__posix_memalign): Likewise.
13926         [BZ #14996]
13927         * math/s_casinh.c: Include <float.h>.
13928         (__casinh): Do not do computation with squaring and square root
13929         for large arguments.
13930         * math/s_casinhf.c: Include <float.h>.
13931         (__casinhf): Do not do computation with squaring and square root
13932         for large arguments.
13933         * math/s_casinhl.c: Include <float.h>.
13934         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13935         (__casinhl): Do not do computation with squaring and square root
13936         for large arguments.
13937         * math/libm-test.inc (casin_test): Add more tests.
13938         (casinh_test): Likewise.
13939         * sysdeps/i386/fpu/libm-test-ulps: Update.
13940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13942 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13944         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13945         (__x86_64_raw_data_cache_size): Likewise.
13946         (__x86_64_data_cache_size_half): Likewise.
13947         (__x86_64_raw_data_cache_size_half): Likewise.
13948         (__x86_64_shared_cache_size): Likewise.
13949         (__x86_64_raw_shared_cache_size): Likewise.
13950         (__x86_64_shared_cache_size_half): Likewise.
13951         (__x86_64_raw_shared_cache_size_half): Likewise.
13952         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13953         to ...
13954         (__x86_data_cache_size): This.
13955         (__x86_64_raw_data_cache_size): Renamed to ...
13956         (__x86_raw_data_cache_size): This.
13957         (__x86_64_data_cache_size_half): Renamed to ...
13958         (__x86_data_cache_size_half): This.
13959         (__x86_64_raw_data_cache_size_half): Renamed to ...
13960         (__x86_raw_data_cache_size_half): This.
13961         (__x86_64_shared_cache_size): Renamed to ...
13962         (__x86_shared_cache_size): This.
13963         (__x86_64_raw_shared_cache_size): Renamed to ...
13964         (__x86_raw_shared_cache_size): This.
13965         (__x86_64_shared_cache_size_half): Renamed to ...
13966         (__x86_shared_cache_size_half): This.
13967         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13968         (__x86_raw_shared_cache_size_half): This.
13969         * sysdeps/x86_64/memcpy.S: Updated.
13970         * sysdeps/x86_64/memset.S: Likewise.
13971         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13972         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13973         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13975 2013-01-04  David S. Miller  <davem@davemloft.net>
13977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13979 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13981         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13982         1 to avoid redefinition warning.
13983         (__USE_GNU): Don't define.
13984         (init_signaling_nan): Protoize.
13986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13988 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13990         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13992         (__cpymn): Likewise.
13993         (norm): Remove commented code.
13994         (denorm): Likewise.
13995         (__mp_dbl): Likewise.
13996         (__inv): Likewise.
13997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13998         (__cpymn): Likewise.
13999         (norm): Remove commented code.
14000         (denorm): Likewise.
14001         (__mp_dbl): Likewise.
14002         (__inv): Likewise.
14004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14005         mp_no value for 1.0 and 2.0.
14006         (norm): Use RADIXI instead of radixi.d.
14007         (denorm): Likewise.
14008         (__mul): Use 0.0 instead of zero.d.
14009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14010         mp_no value for 1.0 and 2.0.
14011         (norm): Use RADIXI instead of radixi.d.
14012         (denorm): Likewise.
14013         (__mul): Use 0.0 instead of zero.d.
14015 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
14017         [BZ #14994]
14018         * math/s_casinh.c (__casinh): Reduce finite argument to first
14019         quadrant then set signs of results at the end.
14020         * math/s_casinhf.c (__casinhf): Likewise.
14021         * math/s_casinhl.c (__casinhl): Likewise.
14022         * math/libm-test.inc (casin_test): Add more tests.
14023         (casinh_test): Likewise.
14024         * sysdeps/i386/fpu/libm-test-ulps: Update.
14025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14027 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14029         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14031         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14033         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14034         declarations.
14035         (denorm): Likewise.
14036         (__mp_dbl): Likewise.
14037         (__inv): Likewise.
14039         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14040         and adjust the header comment.
14042         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14043         variable name from declaration.
14045 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
14047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14048         Initialize COMMON_CPUID_INDEX_7 element.
14049         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14050         (CPUID_RTM): Likewise.
14051         (HAS_RTM): Likewise.
14052         (COMMON_CPUID_INDEX_7): New enum.
14054 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
14056         [BZ #14981]
14057         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14058         size is zero, record memory as freed.
14060 2013-01-03  Andreas Jaeger  <aj@suse.de>
14062         * po/ia.po: Add new Interlingua translation.
14064 2012-01-03  Allan McRae  <allan@archlinux.org>
14066         * locale/programs/localedef.c: Fix description of '--posix' flag.
14068 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
14070         * NEWS: Update dates in second copyright notice.
14071         * README: Update copyright dates in example.
14072         * manual/libc.texinfo: Update copyright dates.
14073         * scripts/test-installation.pl: Update copyright date in --version
14074         output.
14076         * hurd/ctty-input.c: Fix copyright notice formatting.
14077         * hurd/ctty-output.c: Likewise.
14078         * hurd/dtable.c: Likewise.
14079         * hurd/hurd-raise.c: Likewise.
14080         * hurd/hurdprio.c: Likewise.
14081         * hurd/msgportdemux.c: Likewise.
14082         * misc/sys/file.h: Likewise.
14083         * misc/sys/ioctl.h: Likewise.
14084         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14085         * sysdeps/mach/hurd/chdir.c: Likewise.
14086         * sysdeps/mach/hurd/fchdir.c: Likewise.
14087         * sysdeps/mach/hurd/rename.c: Likewise.
14088         * sysdeps/mach/hurd/rmdir.c: Likewise.
14089         * sysdeps/mach/hurd/seekdir.c: Likewise.
14090         * sysdeps/mach/hurd/setsid.c: Likewise.
14091         * sysdeps/posix/wait3.c: Likewise.
14093         * All files with FSF copyright notices: Update copyright dates
14094         using scripts/update-copyrights.
14095         * intl/plural.c: Regenerated.
14096         * locale/programs/charmap-kw.h: Likewise.
14097         * locale/programs/locfile-kw.h: Likewise.
14099 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14101         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14102         four values.
14104         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14105         calculation loop and add branch prediction.
14107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14108         check access beyond bounds of m1np.
14110         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14111         MPTWO.
14112         (__inv): Remove local variable MPTWO to use the global
14113         constant.
14114         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14115         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14116         variable MPTWO.
14117         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14118         MP3HALFS static const.
14120 2013-01-01  David S. Miller  <davem@davemloft.net>
14122         * po/ca.po: Update from translation team.
14124 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
14126         * scripts/update-copyrights: New file.
14127         * Makeconfig: Reformat copyright notice.
14128         * ctype/ctype.h: Likewise.
14129         * debug/swprintf_chk.c: Likewise.
14130         * elf/dl-cache.c: Likewise.
14131         * elf/dl-debug.c: Likewise.
14132         * elf/dl-object.c: Likewise.
14133         * grp/initgroups.c: Likewise.
14134         * hurd/Makefile: Likewise.
14135         * hurd/hurd/signal.h: Likewise.
14136         * hurd/hurdfault.c: Likewise.
14137         * hurd/hurdioctl.c: Likewise.
14138         * hurd/hurdlookup.c: Likewise.
14139         * hurd/intr-msg.c: Likewise.
14140         * iconv/gconv_open.c: Likewise.
14141         * libio/swprintf.c: Likewise.
14142         * locale/lc-ctype.c: Likewise.
14143         * locale/nl_langinfo.c: Likewise.
14144         * mach/Machrules: Likewise.
14145         * mach/Makefile: Likewise.
14146         * malloc/obstack.h: Likewise.
14147         * manual/Makefile: Likewise.
14148         * manual/tsort.awk: Likewise.
14149         * misc/bits/stab.def: Likewise.
14150         * nis/nis_print_group_entry.c: Likewise.
14151         * nis/nis_table.c: Likewise.
14152         * nis/nss_compat/compat-pwd.c: Likewise.
14153         * nis/nss_compat/compat-spwd.c: Likewise.
14154         * po/Makefile: Likewise.
14155         * posix/fnmatch.c: Likewise.
14156         * posix/regex.h: Likewise.
14157         * resolv/Makefile: Likewise.
14158         * resolv/nss_dns/dns-network.c: Likewise.
14159         * resolv/res_hconf.c: Likewise.
14160         * scripts/gen-sorted.awk: Likewise.
14161         * soft-fp/soft-fp.h: Likewise.
14162         * stdio-common/printf.h: Likewise.
14163         * stdlib/monetary.h: Likewise.
14164         * stdlib/random.c: Likewise.
14165         * stdlib/random_r.c: Likewise.
14166         * sysdeps/generic/Makefile: Likewise.
14167         * sysdeps/gnu/Makefile: Likewise.
14168         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14169         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14170         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14171         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14172         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14173         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14174         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14175         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14176         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14177         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14178         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14179         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14180         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14181         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14182         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14183         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14184         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14185         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14186         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14187         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14188         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14189         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14190         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14191         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14192         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14193         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14194         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14195         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14196         * sysdeps/mach/hurd/errnos.awk: Likewise.
14197         * sysdeps/mach/hurd/fork.c: Likewise.
14198         * sysdeps/mach/hurd/getcwd.c: Likewise.
14199         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14200         * sysdeps/mach/hurd/mmap.c: Likewise.
14201         * sysdeps/mach/hurd/utimes.c: Likewise.
14202         * sysdeps/mach/hurd/xmknod.c: Likewise.
14203         * sysdeps/posix/profil.c: Likewise.
14204         * sysdeps/posix/readdir_r.c: Likewise.
14205         * sysdeps/powerpc/bits/mathdef.h: Likewise.
14206         * sysdeps/powerpc/bits/setjmp.h: Likewise.
14207         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14208         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14209         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14210         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14211         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14212         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14214         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14215         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14216         * sysdeps/pthread/lio_listio.c: Likewise.
14217         * sysdeps/sparc/dl-procinfo.h: Likewise.
14218         * sysdeps/unix/i386/sysdep.S: Likewise.
14219         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14220         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14221         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14222         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14224         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14225         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14226         * sysdeps/unix/sysv/linux/speed.c: Likewise.
14227         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14228         * sysdeps/wordsize-32/divdi3.c: Likewise.
14229         * time/sys/time.h: Likewise.
14230         * wcsmbs/Makefile: Likewise.
14232 2013-01-01  David S. Miller  <davem@davemloft.net>
14234         * po/fr.po: Update from translation team.
14236         * catgets/gencat.c: Update copyright year.
14237         * csu/version.c: Likewise.
14238         * debug/catchsegv.sh: Likewise.
14239         * debug/pcprofiledump.c: Likewise.
14240         * debug/xtrace.sh: Likewise.
14241         * elf/ldconfig.c: Likewise.
14242         * elf/ldd.bash.in: Likewise.
14243         * elf/pldd.c: Likewise.
14244         * elf/sotruss.ksh: Likewise.
14245         * elf/sprof.c: Likewise.
14246         * iconv/iconv_prog.c: Likewise.
14247         * iconv/iconvconfig.c: Likewise.
14248         * locale/programs/locale.c: Likewise.
14249         * locale/programs/localedef.c: Likewise.
14250         * login/programs/pt_chown.c: Likewise.
14251         * malloc/memusage.sh: Likewise.
14252         * malloc/memusagestat.c: Likewise.
14253         * malloc/mtrace.pl: Likewise.
14254         * nscd/nscd.c: Likewise.
14255         * nss/getent.c: Likewise.
14256         * nss/makedb.c: Likewise.
14257         * posix/getconf.c: Likewise.
14259 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14261         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14262         numbers.
14264 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
14266         * math/bits/mathcalls.h (modf): Use __nonnull.
14268 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14270         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14271         (split): Use macro CN instead of the bare value.
14272         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14273         could be used.
14274         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14275         instead of the bare value.
14276         (power1): Likewise.
14278 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14280         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14281         __ATAN_TWOM.
14282         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14284         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14285         their values.
14286         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14287         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14288         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14289         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14291 2012-12-28  Andreas Jaeger  <aj@suse.de>
14293         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
14294         values are from Linux 3.7.
14296         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14297         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
14299 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14301         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14302         TRUE case.
14304         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14305         (norm): Likewise.
14306         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14307         variables with preprocessor constants.
14308         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14309         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14310         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14312 2012-12-27  Bruno Haible  <bruno@clisp.org>
14314         [BZ #14317]
14315         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14316         only if needed.
14318 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14321         and use variable directly.
14322         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14324         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14325         MPONE.
14326         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14327         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14328         variable MPONE.
14329         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14330         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14331         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14332         include directive.  Remove local variable MPONE.
14333         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14334         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14335         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14337 2012-12-25  David S. Miller  <davem@davemloft.net>
14339         * version.h (RELEASE): Set to "development".
14340         (VERSION): Set to "2.17.90".
14341         * NEWS: Add 2.18 section.
14343 2012-12-21  David S. Miller  <davem@davemloft.net>
14345         * po/hr.po: Update from translation team.
14347 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14349         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14351 2012-12-19  Steve Ellcey  <sellcey@mips.com>
14353         * NEWS:  Mention new memcpy for MIPS.
14355 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14357         * manual/contrib.texi (Contributors): Spelling correction.
14359 2012-12-15  David S. Miller  <davem@davemloft.net>
14361         * po/ru.po: Update from translation team.
14363 2012-12-13  David S. Miller  <davem@davemloft.net>
14365         * NEWS: Mention IFUNC testsuite enhancements.
14367         * po/pl.po: Update from translation team.
14368         * po/bg.po: Likewise.
14370         * manual/contrib.texi (Contributors): Update entries for Hongjiu
14371         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
14373 2012-12-11  David S. Miller  <davem@davemloft.net>
14375         * po/sv.po: Update from translation team.
14377         * po/vi.po: Update from translation team.
14379         * po/cs.po: Update from translation team.
14381         * po/de.po: Update from translation team.
14382         * po/eo.po: Likewise.
14383         * po/nl.po: Likewise.
14385 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14387         [BZ #14246]
14388         * manual/argp.texi (Argp Helper Functions): Move node to follow
14389         Argp Parsing State.
14391         [BZ #14872]
14392         * manual/conf.texi (Limits on File System Capacity): Mention if
14393         terminating null is included in the max size.
14395 2012-12-10  Andreas Jaeger  <aj@suse.de>
14397         * po/cs.po: Update from translation team.
14399 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14401         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14402         void pointer and cast to uintptr_t.
14403         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14404         path.
14405         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14406         * sysdeps/s390/s390-64/memset.S: Likewise.
14408 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
14410         [BZ #14833]
14411         * menual/message.texi (Message Translation): Fix typos.
14412         (Helper programs for gettext): Likewise.
14414 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
14416         [BZ #14898]
14417         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14418         Change to -1.
14420 2012-12-07  David S. Miller  <davem@davemloft.net>
14422         * po/libc.pot: Update.
14424 2012-12-07  Richard Henderson  <rth@redhat.com>
14426         [BZ #10114]
14427         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14428         normal/normal case to before the switch.
14429         (_FP_DIV): Likewise.
14431 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
14432             Mike Frysinger  <vapier@gentoo.org>
14434         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14435         check for __NR_fadvise64_64.
14437 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
14439         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14440         0, not just to plain "0" as a statement.
14441         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14442         with cw.
14444 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
14446         * NEWS: Use sourceware.org in Bugzilla URL.
14448 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14451         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14453         * stdio-common/tst-put-error.c (do_test): Add newline to the
14454         padded test to ensure flush.
14456 2012-12-05  Jeff Law  <law@redhat.com>
14458         * sunrpc/etc.rpc (fedfs_admin): Add entry.
14460 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
14462         * README: Don't refer to ports add-on as distributed separately.
14463         Mention AArch64 in list of systems supported in the ports add-on.
14465         * LICENSES: Add more non-FSF copyright and license notices.
14467         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14468         ((unused)).
14470         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14472         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14473         10000 as width of padded output.
14475 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14477         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14479         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14480         variable LX with __attribute__ ((unused)).
14481         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14482         Likewise.
14483         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14485         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14486         with __attribute__ ((unused)).
14488 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
14490         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14492 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
14494         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14495         (CFLAGS-nldbl-acos.c): New variable.
14496         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14497         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14498         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14499         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14500         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14501         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14502         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14503         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14504         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14505         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14506         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14507         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14508         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14509         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14510         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14511         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14512         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14513         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14514         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14515         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14516         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14517         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14518         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14519         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14520         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14521         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14522         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14523         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14524         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14525         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14526         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14527         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14528         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14529         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14530         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14531         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14532         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14533         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14534         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14535         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14536         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14537         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14538         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14539         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14540         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14541         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14542         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14543         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14544         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14545         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14546         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14547         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14548         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14549         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14550         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14551         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14552         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14553         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14554         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14555         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14556         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14557         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14558         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14559         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14560         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14561         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14562         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14563         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14564         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14565         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14566         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14567         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14568         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14569         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14570         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14571         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14572         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14573         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14574         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14575         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14576         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14577         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14578         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14579         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14580         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14581         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14582         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14583         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14584         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14585         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14586         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14587         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14588         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14589         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14590         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14591         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14592         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14595         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14597         [BZ #14914]
14598         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14599         whole low double instead of just low 47 bits when splitting values
14600         into two parts.
14602 2012-12-03  Allan McRae  <allan@archlinux.org>
14604         * manual/stdio.texi (Predefined Printf Handlers): Remove
14605         @hsep and @vsep usage.
14607 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
14609         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14610         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14612 2012-12-03  Jeff Law  <law@redhat.com>
14614         * time/sys/time.h (settimeofday): Do not mark TV argument
14615         as __nonnull.
14617 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
14619         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14620         when currently writing and seek to current position when not.
14621         * libio/Makefile (tests): Remove bug-fclose1.
14622         * libio/bug-fclose1.c: Delete.
14624 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
14626         * manual/arith.texi (feenableexcept): Fix typo.
14627         (fedisableexcept): Likewise.
14629 2012-11-30  Roland McGrath  <roland@hack.frob.com>
14631         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14632         second, differently-typed declaration, rather than a cast.
14634 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14636         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14637         * include/rpc/svc.h: ... here.
14639 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
14641         [BZ #13013]
14642         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14643         depending n and resplen2 to catch cases where answer
14644         equals answerp2.
14646 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
14648         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14649         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14651 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
14653         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14655 2012-11-29  Roland McGrath  <roland@hack.frob.com>
14657         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14659 2012-11-28  Jeff Law  <law@redhat.com>
14661         [BZ #13761]
14662         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14663         dataset_temporary.  Track alloca usage into alloca_used.
14664         If dataset is large allocate and release it via malloc/free.
14666 2012-06-04  Florian Weimer  <fweimer@redhat.com>
14668         [BZ #14197]
14669         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14671 2012-11-28  David S. Miller  <davem@davemloft.net>
14673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14675 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14677         [BZ #14803]
14678         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14679         of pi/2 rounded to nearest to 64 bits.
14680         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14681         nearest to 64 bits.
14682         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14683         bits.
14685 2012-11-28  Jeff Law <law@redhat.com>
14686             Martin Osvald <mosvald@redhat.com>
14688         [BZ #14889]
14689         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14690         * sunrpc/svc.c: Include time.h.
14691         (__svc_accept_failed): New function.
14692         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14693         any reason other than EINTR, call __svc_accept_failed.
14694         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14695         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14697 2012-11-28  Andreas Schwab  <schwab@suse.de>
14699         * scripts/abilist.awk: Also handle indirect functions in .opd
14700         section.
14702 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14704         [BZ #13881]
14705         * sysdeps/x86/fpu/powl_helper.c: New file.
14706         * sysdeps/x86/fpu/Makefile: Likewise.
14707         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14708         (p3): New object.
14709         (__ieee754_powl): Use __powl_helper for finite arguments except
14710         integer exponents below 8.
14711         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14712         (p3): New object.
14713         (__ieee754_powl): Use __powl_helper for finite arguments except
14714         integer exponents below 8.
14715         * math/libm-test.inc (pow_test): Add more tests and enable some
14716         previously disabled tests.
14717         * sysdeps/i386/fpu/libm-test-ulps: Update.
14718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14720 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14721             Carlos O'Donell  <carlos_odonell@mentor.com>
14723         * nss/makedb.c (is_prime): Assert that input is odd and greater
14724         than 4.  Note that fact in a comment too.
14725         (next_prime): Add 4 to input.
14727 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14729         [BZ #11741]
14730         * libio/Makefile (tests): Add test case tst-fwrite-error.
14731         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14732         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14733         * libio/tst-fwrite-error.c: New test case.
14735 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14737         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14738         before casting to void *.
14739         * include/libc-internal.h (__pointer_type): New macro.
14740         (__integer_if_pointer_type_sub): Likewise.
14741         (__integer_if_pointer_type): Likewise.
14742         (cast_to_integer): Likewise.
14743         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14744         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14745         before casting to atomic64_t.
14746         (atomic_exchange_acq): Likewise.
14747         (__arch_exchange_and_add_body): Likewise.
14748         (__arch_add_body): Likewise.
14749         (atomic_add_negative): Likewise.
14750         (atomic_add_zero): Likewise.
14752 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14754         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14755         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14756         (add_fdes): Likewise.
14757         (linear_search_fdes): Likewise.
14758         (binary_search_unencoded_fdes): Likewise.
14760 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14762         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14764 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14766         * configure.in: Autodetect C++ header directories.
14767         * configure: Regenerated.
14769 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14771         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14773 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14777 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14779         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14780         LDBL_MANT_DIG == 106]: Disable some tests.
14781         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14782         Likewise.
14783         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14784         Likewise.
14786         [BZ #14871]
14787         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14788         input for small inputs.  Return +/- pi/2 for large inputs.
14789         * math/libm-test.inc (atan_test): Add more tests.
14791         * sysdeps/generic/unwind-dw2-fde-glibc.c
14792         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14793         __attribute__ ((unused)).
14795         [BZ #14645]
14796         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14797         x * y if x and y are nonzero and z is zero.
14799         [BZ #14811]
14800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14801         nonzero exponents with absolute value below 0x1p-117 to +/-
14802         0x1p-117.
14804         [BZ #14869]
14805         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14806         up arguments below 2**-450, not just those below 2**-500.
14807         * math/libm-test.inc (hypot_test): Add another test.
14809         [BZ #14868]
14810         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14811         Return a+b for ratio over 2**120, not 2**60.
14812         * math/libm-test.inc (hypot_test): Add another test.
14814         * math/libm-test.inc (clog_test): Use
14815         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14816         (clog10_test): Likewise.
14818         [BZ #6778]
14819         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14821 2012-11-22  Andreas Schwab  <schwab@suse.de>
14823         * sysdeps/i386/fpu/libm-test-ulps: Update.
14825 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14827         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14828         printf output with newline.
14830 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14832         [BZ #14865]
14833         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14834         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14835         -z nodlopen, -z initfirst and -z execstack support.
14836         * configure: Regenerated.
14838         * elf/elf.h (DF_1_NODIRECT): New macro.
14839         (DF_1_IGNMULDEF): Likewise.
14840         (DF_1_NOKSYMS): Likewise.
14841         (DF_1_NOHDR): Likewise.
14842         (DF_1_EDITED): Likewise.
14843         (DF_1_NORELOC): Likewise.
14844         (DF_1_SYMINTPOSE): Likewise.
14845         (DF_1_GLOBAUDIT): Likewise.
14846         (DF_1_SINGLETON): Likewise.
14847         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14848         DT_1_SUPPORTED_MASK bits.
14849         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14851 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14853         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14855 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14857         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14858         macro.
14860         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14861         (sendmmsg): Move declarations...
14862         * socket/sys/socket.h: ... here.
14863         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14864         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14865         include it from...
14866         * socket/recvmmsg.c: ... this new file.
14867         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14868         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14869         definition of __sendmmsg hidden.
14870         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14871         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14872         Move ENOSYS stub into and include it from...
14873         * socket/sendmmsg.c: ... this new file.
14874         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14875         (sysdep_routines): Move recvmmsg and sendmmsg...
14876         * socket/Makefile (routines): ... here.
14877         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14878         (GLIBC_PRIVATE): Add __sendmmsg.
14879         * include/sys/socket.h (__sendmmsg): Add declarations.
14880         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14881         sendmmsg.
14883 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14885         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14886         variable I1 with __attribute__ ((unused)).
14887         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14889 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14891         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14892         DUMMY variables with __attribute__ ((unused)).
14894         * bits/byteswap.h: Include <bits/types.h>.
14895         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14897 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14899         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14900         string_t.  Do not manually set errno.
14901         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14902         length with __strnlen.  Make sure to both set errno and return it on
14903         failure.
14905 2012-11-19  David S. Miller  <davem@davemloft.net>
14907         With help from Joseph Myers.
14908         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14909         very large arguments properly.
14910         * math/libm-test.inc (atan_test): New tests.
14911         (atan2_test): New tests.
14912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14915 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14917         [BZ #14856]
14918         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14919         Define to 3.
14921         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14922         [POSIX] (EADDRNOTAVAIL): Likewise.
14923         [POSIX] (EAFNOSUPPORT): Likewise.
14924         [POSIX] (EALREADY): Likewise.
14925         [POSIX] (ECONNABORTED): Likewise.
14926         [POSIX] (ECONNREFUSED): Likewise.
14927         [POSIX] (ECONNRESET): Likewise.
14928         [POSIX] (EDESTADDRREQ): Likewise.
14929         [POSIX] (EDQUOT): Likewise.
14930         [POSIX] (EHOSTUNREACH): Likewise.
14931         [POSIX] (EIDRM): Likewise.
14932         [POSIX] (EISCONN): Likewise.
14933         [POSIX] (ELOOP): Likewise.
14934         [POSIX] (EMULTIHOP): Likewise.
14935         [POSIX] (ENETDOWN): Likewise.
14936         [POSIX] (ENETUNREACH): Likewise.
14937         [POSIX] (ENOBUFS): Likewise.
14938         [POSIX] (ENODATA): Likewise.
14939         [POSIX] (ENOLINK): Likewise.
14940         [POSIX] (ENOMSG): Likewise.
14941         [POSIX] (ENOPROTOOPT): Likewise.
14942         [POSIX] (ENOSR): Likewise.
14943         [POSIX] (ENOSTR): Likewise.
14944         [POSIX] (ENOTCONN): Likewise.
14945         [POSIX] (ENOTSOCK): Likewise.
14946         [POSIX] (EOPNOTSUPP): Likewise.
14947         [POSIX] (EOVERFLOW): Likewise.
14948         [POSIX] (EPROTO): Likewise.
14949         [POSIX] (EPROTONOSUPPORT): Likewise.
14950         [POSIX] (EPROTOTYPE): Likewise.
14951         [POSIX] (ESTALE): Likewise.
14952         [POSIX] (ETIME): Likewise.
14953         [POSIX] (ETXTBSY): Likewise.
14954         [POSIX] (EWOULDBLOCK): Likewise.
14955         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14956         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14957         [POSIX] (SEEK_CUR): Likewise.
14958         [POSIX] (SEEK_END): Likewise.
14959         [POSIX || UNIX98] (mode_t): Do not require.
14960         [POSIX] (off_t): Likewise.
14961         [POSIX] (pid_t): Likewise.
14962         [POSIX] (sys/stat.h): Do not allow header.
14963         [POSIX] (unistd.h): Likewise.
14964         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14965         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14966         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14967         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14968         require.
14969         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14970         sigevent): Specify elements.
14971         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14972         entry.
14973         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14974         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14976         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14977         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14978         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14979         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14980         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14981         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14982         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14983         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14984         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14985         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14986         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14987         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14988         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14989         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14990         Likewise.
14991         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14992         Likewise.
14993         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14994         Likewise.
14995         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14996         Likewise.
14997         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14998         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14999         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15000         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15001         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15002         Specify lower bound on value.
15003         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15004         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15005         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15006         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15007         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15008         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15009         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15010         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15011         value.
15012         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15013         as optional.
15014         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15015         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15016         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15017         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15018         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15019         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15020         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15021         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15022         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15023         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15024         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15025         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15026         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15027         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15028         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15029         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15030         entry.
15031         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15032         optional.
15033         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15034         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15035         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15036         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15037         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15038         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15039         Likewise.
15040         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15041         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15042         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15043         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15044         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
15045         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15046         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15047         as optional.
15048         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15049         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15050         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15051         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15052         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15053         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15054         specify as optional.
15055         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15056         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15057         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15058         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15059         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15060         [XPG3] (NL_LANGMAX): Likewise.
15061         [POSIX || XPG3] (NL_MSGMAX): Likewise.
15062         [POSIX || XPG3] (NL_NMAX): Likewise.
15063         [POSIX || XPG3] (NL_SETMAX): Likewise.
15064         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15065         [XPG3] (NZERO): Likewise.
15066         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15067         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15068         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15069         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15070         (REG_ERANGE): Expect.
15071         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15072         optional-constant.
15073         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15074         Use (void) in prototype.
15075         [POSIX] (*_t): Allow.
15076         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15077         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15078         (WRDE_BADVAL): Expect.
15080         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15081         expect.
15082         [XPG3 || XPG4] (O_RSYNC): Likewise.
15083         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15084         Likewise.
15085         [XPG3 || XPG4] (pthread_sigmask): Likewise.
15086         [XPG3 || XPG4] (sigqueue): Likewise.
15087         [XPG3 || XPG4] (sigtimedwait): Likewise.
15088         [XPG3 || XPG4] (sigwaitinfo): Likewise.
15089         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15090         [XPG3 || XPG4] (vsnprintf): Likewise.
15091         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15092         Likewise.
15093         [XPG3 || XPG4] (blksize_t): Likewise.
15094         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15095         Likewise.
15096         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15097         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15098         [XPG3 || XPG4] (struct itimerspec): Likewise.
15099         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15100         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15101         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15102         [XPG3 || XPG4] (clockid_t): Likewise.
15103         [XPG3 || XPG4] (timer_t): Likewise.
15104         [XPG3 || XPG4] (clock_getres): Likewise.
15105         [XPG3 || XPG4] (clock_gettime): Likewise.
15106         [XPG3 || XPG4] (clock_settime): Likewise.
15107         [XPG3 || XPG4] (nanosleep): Likewise.
15108         [XPG3 || XPG4] (timer_create): Likewise.
15109         [XPG3 || XPG4] (timer_delete): Likewise.
15110         [XPG3 || XPG4] (timer_gettime): Likewise.
15111         [XPG3 || XPG4] (timer_getoverrun): Likewise.
15112         [XPG3 || XPG4] (timer_settime): Likewise.
15113         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15114         [XPG3 || XPG4] (getlogin_r): Likewise.
15115         [XPG3 || XPG4] (pread): Likewise.
15116         [XPG3 || XPG4] (pthread_atfork): Likewise.
15117         [XPG3 || XPG4] (pwrite): Likewise.
15119         [BZ #14835]
15120         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15121         <bits/siginfo.h>.
15123 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15125         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15126         finalizing MALLSTREAM.
15128         * sysdeps/mach/hurd/syncfs.c: New file.
15130 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15132         [BZ #14719]
15133         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15134         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15135         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15136         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15137         (_nss_dns_gethostbyname4_r): Likewise.
15138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15139         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15141 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
15143         [BZ #13763]
15144         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15146 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
15148         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15149         * elf/cache.c (print_entry): Print ",AArch64" for
15150         FLAG_AARCH64_LIB64
15152         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15153         * elf/cache.c (print_entry): Print ",hard-float" for
15154         FLAG_ARM_LIBHF.
15156 2012-11-18  David S. Miller  <davem@davemloft.net>
15158         With help from Joseph Myers.
15159         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15160         cutoff to 2**-13.
15161         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15162         cutoff to 2**-25.
15163         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15164         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15165         small.
15166         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15167         * math/libm-test.inc (y0_test): New tests.
15168         (y1_test): New tests.
15169         * sysdeps/i386/fpu/libm-test-ulps: Update.
15170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15173 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
15175         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15176         64-bit targets.
15177         * configure: Regenerated.
15179 2012-11-17  David S. Miller  <davem@davemloft.net>
15181         [BZ #14811]
15182         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15183         nonzero exponents with absolute value below 0x1p-128 to +/-
15184         0x1p-128.
15186 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
15188         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15190         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15192         * posix/getconf-speclist.c: New file.
15193         * posix/posix-envs.def: Likewise.
15194         * posix/confstr.c (START_ENV_GROUP): New macro.
15195         (END_ENV_GROUP): Likewise.
15196         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15197         (KNOWN_PRESENT_ENV_STRING): Likewise.
15198         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15199         (UNKNOWN_ENVIRONMENT): Likewise.
15200         (confstr): Include posix-envs.def instead of handling
15201         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15202         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15203         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15204         (END_ENV_GROUP): Likewise.
15205         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15206         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15207         (UNKNOWN_ENVIRONMENT): Likewise.
15208         (__sysconf): Include posix-envs.def instead of handling associated
15209         cases directly here.
15210         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15211         preprocessing getconf-speclist.c rather than running getconf or
15212         generating empty file.
15214 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
15216         * scripts/check-local-headers.sh: Ignore 'mach' headers.
15218 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
15220         [BZ #14672]
15221         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15223 2012-11-16  David S. Miller  <davem@davemloft.net>
15225         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15226         smaller than LDBL_EPSILON/2.0L, just return xm1.
15228 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
15230         * elf/tst-array1.c (init): Set constructor priority to 1000.
15231         (fini): Set destructor priority to 1000.
15232         * elf/tst-array2dep.c: Likewise.
15234 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15236         [BZ #11741]
15237         * libio/fileops.c (_IO_new_file_write): Correctly return error.
15238         (_IO_new_file_xsputn): Also return EOF if none of the input
15239         data was written when overflow failed.
15240         * libio/iopadn.c (_IO_padn): Likewise.
15241         * libio/iowpadn.c (_IO_wpadn): Likewise.
15242         * stdio-common/tst-put-error.c: Add copyright notice.
15243         (do_test): Add case for printing padded string.
15244         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15245         _IO_padn returned error.
15246         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15247         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15248         return EOF.
15250 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15252         * libio/libioP.h: Add comment note that the references to C++
15253         bits are now obsolete.
15255 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15257         * math/libm-test.inc (check_complex): Use asprintf.
15259 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
15261         * debug/pcprofiledump.c (print_version): Update copyright year.
15262         * malloc/memusagestat.c (print_version): Likewise.
15264 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15266         [BZ #14831]
15267         * elf/Makefile (tests): Add tst-audit8.
15268         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15269         ($(objpfx)tst-audit8.out): New target.
15270         (tst-audit8-ENV): New variable.
15271         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15272         audit if l_reloc_result is NULL.
15273         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15274         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15275         * elf/tst-audit8.c: New file.
15277 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15279         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15280         * misc/Makefile (CFLAGS-select.c): Define.
15281         * posix/Makefile (CFLAGS-pause.c): Define.
15283 2012-11-13  David S. Miller  <davem@davemloft.net>
15285         * crypt/Makefile: Move test targets after toplevel Rules
15286         inclusion.  Grab any necessary sysdep routines when linking.
15287         * crypt/md5.c (md5_process_block): Remove define, we will always
15288         name it __md5_process_block.
15289         (md5_finish_ctx): Update md5_process_block call.
15290         (md5_stream): Likewise.
15291         (md5_process_bytes): Likewise.
15292         (md5_process_block): Rename to __md5_process_block and move to ...
15293         * crypt/md5-block.c: ... here.
15294         * crypt/sha256.c (sha256_process_block): Move to ...
15295         * crypt/sha256-block.c: ... here.
15296         * crypt/sha512.c (sha512_process_block): Move to ...
15297         * crypt/sha512-block.c: ... here.
15298         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15299         path.
15300         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15301         * sysdeps/sparc/sparc64/multiarch/Makefile
15302         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15303         crypt subdir.
15304         (localedef-aux): Add md5 crypto assembler when in locale subdir.
15305         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15306         multiarch changes.
15307         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15308         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15309         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15310         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15311         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15312         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15313         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15314         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15315         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15316         file.
15317         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15318         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15319         file.
15320         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15322 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
15324         * timezone/tzselect.ksh: Update from tzcode git revision
15325         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15326         * timezone/zdump.c: Likewise.
15327         * timezone/zic.c: Likewise.
15328         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15329         in TZVERSION setting, not $(PKGVERSION).
15330         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
15331         REPORT_BUGS_TO settings.
15333         [BZ #14838]
15334         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15335         macro.
15337 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15339         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15340         detection to immediately after _FP_ROUND().
15341         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15342         bits are 0.
15344 2012-11-11  David S. Miller  <davem@davemloft.net>
15346         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15347         inttypes.h
15348         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15349         __close rather than their public counterparts.
15351 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
15353         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15354         file.
15355         [UNIX98] (sem_timedwait): Do not expect.
15356         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15357         [XPG4 || UNIX98] (sockatmark): Do not expect.
15358         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15359         (clock_getcpuclockid): Do not expect.
15360         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15361         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15362         Do not expect.
15363         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15364         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15365         [UNIX98] (vwscanf): Likewise.
15366         [UNIX98] (vswscanf): Likewise.
15368 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
15370         * timezone/version.h: Remove file.
15371         * timezone/README: Do not refer to version.h.
15372         * timezone/Makefile ($(objpfx)zic.o): New dependency on
15373         $(objpfx)version.h.
15374         ($(objpfx)zdump.o): Likewise.
15375         ($(objpfx)version.h): New target.
15377         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15378         2012i.
15379         * timezone/README: Don't mention modification to tzselect.ksh.
15380         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15381         work on unmodified tzselect.ksh.  Substitute version numbers in
15382         tzselect.ksh.
15384         * Makefile (format-me): Remove.
15385         (INSTALL): Adjust indentation.  Use commands directly instead of
15386         using $(format-me).
15388         * aclocal.m4 (ACX_PKGVERSION): New macro.
15389         (ACX_BUGURL): Likewise.
15390         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15391         (PKGVERSION): New AC_DEFINE_UNQUOTED.
15392         (REPORT_BUGS_TO): Likewise.
15393         * configure: Regenerated.
15394         * config.h.in (PKGVERSION): New macro.
15395         (REPORT_BUGS_TO): Likewise.
15396         * config.make.in (PKGVERSION): New variable.
15397         (PKGVERSION_TEXI): Likewise.
15398         (REPORT_BUGS_TO): Likewise.
15399         (REPORT_BUGS_TEXI): Likewise.
15400         * Makefile (format-me): Use -I$(common-objpfx)manual.
15401         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15402         ($(common-objpfx)manual/%): New target.
15403         (manual/%): Remove target.
15404         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15405         (print_version): Use PKGVERSION.
15406         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15407         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15408         and REPORT_BUGS_TO.
15409         ($(objpfx)xtrace): Likewise.
15410         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15411         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15412         (print_version): Use PKGVERSION.
15413         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15414         (do_version): Use PKGVERSION.
15415         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15416         REPORT_BUGS_TO.
15417         (common-ldd-rewrite): Likewise.
15418         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15419         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15420         (print_version): Use PKGVERSION.
15421         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15422         * elf/pldd.c (argp_program_bug_address): Remove variable.
15423         (more_help): New function.
15424         (argp): Use more_help.
15425         (print_version): Use PKGVERSION.
15426         * elf/sln.c (main): Use PKGVERSION.
15427         (usage): Use REPORT_BUGS_TO.
15428         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15429         (top level): Use PKGVERSION.
15430         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15431         (print_version): Use PKGVERSION.
15432         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15433         (print_version): Use PKGVERSION.
15434         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15435         (print_version): Use PKGVERSION.
15436         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15437         (print_version): Use PKGVERSION.
15438         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15439         (print_version): Use PKGVERSION.
15440         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15441         (print_version): Use PKGVERSION.
15442         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15443         and BUGURL.
15444         ($(objpfx)memusage): Likewise.
15445         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15446         (do_version): Use PKGVERSION.
15447         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15448         (print_version): Use PKGVERSION.
15449         * malloc/mtrace.pl ($PACKAGE): Remove variable.
15450         ($PKGVERSION): New variable.
15451         ($REPORT_BUGS_TO): Likewise.
15452         (usage): Use $REPORT_BUGS_TO.
15453         (top level): Use $PKGVERSION.
15454         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15455         ($(objpfx)pkgvers.texi): New rule.
15456         ($(objpfx)stamp-pkgvers): Likewise.
15457         * manual/install.texi: Include pkgvers.texi.
15458         (--with-pkgversion): Document new configure option.
15459         (--with-bugurl): Likewise.
15460         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15461         than necessarily for this particular distribution.  Use
15462         REPORT_BUGS_TO for where to report bugs.
15463         * INSTALL: Regenerated.
15464         * manual/libc.texinfo: Include pkgvers.texi.
15465         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15466         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15467         (print_version): Use PKGVERSION.
15468         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15469         (print_version): Use PKGVERSION.
15470         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15471         (print_version): Use PKGVERSION.
15472         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15473         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15474         macro.
15475         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15476         (print_version): Use PKGVERSION.
15477         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15478         (print_version): Use PKGVERSION.
15479         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15480         and PKGVERSION.
15482         * timezone/checktab.awk: Update from tzcode 2012i.
15483         * timezone/ialloc.c: Likewise.
15484         * timezone/private.h: Likewise.
15485         * timezone/scheck.c: Likewise.
15486         * timezone/tzfile.h: Likewise.
15487         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15488         (TZVERSION): Hardcode tzcode version number.
15489         * timezone/zdump.c: Update from tzcode 2012i.
15490         * timezone/zic.c: Likewise.
15491         * timezone/version.h: New file.
15492         * timezone/README: Describe version.h.  Update upstream location.
15494         [BZ #14824]
15495         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15496         (mktemp): Enable declaration.
15497         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15498         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15499         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15500         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15501         Likewise.
15502         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15503         Likewise.
15504         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15505         Likewise.
15506         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15507         Likewise.
15508         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15509         Likewise.
15510         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15511         Likewise.
15513         [BZ #14821]
15514         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15515         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
15516         for copies of such integer values.
15517         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15518         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15520 2012-11-09  Andreas Jaeger  <aj@suse.de>
15522         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15523         definitions and declarations that are provided by
15524         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15526 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15528         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15529         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15530         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15531         definition.
15533 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15535         * elf/elf.h: Update comment before AArch64 relocations.
15537 2012-11-07  David S. Miller  <davem@davemloft.net>
15539         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15540         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15541         (__start_context): Declare.
15542         (__makecontext_ret): Delete.
15543         (__makecontext): Hook up __start_context instead of
15544         __makecontext_ret.
15545         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15546         (sysdep_routines): Add __start_context when in stdlib.
15548 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15550         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15551         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15552         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
15553         hardcoded "nm".
15554         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
15555         (READELF): New variable.  Use it instead of hardcoded "readelf".
15557 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15559         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15560         * sysdeps/x86/Makefile: Here.
15561         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15562         * sysdeps/x86/tst-xmmymm.sh: This.
15564 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15566         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15567         expectations.
15568         [UNIX98] (pthread_barrier_t): Do not expect.
15569         [UNIX98] (pthread_barrierattr_t): Likewise.
15570         [UNIX98] (pthread_spinlock_t): Likewise.
15571         [UNIX98] (pthread_barrier_destroy): Likewise.
15572         [UNIX98] (pthread_barrier_init): Likewise.
15573         [UNIX98] (pthread_barrier_wait): Likewise.
15574         [UNIX98] (pthread_barrierattr_destroy): Likewise.
15575         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15576         [UNIX98] (pthread_barrierattr_init): Likewise.
15577         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15578         [UNIX98] (pthread_getcpuclockid): Likewise.
15579         [UNIX98] (pthread_mutex_timedlock): Likewise.
15580         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15581         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15582         [UNIX98] (pthread_sigmask): Likewise.
15583         [UNIX98] (pthread_spin_destroy): Likewise.
15584         [UNIX98] (pthread_spin_init): Likewise.
15585         [UNIX98] (pthread_spin_lock): Likewise.
15586         [UNIX98] (pthread_spin_trylock): Likewise.
15587         [UNIX98] (pthread_spin_unlock): Likewise.
15588         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15589         Do not expect.
15590         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15591         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15592         [XPG3 || XPG4] (pthread_cond_t): Likewise.
15593         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15594         [XPG3 || XPG4] (pthread_key_t): Likewise.
15595         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15596         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15597         [XPG3 || XPG4] (pthread_once_t): Likewise.
15598         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15599         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15600         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15601         [XPG3 || XPG4] (pthread_t): Likewise.
15603         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15604         not expect.
15605         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15607         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15608         Change function return type to int.
15610         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15611         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15612         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15613         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15614         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15615         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15616         [!POSIX] (posix_madvise): Likewise.
15617         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15618         && !UNIX98].
15619         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15620         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15621         (mode_t): Likewise.
15622         (posix_mem_offset): Likewise.
15623         (posix_typed_mem_get_info): Likewise.
15624         (posix_typed_mem_open): Likewise.
15626         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15627         Change condition to [XOPEN2K8].
15629         * conform/conformtest.pl: Preprocess allow-header data with -x c
15630         instead of from stdin.
15631         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15632         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15633         [C99-based standards] (cerfc): Likewise.
15634         [C99-based standards] (cexp2): Likewise.
15635         [C99-based standards] (cexpm1): Likewise.
15636         [C99-based standards] (clog10): Likewise.
15637         [C99-based standards] (clog1p): Likewise.
15638         [C99-based standards] (clog2): Likewise.
15639         [C99-based standards] (clgamma): Likewise.
15640         [C99-based standards] (ctgamma): Likewise.
15641         [C99-based standards] (cerff): Likewise.
15642         [C99-based standards] (cerfcf): Likewise.
15643         [C99-based standards] (cexp2f): Likewise.
15644         [C99-based standards] (cexpm1f): Likewise.
15645         [C99-based standards] (clog10f): Likewise.
15646         [C99-based standards] (clog1pf): Likewise.
15647         [C99-based standards] (clog2f): Likewise.
15648         [C99-based standards] (clgammaf): Likewise.
15649         [C99-based standards] (ctgammaf): Likewise.
15650         [C99-based standards] (cerfl): Likewise.
15651         [C99-based standards] (cerfcl): Likewise.
15652         [C99-based standards] (cexp2l): Likewise.
15653         [C99-based standards] (cexpm1l): Likewise.
15654         [C99-based standards] (clog10l): Likewise.
15655         [C99-based standards] (clog1pl): Likewise.
15656         [C99-based standards] (clog2l): Likewise.
15657         [C99-based standards] (clgammal): Likewise.
15658         [C99-based standards] (ctgammal): Likewise.
15659         * conform/data/inttypes.h-data [C99-based standards]: Include
15660         stdint.h-data.  Remove all expectations for stdint.h contents.
15661         [C99-based standards] (PRI*): Do not allow.
15662         [C99-based standards] (SCN*): Likewise.
15663         [C99-based standards] (*_t): Likewise.
15664         [C99-based-standards] (PRId8): Expect macro.
15665         [C99-based-standards] (PRIi8): Likewise.
15666         [C99-based-standards] (PRIo8): Likewise.
15667         [C99-based-standards] (PRIu8): Likewise.
15668         [C99-based-standards] (PRIx8): Likewise.
15669         [C99-based-standards] (PRIX8): Likewise.
15670         [C99-based-standards] (SCNd8): Likewise.
15671         [C99-based-standards] (SCNi8): Likewise.
15672         [C99-based-standards] (SCNo8): Likewise.
15673         [C99-based-standards] (SCNu8): Likewise.
15674         [C99-based-standards] (SCNx8): Likewise.
15675         [C99-based-standards] (PRIdLEAST8): Likewise.
15676         [C99-based-standards] (PRIiLEAST8): Likewise.
15677         [C99-based-standards] (PRIoLEAST8): Likewise.
15678         [C99-based-standards] (PRIuLEAST8): Likewise.
15679         [C99-based-standards] (PRIxLEAST8): Likewise.
15680         [C99-based-standards] (PRIXLEAST8): Likewise.
15681         [C99-based-standards] (SCNdLEAST8): Likewise.
15682         [C99-based-standards] (SCNiLEAST8): Likewise.
15683         [C99-based-standards] (SCNoLEAST8): Likewise.
15684         [C99-based-standards] (SCNuLEAST8): Likewise.
15685         [C99-based-standards] (SCNxLEAST8): Likewise.
15686         [C99-based-standards] (PRIdFAST8): Likewise.
15687         [C99-based-standards] (PRIiFAST8): Likewise.
15688         [C99-based-standards] (PRIoFAST8): Likewise.
15689         [C99-based-standards] (PRIuFAST8): Likewise.
15690         [C99-based-standards] (PRIxFAST8): Likewise.
15691         [C99-based-standards] (PRIXFAST8): Likewise.
15692         [C99-based-standards] (SCNdFAST8): Likewise.
15693         [C99-based-standards] (SCNiFAST8): Likewise.
15694         [C99-based-standards] (SCNoFAST8): Likewise.
15695         [C99-based-standards] (SCNuFAST8): Likewise.
15696         [C99-based-standards] (SCNxFAST8): Likewise.
15697         [C99-based-standards] (PRId16): Likewise.
15698         [C99-based-standards] (PRIi16): Likewise.
15699         [C99-based-standards] (PRIo16): Likewise.
15700         [C99-based-standards] (PRIu16): Likewise.
15701         [C99-based-standards] (PRIx16): Likewise.
15702         [C99-based-standards] (PRIX16): Likewise.
15703         [C99-based-standards] (SCNd16): Likewise.
15704         [C99-based-standards] (SCNi16): Likewise.
15705         [C99-based-standards] (SCNo16): Likewise.
15706         [C99-based-standards] (SCNu16): Likewise.
15707         [C99-based-standards] (SCNx16): Likewise.
15708         [C99-based-standards] (PRIdLEAST16): Likewise.
15709         [C99-based-standards] (PRIiLEAST16): Likewise.
15710         [C99-based-standards] (PRIoLEAST16): Likewise.
15711         [C99-based-standards] (PRIuLEAST16): Likewise.
15712         [C99-based-standards] (PRIxLEAST16): Likewise.
15713         [C99-based-standards] (PRIXLEAST16): Likewise.
15714         [C99-based-standards] (SCNdLEAST16): Likewise.
15715         [C99-based-standards] (SCNiLEAST16): Likewise.
15716         [C99-based-standards] (SCNoLEAST16): Likewise.
15717         [C99-based-standards] (SCNuLEAST16): Likewise.
15718         [C99-based-standards] (SCNxLEAST16): Likewise.
15719         [C99-based-standards] (PRIdFAST16): Likewise.
15720         [C99-based-standards] (PRIiFAST16): Likewise.
15721         [C99-based-standards] (PRIoFAST16): Likewise.
15722         [C99-based-standards] (PRIuFAST16): Likewise.
15723         [C99-based-standards] (PRIxFAST16): Likewise.
15724         [C99-based-standards] (PRIXFAST16): Likewise.
15725         [C99-based-standards] (SCNdFAST16): Likewise.
15726         [C99-based-standards] (SCNiFAST16): Likewise.
15727         [C99-based-standards] (SCNoFAST16): Likewise.
15728         [C99-based-standards] (SCNuFAST16): Likewise.
15729         [C99-based-standards] (SCNxFAST16): Likewise.
15730         [C99-based-standards] (PRId32): Likewise.
15731         [C99-based-standards] (PRIi32): Likewise.
15732         [C99-based-standards] (PRIo32): Likewise.
15733         [C99-based-standards] (PRIu32): Likewise.
15734         [C99-based-standards] (PRIx32): Likewise.
15735         [C99-based-standards] (PRIX32): Likewise.
15736         [C99-based-standards] (SCNd32): Likewise.
15737         [C99-based-standards] (SCNi32): Likewise.
15738         [C99-based-standards] (SCNo32): Likewise.
15739         [C99-based-standards] (SCNu32): Likewise.
15740         [C99-based-standards] (SCNx32): Likewise.
15741         [C99-based-standards] (PRIdLEAST32): Likewise.
15742         [C99-based-standards] (PRIiLEAST32): Likewise.
15743         [C99-based-standards] (PRIoLEAST32): Likewise.
15744         [C99-based-standards] (PRIuLEAST32): Likewise.
15745         [C99-based-standards] (PRIxLEAST32): Likewise.
15746         [C99-based-standards] (PRIXLEAST32): Likewise.
15747         [C99-based-standards] (SCNdLEAST32): Likewise.
15748         [C99-based-standards] (SCNiLEAST32): Likewise.
15749         [C99-based-standards] (SCNoLEAST32): Likewise.
15750         [C99-based-standards] (SCNuLEAST32): Likewise.
15751         [C99-based-standards] (SCNxLEAST32): Likewise.
15752         [C99-based-standards] (PRIdFAST32): Likewise.
15753         [C99-based-standards] (PRIiFAST32): Likewise.
15754         [C99-based-standards] (PRIoFAST32): Likewise.
15755         [C99-based-standards] (PRIuFAST32): Likewise.
15756         [C99-based-standards] (PRIxFAST32): Likewise.
15757         [C99-based-standards] (PRIXFAST32): Likewise.
15758         [C99-based-standards] (SCNdFAST32): Likewise.
15759         [C99-based-standards] (SCNiFAST32): Likewise.
15760         [C99-based-standards] (SCNoFAST32): Likewise.
15761         [C99-based-standards] (SCNuFAST32): Likewise.
15762         [C99-based-standards] (SCNxFAST32): Likewise.
15763         [C99-based-standards] (PRId64): Likewise.
15764         [C99-based-standards] (PRIi64): Likewise.
15765         [C99-based-standards] (PRIo64): Likewise.
15766         [C99-based-standards] (PRIu64): Likewise.
15767         [C99-based-standards] (PRIx64): Likewise.
15768         [C99-based-standards] (PRIX64): Likewise.
15769         [C99-based-standards] (SCNd64): Likewise.
15770         [C99-based-standards] (SCNi64): Likewise.
15771         [C99-based-standards] (SCNo64): Likewise.
15772         [C99-based-standards] (SCNu64): Likewise.
15773         [C99-based-standards] (SCNx64): Likewise.
15774         [C99-based-standards] (PRIdLEAST64): Likewise.
15775         [C99-based-standards] (PRIiLEAST64): Likewise.
15776         [C99-based-standards] (PRIoLEAST64): Likewise.
15777         [C99-based-standards] (PRIuLEAST64): Likewise.
15778         [C99-based-standards] (PRIxLEAST64): Likewise.
15779         [C99-based-standards] (PRIXLEAST64): Likewise.
15780         [C99-based-standards] (SCNdLEAST64): Likewise.
15781         [C99-based-standards] (SCNiLEAST64): Likewise.
15782         [C99-based-standards] (SCNoLEAST64): Likewise.
15783         [C99-based-standards] (SCNuLEAST64): Likewise.
15784         [C99-based-standards] (SCNxLEAST64): Likewise.
15785         [C99-based-standards] (PRIdFAST64): Likewise.
15786         [C99-based-standards] (PRIiFAST64): Likewise.
15787         [C99-based-standards] (PRIoFAST64): Likewise.
15788         [C99-based-standards] (PRIuFAST64): Likewise.
15789         [C99-based-standards] (PRIxFAST64): Likewise.
15790         [C99-based-standards] (PRIXFAST64): Likewise.
15791         [C99-based-standards] (SCNdFAST64): Likewise.
15792         [C99-based-standards] (SCNiFAST64): Likewise.
15793         [C99-based-standards] (SCNoFAST64): Likewise.
15794         [C99-based-standards] (SCNuFAST64): Likewise.
15795         [C99-based-standards] (SCNxFAST64): Likewise.
15796         [C99-based-standards] (PRIdMAX): Likewise.
15797         [C99-based-standards] (PRIiMAX): Likewise.
15798         [C99-based-standards] (PRIoMAX): Likewise.
15799         [C99-based-standards] (PRIuMAX): Likewise.
15800         [C99-based-standards] (PRIxMAX): Likewise.
15801         [C99-based-standards] (PRIXMAX): Likewise.
15802         [C99-based-standards] (SCNdMAX): Likewise.
15803         [C99-based-standards] (SCNiMAX): Likewise.
15804         [C99-based-standards] (SCNoMAX): Likewise.
15805         [C99-based-standards] (SCNuMAX): Likewise.
15806         [C99-based-standards] (SCNxMAX): Likewise.
15807         [C99-based-standards] (PRIdPTR): Likewise.
15808         [C99-based-standards] (PRIiPTR): Likewise.
15809         [C99-based-standards] (PRIoPTR): Likewise.
15810         [C99-based-standards] (PRIuPTR): Likewise.
15811         [C99-based-standards] (PRIxPTR): Likewise.
15812         [C99-based-standards] (PRIXPTR): Likewise.
15813         [C99-based-standards] (SCNdPTR): Likewise.
15814         [C99-based-standards] (SCNiPTR): Likewise.
15815         [C99-based-standards] (SCNoPTR): Likewise.
15816         [C99-based-standards] (SCNuPTR): Likewise.
15817         [C99-based-standards] (SCNxPTR): Likewise.
15818         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15819         allow.
15820         * conform/data/stdint.h-data: Update comments to clarify
15821         requirements.
15822         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15823         type.
15824         [C99-based standards] (INT8_MAX): Likewise.
15825         [C99-based standards] (INT16_MIN): Likewise.
15826         [C99-based standards] (INT16_MAX): Likewise.
15827         [C99-based standards] (INT32_MIN): Likewise.
15828         [C99-based standards] (INT32_MAX): Likewise.
15829         [C99-based standards] (INT64_MIN): Likewise.
15830         [C99-based standards] (INT64_MAX): Likewise.
15831         [C99-based standards] (UINT8_MAX): Likewise.
15832         [C99-based standards] (UINT16_MAX): Likewise.
15833         [C99-based standards] (UINT32_MAX): Likewise.
15834         [C99-based standards] (UINT64_MAX): Likewise.
15835         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15836         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15837         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15838         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15839         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15840         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15841         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15842         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15843         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15844         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15845         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15846         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15847         [C99-based standards] (INT_FAST8_MIN): Likewise.
15848         [C99-based standards] (INT_FAST8_MAX): Likewise.
15849         [C99-based standards] (INT_FAST16_MIN): Likewise.
15850         [C99-based standards] (INT_FAST16_MAX): Likewise.
15851         [C99-based standards] (INT_FAST32_MIN): Likewise.
15852         [C99-based standards] (INT_FAST32_MAX): Likewise.
15853         [C99-based standards] (INT_FAST64_MIN): Likewise.
15854         [C99-based standards] (INT_FAST64_MAX): Likewise.
15855         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15856         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15857         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15858         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15859         [C99-based standards] (INTPTR_MIN): Likewise.
15860         [C99-based standards] (INTPTR_MAX): Likewise.
15861         [C99-based standards] (UINTPTR_MAX): Likewise.
15862         [C99-based standards] (INTMAX_MIN): Likewise.
15863         [C99-based standards] (INTMAX_MAX): Likewise.
15864         [C99-based standards] (UINTMAX_MAX): Likewise.
15865         [C99-based standards] (PTRDIFF_MIN): Likewise.
15866         [C99-based standards] (PTRDIFF_MAX): Likewise.
15867         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15868         [C99-based standards] (SIZE_MAX): Likewise.
15869         [C99-based standards] (WCHAR_MAX): Likewise.
15870         [C99-based standards] (WINT_MAX): Likewise.
15871         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15872         constraint on value.
15873         [C99-based standards] (WCHAR_MIN): Likewise.
15874         [C99-based standards] (WINT_MIN): Likewise.
15875         [C99-based standards] (*_t): Allow.
15876         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15877         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15878         Include math.h-data and complex.h-data.  Remove all expectations
15879         of math.h and complex.h contents.
15880         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15881         at end of line.
15882         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15883         (struct tm): Expect tag.
15884         [C99-based-standards] (wcstof): Expect function.
15885         [C99-based-standards] (wcstold): Likewise.
15886         [C99-based-standards] (wcstoll): Likewise.
15887         [C99-based-standards] (wcstoull): Likewise.
15888         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15889         macro-int-constant.  Specify type.
15890         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15891         constraint on value.
15892         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15893         Specify type.
15894         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15895         Specify value.
15896         [ISO C standards]: Do not allow headers.
15897         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15898         wcs[abcdefghijklmnopqrstuvwxyz]*.
15899         [ISO C standards] (*_t): Do not allow.
15900         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15901         Expect function.
15902         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15903         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15904         Specify type.
15905         [ISO C standards]: Do not allow headers.
15906         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15907         is[abcdefghijklmnopqrstuvwxyz]*.
15908         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15909         to[abcdefghijklmnopqrstuvwxyz]*.
15910         [ISO C standards] (*_t): Do not allow.
15911         * conform/data/stdalign.h-data: New file.
15912         * conform/data/stdbool.h-data: Likewise.
15913         * conform/data/stdnoreturn.h-data: Likewise.
15915 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15917         [BZ #14815]
15918         * manual/filesys.texi (Directory Entries): Typo fix.
15919         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15921 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15923         * elf/elf.h (EM_AARCH64): New macro.
15924         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15925         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15926         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15927         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15928         (R_AARCH64_TLSDESC): Likewise.
15929         (NT_ARM_TLS): Likewise.
15930         (NT_ARM_HW_BREAK): Likewise.
15931         (NT_ARM_HW_WATCH): Likewise.
15933 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15935         [BZ #14811]
15936         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15937         (__ieee754_powl): Saturate nonzero exponents with absolute value
15938         below 0x1p-79 to +/- 0x1p-79.
15939         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15940         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15941         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15942         nonzero exponents with absolute value below 0x1p-32 to +/-
15943         0x1p-32.
15944         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15945         (__ieee754_powl): Saturate nonzero exponents with absolute value
15946         below 0x1p-79 to +/- 0x1p-79.
15947         * math/libm-test.inc (pow_test): Add more tests.
15949 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15951         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15952         _dl_s390_cap_flags with kernel. Increase string length.
15953         (_dl_s390_platforms): Add z196 and zEC12.
15955 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15957         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15958         Change XOPEN21K to XOPEN2K.
15960 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15962         * string/memmove.c: Use memcpy when possible.
15964 2012-11-06  Andreas Jaeger  <aj@suse.de>
15966         * po/eo.po: Update from translation team.
15968 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15970         [BZ #14793]
15971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15972         exponent and small x and y exponents, scale x or y up.  Increase
15973         by 2 the exponent used in scaling up.
15974         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15975         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15976         * math/libm-test.inc (fma_test): Add more tests.
15977         (fma_test_towardzero): Likewise.
15978         (fma_test_downward): Likewise.
15979         (fma_test_upward): Likewise.
15981 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15983         [BZ #14805]
15984         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15985         fenv_t *.
15987         [BZ #14801]
15988         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15989         namespace for names of struct fields.
15990         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15991         fenv_t fields.
15992         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15993         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15995 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15997         [BZ #3665]
15998         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16000 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16002         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16003         PTR_DEMANGLE.
16005         [BZ #5246]
16006         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16007         PTR_DEMANGLE.
16009 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
16011         [BZ #14797]
16012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16013         definitely overflow as x * y not x * y + z.
16014         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16015         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16016         * math/libm-test.inc (fma_test): Add more tests.
16017         (fma_test_towardzero): Likewise.
16018         (fma_test_downward): Likewise.
16019         (fma_test_upward): Likewise.
16021 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
16023         [BZ #157]
16025         * include/stub-tag.h: Remove file.
16026         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16027         '#include' of it.
16028         * manual/maint.texi (Porting): Don't reference it.
16029         * Makerules ($(objpfx)stubs): Likewise.
16030         * dirent/closedir.c: Don't include <stub-tag.h>.
16031         * dirent/dirfd.c: Likewise.
16032         * dirent/fdopendir.c: Likewise.
16033         * dirent/getdents.c: Likewise.
16034         * dirent/getdents64.c: Likewise.
16035         * dirent/opendir.c: Likewise.
16036         * dirent/readdir.c: Likewise.
16037         * dirent/readdir64.c: Likewise.
16038         * dirent/readdir64_r.c: Likewise.
16039         * dirent/readdir_r.c: Likewise.
16040         * dirent/rewinddir.c: Likewise.
16041         * dirent/seekdir.c: Likewise.
16042         * dirent/telldir.c: Likewise.
16043         * gmon/profil.c: Likewise.
16044         * grp/setgroups.c: Likewise.
16045         * inet/if_index.c: Likewise.
16046         * io/access.c: Likewise.
16047         * io/chdir.c: Likewise.
16048         * io/chmod.c: Likewise.
16049         * io/chown.c: Likewise.
16050         * io/close.c: Likewise.
16051         * io/dup.c: Likewise.
16052         * io/dup2.c: Likewise.
16053         * io/dup3.c: Likewise.
16054         * io/euidaccess.c: Likewise.
16055         * io/faccessat.c: Likewise.
16056         * io/fchdir.c: Likewise.
16057         * io/fchmod.c: Likewise.
16058         * io/fchmodat.c: Likewise.
16059         * io/fchown.c: Likewise.
16060         * io/fchownat.c: Likewise.
16061         * io/fcntl.c: Likewise.
16062         * io/flock.c: Likewise.
16063         * io/fstatfs.c: Likewise.
16064         * io/fstatfs64.c: Likewise.
16065         * io/fstatvfs.c: Likewise.
16066         * io/fstatvfs64.c: Likewise.
16067         * io/futimens.c: Likewise.
16068         * io/fxstat.c: Likewise.
16069         * io/fxstat64.c: Likewise.
16070         * io/fxstatat.c: Likewise.
16071         * io/fxstatat64.c: Likewise.
16072         * io/getcwd.c: Likewise.
16073         * io/isatty.c: Likewise.
16074         * io/lchmod.c: Likewise.
16075         * io/lchown.c: Likewise.
16076         * io/link.c: Likewise.
16077         * io/linkat.c: Likewise.
16078         * io/lseek.c: Likewise.
16079         * io/lseek64.c: Likewise.
16080         * io/lxstat64.c: Likewise.
16081         * io/mkdir.c: Likewise.
16082         * io/mkdirat.c: Likewise.
16083         * io/mkfifo.c: Likewise.
16084         * io/mkfifoat.c: Likewise.
16085         * io/open.c: Likewise.
16086         * io/open64.c: Likewise.
16087         * io/openat.c: Likewise.
16088         * io/openat64.c: Likewise.
16089         * io/pipe.c: Likewise.
16090         * io/pipe2.c: Likewise.
16091         * io/poll.c: Likewise.
16092         * io/posix_fadvise.c: Likewise.
16093         * io/posix_fadvise64.c: Likewise.
16094         * io/posix_fallocate.c: Likewise.
16095         * io/posix_fallocate64.c: Likewise.
16096         * io/read.c: Likewise.
16097         * io/readlink.c: Likewise.
16098         * io/readlinkat.c: Likewise.
16099         * io/rmdir.c: Likewise.
16100         * io/sendfile.c: Likewise.
16101         * io/sendfile64.c: Likewise.
16102         * io/statfs.c: Likewise.
16103         * io/statfs64.c: Likewise.
16104         * io/statvfs.c: Likewise.
16105         * io/statvfs64.c: Likewise.
16106         * io/symlink.c: Likewise.
16107         * io/symlinkat.c: Likewise.
16108         * io/ttyname.c: Likewise.
16109         * io/ttyname_r.c: Likewise.
16110         * io/umask.c: Likewise.
16111         * io/unlink.c: Likewise.
16112         * io/unlinkat.c: Likewise.
16113         * io/utime.c: Likewise.
16114         * io/utimensat.c: Likewise.
16115         * io/write.c: Likewise.
16116         * io/xmknod.c: Likewise.
16117         * io/xmknodat.c: Likewise.
16118         * io/xstat.c: Likewise.
16119         * io/xstat64.c: Likewise.
16120         * login/getpt.c: Likewise.
16121         * login/grantpt.c: Likewise.
16122         * login/unlockpt.c: Likewise.
16123         * math/e_acoshl.c: Likewise.
16124         * math/e_acosl.c: Likewise.
16125         * math/e_asinl.c: Likewise.
16126         * math/e_atan2l.c: Likewise.
16127         * math/e_atanhl.c: Likewise.
16128         * math/e_coshl.c: Likewise.
16129         * math/e_expl.c: Likewise.
16130         * math/e_fmodl.c: Likewise.
16131         * math/e_gammal_r.c: Likewise.
16132         * math/e_hypotl.c: Likewise.
16133         * math/e_j0l.c: Likewise.
16134         * math/e_j1l.c: Likewise.
16135         * math/e_jnl.c: Likewise.
16136         * math/e_lgammal_r.c: Likewise.
16137         * math/e_log10l.c: Likewise.
16138         * math/e_log2l.c: Likewise.
16139         * math/e_logl.c: Likewise.
16140         * math/e_powl.c: Likewise.
16141         * math/e_rem_pio2l.c: Likewise.
16142         * math/e_sinhl.c: Likewise.
16143         * math/e_sqrtl.c: Likewise.
16144         * math/fclrexcpt.c: Likewise.
16145         * math/fedisblxcpt.c: Likewise.
16146         * math/feenablxcpt.c: Likewise.
16147         * math/fegetenv.c: Likewise.
16148         * math/fegetexcept.c: Likewise.
16149         * math/fegetround.c: Likewise.
16150         * math/feholdexcpt.c: Likewise.
16151         * math/fesetenv.c: Likewise.
16152         * math/fesetround.c: Likewise.
16153         * math/feupdateenv.c: Likewise.
16154         * math/fgetexcptflg.c: Likewise.
16155         * math/fraiseexcpt.c: Likewise.
16156         * math/fsetexcptflg.c: Likewise.
16157         * math/ftestexcept.c: Likewise.
16158         * math/k_cosl.c: Likewise.
16159         * math/k_rem_pio2l.c: Likewise.
16160         * math/k_sinl.c: Likewise.
16161         * math/k_tanl.c: Likewise.
16162         * math/s_asinhl.c: Likewise.
16163         * math/s_atanl.c: Likewise.
16164         * math/s_cbrtl.c: Likewise.
16165         * math/s_erfl.c: Likewise.
16166         * math/s_expm1l.c: Likewise.
16167         * math/s_log1pl.c: Likewise.
16168         * math/s_tanhl.c: Likewise.
16169         * misc/acct.c: Likewise.
16170         * misc/brk.c: Likewise.
16171         * misc/chflags.c: Likewise.
16172         * misc/chroot.c: Likewise.
16173         * misc/fchflags.c: Likewise.
16174         * misc/fgetxattr.c: Likewise.
16175         * misc/flistxattr.c: Likewise.
16176         * misc/fremovexattr.c: Likewise.
16177         * misc/fsetxattr.c: Likewise.
16178         * misc/fsync.c: Likewise.
16179         * misc/ftruncate.c: Likewise.
16180         * misc/futimes.c: Likewise.
16181         * misc/futimesat.c: Likewise.
16182         * misc/getdomain.c: Likewise.
16183         * misc/getdtsz.c: Likewise.
16184         * misc/gethostid.c: Likewise.
16185         * misc/gethostname.c: Likewise.
16186         * misc/getloadavg.c: Likewise.
16187         * misc/getpagesize.c: Likewise.
16188         * misc/getsysstats.c: Likewise.
16189         * misc/getxattr.c: Likewise.
16190         * misc/gtty.c: Likewise.
16191         * misc/ioctl.c: Likewise.
16192         * misc/lgetxattr.c: Likewise.
16193         * misc/listxattr.c: Likewise.
16194         * misc/llistxattr.c: Likewise.
16195         * misc/lremovexattr.c: Likewise.
16196         * misc/lsetxattr.c: Likewise.
16197         * misc/lutimes.c: Likewise.
16198         * misc/madvise.c: Likewise.
16199         * misc/mincore.c: Likewise.
16200         * misc/mlock.c: Likewise.
16201         * misc/mlockall.c: Likewise.
16202         * misc/mmap.c: Likewise.
16203         * misc/mprotect.c: Likewise.
16204         * misc/msync.c: Likewise.
16205         * misc/munlock.c: Likewise.
16206         * misc/munlockall.c: Likewise.
16207         * misc/munmap.c: Likewise.
16208         * misc/preadv.c: Likewise.
16209         * misc/preadv64.c: Likewise.
16210         * misc/ptrace.c: Likewise.
16211         * misc/pwritev.c: Likewise.
16212         * misc/pwritev64.c: Likewise.
16213         * misc/readv.c: Likewise.
16214         * misc/reboot.c: Likewise.
16215         * misc/remap_file_pages.c: Likewise.
16216         * misc/removexattr.c: Likewise.
16217         * misc/revoke.c: Likewise.
16218         * misc/select.c: Likewise.
16219         * misc/setdomain.c: Likewise.
16220         * misc/setegid.c: Likewise.
16221         * misc/seteuid.c: Likewise.
16222         * misc/sethostid.c: Likewise.
16223         * misc/sethostname.c: Likewise.
16224         * misc/setregid.c: Likewise.
16225         * misc/setreuid.c: Likewise.
16226         * misc/setxattr.c: Likewise.
16227         * misc/sstk.c: Likewise.
16228         * misc/stty.c: Likewise.
16229         * misc/swapoff.c: Likewise.
16230         * misc/swapon.c: Likewise.
16231         * misc/sync.c: Likewise.
16232         * misc/syncfs.c: Likewise.
16233         * misc/syscall.c: Likewise.
16234         * misc/truncate.c: Likewise.
16235         * misc/ualarm.c: Likewise.
16236         * misc/usleep.c: Likewise.
16237         * misc/ustat.c: Likewise.
16238         * misc/utimes.c: Likewise.
16239         * misc/vhangup.c: Likewise.
16240         * misc/writev.c: Likewise.
16241         * posix/_exit.c: Likewise.
16242         * posix/alarm.c: Likewise.
16243         * posix/execve.c: Likewise.
16244         * posix/fexecve.c: Likewise.
16245         * posix/fork.c: Likewise.
16246         * posix/fpathconf.c: Likewise.
16247         * posix/getaddrinfo.c: Likewise.
16248         * posix/getegid.c: Likewise.
16249         * posix/geteuid.c: Likewise.
16250         * posix/getgid.c: Likewise.
16251         * posix/getgroups.c: Likewise.
16252         * posix/getlogin.c: Likewise.
16253         * posix/getlogin_r.c: Likewise.
16254         * posix/getpgid.c: Likewise.
16255         * posix/getpid.c: Likewise.
16256         * posix/getppid.c: Likewise.
16257         * posix/getresgid.c: Likewise.
16258         * posix/getresuid.c: Likewise.
16259         * posix/getsid.c: Likewise.
16260         * posix/getuid.c: Likewise.
16261         * posix/glob64.c: Likewise.
16262         * posix/nanosleep.c: Likewise.
16263         * posix/pathconf.c: Likewise.
16264         * posix/pause.c: Likewise.
16265         * posix/posix_madvise.c: Likewise.
16266         * posix/pread.c: Likewise.
16267         * posix/pread64.c: Likewise.
16268         * posix/pwrite.c: Likewise.
16269         * posix/pwrite64.c: Likewise.
16270         * posix/sched_getaffinity.c: Likewise.
16271         * posix/sched_getp.c: Likewise.
16272         * posix/sched_gets.c: Likewise.
16273         * posix/sched_primax.c: Likewise.
16274         * posix/sched_primin.c: Likewise.
16275         * posix/sched_rr_gi.c: Likewise.
16276         * posix/sched_setaffinity.c: Likewise.
16277         * posix/sched_setp.c: Likewise.
16278         * posix/sched_sets.c: Likewise.
16279         * posix/sched_yield.c: Likewise.
16280         * posix/setgid.c: Likewise.
16281         * posix/setlogin.c: Likewise.
16282         * posix/setpgid.c: Likewise.
16283         * posix/setresgid.c: Likewise.
16284         * posix/setresuid.c: Likewise.
16285         * posix/setsid.c: Likewise.
16286         * posix/setuid.c: Likewise.
16287         * posix/sleep.c: Likewise.
16288         * posix/spawni.c: Likewise.
16289         * posix/sysconf.c: Likewise.
16290         * posix/times.c: Likewise.
16291         * posix/wait.c: Likewise.
16292         * posix/wait3.c: Likewise.
16293         * posix/wait4.c: Likewise.
16294         * posix/waitpid.c: Likewise.
16295         * resolv/gai_sigqueue.c: Likewise.
16296         * resource/getpriority.c: Likewise.
16297         * resource/getrlimit.c: Likewise.
16298         * resource/getrusage.c: Likewise.
16299         * resource/nice.c: Likewise.
16300         * resource/setpriority.c: Likewise.
16301         * resource/setrlimit.c: Likewise.
16302         * resource/ulimit.c: Likewise.
16303         * rt/aio_cancel.c: Likewise.
16304         * rt/aio_fsync.c: Likewise.
16305         * rt/aio_read.c: Likewise.
16306         * rt/aio_sigqueue.c: Likewise.
16307         * rt/aio_suspend.c: Likewise.
16308         * rt/aio_write.c: Likewise.
16309         * rt/clock_getres.c: Likewise.
16310         * rt/clock_gettime.c: Likewise.
16311         * rt/clock_nanosleep.c: Likewise.
16312         * rt/clock_settime.c: Likewise.
16313         * rt/lio_listio.c: Likewise.
16314         * rt/mq_close.c: Likewise.
16315         * rt/mq_getattr.c: Likewise.
16316         * rt/mq_notify.c: Likewise.
16317         * rt/mq_open.c: Likewise.
16318         * rt/mq_receive.c: Likewise.
16319         * rt/mq_send.c: Likewise.
16320         * rt/mq_setattr.c: Likewise.
16321         * rt/mq_timedreceive.c: Likewise.
16322         * rt/mq_timedsend.c: Likewise.
16323         * rt/mq_unlink.c: Likewise.
16324         * rt/shm_open.c: Likewise.
16325         * rt/shm_unlink.c: Likewise.
16326         * rt/timer_create.c: Likewise.
16327         * rt/timer_delete.c: Likewise.
16328         * rt/timer_getoverr.c: Likewise.
16329         * rt/timer_gettime.c: Likewise.
16330         * rt/timer_settime.c: Likewise.
16331         * setjmp/__longjmp.c: Likewise.
16332         * setjmp/setjmp.c: Likewise.
16333         * signal/kill.c: Likewise.
16334         * signal/killpg.c: Likewise.
16335         * signal/raise.c: Likewise.
16336         * signal/sigaction.c: Likewise.
16337         * signal/sigaltstack.c: Likewise.
16338         * signal/sigblock.c: Likewise.
16339         * signal/sigignore.c: Likewise.
16340         * signal/sigintr.c: Likewise.
16341         * signal/signal.c: Likewise.
16342         * signal/sigpause.c: Likewise.
16343         * signal/sigpending.c: Likewise.
16344         * signal/sigqueue.c: Likewise.
16345         * signal/sigreturn.c: Likewise.
16346         * signal/sigset.c: Likewise.
16347         * signal/sigsetmask.c: Likewise.
16348         * signal/sigstack.c: Likewise.
16349         * signal/sigsuspend.c: Likewise.
16350         * signal/sigtimedwait.c: Likewise.
16351         * signal/sigvec.c: Likewise.
16352         * signal/sigwait.c: Likewise.
16353         * signal/sigwaitinfo.c: Likewise.
16354         * signal/sysv_signal.c: Likewise.
16355         * socket/accept.c: Likewise.
16356         * socket/accept4.c: Likewise.
16357         * socket/bind.c: Likewise.
16358         * socket/connect.c: Likewise.
16359         * socket/getpeername.c: Likewise.
16360         * socket/getsockname.c: Likewise.
16361         * socket/getsockopt.c: Likewise.
16362         * socket/isfdtype.c: Likewise.
16363         * socket/listen.c: Likewise.
16364         * socket/recv.c: Likewise.
16365         * socket/recvfrom.c: Likewise.
16366         * socket/recvmsg.c: Likewise.
16367         * socket/send.c: Likewise.
16368         * socket/sendmsg.c: Likewise.
16369         * socket/sendto.c: Likewise.
16370         * socket/setsockopt.c: Likewise.
16371         * socket/shutdown.c: Likewise.
16372         * socket/sockatmark.c: Likewise.
16373         * socket/socket.c: Likewise.
16374         * socket/socketpair.c: Likewise.
16375         * stdio-common/ctermid.c: Likewise.
16376         * stdio-common/cuserid.c: Likewise.
16377         * stdio-common/remove.c: Likewise.
16378         * stdio-common/rename.c: Likewise.
16379         * stdio-common/renameat.c: Likewise.
16380         * stdio-common/tempname.c: Likewise.
16381         * stdlib/getcontext.c: Likewise.
16382         * stdlib/makecontext.c: Likewise.
16383         * stdlib/setcontext.c: Likewise.
16384         * stdlib/swapcontext.c: Likewise.
16385         * stdlib/system.c: Likewise.
16386         * streams/fattach.c: Likewise.
16387         * streams/fdetach.c: Likewise.
16388         * streams/getmsg.c: Likewise.
16389         * streams/getpmsg.c: Likewise.
16390         * streams/putmsg.c: Likewise.
16391         * streams/putpmsg.c: Likewise.
16392         * sysdeps/unix/bsd/getpt.c: Likewise.
16393         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16394         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16395         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16397         Likewise.
16398         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16399         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16400         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16401         * sysvipc/msgctl.c: Likewise.
16402         * sysvipc/msgget.c: Likewise.
16403         * sysvipc/msgrcv.c: Likewise.
16404         * sysvipc/msgsnd.c: Likewise.
16405         * sysvipc/semctl.c: Likewise.
16406         * sysvipc/semget.c: Likewise.
16407         * sysvipc/semop.c: Likewise.
16408         * sysvipc/semtimedop.c: Likewise.
16409         * sysvipc/shmat.c: Likewise.
16410         * sysvipc/shmctl.c: Likewise.
16411         * sysvipc/shmdt.c: Likewise.
16412         * sysvipc/shmget.c: Likewise.
16413         * termios/tcdrain.c: Likewise.
16414         * termios/tcflow.c: Likewise.
16415         * termios/tcflush.c: Likewise.
16416         * termios/tcgetattr.c: Likewise.
16417         * termios/tcgetpgrp.c: Likewise.
16418         * termios/tcsendbrk.c: Likewise.
16419         * termios/tcsetattr.c: Likewise.
16420         * termios/tcsetpgrp.c: Likewise.
16421         * time/adjtime.c: Likewise.
16422         * time/clock.c: Likewise.
16423         * time/getitimer.c: Likewise.
16424         * time/gettimeofday.c: Likewise.
16425         * time/setitimer.c: Likewise.
16426         * time/settimeofday.c: Likewise.
16427         * time/stime.c: Likewise.
16428         * time/time.c: Likewise.
16430 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
16432         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16433         /usr/old/bin.
16435         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16436         instead of spaces.
16437         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16439 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
16441         [BZ #14796]
16442         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16443         FE_TONEAREST before applying Dekker multiplication and Knuth
16444         addition.  Clear inexact exceptions and check for exact zero
16445         results afterwards.
16446         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16447         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16448         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16449         * math/libm-test.inc (fma_test): Add more tests.
16450         (fma_test_towardzero): Likewise.
16451         (fma_test_downward): Likewise.
16452         (fma_test_upward): Likewise.
16453         * sysdeps/generic/math_private.h (default_libc_fesetround): New
16454         function.
16455         (libc_fesetround): New macro.
16456         (libc_fesetroundf): Likewise.
16457         (libc_fesetroundl): Likewise.
16458         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16459         function.
16460         (libc_fesetround_387): Likewise.
16461         (libc_fesetroundf): New macro.
16462         (libc_fesetround): Likewise.
16463         (libc_fesetroundl): Likewise.
16464         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16465         function.
16466         (libc_fesetroundf): New macro.
16467         (libc_fesetround): Likewise.
16468         (libc_fesetroundl): Likewise.
16469         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16470         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16471         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16472         libm_hidden_ver.
16473         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16474         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16475         libm_hidden_def.
16476         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16477         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16478         libm_hidden_ver.
16479         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16480         libm_hidden_def.
16482         [BZ #3439]
16483         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16484         integer constant usable in #if and use that to give value to enum
16485         constant.
16486         (FE_DIVBYZERO): Likewise.
16487         (FE_UNDERFLOW): Likewise.
16488         (FE_OVERFLOW): Likewise.
16489         (FE_INVALID): Likewise.
16490         (FE_INVALID_SNAN): Likewise.
16491         (FE_INVALID_ISI): Likewise.
16492         (FE_INVALID_IDI): Likewise.
16493         (FE_INVALID_ZDZ): Likewise.
16494         (FE_INVALID_IMZ): Likewise.
16495         (FE_INVALID_COMPARE): Likewise.
16496         (FE_INVALID_SOFTWARE): Likewise.
16497         (FE_INVALID_SQRT): Likewise.
16498         (FE_INVALID_INTEGER_CONVERSION): Likewise.
16499         (FE_TONEAREST): Likewise.
16500         (FE_TOWARDZERO): Likewise.
16501         (FE_UPWARD): Likewise.
16502         (FE_DOWNWARD): Likewise.
16503         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16504         (FE_DIVBYZERO): Likewise.
16505         (FE_OVERFLOW): Likewise.
16506         (FE_UNDERFLOW): Likewise.
16507         (FE_INEXACT): Likewise.
16508         (FE_TONEAREST): Likewise.
16509         (FE_DOWNWARD): Likewise.
16510         (FE_UPWARD): Likewise.
16511         (FE_TOWARDZERO): Likewise.
16512         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16513         (FE_UNDERFLOW): Likewise.
16514         (FE_OVERFLOW): Likewise.
16515         (FE_DIVBYZERO): Likewise.
16516         (FE_INVALID): Likewise.
16517         (FE_TONEAREST): Likewise.
16518         (FE_TOWARDZERO): Likewise.
16519         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16520         (FE_OVERFLOW): Likewise.
16521         (FE_UNDERFLOW): Likewise.
16522         (FE_DIVBYZERO): Likewise.
16523         (FE_INEXACT): Likewise.
16524         (FE_TONEAREST): Likewise.
16525         (FE_TOWARDZERO): Likewise.
16526         (FE_UPWARD): Likewise.
16527         (FE_DOWNWARD): Likewise.
16528         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16529         (FE_DIVBYZERO): Likewise.
16530         (FE_OVERFLOW): Likewise.
16531         (FE_UNDERFLOW): Likewise.
16532         (FE_INEXACT): Likewise.
16533         (FE_TONEAREST): Likewise.
16534         (FE_DOWNWARD): Likewise.
16535         (FE_UPWARD): Likewise.
16536         (FE_TOWARDZERO): Likewise.
16538 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
16540         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16542 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
16544         * scripts/cross-test-ssh.sh (command): Use newlines to separate
16545         commands.  Quote $PWD.
16546         (blacklist_exports): Don't use remove_newlines.  Replace "declare
16547         -x" by "export".
16548         (remove_newlines): Remove.
16550 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
16552         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16553         * stdlib/stdlib.h (atof): Moved to ...
16554         * include/bits/stdlib-float.h: Here.  New file.
16555         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16556         * stdlib/bits/stdlib-float.h: New file.
16557         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16558         -mno-sse -mno-mmx.
16559         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16560         <xmmintrin.h>.
16562 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16564         * conform/conformtest.pl (@headers): Add fenv.h.
16565         * conform/data/fenv.h-data: New file.
16566         * include/fenv.h [_ISOMAC]: Disable all contents of file except
16567         include of <math/fenv.h>.
16569         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16570         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16571         && !UNIX98].  Enables tests for XOPEN2K8.
16572         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16573         POSIX2008]: Likewise.
16575         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16576         (struct rusage): Do not expect type or its members.
16578         [BZ #3439]
16579         * math/math.h (FP_NAN): Define macro to integer constant usable in
16580         #if and use that to give value to enum constant.
16581         (FP_INFINITE): Likewise.
16582         (FP_ZERO): Likewise.
16583         (FP_SUBNORMAL): Likewise.
16584         (FP_NORMAL): Likewise.
16586 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
16588         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16589         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16590         arguments.
16592 2012-11-02  Roland McGrath  <roland@hack.frob.com>
16594         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16595         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16596         autoconf-time if not.
16597         * configure.in: Remove AC_PREREQ.
16599 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16601         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16602         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16603         of the internal implementation.
16605 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
16607         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16608         except include of <misc/sys/syslog.h>.
16610 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16613         function returns with a NULL context exit with zero.
16615 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16617         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16619 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
16621         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16622         (run_program_cmd): This.
16623         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16624         (tst_langinfo): New variable.  Use it.
16626 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
16628         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16629         floating point opcodes.
16631 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16633         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16634         variable.
16636         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16638         * sysdeps/mach/hurd/powerpc: Remove directory.
16639         * sysdeps/mach/powerpc: Likewise.
16641 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16643         * scripts/check-local-headers.sh: Ignore c++ headers.
16645 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16647         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16648         __libc_cleanup_region_start argument.
16650 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
16652         [BZ #14784]
16653         [BZ #14785]
16654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16655         x * y using scaling, not as x * y + z.
16656         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16657         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16658         * math/libm-test.inc (fma_test): Add more tests.
16659         (fma_test_towardzero): Likewise.
16660         (fma_test_downward): Likewise.
16661         (fma_test_upward): Likewise.
16663 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16665         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16667 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16669         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16670         New variable.
16672 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
16674         * rt/tst-shm.c (worker): Correct checking for mmap failure.
16676 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16679         Fix sort order.
16680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16681         Likewise.
16683 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16686         Fix the order of the list for glibc 2.17.
16687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16688         Likewise.
16690 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16694 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16696         [BZ #14610]
16697         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16698         for low part of x being zero before using __atanl (y).
16699         * math/libm-test.inc (atan2_test): Add another test.
16701         * manual/install.texi (Configuring and compiling): Document
16702         general use of test-wrapper and test-wrapper-env.
16703         * INSTALL: Regenerated.
16705         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16706         (__fma): Do not extract and scale down low bits on after-rounding
16707         systems when result rounded to normal precision would have normal
16708         exponent.
16709         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16710         (__fmal): Do not extract and scale down low bits on after-rounding
16711         systems when result rounded to normal precision would have normal
16712         exponent.
16713         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16714         (__fmal): Do not extract and scale down low bits on after-rounding
16715         systems when result rounded to normal precision would have normal
16716         exponent.
16717         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16718         macro.
16719         (fma_test): Add more tests.
16720         (fma_test_towardzero): Likewise.
16721         (fma_test_downward): Likewise.
16722         (fma_test_upward): Likewise.
16724 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16726         * sysdeps/i386/tininess.h: Renamed to ...
16727         * sysdeps/x86/tininess.h: This.
16728         * sysdeps/x86_64/tininess.h: Removed.
16730 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16732         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16733         input.  Use $(build-program-cmd).
16734         ($(objpfx)tst-array1-static.out): Likewise.
16735         ($(objpfx)tst-array2.out): Likewise.
16736         ($(objpfx)tst-array3.out): Likewise.
16737         ($(objpfx)tst-array4.out): Likewise.
16738         ($(objpfx)tst-array5.out): Likewise.
16739         ($(objpfx)tst-array5-static.out): Likewise.
16741 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16743         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16744         if defined.
16746         * nss/nsswitch.h (nss_interface_function): Provide new
16747         macro for use with NSS functions.
16748         * grp/initgroups.c: Use new macro.
16749         * nss/getXXbyYY.c: Likewise.
16750         * nss/getXXbyYY_r.c: Likewise.
16751         * nss/getXXent.c: Likewise.
16752         * nss/getXXent_r.c: Likewise.
16753         * sysdeps/posix/getaddrinfo.c: Likewise.
16755 2012-10-30  Andreas Jaeger  <aj@suse.de>
16757         * po/ru.po: Update Russion translation from translation project.
16759 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16761         [BZ #14152]
16762         [BZ #14783]
16763         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16764         result and shift together with sticky bit instead of replicating
16765         round-to-nearest rounding.
16766         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16768         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16769         missing underflow exceptions.
16770         (fma_test_towardzero): Add more tests.
16771         (fma_test_downward): Likewise.
16772         (fma_test_upward): Likewise.
16774         [BZ #14047]
16775         * sysdeps/generic/tininess.h: New file.
16776         * sysdeps/i386/tininess.h: Likewise.
16777         * sysdeps/sh/tininess.h: Likewise.
16778         * sysdeps/x86_64/tininess.h: Likewise.
16779         * stdlib/tst-strtod-underflow.c: Likewise.
16780         * stdlib/tst-tininess.c: Likewise.
16781         * stdlib/strtod_l.c: Include <tininess.h>.
16782         (round_and_return): Do not set errno for exact underflow cases.
16783         Force an underflow exception when setting errno for underflow.
16784         Determine underflow based on rounding to normal precision if
16785         TININESS_AFTER_ROUNDING.
16786         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16787         ERANGE for exact underflow cases.
16788         * stdlib/Makefile (tests): Add tst-tininess and
16789         tst-strtod-underflow.
16790         ($(objpfx)tst-tininess): Use $(link-libm).
16791         ($(objpfx)tst-strtod-underflow): Likewise.
16793 2012-10-30  Andreas Jaeger  <aj@suse.de>
16795         [BZ#14767]
16796         * elf/Makefile (tests): Remove conditional for have-initfini-array
16797         since this is now always required and the variable does not exist
16798         anymore.
16799         (tests-static): Likewise.
16800         (modules-names): Likewise.
16802         * po/eo.po: Add Esperanto translation from translation project.
16804         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16805         merged with constructor/destructor.
16806         (init_array): Likewise.
16807         * elf/tst-array2dep.c (fini_array): Likewise.
16808         (init_array): Likewise.
16810 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16812         * manual/message.texi: Delete @cartouche tags.
16814 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16816         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16817         EOPNOTSUPP.
16818         * sysdeps/mach/hurd/fsync.c: Likewise.
16820         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16821         [_POSIX_REALTIME_SIGNALS]: Change condition to
16822         [_POSIX_REALTIME_SIGNALS > 0].
16824 2012-10-27  Andreas Jaeger  <aj@suse.de>
16826         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16827         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16828         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16829         [__WORDSIZE != 64]: Likewise.
16831 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16833         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16834         *  iconvdata/tst-tables.sh: Likewise.
16836 2012-10-25  David S. Miller  <davem@davemloft.net>
16838         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16839         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16840         of strtoull.
16842         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16843         ifunc-impl-list.c
16844         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16845         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16846         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16847         file.
16849 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16851         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16852         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16853         __getdirentries.
16855 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16856             Jim Blandy  <jimb@codesourcery.com>
16858         * scripts/cross-test-ssh.sh: New file.
16859         * manual/install.texi (Configuring and compiling): Document use of
16860         cross-test-ssh.sh.
16861         * INSTALL: Regenerated.
16863 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16865         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16866         EOPNOTSUPP.
16868 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16870         * Makeconfig (run-program-prefix): Fix comment.
16872 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16873             Jim Blandy  <jimb@codesourcery.com>
16875         * Makeconfig (test-wrapper): New variable,
16876         (test-wrapper-env): Likewise.
16877         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16878         (run-built-tests): Define to yes.
16879         (run-program-prefix): Use $(test-wrapper).
16880         (built-program-cmd): Likewise.
16881         * Rules (make-test-out): Use $(test-wrapper-env) and
16882         $(host-built-program-cmd).
16883         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16884         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16885         tst-pathopt.sh.
16886         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16887         $(test-wrapper-env) to tst-rtld-load-self.sh.
16888         ($(objpfx)order2.out): Use $(test-wrapper).
16889         ($(objpfx)tst-initorder.out): Likewise.
16890         ($(objpfx)tst-initorder2.out): Likewise.
16891         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16892         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16893         (test_wrapper_env): New variable.  Use it to run ld.so.
16894         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16895         Use it to run ld.so.
16896         (test_wrapper_env): Likewise.
16897         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16898         $(test-wrapper) to run-iconv-test.sh.
16899         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16900         (ICONV): Use $test_wrapper.
16901         * posix/Makefile ($(objpfx)globtest.out): Pass
16902         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16903         globtest.sh, not $(run-program-prefix).
16904         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16905         (test_wrapper): Likewise.
16906         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16907         set together with run_via_rtld_prefix.
16908         (run_program_prefix): Define in terms of test_wrapper and
16909         run_via_rtld_prefix.
16911 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16913         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16914         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16915         Targets removed.
16917         [BZ #14743]
16918         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16919         Declare __clock_getres, __clock_gettime, __clock_settime,
16920         __clock_nanosleep, and __clock_getcpuclockid.
16921         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16922         Remove librt_hidden_def (clock_gettime).
16923         * sysdeps/unix/clock_gettime.c: Likewise.
16924         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16925         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16926         * rt/clock_getres.c: Define __clock_getres as an alias.
16927         * sysdeps/posix/clock_getres.c: Likewise.
16928         * rt/clock_settime.c: Define __clock_settime as an alias.
16929         * sysdeps/unix/clock_settime.c: Likewise.
16930         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16931         * sysdeps/unix/clock_nanosleep.c: Likewise.
16932         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16933         * rt/clock-compat.c: New file.
16934         * rt/Makefile (librt-routines): Add clock-compat and move
16935         $(clock-routines) to ...
16936         (routines): ... here, new variable.
16937         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16938         Don't add get_clockfreq here.
16939         * rt/Versions (libc: GLIBC_2.17): New version set.
16940         Add clock_* symbols here.
16941         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16942         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16943         (GLIBC_2.17): Add clock_* symbols.
16944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16946         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16948         Likewise.
16949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16950         Likewise.
16951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16955         * NEWS: Mention the move.
16957         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16958         Use __open, __read, __close rather than their public counterparts.
16959         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16960         (__get_clockfreq_via_cpuinfo): Likewise.
16961         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16962         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16964         * config.h.in (HAVE_IFUNC): New #undef.
16965         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16966         was successful.
16967         * configure: Regenerated.
16969 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16971         * configure.in: Move READELF check to start of file.
16972         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16973         libc_cv_asm_gnu_indirect_function in the process.
16974         * configure: Regenerated.
16976 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16978         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16979         send the output to /dev/null.
16980         (libc_cv_cc_with_libunwind): Likewise.
16981         (libc_cv_as_noexecstack): Likewise.
16982         * configure: Regenerate.
16984 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16986         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16988         * posix/globtest.sh (TMPDIR): Do not set.
16989         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16990         (testout): Likewise.
16992 2012-10-24  Andreas Jaeger  <aj@suse.de>
16994         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16995         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16996         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16997         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16998         posix_fadvise64, posix_fallocate64.
17000         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17001         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17002         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17003         Likewise.
17004         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17005         Likewise.
17006         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17009         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17010         <bits/fcntl-linux.h>.
17011         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17014         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17015         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17016         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17017         [__WORDSIZE != 64]: Likewise.
17019 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17021         * Makeconfig (run-built-tests): New variable.
17022         * Rules [$(cross-compiling) = yes]: Change condition to
17023         [$(run-built-tests) = no].
17024         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17025         to [$(run-built-tests) = yes].
17026         * elf/Makefile [$(cross-compiling) = no]: Likewise
17027         * grp/Makefile [$(cross-compiling) = no]: Likewise.
17028         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17029         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17030         * intl/Makefile [$(cross-compiling) = no]: Likewise.
17031         * io/Makefile [$(cross-compiling) = no]: Likewise.
17032         * libio/Makefile [$(cross-compiling) = no]: Likewise.
17033         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17034         * misc/Makefile [$(cross-compiling) = no]: Likewise.
17035         * posix/Makefile [$(cross-compiling) = no]: Likewise.
17036         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17037         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17038         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17039         * string/Makefile [$(cross-compiling) = no]: Likewise.
17041         * posix/Makefile ($(objpfx)globtest.out): Pass
17042         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17043         $(rtld-installed-name).
17044         * posix/globtest.sh (elf_objpfx): Remove variable.
17045         (rtld_installed_name): Likewise.
17046         (library_path): Likewise.
17047         (run_program_prefix): New variable.  Use for running globtest
17048         binary.
17050 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
17051             Joseph Myers  <joseph@codesourcery.com>
17053         * Makeconfig (host-built-program-cmd): New variable.
17054         * elf/Makefile (tst-stackguard1-ARGS): Use
17055         $(host-built-program-cmd).
17056         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17057         (tst-spawn-ARGS): Likewise.
17058         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17060 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
17061             Jim Blandy  <jimb@codesourcery.com>
17063         * Makeconfig (run-via-rtld-prefix): New variable.
17064         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17065         (built-program-cmd): Likewise.
17067 2012-10-22  Andreas Jaeger  <aj@suse.de>
17069         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17070         __O_RSYNC if it exists, otherwise to O_SYNC.
17072 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
17073             Joseph Myers  <joseph@codesourcery.com>
17075         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17076         /dev/null.
17077         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17078         from /dev/null
17079         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17080         /dev/null.
17082 2012-10-22  Andreas Jaeger  <aj@suse.de>
17084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17085         Define always.
17086         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17088         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17089         bits/fcntl-linux.h.
17091         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17092         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17094         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17095         to __O_LARGEFILE.
17096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17097         to __O_LARGEFILE.
17099 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
17100             Joseph Myers  <joseph@codesourcery.com>
17102         * config.make.in (NM): New variable.
17104 2012-10-21  Andreas Jaeger  <aj@suse.de>
17106         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17107         definitions and declarations that are provided by
17108         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17110 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17112         [BZ #14683]
17113         * elf/Makefile (tests-static): Add tst-leaks1-static.
17114         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17115         ($(objpfx)tst-leaks1-static): New rule.
17116         ($(objpfx)tst-leaks1-static-mem): Likewise.
17117         (tst-leaks1-static-ENV): New macro.
17118         * elf/dl-open.c (dl_open_worker): Check the main application
17119         only if SHARED is defined.
17120         * elf/tst-leaks1-static.c: New file.
17122 2012-10-20  Andreas Jaeger  <aj@suse.de>
17124         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17125         generic values for Linux.
17126         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17127         and declarations that are provided by <bits/fcntl-linux.h> and
17128         include <bits/fcntl-linux.h>.
17129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17130         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17132 2012-10-20  Roland McGrath  <roland@hack.frob.com>
17134         * io/fcntl.h: Move include of <bits/types.h> to the top and
17135         include it unconditionally.
17137 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
17139         * wcsmbs/Makefile (tests-ifunc): New variable.
17140         (tests): Add $(tests-ifunc).
17141         * wcsmbs/test-wcschr-ifunc.c: New file.
17142         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17143         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17144         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17145         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17146         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17148         * string/Makefile (tests-ifunc): New variable.
17149         (tests): Add $(tests-ifunc).
17150         * string/test-memccpy.c (TEST_NAME): New macro.
17151         * string/test-memchr.c (TEST_NAME): Likewise.
17152         * string/test-memcmp.c (TEST_NAME): Likewise.
17153         * string/test-memcpy.c (TEST_NAME): Likewise.
17154         * string/test-memmem.c (TEST_NAME): Likewise.
17155         * string/test-memmove.c (TEST_NAME): Likewise.
17156         * string/test-memset.c (TEST_NAME): Likewise.
17157         * string/test-rawmemchr.c (TEST_NAME): Likewise.
17158         * string/test-stpcpy.c (TEST_NAME): Likewise.
17159         * string/test-stpncpy.c (TEST_NAME): Likewise.
17160         * string/test-strcasecmp.c (TEST_NAME): Likewise.
17161         * string/test-strcasestr.c (TEST_NAME): Likewise.
17162         * string/test-strcat.c (TEST_NAME): Likewise.
17163         * string/test-strchr.c (TEST_NAME): Likewise.
17164         * string/test-strcmp.c(TEST_NAME): Likewise.
17165         * string/test-strcpy.c (TEST_NAME): Likewise.
17166         * string/test-strcspn.c (TEST_NAME): Likewise.
17167         * string/test-strlen.c (TEST_NAME): Likewise.
17168         * string/test-strncasecmp.c (TEST_NAME): Likewise.
17169         * string/test-strncmp.c (TEST_NAME): Likewise.
17170         * string/test-strncpy.c (TEST_NAME): Likewise.
17171         * string/test-strnlen.c (TEST_NAME): Likewise.
17172         * string/test-strpbrk.c (TEST_NAME): Likewise.
17173         * string/test-strrchr.c (TEST_NAME): Likewise.
17174         * string/test-strspn.c (TEST_NAME): Likewise.
17175         * string/test-strstr.c (TEST_NAME): Likewise.
17176         * string/test-bcopy-ifunc.c: New file.
17177         * string/test-bzero-ifunc.c: Likewise.
17178         * string/test-memccpy-ifunc.c: Likewise.
17179         * string/test-memchr-ifunc.c: Likewise.
17180         * string/test-memcmp-ifunc.c: Likewise.
17181         * string/test-memcpy-ifunc.c: Likewise.
17182         * string/test-memmem-ifunc.c: Likewise.
17183         * string/test-memmove-ifunc.c: Likewise.
17184         * string/test-mempcpy-ifunc.c: Likewise.
17185         * string/test-memset-ifunc.c: Likewise.
17186         * string/test-rawmemchr-ifunc.c: Likewise.
17187         * string/test-stpcpy-ifunc.c: Likewise.
17188         * string/test-stpncpy-ifunc.c: Likewise.
17189         * string/test-strcasecmp-ifunc.c: Likewise.
17190         * string/test-strcasestr-ifunc.c: Likewise.
17191         * string/test-strcat-ifunc.c: Likewise.
17192         * string/test-strchr-ifunc.c: Likewise.
17193         * string/test-strchrnul-ifunc.c: Likewise.
17194         * string/test-strcmp-ifunc.c: Likewise.
17195         * string/test-strcpy-ifunc.c: Likewise.
17196         * string/test-strcspn-ifunc.c: Likewise.
17197         * string/test-strlen-ifunc.c: Likewise.
17198         * string/test-strncasecmp-ifunc.c: Likewise.
17199         * string/test-strncat-ifunc.c: Likewise.
17200         * string/test-strncmp-ifunc.c: Likewise.
17201         * string/test-strncpy-ifunc.c: Likewise.
17202         * string/test-strnlen-ifunc.c: Likewise.
17203         * string/test-strpbrk-ifunc.c: Likewise.
17204         * string/test-strrchr-ifunc.c: Likewise.
17205         * string/test-strspn-ifunc.c: Likewise.
17206         * string/test-strstr-ifunc.c: Likewise.
17208         * debug/Makefile (tests-ifunc): New variable.
17209         (tests): Add $(tests-ifunc).
17210         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17211         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17212         * debug/test-stpcpy_chk-ifunc.c: New file.
17213         * debug/test-strcpy_chk-ifunc.c: Likewise.
17215 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17217         [BZ #13601]
17218         * elf/dl-load.c (open_verify): Retry read if the entire ELF
17219         header is not read in.
17221 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
17223         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
17224         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
17225         directly.  Pass built executable to script as
17226         $(built-program-cmd).
17227         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
17228         $testprogram without using LD_LIBRARY_PATH and $ldso.
17230         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17231         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17232         $(rtld-installed-name).
17233         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17234         (rtld_installed_name): Likewise.
17235         (library_path): Likewise.
17236         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
17237         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17238         $(run-program-prefix) to tst-tables.sh.
17239         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
17240         it to run tst-table-from and tst-table-to.
17241         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17242         Pass it to tst-table.sh.
17243         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17244         $(run-program-prefix) to tst-gettext.sh.
17245         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17246         tst-translit.sh.
17247         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17248         tst-gettext2.sh.
17249         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
17250         to run tst-gettext.
17251         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
17252         to run tst-gettext2.
17253         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
17254         to run tst-translit.
17255         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17256         $(run-program-prefix) to tst-mtrace.sh.
17257         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
17258         to run tst-mtrace.
17259         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17260         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17261         $(rtld-installed-name).
17262         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17263         (rtld_installed_name): Likewise.
17264         (run_program_prefix): New variable.  Use it to run wordexp-test.
17266         * Makeconfig (ARCH): Remove all definitions.
17267         (machine): Likewise.
17268         [ARCH]: Remove conditional code.
17269         [!objdir]: Give error.
17270         [!objdir] (objpfx): Remove.
17271         [!objdir] (common-objpfx): Likewise.
17272         [!objdir] (common-objdir): Likewise.
17273         * configure.in (config_makefile): Remove.  Hardcode Makefile in
17274         AC_CONFIG_FILES call.
17275         * configure: Regenerated.
17277         [BZ #13888]
17278         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17279         or TMPDIR.
17280         (testout): Likewise.
17282         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17283         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17284         $(rtld-installed-name).
17285         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17286         (rtld_installed_name): Likwise.
17287         (runit): Remove function.
17288         (run_getconf): New variable,  Use it for running getconf binary.
17290 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
17292         [BZ #14716]
17293         * string/test-memmem.c (check_result): New function.
17294         (do_one_test): Use it.
17295         (check1): New function.
17296         (test_main): Use it.
17298 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
17300         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17302 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
17304         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17305         (_G_LSEEK64): Likewise.
17306         (_G_MMAP64): Likewise.
17307         (_G_FSTAT64): Likewise.
17308         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17309         (_G_LSEEK64): Likewise.
17310         (_G_MMAP64): Likewise.
17311         (_G_FSTAT64): Likewise.
17312         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17313         unconditional.  Call __mmap64 directly.
17314         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17315         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
17316         __lseek64 directly.
17317         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17318         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
17319         __mmap64 directly.
17320         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17321         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17322         __lseek64 directly.
17323         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17324         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
17325         __lseek64 directly.
17326         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17327         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
17328         __lseek64 directly.
17329         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17330         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
17331         __fxstat64 directly.
17332         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17333         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17334         unconditional.
17335         (freopen64) [!_G_OPEN64]: Remove conditional code.
17336         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17337         unconditional.
17338         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17339         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17340         unconditional.
17341         (ftello64) [!_G_LSEEK64]: Remove conditional code.
17342         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17343         unconditional.
17344         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17345         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17346         unconditional.
17347         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17348         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17349         unconditional.
17350         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17351         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17352         unconditional.
17353         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17354         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17355         unconditional.
17356         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17358 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17360         [BZ #12140]
17361         * manual/memory.texi (Malloc Tunable Parameters): Add note
17362         about free list pointers overwriting some perturb bytes.
17363         Wording suggested by Roland McGrath.
17365 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
17367         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17368         (lgamma_test): Likewise.
17369         (tgamma_test): Likewise.
17371 2012-10-16  Florian Weimer  <fweimer@redhat.com>
17373         [BZ #14700]
17374         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17375         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17377 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
17379         * NEWS: Mention BZ #14716.
17380         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17381         when removing AVAILABLE1_USES_J macro.
17383 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
17385         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17386         (__bswap_64): __uint64_t for unsigned 64-bit int.
17388 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
17390         * include/string.h (memmem): Declare libc hidden alias.
17391         * string/memmem.c (memmem): Define libc hidden alias.
17392         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17393         __read, __close instead of open, read, close.
17395 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
17397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17398         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17399         global and hidden.
17400         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17401         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17402         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17403         Likewise.
17404         (__rawmemchr_sse2): Likewise.
17405         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17406         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17407         (__strchr_sse2): Likewise.
17408         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17409         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17410         (__strcasecmp_sse2): Likewise.
17411         (__strncasecmp_sse2): Likewise.
17412         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17413         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17414         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17415         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17416         (__strrchr_sse2): Likewise.
17417         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17418         ifunc-impl-list.c.
17419         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17420         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17421         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17422         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17423         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17424         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17425         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17426         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17427         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17428         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17429         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17430         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17431         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17432         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17433         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17434         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17435         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17436         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17437         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17438         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17439         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17440         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17441         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17442         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17443         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17444         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17445         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17446         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17447         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17448         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17450         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17451         global and hidden.
17452         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17453         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17454         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17455         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17456         Likewise.
17457         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17458         Likewise.
17459         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17460         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17461         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17462         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17463         ifunc-impl-list.c.
17464         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17465         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17466         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17467         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17468         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17469         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17470         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17471         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17472         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17473         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17474         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17475         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17476         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17477         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17478         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17479         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17480         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17481         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17482         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17483         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17484         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17485         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17486         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17487         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17488         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17489         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17490         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17491         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17492         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17493         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17494         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17495         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17496         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17497         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17498         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17499         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17500         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17501         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17502         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17503         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17504         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17506         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17507         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17508         * include/ifunc-impl-list.h: New file.
17509         * misc/ifunc-impl-list.c: Likewise.
17510         * misc/Makefile (routines): Add ifunc-impl-list.
17511         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17512         * string/test-string.h: Include <ifunc-impl-list.h>.
17513         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17514         impl_array): New variables.
17515         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17516         are defined.
17517         (test_init): Call __libc_ifunc_impl_list to initialize
17518         func_list if TEST_IFUNC and TEST_NAME are defined.
17520         * string/Makefile (strop-tests): Add bcopy and bzero.
17521         * string/test-bcopy.c: New file.
17522         * string/test-bzero.c: Likewise.
17523         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17524         defined.
17525         * string/test-memset.c: Support bzero test if TEST_BZERO is
17526         defined.
17527         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17528         __libc_memmove.
17529         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17530         __libc_memset.
17531         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17532         of memset.
17534 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
17536         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17537         * configure: Regenerated.
17539         * Makeconfig (+link-static-before-libc): Don't include
17540         $(link-static-libc).
17542         * libio/libio.h (_IO_pos_t): Remove.
17544 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17546         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
17547         McGrath.
17549 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17551         * crypt/crypt-entry.c: Include fips-private.h.
17552         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17553         * crypt/md5c-test.c (main): Tolerate disabled MD5.
17554         * sysdeps/unix/sysv/linux/fips-private.h: New file.
17555         * sysdeps/generic/fips-private.h: New file, dummy fallback.
17557 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
17559         * crypt/crypt-private.h: Include stdbool.h.
17560         (_ufc_setup_salt_r): Return bool.
17561         * crypt/crypt-entry.c: Include errno.h.
17562         (__crypt_r): Return NULL with EINVAL for bad salt.
17563         * crypt/crypt_util.c (bad_for_salt): New.
17564         (_ufc_setup_salt_r): Check that salt is long enough and within
17565         the specified alphabet.
17566         * crypt/badsalttest.c: New file.
17567         * crypt/Makefile (tests): Add it.
17568         ($(objpfx)badsalttest): New.
17570 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
17572         * NEWS: Add entry for BZ #14602.
17574 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17576         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17577         type-generic.
17578         * math/libm-test.inc: Update comment listing what functions and
17579         macros are tested.
17580         (isgreater_test): New function.
17581         (isgreaterequal_test): Likewise.
17582         (isless_test): Likewise.
17583         (islessequal_test): Likewise.
17584         (islessgreater_test): Likewise.
17585         (isunordered_test): Likewise.
17586         (main): Call the new functions.
17588 2012-10-09  Roland McGrath  <roland@hack.frob.com>
17590         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17591         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17592         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17593         * sysdeps/i386/configure: Regenerated.
17594         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17595         * sysdeps/mach/configure: Regenerated.
17596         * sysdeps/mach/hurd/configure: Regenerated.
17597         * sysdeps/powerpc/configure: Regenerated.
17598         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17599         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17600         * sysdeps/s390/s390-32/configure: Regenerated.
17601         * sysdeps/s390/s390-64/configure: Regenerated.
17602         * sysdeps/sh/configure: Regenerated.
17603         * sysdeps/sparc/configure: Regenerated.
17604         * sysdeps/unix/sysv/linux/configure: Regenerated.
17605         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17606         * sysdeps/x86_64/configure: Regenerated.
17608         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17609         defined.  Don't check if MAP is NULL.
17611 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
17613         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17614         (_G_stat64): Likewise.
17615         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17616         (_G_stat64): Likewise.
17617         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17618         instead of struct _G_stat64.
17619         * libio/fileops.c (mmap_remap_check): Likewise.
17620         (decide_maybe_mmap): Likewise.
17621         (_IO_new_file_seekoff): Likewise.
17622         (_IO_file_stat): Likewise.
17623         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17624         _G_off64_t.
17625         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17626         instead of struct _G_stat64.
17627         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17629 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
17631         [BZ #14602]
17632         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17633         Replace with ...
17634         (CHECK_EOL): New macro.
17635         (two_way_short_needle): Check beginning of haystack for EOL.  Use
17636         CHECK_EOL.
17637         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17638         Replace with CHECK_EOL.
17639         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17640         Replace with CHECK_EOL.
17642 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
17644         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17645         type-generic.
17646         * math/libm-test.inc: Update comment listing what functions and
17647         macros are tested.
17648         (finite_test): New function.
17649         (isinf_test): Likewise.
17650         (isnan_test): Likewise.
17651         (fpclassify_test): Test subnormal input.
17652         (isfinite_test): Likewise.
17653         (isnormal_test): Likewise.
17654         (main): Call the new functions.
17656 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
17658         [BZ #14660]
17659         * Makerules (%.dynsym): Force C locale when running
17660         $(OBJDUMP) --dynamic-syms.
17662 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
17664         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17665         <stdint.h>.
17667 2012-10-06  David S. Miller  <davem@davemloft.net>
17669         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17670         upper 32-bits of the length value in %o2 since we use branch-on-register
17671         tests which consider the entire 64-bit register.
17673 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
17675         * string/test-strstr.c (check2): Add a test for page boundary.
17677 2012-10-05  David S. Miller  <davem@davemloft.net>
17679         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17680         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17681         file.
17682         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17683         sysdep_routines.
17684         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17685         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17686         and bzero when HWCAP_SPARC_CRYPTO is present.
17688 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17690         [BZ #14602]
17691         * string/test-strstr.c (check2): New function.
17692         (test_main): Call check2.
17694         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17695         and bug-strchr1.
17696         * string/bug-strcasestr1.c (do_test): Moved to ...
17697         * string/test-strcasestr.c (check1): Here.  New function.
17698         (do_one_test): Break out result checking code into ...
17699         (check_result): This.  New function.
17700         (do_one_test): Call check_result.
17701         (test_main): Call check1.
17702         * string/bug-strchr1.c (do_test): Moved to ...
17703         * string/test-strchr.c (check1): Here.  New function.
17704         (do_one_test): Break out result checking code into ...
17705         (check_result): This.  New function.
17706         (do_one_test): Call check_result.
17707         (test_main): Call check1.
17708         * string/bug-strstr1.c (main): Moved to ...
17709         * string/test-strstr.c (check1): Here.  New function.
17710         (do_one_test): Break out result checking code into ...
17711         (check_result): This.  New function.
17712         (do_one_test): Call check_result.
17713         (test_main): Call check1.
17714         * string/bug-strcasestr1.c: Removed.
17715         * string/bug-strchr1.c: Likewise.
17716         * string/bug-strstr1.c: Likewise.
17718         * elf/Makefile (dl-routines): Add hwcaps.
17719         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17720         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17721         (_dl_important_hwcaps): Moved to ...
17722         * elf/dl-hwcaps.c: Here.  New file.
17723         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17725         [BZ #14557]
17726         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17727         if IS_IN_rtld isn't defined.
17729         * elf/dl-support.c (_dl_sysinfo_map): New.
17730         Include "get-dynamic-info.h" and "setup-vdso.h".
17731         (_dl_non_dynamic_init): Call setup_vdso.
17732         * elf/dynamic-link.h: Don't include <assert.h>.
17733         (elf_get_dynamic_info): Moved to ...
17734         * elf/get-dynamic-info.h: Here.  New file.
17735         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17736         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17737         * elf/setup-vdso.h: Here.  New file.
17738         * elf/rtld.c: Include "setup-vdso.h".
17739         (dl_main): Call setup_vdso.
17741 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17743         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17744         creal in comment listing functions tested.  List finite, isinf,
17745         isnan, isless, islessequal, isgreater, isgreaterequal,
17746         islessgreater, isunordered, lgamma_r and pow10 as functions and
17747         macros not tested.  Mention which functions not tested are aliases
17748         for other functions.  Fix typo.  Note that signs of NaNs are not
17749         tested.
17751         * scripts/config.guess: Update from config.git.
17752         * scripts/config.sub: Likewise.
17754 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17756         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17757         * misc/madvise.c (madvise): Renamed to __madvise.
17758         Make madvise a weak alias.
17759         * include/sys/mman.h: Declare __madvise.
17760         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17761         * sysdeps/unix/syscalls.list
17762         (madvise): Make __madvise the strong name, and madvise a weak alias.
17763         * sysdeps/unix/sysv/linux/syscalls.list
17764         (madvise, mmap): Remove redundant entries.
17765         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17766         * malloc/malloc.c (mtrim): Likewise.
17767         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17769 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17771         * sysdeps/mach/hurd/dl-cache.c: File removed.
17772         * config.h.in (USE_LDCONFIG): New #undef.
17773         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17774         * configure: Regenerated.
17775         * elf/Makefile (dl-routines): Add dl-cache only under
17776         [$(use-ldconfig) = yes].
17777         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17778         cache on [USE_LDCONFIG].
17779         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17780         [USE_LDCONFIG].
17781         * elf/rtld.c (dl_main): Likewise.
17783 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17785         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17786         _SC_LEVEL4_CACHE_LINESIZE.
17788 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17790         * sysdeps/unix/bsd/confstr.h: File removed.
17792 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17794         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17795         sys/sdt-config.h.
17797 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17799         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17800         Make 'mapoff' field ElfW(Off) rather than off_t.
17802 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17804         * nscd/Makefile: Remove nscd-cflags and all its users.
17805         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17806         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17808         [BZ #10631]
17809         * malloc.c (malloc_printerr): Clarify error message.
17811 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17813         [BZ #14648]
17814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17815         Set bit_FMA_Usable if FMA is supported.
17816         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17817         macro.
17818         (bit_FMA4_Usable): Updated.
17819         (index_FMA_Usable): New macro.
17820         (CPUID_FMA): Likewise
17821         (HAS_FMA): Defined with bit_FMA_Usable.
17823 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17825         * bits/types.h (__swblk_t): Type removed.
17826         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17827         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17828         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17829         (__SWBLK_T_TYPE): Likewise.
17830         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17831         (__SWBLK_T_TYPE): Likewise.
17832         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17833         (__SWBLK_T_TYPE): Likewise.
17834         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17835         (__SWBLK_T_TYPE): Likewise.
17837 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17838             Honza Horak <hhorak@redhat.com>
17840         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17841         (xdr_mapname): Use YPMAXMAP as maxsize.
17842         (xdr_peername): Use YPMAXPEER as maxsize.
17843         (xdr_keydat): Use YPAXRECORD as maxsize.
17844         (xdr_valdat): Use YPMAXRECORD as maxsize.
17846 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17848         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17850         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17851         * csu/init-first.c: ... here.
17852         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17853         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17854         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17855         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17856         * sysdeps/i386/init-first.c: File removed.
17857         * sysdeps/sh/init-first.c: File removed.
17859 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17861         [BZ #14645]
17862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17863         if x * y might underflow to zero and z is zero.
17864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17865         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17866         * math/libm-test.inc (min_subnorm_value): New variable.
17867         (fma_test): Add more tests.
17868         (fma_test_towardzero): Likewise.
17869         (fma_test_downward): Likewise
17870         (fma_test_upward): Likewise.
17871         (initialize): Set min_subnorm_value.
17873 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17875         [BZ #14638]
17876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17877         0 + 0.
17878         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17879         mode for addition resulting in exact zero.
17880         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17882         exact 0 + 0.
17883         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17885         * math/libm-test.inc (fma_test): Add more tests.
17886         (fma_test_towardzero): New function.
17887         (fma_test_downward): Likewise.
17888         (fma_test_upward): Likewise.
17889         (main): Call the new functions.
17891 2012-09-28  David S. Miller  <davem@davemloft.net>
17893         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17895 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17897         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17898         instead of SIGALRM.
17900         * sysdeps/gnu/_G_config.h: Moved to ...
17901         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17902         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17903         * sysdeps/generic/_G_config.h: ... here.
17905         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17907         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17909         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17910         Conditionalize target on [libnss_test1.so-version].
17912         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17914         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17915         (elfobjdir): Move out of conditionals.
17917         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17918         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17919         (__nss_lookup_function): Conditionalize label remove_from_tree on
17920         [!DO_STATIC_NSS || SHARED], matching its only use.
17922 2012-09-28  David S. Miller  <davem@davemloft.net>
17924         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17925         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17926         file.
17927         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17928         sysdep_routines.
17929         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17930         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17931         when HWCAP_SPARC_CRYPTO is present.
17933 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17935         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17937 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17939         [BZ #6530]
17940         * stdio-common/vfprintf.c (process_string_arg): Revert
17941         2000-07-22 change.
17943 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17945         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17946         for testcase.
17947         * stdio-common/tst-sprintf.c: Include <locale.h>
17948         (main): Test sprintf's handling of incomplete multibyte
17949         characters.
17951 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17953         * elf/dl-runtime.c (VERSYMIDX): Removed.
17954         * elf/dl-version.c (VERSYMIDX): Likewise.
17955         * elf/do-rel.h (VERSYMIDX): Likewise.
17956         (VALIDX): Likewise.
17957         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17958         * elf/rtld.c (VALIDX): Likewise.
17959         (ADDRIDX): Likewise.
17960         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17961         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17962         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17963         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17964         (VALIDX): Likewise.
17965         (ADDRIDX): Likewise.
17967 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17969         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17971 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17973         [BZ #11438]
17974         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17975         to global scope.
17976         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17977         addresses are in the same scope as 192.0.2/24.
17978         * posix/gai.conf: Document new scope table defaults.
17980 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17982         [BZ #5298]
17983         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17984         for ftell.  Compute offsets from write pointers instead.
17985         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17987 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17989         [BZ #14543]
17990         * libio/Makefile (tests): New test case tst-fseek.
17991         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17992         combination works in wide mode.
17993         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17994         state when the external buffer state changes.
17996 2012-09-27  David S. Miller  <davem@davemloft.net>
17998         [BZ #14376]
17999         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18000         pass reloc->r_addend in as the 'high' argument to
18001         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18005 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
18007         * rt/tst-aio2.c: Include <pthread.h>.
18008         * rt/tst-aio3.c: Likewise.
18010 2012-09-27  Steve Ellcey  <sellcey@mips.com>
18012         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18014 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
18016         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18017         contents on [SHARED].
18019 2012-09-26  Marek Polacek  <polacek@redhat.com>
18021         [BZ #14530]
18022         [BZ #13741]
18023         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18024         for C++ and GCC <4.3 as well as for non GCC compilers.
18026 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18030 2012-09-25  Roland McGrath  <roland@hack.frob.com>
18032         * Makefile.in (all, install): Declare with .PHONY.
18033         Reported by Michael Hope <michael.hope@linaro.org>.
18035 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18037         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18038         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18039         system header.
18040         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18041         Likewise.
18042         (sydep_routines): Add the new and the internal functions.
18043         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18044         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18046         (GLIBC_2.17): Add the new function.
18047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18048         (GLIBC_2.17): Likewise.
18049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18050         (GLIBC_2.17): Likewise.
18051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18052         (GLIBC_2.17): Likewise.
18053         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18055 2012-09-25  Alan Modra  <amodra@gmail.com>
18057         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18058         Add release barrier before setting once_control to say
18059         initialisation is done.  Add hints on lwarx.  Use macro in
18060         place of isync.
18061         (clear_once_control): Add release barrier.
18063 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18065         [BZ #13629]
18066         * math/s_clog.c (__clog): Handle more values close to |z| = 1
18067         specially.
18068         * math/s_clog10.c (__clog10): Likewise.
18069         * math/s_clog10f.c (__clog10f): Likewise.
18070         * math/s_clog10l.c (__clog10l): Likewise.
18071         * math/s_clogf.c (__clogf): Likewise.
18072         * math/s_clogl.c (__clogl): Likewise.
18073         * math/Makefile (libm-calls): Add x2y2m1.
18074         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18075         (__x2y2m1): Likewise.
18076         (__x2y2m1l): Likewise.
18077         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18078         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18079         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18080         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18081         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18082         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18083         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18084         * sysdeps/i386/fpu/libm-test-ulps: Update.
18085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18087         [BZ #14621]
18088         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18089         int as type of variable DEPTH.
18090         (glob): Use size_t instead of int as type of variables NEWCOUNT
18091         and OLD_PATHC.
18093 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18095         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18096         Add s_sincosf-sse2.
18097         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18098         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18099         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18100         macros for using routine as __sincosf_ia32.
18101         Use macro for function declaration and weak_alias.
18102         * sysdeps/i386/fpu/libm-test-ulps: Update.
18104         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18107         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18108         subnormal argument.
18109         * math/s_cexpf.c (__cexpf): Likewise.
18110         * math/s_csinf.c (__csinf): Likewise.
18111         * math/s_csinhf.c (__csinhf): Likewise.
18112         * math/s_ctanf.c (__ctanf): Likewise.
18113         * math/s_ctanhf.c (__ctanhf): Likewise.
18114         * math/s_ccosh.c (__ccoshf): Likewise.
18115         * math/s_cexp.c (__cexpl): Likewise.
18116         * math/s_csin.c (__csin): Likewise.
18117         * math/s_csinh.c (__csinh): Likewise.
18118         * math/s_ctan.c (__ctan): Likewise.
18119         * math/s_ctanh.c (ctanh): Likewise.
18120         * math/s_ccoshl.c (__ccoshl): Likewise.
18121         * math/s_cexpl.c (__cexpl): Likewise.
18122         * math/s_csinl.c (__csinl): Likewise.
18123         * math/s_csinhl.c (__csinhl): Likewise.
18124         * math/s_ctanl.c (__ctanl): Likewise.
18125         * math/s_ctanhl.c (__ctanhl): Likewise.
18127 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
18129         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18130         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18131         (_IO_off_t): Define to __off_t, not _G_off_t.
18132         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18133         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18134         (_IO_wint_t): Define to wint_t, not _G_wint_t.
18135         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18136         type of __dummy and __dummy2 fields.
18137         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18138         (_G_ssize_t): Likewise.
18139         (_G_off_t): Likewise.
18140         (_G_pid_t): Likewise.
18141         (_G_uid_t): Likewise.
18142         (_G_wchar_t): Likewise.
18143         (_G_wint_t): Likewise.
18144         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18145         (_G_ssize_t): Likewise.
18146         (_G_off_t): Likewise.
18147         (_G_pid_t): Likewise.
18148         (_G_uid_t): Likewise.
18149         (_G_wchar_t): Likewise.
18150         (_G_wint_t): Likewise.
18151         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18152         (_G_ssize_t): Likewise.
18153         (_G_off_t): Likewise.
18154         (_G_pid_t): Likewise.
18155         (_G_uid_t): Likewise.
18156         (_G_wchar_t): Likewise.
18157         (_G_wint_t): Likewise.
18159 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18161         * malloc/arena.c: Include malloc-sysdep.h.
18162         (shrink_heap): Use check_may_shrink_heap to decide if madvise
18163         is sufficient to shrink the heap or an unmap is needed.
18164         * sysdeps/generic/malloc-sysdep.h: New file.  Define
18165         new function check_may_shrink_heap.
18166         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
18167         new function check_may_shrink_heap.
18169 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18171         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18172         comments.
18174 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
18176         * catgets/test-gencat.sh: Add "set -e".
18177         * elf/tst-pathopt.sh: Likewise.
18178         * grp/tst_fgetgrent.sh: Likewise.
18179         * iconvdata/run-iconv-test.sh: Likewise.
18180         * intl/tst-gettext.sh: Likewise.
18181         * intl/tst-gettext2.sh: Likewise.
18182         * intl/tst-gettext4.sh: Likewise.
18183         * intl/tst-gettext6.sh: Likewise.
18184         * intl/tst-translit.sh: Likewise.
18185         * io/ftwtest-sh: Likewise.
18186         * libio/test-freopen.sh: Likewise.
18187         * malloc/tst-mtrace.sh: Likewise.
18188         * posix/globtest.sh: Likewise.
18189         * posix/tst-getconf.sh: Likewise.
18190         * posix/wordexp-tst.sh: Likewise.
18191         * stdio-common/tst-printf.sh: Likewise.
18192         * stdio-common/tst-unbputc.sh: Likewise.
18193         * stdlib/tst-fmtmsg.sh: Likewise.
18194         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18195         * catgets/Makefile: Do not specify -e option when running
18196         testsuite shell scripts.
18197         * elf/Makefile: Likewise.
18198         * grp/Makefile: Likewise.
18199         * iconvdata/Makefile: Likewise.
18200         * intl/Makefile: Likewise.
18201         * io/Makefile: Likewise.
18202         * libio/Makefile: Likewise.
18203         * malloc/Makefile: Likewise.
18204         * posix/Makefile: Likewise.
18205         * stdio-common/Makefile: Likewise.
18206         * stdlib/Makefile: Likewise.
18207         * sysdeps/x86_64/Makefile: Likewise.
18209         * io/ftwtest-sh: Add copyright header.
18210         * posix/globtest.sh: Likewise.
18211         * posix/tst-getconf.sh: Likewise.
18212         * posix/wordexp-tst.sh: Likewise.
18213         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18215 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
18217         [BZ #13679]
18218         * Makeconfig (+link): Defined as $(+link-static) if
18219         $(build-shared) isn't yes.
18220         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18221         isn't yes.
18222         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18224         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18226         [BZ #14562]
18227         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18228         new chunk size with MALLOC_ALIGN_MASK.
18230 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
18232         [BZ #5044]
18233         * stdio-common/printf_fphex.c: Include <stdbool.h> and
18234         <rounding-mode.h>.
18235         (__printf_fphex): Determine rounding using get_rounding_mode and
18236         round_away.
18237         * stdio-common/tst-printf-round.c (struct hex_test): New
18238         structure.
18239         (hex_tests): New variable.
18240         (test_hex_in_one_mode): New function.
18241         (do_test): Also run tests for hex float output.
18243 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
18245         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18246         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18247         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18248         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18249         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18250         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18251         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18252         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18254 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
18256         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18257         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18258         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18259         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18261 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
18263         [BZ #14579]
18264         * elf/rtld.c (dl_main): Limit the check for self loading to normal
18265         mode only.
18266         * elf/tst-rtld-load-self.sh: New test.
18267         * elf/Makefile: Run it.
18269 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
18271         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18272         (tst-writev-ENV): Remove.
18273         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18275 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
18277         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18279 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
18281         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18282         unconditional.
18283         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18284         Likewise.
18285         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18286         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18287         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18288         Likewise.
18290 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
18292         [BZ #14587]
18293         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18294         * config.make.in (have-cpp-asm-debuginfo): Removed.
18295         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18296         * configure: Regenerated.
18298 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
18300         [BZ #5044]
18301         * stdio-common/printf_fp.c: Include <stdbool.h> and
18302         <rounding-mode.h>.
18303         (___printf_fp): Determine rounding using get_rounding_mode and
18304         round_away.
18305         * stdio-common/tst-printf-round.c: New file.
18306         * stdio-common/Makefile (tests): Add tst-printf-round.
18307         (link-libm): New variable.
18308         ($(objpfx)tst-printf-round): Depend in $(link-libm).
18310 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
18312         [BZ #14576]
18313         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18314         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18315         Likewise.
18316         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18317         Likewise.
18319 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
18321         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18322         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18323         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18324         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18326 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
18328         [BZ #14518]
18329         * include/rounding-mode.h: New file.
18330         * sysdeps/generic/get-rounding-mode.h: Likewise.
18331         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18332         * stdlib/strtod_l.c: Include <rounding-mode.h>.
18333         (MAX_VALUE): New macro.
18334         (MIN_VALUE): Likewise.
18335         (overflow_value): New function.
18336         (underflow_value): Likewise.
18337         (round_and_return): Use overflow_value and underflow_value to
18338         determine return values in overflow and underflow cases.  Use
18339         round_away to determine rounding depending on rounding mode.
18340         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18341         determine return values in overflow and underflow cases.
18342         * stdlib/tst-strtod-round.c: Include <fenv.h>.
18343         (struct test_results): New structure.
18344         (struct test): Use struct test_results to store expected results
18345         for all rounding modes.
18346         (TEST): Include expected results for all rounding modes.
18347         (test_in_one_mode): New function.
18348         (do_test): Use test_in_one_mode to compute and check results.
18349         Check results for all rounding modes.
18350         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18351         $(link-libm).
18353 2012-12-09  Allan McRae  <allan@archlinux.org>
18355         * sysdeps/i386/fpu/libm-test-ulps: Update
18357 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
18359         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18360         (_G_int32_t): Likewise.
18361         (_G_uint16_t): Likewise.
18362         (_G_uint32_t): Likewise.
18363         (_G_HAVE_BOOL): Likewise.
18364         (_G_HAVE_ATEXIT): Likewise.
18365         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18366         (_G_HAVE_IO_FILE_OPEN): Likewise.
18367         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18368         (_G_int32_t): Likewise.
18369         (_G_uint16_t): Likewise.
18370         (_G_uint32_t): Likewise.
18371         (_G_HAVE_BOOL): Likewise.
18372         (_G_HAVE_ATEXIT): Likewise.
18373         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18374         (_G_HAVE_IO_FILE_OPEN): Likewise.
18375         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18376         (_G_int32_t): Likewise.
18377         (_G_uint16_t): Likewise.
18378         (_G_uint32_t): Likewise.
18379         (_G_HAVE_BOOL): Likewise.
18380         (_G_HAVE_ATEXIT): Likewise.
18381         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18382         (_G_HAVE_IO_FILE_OPEN): Likewise.
18384 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
18386         * csu/libc-tls.c: Update copyright years.
18388 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
18390         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18391         [!_G_USING_THUNKS]: Remove conditional code.
18392         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18393         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18395         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18396         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18397         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18398         (_G_VTABLE_LABEL_PREFIX): Likewise.
18399         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18400         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18401         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18402         (_G_VTABLE_LABEL_PREFIX): Likewise.
18403         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18404         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18405         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18406         (_G_VTABLE_LABEL_PREFIX): Likewise.
18407         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18409 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
18411         * libio/Makefile: Include ../Makeconfig before tests.
18412         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18413         only if $(build-shared) is yes.
18415         * iconv/gconv_db.c: Update copyright years.
18417 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18419         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18420         unwind info if defined PIC. Fix special cases description.
18421         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18423         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18424         DP_HI_MASK entry.
18425         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18427 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
18429         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18431         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18432         is NULL.
18434         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18435         (LDLIBS-tst-chk4): This.
18436         (LDFLAGS-tst-chk5): Renamed to ...
18437         (LDLIBS-tst-chk5): This.
18438         (LDFLAGS-tst-chk6): Renamed to ...
18439         (LDLIBS-tst-chk6): This.
18440         (LDFLAGS-tst-lfschk4): Renamed to ...
18441         (LDLIBS-tst-lfschk4): This.
18442         (LDFLAGS-tst-lfschk5): Renamed to ...
18443         (LDLIBS-tst-lfschk5): This.
18444         (LDFLAGS-tst-lfschk6): Renamed to ...
18445         (LDLIBS-tst-lfschk6): This.
18447         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18448         on $(common-objpfx)soversions.mk.
18450 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
18452         [BZ #10014]
18453         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18454         example host name.
18456 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18458         * malloc/arena.c (arena_get_retry): New function that gets
18459         another arena for the caller to try its request on.
18460         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18461         current arena cannot fulfill the request.
18462         (__libc_memalign): Likewise.
18463         (__libc_memalign): Likewise.
18464         (__libc_pvalloc): Likewise.
18465         (__libc_calloc): Likewise.
18467 2012-09-05  John Tobey  <john.tobey@gmail.com>
18469         [BZ #13542]
18470         * manual/arith.texi (Operations on Complex): Fix description
18471         of carg branch cut.
18473 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18475         [BZ #10014]
18476         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18477         host name.
18479         [BZ #10038]
18480         * manual/memory.texi (Memory): Make order of menu items match
18481         order of sections.
18483 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18485         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18486         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
18487         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18489 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18491         * csu/libc-tls.c (static_dtv): Renamed to ...
18492         (_dl_static_dtv): This.  Make it global.
18493         (_dl_initial_dtv): Removed.
18494         (__libc_setup_tls): Updated.
18495         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18496         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18497         DL_INITIAL_DTV.
18499 2012-09-06  Petr Machata  <pmachata@redhat.com>
18501         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18502         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18503         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18504         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18506 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18508         [BZ #14545]
18509         * csu/libc-tls.c (_dl_initial_dtv): New variable.
18510         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18511         freeing dtv[-1].
18513 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
18515         [BZ #14544]
18516         * Makeconfig (link-static-before-libc): Replace $(+prector)
18517         with $(+prectorT).
18518         (link-static-after-libc): Replace $(+postctor) with
18519         $(+postctorT).
18520         (link-bounded): Replace $(+prector)/$(+postctor) with
18521         $(+prectorT)/$(+postctorT).
18522         (+prectorT): New macro.
18523         (+postctorT): Likewise.
18525 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
18527         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18528         (round_str): Handle values above the maximum for IBM long double
18529         as inexact.
18530         * stdlib/tst-strtod-round.c (tests): Regenerated.
18532 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18534         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18535         assembler flag.
18536         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18537         zarch_nohighgprs around the zarch optimized routines.
18538         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18539         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18540         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18541         for zarch.
18543 2012-09-05  David S. Miller  <davem@davemloft.net>
18545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18547         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18548         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18549         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18550         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18551         entries.
18553 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18555         * malloc/arena.c: Fold copyright years.
18556         * malloc/mcheck.c, malloc/memusage.c: Likewise.
18558 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18560         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18562 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18564         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
18566 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18568         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18569         change internal state upon failure.
18571 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
18573         * malloc/mcheck.c (mcheck_check_all): Fix typo.
18574         * malloc/memusage.c (mmap): Likewise.
18575         (mmap64, mremap): Likewise.  Adjust name in comment.
18577 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18579         * libio/fileops.c: Fix typos in comments.
18580         * libio/oldfileops.c: Likewise.
18581         * libio/wfileops.c: Likewise.
18583 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18585         [BZ #1349]
18586         * malloc/Makefile (tests): Add tst-malloc-usable test case.
18587         (tst-malloc-usable-ENV): Set environment for test case.
18588         * malloc/hooks.c (malloc_check_get_size): New function to get
18589         requested size.
18590         * malloc/malloc.c (musable): Use malloc_check_get_size.
18591         * malloc/tst-malloc-usable.c: New test case.
18593 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18595         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18597 2012-09-05  Allan McRae  <allan@archlinux.org>
18599         [BZ #13966]
18600         * configure.in (CXX_SYSINCLUDES): Use compiler output to
18601         determine header location.
18602         * configure: Regenerated.
18604 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
18606         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18607         float format.
18608         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18609         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18610         format.
18611         (test): Regenerate.
18613 2012-09-04  David S. Miller  <davem@davemloft.net>
18615         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18616         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18617         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18619 2012-09-04  Florian Weimer  <fweimer@redhat.com>
18621         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18622         failures.
18624         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18626 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
18628         [BZ #9914]
18629         * libio/iogetdelim.c: Include <limits.h>.
18630         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18631         + len + 1 would overflow.
18633 2012-09-03  Andreas Jaeger  <aj@suse.de>
18635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18636         * sysdeps/i386/fpu/libm-test-ulps: Update.
18638 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18640         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18641         Add s_sinf-sse2, s_conf-sse2.
18643         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18644         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18645         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18646         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18648         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18649         for using routine as __sinf_ia32.
18650         Use macro for function declaration and weak_alias.
18651         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18652         for using routine as __cosf_ia32.
18653         Use macro for function declaration and weak_alias.
18655         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18656         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18658         * sysdeps/x86_64/fpu/s_sinf.S: New file.
18659         * sysdeps/x86_64/fpu/s_cosf.S: New file.
18660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18662         * math/libm-test.inc (cos_test): Add more test cases.
18663         (sin_test): Likewise.
18664         (sincos_test): Likewise.
18666 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18668         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18669         (IFUNC_RESOLVE): Make pointers to the specialized implementations
18670         hidden.
18671         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18673 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
18675         [BZ #14538]
18676         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18677         first element of the GOT.
18678         (elf_machine_load_address): Return the difference between
18679         the runtime address of _DYNAMIC and elf_machine_dynamic ().
18681 2012-09-01  Allan McRae  <allan@archlinux.org>
18683         [BZ #13412]
18684         * configure.in (AWK): Require gawk version 3.0 or later.
18685         * configure: Regenerated.
18687 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18689         * sysdeps/unix/sysv/linux/kernel-features.h
18690         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18691         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18692         [__NR_clock_getres]: Make code unconditional.
18693         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18694         (clock_getcpuclockid): Remove code left unreachable by removal of
18695         conditionals.
18696         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18697         code unconditional.
18698         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18699         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18700         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18701         Make code unconditional.
18702         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18703         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18704         * sysdeps/unix/sysv/linux/clock_settime.c
18705         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18706         conditional code.
18707         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18708         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18710 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18712         [BZ #14476]
18713         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18714         scripts/test-installation.pl.
18716         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18717         and $ld_so_version if it is set.
18719 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18721         [BZ #14516]
18722         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18723         failure if reading from procfs failed.
18724         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18726 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18728         * sysdeps/unix/sysv/linux/kernel-features.h
18729         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18730         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18731         Remove conditional code.
18732         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18733         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18734         Remove conditional code.
18735         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18736         * sysdeps/unix/sysv/linux/i386/fxstat.c
18737         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18738         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18739         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18740         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18741         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18742         * sysdeps/unix/sysv/linux/i386/lxstat.c
18743         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18744         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18745         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18746         Remove conditional code.
18747         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18748         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18749         Remove conditional code.
18750         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18751         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18752         <kernel-features.h>.
18753         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18754         Remove.
18755         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18756         Remove conditional code.
18757         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18758         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18759         Remove conditional.
18761 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18763         [BZ #5400]
18764         * NEWS: Add fixed bug number.
18766 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18768         [BZ #14519]
18769         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18770         underflowing exponent in case of negative sign.
18771         * stdlib/tst-strtod-round-data: Add more tests.
18772         * stdlib/tst-strtod-round.c (tests): Regenerated.
18774         [BZ #3479]
18775         * stdlib/strtod_l.c (NDIG): Remove.
18776         (HEXNDIG): Likewise.
18777         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18778         smallest representable value.
18779         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18780         lie within an exact representation of 1/2 ulp of the result.
18781         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18782         unconditionally.
18783         (TENS_P9_IDX): Define unconditionally.
18784         (TENS_P9_SIZE): Likewise.
18785         (TENS_P10_IDX): Likewise.
18786         (TENS_P10_SIZE): Likewise.
18787         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18788         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18789         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18790         entries for 10^2^13 and 10^2^14.
18791         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18792         (TENS_P13_IDX): Define.
18793         (TENS_P13_SIZE): Likewise.
18794         (TENS_P14_IDX): Likewise.
18795         (TENS_P14_SIZE): Likewise.
18796         (_fpioconst_pow10): Change array size to
18797         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18798         unconditional.
18799         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18800         1024]: Add entries for 10^2^13 and 10^2^14.
18801         [LAST_POW10 > _LAST_POW10]: Remove #error.
18802         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18803         (_fpioconst_pow10): Change array size to
18804         FPIOCONST_POW10_ARRAY_SIZE.
18805         * stdlib/gen-fpioconst.c: New file.
18806         * stdlib/gen-tst-strtod-round.c: Likewise.
18807         * stdlib/tst-strtod-round-data: Likewise.
18808         * stdlib/tst-strtod-round.c: Likewise.
18809         * stdlib/Makefile (tests): Add tst-strtod-round.
18811         [BZ #14459]
18812         * stdlib/strtod_l.c: Include <stdint.h>.
18813         (NDEBUG): Do not define.
18814         (round_and_return): Change EXPONENT parameter to type intmax_t.
18815         Rearrange calculations to avoid internal overflow possibilities.
18816         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18817         Rearrange calculations to avoid internal overflow possibilities.
18818         Assert that number fits inside MPNSIZE limbs.
18819         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18820         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18821         calculations and add assertions to avoid internal overflow
18822         possibilities.  Add casts to avoid signed/unsigned operations.
18823         * stdlib/tst-strtod-overflow.c: New file.
18824         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18826 2012-08-25  Marek Polacek  <polacek@redhat.com>
18828         * time/time.h: Fix some typos in comments.
18830 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18832         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18833         * posix/tst-rfc3484-2.c: Likewise.
18834         * posix/tst-rfc3484-3.c: Likewise.
18836 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18838         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18839         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18841 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18843         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18844         #include of fxstatat64.c.
18846 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18848         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18849         * shadow/getspent_r.c: Likewise.
18850         * shadow/getspnam.c: Likewise.
18851         * shadow/getspnam_r.c: Likewise.
18852         * gshadow/getsgent.c: Likewise.
18853         * gshadow/getsgent_r.c: Likewise.
18854         * gshadow/getsgnam.c: Likewise.
18855         * gshadow/getsgnam_r.c: Likewise.
18856         * inet/getnetbyad.c: Likewise.
18857         * inet/getnetbyad_r.c: Likewise.
18858         * inet/getnetbynm.c: Likewise.
18859         * inet/getnetbynm_r.c: Likewise.
18860         * inet/getnetent.c: Likewise.
18861         * inet/getnetent_r.c: Likewise.
18862         * inet/getproto.c: Likewise.
18863         * inet/getproto_r.c: Likewise.
18864         * inet/getprtent.c: Likewise.
18865         * inet/getprtent_r.c: Likewise.
18866         * inet/getprtname.c: Likewise.
18867         * inet/getprtname_r.c: Likewise.
18868         * inet/getrpcbyname.c: Likewise.
18869         * inet/getrpcbyname_r.c: Likewise.
18870         * inet/getrpcbynumber.c: Likewise.
18871         * inet/getrpcbynumber_r.c: Likewise.
18872         * inet/getrpcent.c: Likewise.
18873         * inet/getrpcent_r.c: Likewise.
18874         * inet/getaliasent.c: Likewise.
18875         * inet/getaliasent_r.c: Likewise.
18876         * inet/getaliasname.c: Likewise.
18877         * inet/getaliasname_r.c: Likewise.
18878         * nscd/getgrgid_r.c: Likewise.
18879         * nscd/getgrnam_r.c: Likewise.
18880         * nscd/gethstbyad_r.c: Likewise.
18881         * nscd/gethstbynm3_r.c: Likewise.
18882         * nscd/getpwnam_r.c: Likewise.
18883         * nscd/getpwuid_r.c: Likewise.
18884         * nscd/getsrvbynm_r.c: Likewise.
18885         * nscd/getsrvbypt_r.c: Likewise.
18886         * nscd/gai.c: Likewise.
18888         * configure.in (build_nscd): New substituted variable, set
18889         by --disable-build-nscd and defaults to $use_nscd.
18890         * configure: Regenerated.
18891         * config.make.in (build-nscd): New substituted variable.
18892         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18893         Change conditional to require [$(build-nscd) = yes] as well.
18894         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18896         [BZ# 13696]
18897         * configure.in (use_nscd): New substituted variable, set by
18898         --disable-nscd.  If enabled, define USE_NSCD.
18899         * configure: Regenerated.
18900         * config.h.in: Add USE_NSCD.
18901         * config.make.in (use-nscd): New substituted variable.
18902         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18903         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18904         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18905         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18906         (CFLAGS-getgrnam_r.c): Likewise.
18907         (CFLAGS-initgroups.c): Likewise.
18908         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18909         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18910         Variables removed.
18911         * inet/getnetgrent_r.c
18912         (nscd_setnetgrent): New function, broken out of ...
18913         (setnetgrent): ... here.  Call it.
18914         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18915         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18916         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18917         * nscd/Makefile (routines, aux): Move definitions after include of
18918         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18919         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18920         Conditionalize on [USE_NSCD].
18921         (is_nscd, nscd_init_cb): Likewise.
18922         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18923         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18924         * nss/nss_db/db-init.c: Likewise.
18925         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18926         [USE_NSCD].
18927         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18928         (make_request): Use it.
18929         (cache_valid_p): New function.
18930         (__check_pf): Use it.
18931         * NEWS: Add item for --disable-nscd.
18933 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18935         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18936         to support sed >= 4.2.1-20-ga9bf076.
18937         * configure: Regenerated.
18939 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18941         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18942         Conditionalize whole body on [IREL].
18944 2012-08-22  Jeff Law <law@redhat.com>
18946         [BZ #14505]
18947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18948         if the family is PF_UNSPEC.
18950 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18952         * Makerules (lib-version): Rename from V.
18953         (install-lib-nosubdir): Change V to lib-version.
18955 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18957         [BZ #14252]
18958         * powerpc32/power6/wcschr.c: New file.
18959         * powerpc32/power6/wcscpy.c: New file.
18960         * powerpc32/power6/wcsrchr.c: New file.
18961         * powerpc64/power6/wcschr.c: New file.
18962         * powerpc64/power6/wcscpy.c: New file.
18963         * powerpc64/power6/wcsrchr.c: New file.
18965 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18967         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18968         (two_way_short_needle): Use it.
18969         * string/strstr.c (AVAILABLE1_USES_J): Define.
18970         * string/strcasestr.c: Likewise.
18972         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18973         array references.
18974         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18976         [BZ #11607]
18977         * NEWS: Add an entry.
18978         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18979         define their defaults.
18980         (two_way_short_needle): Detect end-of-string on-the-fly.
18981         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18982         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18983         * string/bug-strcasestr1.c: New test.
18984         * string/Makefile: Run it.
18986 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18988         [BZ #11607]
18989         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18990         the first character.
18992 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18994         * csu/elf-init.c (__libc_csu_irel): Function removed.
18995         * csu/libc-start.c (apply_irel): New function.
18996         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18998 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
19000         * sysdeps/unix/sysv/linux/kernel-features.h
19001         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19002         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19003         <kernel-features.h>.
19004         [__NR_fadvise64_64]: Make code unconditional.
19005         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19006         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19007         !__NR_fadvise64_64)]: Likewise.
19008         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19009         !__NR_fadvise64_64))]: Likewise.
19010         [__NR_fadvise64]: Make code unconditional.
19011         [!__NR_fadvise64]: Remove conditional code.
19012         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19013         <kernel-features.h>.
19014         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19015         unconditional.
19016         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19017         conditional code.
19018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19019         not include <kernel-features.h>.
19020         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19021         unconditional.
19022         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19023         conditional code.
19024         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19025         include <kernel-features.h>.
19026         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19027         unconditional.
19028         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19029         conditional code.
19031 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
19033         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19034         slight instruction rearrangements per scrollpipe analysis.
19035         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19037 2012-08-20  Roland McGrath  <roland@hack.frob.com>
19039         * manual/syslog.texi (syslog; vsyslog, closelog):
19040         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19041         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19043         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19044         DSOCAPS to match condition on defining it.
19046 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
19048         * sysdeps/unix/sysv/linux/kernel-features.h
19049         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19051         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19052         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19054         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19055         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19057         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19058         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19060         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19061         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19063         * sysdeps/unix/sysv/linux/kernel-features.h
19064         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19065         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19066         unconditional.
19067         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19068         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19069         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19070         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19071         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19072         Make code unconditional.
19073         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19074         (__mmap64) [!__NR_mmap2]: Likewise.
19075         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19076         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19077         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19078         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19079         [__NR_mmap2]: Make code unconditional.
19080         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19081         (__mmap64) [!__NR_mmap2]: Likewise.
19083 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19085         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19087 2012-08-18  Andreas Jaeger  <aj@suse.de>
19089         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19091 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19093         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19094         * include/unistd.h (__have_sock_cloexec): Likewise.
19095         (__have_pipe2): Likewise.
19096         (__have_dup3): Likewise.
19098 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
19100         [BZ #9685]
19101         * include/unistd.h (__have_pipe2): Change define into an extern int.
19102         (__have_dup3): Likewise.
19103         * socket/have_sock_cloexec.c: Include fcntl.h.
19104         (__have_pipe2): New variable.
19105         (__have_dup3): Likewise.
19107 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
19109         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19111 2012-08-17  Marek Polacek  <polacek@redhat.com>
19113         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19114         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19116 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19118         * configure.in: Add AC_SUBST for sysheaders.
19119         * configure: Regenerated.
19120         * config.make.in (sysheaders): New substituted variable.
19122         * sysdeps/unix/mkfifo.c: Moved ...
19123         * sysdeps/posix/mkfifo.c: ... here.
19124         * sysdeps/unix/mkfifoat.c: Moved ...
19125         * sysdeps/posix/mkfifoat.c: ... here.
19127         * sysdeps/unix/utime.c: Moved ...
19128         * sysdeps/posix/utime.c: ... here.
19130         * sysdeps/unix/time.c: Moved ...
19131         * sysdeps/posix/time.c: ... here.
19132         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19133         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19135         * sysdeps/unix/nice.c: Moved ...
19136         * sysdeps/posix/nice.c: ... here.
19138         * sysdeps/unix/alarm.c: Moved ...
19139         * sysdeps/posix/alarm.c: ... here.
19141         * intl/Makefile ($(codeset_mo)): Depend on the input file.
19143 2012-08-17  Jeff Law <law@redhat.com>
19145         * intl/Makefile (codeset_mo): New variable.
19146         ($(codeset_mo)): New target.
19147         (tst-codeset.out): Depend on that.  Remove explicit rule.
19148         (tst-gettext3.out, tst-gettext5.out): Likewise.
19149         (LOCPATH-ENV, tst-codeset-ENV): New variables.
19150         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19151         * intl/tst-codeset.sh: Remove.
19152         * intl/tst-gettext3.sh: Likewise.
19153         * intl/tst-gettext5.sh: Likewise.
19155 2012-08-17  Roland McGrath  <roland@hack.frob.com>
19157         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
19158         * sysdeps/unix/syscalls.list: ... here.
19160         * sysdeps/posix/getaddrinfo.c
19161         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19162         (gaiconf_init, gaiconf_reload): Use them.
19163         [!_STATBUF_ST_NSEC]
19164         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19165         Define using time_t rather than struct timespec.
19167         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19168         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19169         Macros removed.
19170         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19171         [!NO_THREADS].
19172         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19173         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19174         Likewise.
19176         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19177         __libc_cleanup_push argument.
19179         * bits/param.h: New file.
19180         * misc/sys/param.h: New file.
19181         * include/sys/param.h: New file.
19182         * misc/Makefile (headers): Add bits/param.h.
19183         * sysdeps/generic/sys/param.h: File removed.
19184         * sysdeps/unix/sysv/linux/bits/param.h: New file.
19185         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19186         * sysdeps/mach/hurd/bits/param.h: New file.
19187         * sysdeps/mach/hurd/sys/param.h: File removed.
19189         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19190         last change.
19192         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19193         [_IO_MTSAFE_IO].
19194         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19195         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19196         New macros.
19198         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19199         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19200         rather than -D_IO_MTSAFE_IO conditionally.
19201         * stdio-common/Makefile (CPPFLAGS): Likewise.
19202         * wcsmbs/Makefile (CPPFLAGS): Likewise.
19203         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19204         Use $(libio-mtsafe).
19205         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19206         of -D_IO_MTSAFE_IO.
19207         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19208         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19209         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19210         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19211         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19212         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19213         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19214         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19215         (CFLAGS-fread_u_chk.c): Likewise.
19216         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19217         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19218         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19219         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19220         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19221         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19222         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19223         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19224         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19226         * libio/Makefile: Test [$(libc-reentrant) = yes]
19227         instead of [$(filter %REENTRANT, $(defines)) nonempty].
19229         * Makeconfig
19230         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19231         * sysdeps/pthread/configure: File removed.
19232         * sysdeps/pthread/Makeconfig: New file.
19233         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19234         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19236 2012-08-16  Gary Benson  <gbenson@redhat.com>
19238         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19239         unmapping the first object in a namespace.
19241 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19243         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19244         (__internal_setnetgrent): ... this.  Add internal_function to
19245         definition.  Add libc_hidden_def.
19246         (setnetgrent): Update caller.
19247         (internal_endnetgrent): Renamed to ...
19248         (__internal_endnetgrent): ... this.  Add internal_function to
19249         definition.  Add libc_hidden_def.
19250         (endnetgrent): Update caller.
19251         (internal_getnetgrent_r): Renamed to ...
19252         (__internal_getnetgrent_r): ... this.  Add internal_function to
19253         definition.  Add libc_hidden_def.
19254         (__getnetgrent_r): Update caller.
19255         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
19257 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19259         * stdlib/longlong.h: Update from GCC.
19261 2012-08-16  Roland McGrath  <roland@hack.frob.com>
19263         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19264         on _QL, which is set by umul_ppmm but never used.
19265         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19266         variables, which are set by GMP macros but never used.
19267         * stdio-common/_itowa.c (_itowa): Likewise.
19268         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19269         * stdlib/mod_1.c (mpn_mod_1): Likewise.
19271 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
19273         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19274         struct La_sh_regs is not constant.
19275         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19276         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19277         and struct La_sparc64_regs are not constant.
19279 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
19281         * sysdeps/unix/sysv/linux/kernel-features.h
19282         (__ASSUME_POSIX_TIMERS): Remove.
19283         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19284         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19285         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19286         Make code unconditional.
19287         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19288         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19289         Make code unconditional.
19290         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19291         * sysdeps/unix/sysv/linux/clock_nanosleep.c
19292         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19293         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19294         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19295         Make code unconditional.
19296         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19297         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19298         (__libc_missing_posix_timers): Remove.
19300 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19302         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19303         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19305         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19307         * elf/dl-sym.c: Include <stdlib.h>.
19309         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19310         constants, which avoids warnings in 32-bit builds.
19312         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19313         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19315         * misc/lseek.c: File moved to ...
19316         * io/lseek.c: ... here.
19318         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19320         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19321         shifting LEN more than 31 bits at once.
19323 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19325         [BZ #14195]
19326         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19327         segmentation fault for a case of two empty input strings.
19328         * string/test-strncasecmp.c (check1): Renamed to...
19329         (bz12205): ...this.
19330         (bz14195): Add new testcase for two empty input strings and N > 0.
19331         (test_main): Call new testcase, adapt for renamed function.
19333 2012-08-15  Andreas Jaeger  <aj@suse.de>
19335         [BZ #14090]
19336         * crypt/md5test2.c: New test, based on test supplied by Serge
19337         Belyshev <belyshev@depni.sinp.msu.ru>.
19338         * crypt/Makefile (xtests): Add md5test-giant..
19339         * crypt/Makefile ($(objpfx)md5test-giant): Add.
19341 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
19343         [BZ #14090]
19344         * crypt/md5.c (md5_process_block): Don't assume the buffer
19345         length is less than 2**32.
19346         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19347         length is less than 2**64.
19349 2012-08-15  Roland McGrath  <roland@hack.frob.com>
19351         * string/str-two-way.h: Include <sys/param.h>.
19352         (MAX): Macro removed.
19354         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19355         Move #define and #undef of memmove to just before and after
19356         including <string.h>.
19358         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19359         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19360         and after including <string.h>.  Move declarations of
19361         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19362         to before #include "string/memmove.c".
19364         * include/dirent.h: Declare __getdirentries.
19366         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19367         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19369 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
19371         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19372         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19373         * sysdeps/i386/configure: Regenerated.
19374         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19375         STABS_CURRENT_FILE, and STABS_FUN.
19376         (END): Remove call to STABS_FUN_END.
19377         (STABS_CURRENT_FILE1): Delete.
19378         (STABS_CURRENT_FILE): Likewise.
19379         (STABS_FUN): Likewise.
19380         (STABS_FUN_END): Likewise.
19381         (STABS_FUN2): Likewise.
19382         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19383         * sysdeps/x86_64/configure: Regenerated.
19385 2012-08-14  Roland McGrath  <roland@hack.frob.com>
19387         * elf/dl-open.c: Include <atomic.h>.
19388         * elf/dl-lookup.c: Likewise.
19390 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
19392         * sysdeps/unix/sysv/linux/kernel-features.h
19393         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19394         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19395         unconditionally.
19396         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19397         unconditionally.
19398         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19399         condition on __ASSUME_CLONE_THREAD_FLAGS.
19401 2012-08-14  Andreas Jaeger  <aj@suse.de>
19403         * sysdeps/i386/fpu/libm-test-ulps: Update.
19405 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
19407         * include/atomic.h (atomic_exchange_and_add): Split into ...
19408         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19409         New atomic macros.
19411 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
19413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19415 2012-08-13  Jeff Law <law@redhat.com>
19417         * manual/stdio.texi (snprintf): Clarify handling of the trailing
19418         null byte in the output string.
19420 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
19422         * sysdeps/unix/sysv/linux/kernel-features.h
19423         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19424         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19425         (__ASSUME_ARG_MAX_STACK_BASED): Define.
19426         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19427         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19428         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
19429         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19431 2012-08-09  Jeff Law <law@redhat.com>
19433         [BZ #13939]
19434         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19435         When avoid_arena is set, don't retry in the that arena.  Pick the
19436         next one, whatever it might be.
19437         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19438         (arena_lock): Pass in new parameter to arena_get2.
19439         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19440         arena_get2.
19441         (__libc_malloc): Unify retrying after main arena failure with
19442         __libc_memalign version.
19443         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19445 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19447         [BZ #14166]
19448         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19449         to __redirect_strstr.
19450         (__strstr_sse42): Use typeof __redirect_strstr.
19451         (__strstr_ia32): Likewise.
19452         (__libc_strstr): New prototype.
19453         (strstr): Renamed to ...
19454         (__libc_strstr): This.
19455         (strstr): New strong alias of __libc_strstr.
19456         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19457         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19458         __redirect_time.
19459         Include <time.h>.
19460         (__libc_time): New prototype.
19461         (time_ifunc): Replace time with __libc_time.
19462         (time): New strong alias and hidden definition of __libc_time.
19463         (__GI_time): Remove strong alias.
19464         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19465         Include <stddef.h>.
19466         (memmove): Redefined to __redirect_memmove.
19467         (__memmove_sse2): Use typeof __redirect_memmove.
19468         (__memmove_ssse3): Likewise.
19469         (__memmove_ssse3_back): Likewise.
19470         (__libc_memmove): New prototype.
19471         (memmove): Renamed to ...
19472         (__libc_memmove): This.
19473         (memmove): New strong alias of __libc_memmove.
19475 2012-08-08  Mark Salter  <msalter@redhat.com>
19477         * elf/elf.h
19478         (R_MN10300_TLS_GD): Define.
19479         (R_MN10300_TLS_LD): Likewise.
19480         (R_MN10300_TLS_LDO): Likewise.
19481         (R_MN10300_TLS_GOTIE): Likewise.
19482         (R_MN10300_TLS_IE): Likewise.
19483         (R_MN10300_TLS_LE): Likewise.
19484         (R_MN10300_TLS_DTPMOD): Likewise.
19485         (R_MN10300_TLS_DTPOFF): Likewise.
19486         (R_MN10300_TLS_TPOFF): Likewise.
19487         (R_MN10300_SYM_DIFF): Likewise.
19488         (R_MN10300_ALIGN): Likewise.
19489         (R_MN10300_NUM): Update.
19491 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
19493         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19494         Remove.
19496 2012-08-08  Roland McGrath  <roland@hack.frob.com>
19498         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19500         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19501         sysdeps/unix -> sysdeps/posix move.
19502         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19504 2012-08-07      Allan McRae     <allan@archlinux.org>
19506         [BZ #14303]
19507         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19508         (SUNOS_CPP): Likewise.
19509         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19510         not found.
19511         (open_input): Call CPP using execvp.
19513 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19515         * sysdeps/unix/sysv/linux/kernel-features.h
19516         (__ASSUME_PROT_GROWSUPDOWN): Remove.
19517         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19518         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19519         (__ASSUME_WAITID_SYSCALL): Likewise.
19520         * sysdeps/unix/sysv/linux/dl-execstack.c
19521         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19522         code unconditional.
19523         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19524         conditional code.
19525         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19526         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19527         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19528         code.
19529         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19530         unconditional.
19531         [__ASSUME_WAITID_SYSCALL]: Likewise.
19532         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19534 2012-08-07  Roland McGrath  <roland@hack.frob.com>
19536         * sysdeps/unix/closedir.c: Renamed to ...
19537         * sysdeps/posix/closedir.c: ... here.
19538         * sysdeps/unix/dirfd.c: Renamed to ...
19539         * sysdeps/posix/dirfd.c: ... here.
19540         * sysdeps/unix/dirstream.h: Renamed to ...
19541         * sysdeps/posix/dirstream.h: ... here.
19542         * sysdeps/unix/fdopendir.c: Renamed to ...
19543         * sysdeps/posix/fdopendir.c: ... here.
19544         * sysdeps/unix/opendir.c: Renamed to ...
19545         * sysdeps/posix/opendir.c: ... here.
19546         * sysdeps/unix/readdir.c: Renamed to ...
19547         * sysdeps/posix/readdir.c: ... here.
19548         * sysdeps/unix/readdir_r.c: Renamed to ...
19549         * sysdeps/posix/readdir_r.c: ... here.
19550         * sysdeps/unix/rewinddir.c: Renamed to ...
19551         * sysdeps/posix/rewinddir.c: ... here.
19552         * sysdeps/unix/seekdir.c: Renamed to ...
19553         * sysdeps/posix/seekdir.c: ... here.
19554         * sysdeps/unix/telldir.c: Renamed to ...
19555         * sysdeps/posix/telldir.c: ... here.
19556         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19557         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19558         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19559         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19561         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19562         * bits/fcntl.h: ... here.
19564         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19565         not 0.
19566         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19567         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19568         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19569         (struct flock): Move l_start, l_len to the beginning.
19570         Use __pid_t for l_pid.
19571         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19572         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19573         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19574         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19575         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19576         [__USE_LARGEFILE64] (struct flock64): New type.
19577         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19579         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19580         * bits/dirent.h: ... here.
19582         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19583         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19585 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
19587         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19588         Change from 2.6.0 to 2.6.16.
19589         * sysdeps/unix/sysv/linux/configure: Regenerated.
19590         * sysdeps/unix/sysv/linux/kernel-features.h
19591         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19592         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19593         version.
19594         (__ASSUME_UTIMES): Likewise.
19595         (__ASSUME_CLONE_STOPPED): Remove.
19596         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19597         architectures, not kernel version.
19598         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19599         (__ASSUME_NO_CLONE_DETACHED): Likewise.
19600         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19601         (__ASSUME_WAITID_SYSCALL): Likewise.
19602         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19603         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19604         * README: State 2.6.16 as minimum Linux kernel version.  Do not
19605         refer to older versions.
19607 2012-08-06  Roland McGrath  <roland@hack.frob.com>
19609         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19610         Define alphasort64 as an alias.
19611         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19612         Define versionsort64 as an alias.
19613         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19614         Define scandir64 as an alias.
19615         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19616         Define scandirat64 as an alias.
19617         * dirent/alphasort64.c (alphasort64):
19618         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19619         * dirent/versionsort64.c: Likewise.
19620         * dirent/scandir64.c: Likewise.
19621         * dirent/scandirat64.c: Likewise.
19622         * sysdeps/wordsize-64/alphasort.c: File removed.
19623         * sysdeps/wordsize-64/alphasort64.c: File removed.
19624         * sysdeps/wordsize-64/scandir.c: File removed.
19625         * sysdeps/wordsize-64/scandir64.c: File removed.
19626         * sysdeps/wordsize-64/scandirat.c: File removed.
19627         * sysdeps/wordsize-64/scandirat64.c: File removed.
19628         * sysdeps/wordsize-64/versionsort.c: File removed.
19629         * sysdeps/wordsize-64/versionsort64.c: File removed.
19630         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19631         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19632         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19633         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19634         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19635         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19636         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19637         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19639         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19641         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19642         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19643         [defined __arch64__ || defined __sparcv9]
19644         (__INO_T_MATCHES_INO64_T): New macro.
19645         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19646         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19647         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19648         * sysdeps/unix/sysv/linux/bits/dirent.h
19649         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19650         (_DIRENT_MATCHES_DIRENT64): New macro.
19652         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19653         Define lockf64 as an alias.
19654         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19655         Define fseeko64 as an alias.
19656         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19657         Define ftello64 as an alias.
19658         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19659         Define _IO_fgetpos64 and fgetpos64 as aliases.
19660         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19661         Define _IO_fsetpos64 and fsetpos64 as aliases.
19662         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19663         Conditionalize body on this.
19664         * libio/fseeko64.c: Likewise.
19665         * libio/ftello64.c: Likewise.
19666         * libio/iofgetpos64.c: Likewise.
19667         * libio/iofsetpos64.c: Likewise.
19668         * sysdeps/wordsize-64/lockf.c: File removed.
19669         * sysdeps/wordsize-64/lockf64.c: File removed.
19670         * sysdeps/wordsize-64/fseeko.c: File removed.
19671         * sysdeps/wordsize-64/fseeko64.c: File removed.
19672         * sysdeps/wordsize-64/ftello.c: File removed.
19673         * sysdeps/wordsize-64/ftello64.c: File removed.
19674         * sysdeps/wordsize-64/iofgetpos.c: File removed.
19675         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19676         * sysdeps/wordsize-64/iofsetpos.c: File removed.
19677         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19678         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19679         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19680         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19681         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19682         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19683         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19684         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19685         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19686         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19687         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19689         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19690         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19691         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19692         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19693         [defined __arch64__ || defined __sparcv9]
19694         (__OFF_T_MATCHES_OFF64_T): New macro.
19695         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19696         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19697         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19698         (__OFF_T_MATCHES_OFF64_T): New macro.
19700 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19702         * stdlib/secure-getenv.c (__secure_getenv): Replace
19703         GLIBC_2_16 with GLIBC_2_17.
19705 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19707         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19708         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19710 2012-08-03  David S. Miller  <davem@davemloft.net>
19712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19714 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19716         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19717         Remove.
19718         (__ASSUME_CORRECT_SI_PID): Likewise.
19719         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19720         (__ASSUME_TMPFS_NAME): Likewise.
19721         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19722         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19723         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19724         (HAVE_AUX_SECURE): Make definition unconditional.
19725         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19726         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19728 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19730         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19731         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19732         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19733         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19734         __eloop_threshold instead of SYMLOOP_MAX.
19736         * sysdeps/generic/eloop-threshold.h: New file.
19737         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19738         of MAXSYMLINKS.
19739         * elf/chroot_canon.c (chroot_canon): Likewise.
19741 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19743         [BZ #13717]
19744         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19745         Change to 2.6.0 everywhere.
19746         * sysdeps/unix/sysv/linux/configure: Regenerated.
19747         * sysdeps/unix/sysv/linux/kernel-features.h
19748         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19749         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19750         kernel versions.
19751         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19752         (__ASSUME_FUTEX_REQUEUE): Remove.
19753         (__ASSUME_STATFS64): Define unconditionally.
19754         (__ASSUME_AT_SECURE): Likewise.
19755         (__ASSUME_CORRECT_SI_PID): Likewise.
19756         (__ASSUME_TGKILL): Define without depending on kernel version for
19757         i386.
19758         (__ASSUME_UTIMES): Likewise.
19759         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19760         kernel version.
19761         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19762         (__ASSUME_TMPFS_NAME): Likewise.
19763         * README: Update reference to Linux kernel versions.
19765 2012-08-02  Marek Polacek  <polacek@redhat.com>
19767         [BZ# 14150]
19768         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19769         libc_cv_asm_type_prefix with %.
19770         * configure: Regenerated.
19771         * include/libc-symbols.h: Remove comment about
19772         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19773         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19774         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19775         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19776         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19777         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19778         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19779         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19780         * elf/tst-unique2mod1.c: Likewise.
19781         * elf/tst-unique1mod2.c: Likewise.
19782         * elf/tst-unique1mod1.c: Likewise.
19783         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19784         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19785         Replace ASM_TYPE_DIRECTIVE with .type.
19786         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19787         * sysdeps/i386/sysdep.h: Likewise.
19788         * sysdeps/x86_64/sysdep.h: Likewise.
19789         * sysdeps/sh/sysdep.h: Likewise.
19790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19791         Do not define ASM_TYPE_DIRECTIVE.
19792         * sysdeps/powerpc/sysdep.h: Likewise.
19793         * sysdeps/powerpc/powerpc32/sysdep.h:
19794         Replace ASM_TYPE_DIRECTIVE with .type.
19795         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19796         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19797         * sysdeps/i386/fpu/e_powf.S: Likewise.
19798         * sysdeps/i386/fpu/e_expl.S: Likewise.
19799         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19800         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19801         * sysdeps/i386/fpu/e_pow.S: Likewise.
19802         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19803         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19804         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19805         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19806         * sysdeps/i386/fpu/e_log2.S: Likewise.
19807         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19808         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19809         * sysdeps/i386/fpu/e_powl.S: Likewise.
19810         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19811         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19812         * sysdeps/i386/fpu/e_logl.S: Likewise.
19813         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19814         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19815         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19816         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19817         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19818         * sysdeps/i386/fpu/e_log.S: Likewise.
19819         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19820         * sysdeps/i386/fpu/e_logf.S: Likewise.
19821         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19822         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19823         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19824         * sysdeps/i386/fpu/e_log10.S: Likewise.
19825         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19826         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19827         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19828         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19829         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19830         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19831         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19832         * sysdeps/i386/i686/strtok.S: Likewise.
19833         * sysdeps/i386/i386-mcount.S: Likewise.
19834         * sysdeps/i386/strtok.S: Likewise.
19835         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19836         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19837         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19838         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19839         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19840         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19841         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19842         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19843         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19844         * sysdeps/x86_64/_mcount.S: Likewise.
19845         * sysdeps/x86_64/strtok.S: Likewise.
19846         * sysdeps/sh/_mcount.S: Likewise.
19848 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19850         * libio/iofopen.c: Include <fcntl.h>.
19851         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19852         (_IO_fopen64, fopen64): Define as aliases.
19853         * libio/iofopen64.c: Include <fcntl.h>.
19854         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19855         Conditionalize body on this.
19856         * sysdeps/wordsize-64/iofopen.c: File removed.
19857         * sysdeps/wordsize-64/iofopen64.c: File removed.
19859 2012-08-01  Marek Polacek  <polacek@redhat.com>
19861         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19862         Use dlfcn directly instead of a variable.
19863         (binfmt-subdir): Do not define.
19864         (dlfcn): Likewise.
19866 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19868         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19869         Remove all definitions.
19870         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19871         <kernel-features.h>.
19872         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19873         (miss_F_GETOWN_EX): Remove all definitions.
19874         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19875         macro definition.
19876         [!__ASSUME_FCNTL64]: Remove conditional code.
19877         [__ASSUME_FCNTL64]: Make code unconditional.
19878         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19879         <kernel-features.h>.
19880         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19881         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19882         (lockf64) [__NR_fcntl64]: Make code unconditional.
19883         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19885         * sysdeps/unix/sysv/linux/kernel-features.h
19886         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19887         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19888         Make code unconditional.
19889         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19890         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19892         [__NR_vfork]: Make code unconditional.
19893         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19894         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19896         [__NR_vfork]: Make code unconditional.
19897         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19898         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19900 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19902         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19903         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19905         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19906         Define mkstemp64 as an alias.
19907         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19908         Define mkstemps64 as an alias.
19909         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19910         Define mkostemp64 as an alias.
19911         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19912         Define mkostemps64 as an alias.
19913         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19914         Conditionalize body on this.
19915         * misc/mkostemp64.c: Likewise.
19916         * misc/mkostemps64.c: Likewise.
19917         * misc/mkstemps64.c: Likewise.
19918         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19919         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19920         * sysdeps/wordsize-64/mkostemp.c: File removed.
19921         * sysdeps/wordsize-64/mkstemp.c: File removed.
19922         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19923         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19924         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19925         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19927         [BZ #14138]
19928         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19929         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19930         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19931         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19933         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19934         compat_symbol macros from <shlib-compat.h> rather than the underlying
19935         default_symbol_version and symbol_version macros, so that DEFAULT
19936         lines in shlib-versions are respected.
19937         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19939 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19941         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19942         Declare with warn_unused_result.
19943         (setgid, setregid, setegid, setresgid): Likewise.
19944         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19945         Likewise.
19946         * WUR-REPORT: Remove set*id functions.
19948 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19950         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19952 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19954         [BZ #10191]
19955         * include/sys/socket.h (__libc_accept, __libc_accept4):
19956         Add attribute_hidden.
19957         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19959         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19960         use of PTR_MANGLE.
19961         * inet/getnetgrent_r.c (setup): Likewise.
19963         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19965 2012-07-31  David S. Miller  <davem@davemloft.net>
19967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19969 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19971         [BZ #13629]
19972         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19973         value between 1.0 and 2.0 and smaller part has absolute value less
19974         than 1.0.
19975         * math/s_clog10.c (__clog10): Likewise.
19976         * math/s_clog10f.c (__clog10f): Likewise.
19977         * math/s_clog10l.c (__clog10l): Likewise.
19978         * math/s_clogf.c (__clogf): Likewise.
19979         * math/s_clogl.c (__clogl): Likewise.
19980         * math/libm-test.inc (clog_test): Add more tests.
19981         (clog10_test): Likewise.
19982         * sysdeps/i386/fpu/libm-test-ulps: Update.
19983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19985 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19987         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19988         Exit with zero in case no suitable GID is found, and write a
19989         message to standard error.
19991 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19993         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19994         rather than to 1.
19995         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19996         (MAXPATHLEN): Removed.
19997         (NOGROUP, NODEV): New macros.
19998         (setbit, clrbit, isset, isclr): New macros.
19999         (howmany, roundup, powerof2): New macros.
20000         (DEV_BSIZE): New macro.
20002         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20003         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20005         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20006         definition on [!__NO_LONG_DOUBLE_MATH].
20008         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20009         PTR_MANGLE and PTR_DEMANGLE.
20011         * socket/accept4.c (accept4): Rename to __libc_accept4.
20012         Define accept4 as a weak alias.
20014         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20015         on [_DIRENT_HAVE_D_TYPE].
20016         * io/ftw.c (ftw_dir): Likewise.
20018         * io/xmknod.c (__xmknod): Don't check PATH for being null.
20020         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20022         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20023         Use the BSD numbers rather than the arbitrary ones we had.
20024         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20025         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20026         (SIGXCPU, SIGXFSZ): New macros.
20027         (_NSIG): Now 32.
20029         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20030         initializer on [_LIBC_REENTRANT].
20032         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20033         definitions inside [_POSIX_MAPPED_FILES].
20035         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20037         * dirent/opendir.c: Include <fcntl.h>.
20039         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20040         (__libc_getspecific): Likewise.
20041         (__libc_key_create): Likewise.
20043         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20044         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20045         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20046         (tmpfile64): Define as alias.
20047         * sysdeps/wordsize-64/tmpfile.c: File removed.
20048         * sysdeps/wordsize-64/tmpfile64.c: File removed.
20049         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20050         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20052         * stdio-common/vfscanf.c: Include <stdbool.h>.
20053         * nss/makedb.c: Likewise.
20054         * stdio-common/_i18n_number.h: Likewise.
20055         * argp/argp-help.c: Likewise.
20056         * posix/wordexp.c: Likewise.
20057         * sysdeps/posix/spawni.c: Likewise.
20058         * nss/nss_files/files-initgroups.c: Likewise.
20059         * stdio-common/reg-modifier.c: Include <stdlib.h>.
20060         * nss/nss_files/files-initgroups.c: Likewise.
20061         * nss/nss_db/db-netgrp.c: Likewise.
20062         * nss/nss_db/db-initgroups.c: Likewise.
20063         * io/fchmodat.c: Include <sys/stat.h>.
20065         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20066         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20068         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20069         [HAVE_MMAP].
20071         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20072         Add multiple inclusion protection.
20074 2012-07-27  David S. Miller  <davem@davemloft.net>
20076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20078 2012-07-27  Gary Benson  <gbenson@redhat.com>
20080         [BZ #14298]
20081         * elf/rtld.c: Include <stap-probe.h>.
20082         (dl_main): Added static probes "init_start" and "init_complete".
20083         * elf/dl-load.c: Include <stap-probe.h>.
20084         (lose): Take new parameter "nsid".
20085         Added static probe "map_failed".
20086         (_dl_map_object_from_fd): Pass namespace id to lose.
20087         Added static probe "map_start".
20088         (open_verify): Pass namespace id to lose.
20089         * elf/dl-open.c: Include <stap-probe.h>.
20090         (dl_open_worker) Added static probes "map_complete", "reloc_start"
20091         and "reloc_complete".
20092         * elf/dl-close.c: Include <stap-probe.h>.
20093         (_dl_close_worker): Added static probes "unmap_start" and
20094         "unmap_complete".
20095         * elf/rtld-debugger-interface.txt: New file documenting the above.
20097 2012-07-26  Roland McGrath  <roland@hack.frob.com>
20099         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20100         rather than a string variable.
20101         * sunrpc/rpc_main.c (h_output): Likewise.
20102         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20104 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
20106         * inet/check_native.c: New file.
20108 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
20110         [BZ #13629]
20111         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20112         if larger part has absolute value 1.0.
20113         * math/s_clog10.c (__clog10): Likewise.
20114         * math/s_clog10f.c (__clog10f): Likewise.
20115         * math/s_clog10l.c (__clog10l): Likewise.
20116         * math/s_clogf.c (__clogf): Likewise.
20117         * math/s_clogl.c (__clogl): Likewise.
20118         * math/libm-test.inc (clog_test): Add more tests.
20119         (clog10_test): Likewise.
20120         * sysdeps/i386/fpu/libm-test-ulps: Update.
20121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20123         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20124         (pltexit): Likewise.
20125         (La_regs): Likewise.
20126         (La_retval): Likewise.
20127         (int_retval): Likewise.
20128         Update #error for removed macros to refer only to definitions in
20129         tst-audit.h.
20130         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20131         macro.
20132         (pltexit): Likewise.
20133         (La_regs): Likewise.
20134         (La_retval): Likewise.
20135         (int_retval): Likewise.
20136         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20137         macro.
20138         (pltexit): Likewise.
20139         (La_regs): Likewise.
20140         (La_retval): Likewise.
20141         (int_retval): Likewise.
20142         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20143         macro.
20144         (pltexit): Likewise.
20145         (La_regs): Likewise.
20146         (La_retval): Likewise.
20147         (int_retval): Likewise.
20148         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20149         macro.
20150         (pltexit): Likewise.
20151         (La_regs): Likewise.
20152         (La_retval): Likewise.
20153         (int_retval): Likewise.
20154         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20155         macro.
20156         (pltexit): Likewise.
20157         (La_regs): Likewise.
20158         (La_retval): Likewise.
20159         (int_retval): Likewise.
20160         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20161         macro.
20162         (pltexit): Likewise.
20163         (La_regs): Likewise.
20164         (La_retval): Likewise.
20165         (int_retval): Likewise.
20166         * sysdeps/generic/tst-audit.h: Update comment to refer only to
20167         macro definitions in tst-audit.h.
20168         * sysdeps/i386/tst-audit.h: New file.
20169         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20170         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20171         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20172         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20173         * sysdeps/sh/tst-audit.h: Likewise.
20174         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20175         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20176         * sysdeps/x86_64/tst-audit.h: Likewise.
20178 2012-07-26  Andreas Jaeger  <aj@suse.de>
20180         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20181         ptrace.
20183         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20184         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20185         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20186         PTRACE_O_MASK.
20187         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20188         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20189         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20191         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20192         value.
20194         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20195         _sigsys.
20196         (si_call_addr, si_syscall, si_arch): Define new macro.
20197         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20198         _sigsys.
20199         (si_call_addr, si_syscall, si_arch): Define new marcro.
20200         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20201         _sigsys.
20202         (si_call_addr, si_syscall, si_arch): Define new macro.
20203         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20204         _sigsys.
20205         (si_call_addr, si_syscall, si_arch): Define new macro.
20207 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20209         [BZ #13717]
20210         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20211         Change to 2.4.21 where previously 2.4.1.
20212         * sysdeps/unix/sysv/linux/configure: Regenerated.
20213         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20214         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20215         Linux kernel version.
20216         (__ASSUME_STD_AUXV): Remove.
20217         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20218         kernel version.
20219         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20220         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20221         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20222         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20223         (__ASSUME_NETLINK_SUPPORT): Likewise.
20224         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20225         (__no_netlink_support): Remove conditional definition.
20226         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20227         Remove.
20228         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20229         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20230         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20231         (if_nameindex_ioctl): Remove.
20232         (if_nameindex_netlink): Do not handle __no_netlink_support.
20233         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20234         code.
20235         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20236         Remove conditional code.
20237         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20238         code.
20239         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20240         unconditional.
20241         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20242         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20243         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20244         Remove.
20245         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20246         [!__ASSUME_STD_AUXV]: Remove conditional code.
20247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20248         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20249         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20251         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20252         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20253         code.
20254         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20256         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20257         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20258         conditional code.
20259         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20261         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20262         code.
20263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20264         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20265         conditional code.
20266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20267         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20268         code unconditional.
20269         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20270         conditional code.
20271         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20272         unconditional.
20273         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20274         conditional code.
20275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20276         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20277         unconditional.
20278         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20279         conditional code.
20280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20281         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20282         code unconditional.
20283         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20284         conditional code.
20285         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20286         unconditional.
20287         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20288         conditional code.
20289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20290         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20291         code unconditional.
20292         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20293         conditional code.
20294         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20295         unconditional.
20296         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20297         conditional code.
20299 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
20301         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20302         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20303         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20304         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20305         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20306         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20307         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20308         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20309         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20310         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20311         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20312         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20313         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20314         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20315         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20316         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20317         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20318         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20319         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20321         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20322         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20323         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20325 2012-07-25  Florian Weimer  <fweimer@redhat.com>
20327         * Versions.def: Add GLIBC_2.17.
20328         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20329         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20330         Introduce __libc_secure_getenv.
20331         * stdlib/Versions (2.17): Add secure_getenv
20332         (GLIBC_PRIVATE): Add __libc_secure_getenv.
20333         * stdlib/secure-getenv.c: Rename __secure_getenv to
20334         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
20335         symbol __secure_getenv for GLIBC_2.0.
20336         * stdlib/tst-secure-getenv.c: New.
20337         * stdlib/Makefile (tests): Add testcase.
20338         * manual/startup.texi (Environment Access): Document
20339         secure_getenv.
20340         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20341         __libc_secure_getenv.
20342         * inet/ruserpass.c (ruserpass): Likewise.
20343         * malloc/mtrace.c (mtrace): Likewise.
20344         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20345         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20346         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20347         * sysdeps/posix/tempname.c: Likewise.  Evaluate
20348         HAVE_SECURE_GETENV.
20349         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20350         __secure_getenv to __libc_secure_getenv.
20351         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20353         Likewise.
20354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20355         Likewise.
20356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20358         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20364 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
20366         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20367         (struct La_i86_retval): Likewise.
20368         (struct La_x86_64_regs): Likewise.
20369         (struct La_x86_64_retval): Likewise.
20370         (struct La_x32_regs): Likewise.
20371         (struct La_x32_retval): Likewise.
20372         (struct La_ppc32_regs): Likewise.
20373         (struct La_ppc32_retval): Likewise.
20374         (struct La_ppc64_regs): Likewise.
20375         (struct La_ppc64_retval): Likewise.
20376         (struct La_sh_regs): Likewise.
20377         (struct La_sh_retval): Likewise.
20378         (struct La_s390_32_regs): Likewise.
20379         (struct La_s390_32_retval): Likewise.
20380         (struct La_s390_64_regs): Likewise.
20381         (struct La_s390_64_retval): Likewise.
20382         (struct La_sparc32_regs): Likewise.
20383         (struct La_sparc32_retval): Likewise.
20384         (struct La_sparc64_regs): Likewise.
20385         (struct La_sparc64_retval): Likewise.
20386         (struct audit_ifaces): Remove architecture-specific pltenter and
20387         pltexit members.
20388         * sysdeps/i386/ldsodefs.h: New file.
20389         * sysdeps/powerpc/ldsodefs.h: Likewise.
20390         * sysdeps/s390/ldsodefs.h: Likewise.
20391         * sysdeps/sh/ldsodefs.h: Likewise.
20392         * sysdeps/sparc/ldsodefs.h: Likewise.
20393         * sysdeps/x86_64/ldsodefs.h: Likewise.
20395 2012-07-25  Marek Polacek  <polacek@redhat.com>
20397         [BZ #6808]
20398         * math/libm-test.inc (yn_test): Add another test.
20399         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20400         to ERANGE when the result is +-Inf.
20401         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20402         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20403         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20404         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20406 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
20408         * conform/data/time.h-data (NULL): Use macro-constant.  Require
20409         equal to 0.
20410         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
20411         clock_t.
20412         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
20414 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
20416         * configure.in <sysdeps resolving>: Correct printing
20417         Implies_before.
20418         * configure: Regenerate.
20420 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
20422         * math/w_ilogb.c: Include <limits.h>.
20423         * math/w_ilogbl.c: Likewise.
20425 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20427         * manual/lang.texi (__va_copy): Document primarily as ISO C99
20428         va_copy.  Document allowing for unavailable va_copy only as
20429         pre-C99 compatibility.
20430         * manual/string.texi (Copying and Concatenation): Use va_copy
20431         instead of __va_copy in concat example.
20433 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
20435         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20436         (__sendto): Use create_address_port.  Initialize APORT and deallocate
20437         it if not null.
20439         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20440         with O_NOLINK passed to __file_name_lookup.
20442         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20443         with O_NOLINK passed to __file_name_lookup.
20445         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20446         negative N or less than NGIDS.
20448         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20449         type to string_t.  Set ERANGE as errno and return it if NAME is not big
20450         enough.  Use memcpy instead of strncpy.
20452 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
20454         * elf/Makefile (check-data): Remove.
20455         (localplt.data): New vpath directive.
20456         ($(objpfx)check-localplt.out): Use localplt.data from vpath
20457         instead of $(check-data).
20458         * scripts/data/localplt-generic.data: Move to ...
20459         * sysdeps/generic/localplt.data: ... here.
20460         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20461         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20462         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20464         ... here.
20465         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20467         ... here.
20468         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20470         ... here.
20471         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20473         ... here.
20474         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20476         ... here.
20477         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20479         ... here.
20481 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20483         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20484         PPC32 and PPC64 files.
20485         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20486         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20488 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20490         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20491         __makecontext_ret to ...
20492         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20493         ... here and call exit if uc_link is NULL.  New file.
20494         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20495         __makecontext_ret.S.
20496         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20497         __makecontext_ret to ...
20498         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20499         ... here and call exit if uc_link is NULL.  New file.
20500         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20501         __makecontext_ret.S.
20503 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20505         * elf/elf.h (R_390_IRELATIVE): New definition.
20506         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20507         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
20508         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20509         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20510         (elf_machine_lazy_rel): Likewise.
20511         * sysdeps/s390/dl-irel.h: New file.
20512         * sysdeps/s390/s390-64/memcpy.S: New asm code.
20513         * sysdeps/s390/s390-64/memset.S: New asm code.
20514         * sysdeps/s390/s390-64/memcmp.S: New asm code.
20515         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20516         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20517         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20518         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20519         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20520         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20521         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20522         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20523         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20524         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20525         * sysdeps/s390/s390-32/memcpy.S: New asm code.
20526         * sysdeps/s390/s390-32/memset.S: New asm code.
20527         * sysdeps/s390/s390-32/memcmp.S: New asm code.
20529 2012-07-17  Marek Polacek  <polacek@redhat.com>
20531         [BZ #14349]
20532         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20533         * sysdeps/s390/s390-64/configure.in: Likewise.
20534         * sysdeps/sparc/configure.in: Likewise.
20535         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20536         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20537         * sysdeps/i386/configure.in: Likewise.
20538         * sysdeps/x86_64/configure.in: Likewise.
20539         * sysdeps/sh/configure.in: Likewise.
20540         * sysdeps/s390/s390-32/configure: Regenerated.
20541         * sysdeps/s390/s390-64/configure: Likewise.
20542         * sysdeps/x86_64/configure: Likewise.
20543         * sysdeps/sh/configure: Likewise.
20544         * sysdeps/powerpc/powerpc64/configure: Likewise.
20545         * sysdeps/powerpc/powerpc32/configure: Likewise.
20546         * sysdeps/sparc/configure: Likwise.
20547         * sysdeps/i386/configure: Likewise.
20549         * elf/dl-open.c: Comment fixes.
20551 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
20553         * Makefile [CXX] (check-data): Remove.
20554         [CXX] (c++-types.data): New vpath directive.
20555         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20556         vpath.  Do not allow for C++ type data being missing.
20557         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20558         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20559         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20560         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20561         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20562         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20563         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20565         ... here.
20566         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20568         ... here.
20569         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20571         ... here.
20572         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20574         ... here.
20575         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20577         ... here.
20578         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20580         ... here.
20581         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20583         ... here.
20584         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20587         * elf/tls-macros.h (TLS_LE): Move architecture-specific
20588         definitions to architecture-specific files.
20589         (TLS_IE): Likewise.
20590         (TLS_LD): Likewise.
20591         (TLS_GD): Likewise.
20592         * sysdeps/i386/tls-macros.h: New file.
20593         * sysdeps/powerpc/tls-macros.h: Likewise.
20594         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20595         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20596         * sysdeps/sh/tls-macros.h: Likewise.
20597         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20598         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20599         * sysdeps/x86_64/tls-macros.h: Likewise.
20601 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20603         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20604         zero value for regular exit case.
20606         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20607         (__start_context): Preserve zero value for regular exit case.
20609 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
20610             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20612         * manual/setjmp.texi (setcontext): Clarify normal process
20613         termination when uc_link is the null pointer.
20614         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20615         exit call.
20617 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
20619         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20620         preprocessor.  Test for each exception mask separately.
20622 2012-07-16  Andreas Jaeger  <aj@suse.de>
20624         * po/ru.po: Update from translation team.
20626 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
20628         * conform/data/string.h-data (NULL): Use macro-constant.  Require
20629         equal to 0.
20630         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20631         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20632         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20633         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20634         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20636 2012-07-13  Andreas Jaeger  <aj@suse.de>
20638         * po/fr.po: Update from translation team.
20640 2012-07-12  Marek Polacek  <polacek@redhat.com>
20642         [BZ #14173]
20643         * math/libm-test.inc (yn_test): Add test for BZ #14173.
20644         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20645         loop condition.
20647 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
20649         [BZ #13717]
20650         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20651         Change to 2.4.1 where previously 2.4.0.
20652         * sysdeps/unix/sysv/linux/configure: Regenerated.
20653         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20654         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20655         version.
20656         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20657         (__ASSUME_AT_CLKTCK): Remove.
20658         (__ASSUME_AT_PAGESIZE): Likewise.
20659         (__ASSUME_AT_XID): Likewise.
20660         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20661         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20662         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20663         unconditionally.
20664         (HAVE_AUX_PAGESIZE): Likewise.
20665         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20666         [__ASSUME_AT_CLKTCK]: Make code unconditional.
20667         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20669 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
20671         [BZ #14307]
20672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20673         the temporary buffer used to invoke __gethostbyname2_r,
20674         __gethostbyaddr_r and gethostbyname4_r to make room for struct
20675         host_data / struct gaih_addrtuple.
20676         * resolv/nss_dns/dns-host.c (global scope): Move definition of
20677         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20678         header file nss/nsswitch.h.
20679         * nss/nsswitch.h (global scope): Add definition of implementation
20680         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20681         resolv/nss_dns/dns-host.c).
20683 2012-07-11  Andreas Jaeger  <aj@suse.de>
20685         * po/fr.po: Update from translation team.
20687         * po/sv.po: Update from translation team
20688         * po/fr.po: Another update from translation team.
20690 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20692         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20693         for subnormals or multiply small sinh result by itself.
20694         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20697 2012-07-11  David S. Miller  <davem@davemloft.net>
20699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20701 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20703         [BZ #14347]
20704         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20705         (INTERNAL_MARK): Shift it here.
20707 2012-07-10  Marek Polacek  <polacek@redhat.com>
20709         [BZ #14151]
20710         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20711         libc_cv_asm_global_directive with .globl.
20712         * configure: Regenerated.
20713         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20714         with .globl.
20715         * sysdeps/i386/configure: Regenerated.
20716         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20717         with .globl.
20718         * sysdeps/x86_64/configure: Regenerated.
20719         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20720         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20721         * elf/tst-unique2mod2.c: Likewise.
20722         * elf/tst-unique2mod1.c: Likewise.
20723         * elf/tst-unique1mod2.c: Likewise.
20724         * elf/tst-unique1mod1.c: Likewise.
20725         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20726         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20727         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20728         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20729         * sysdeps/mach/sysdep.h: Likewise.
20730         * sysdeps/i386/sysdep.h: Likewise.
20731         * sysdeps/i386/i386-mcount.S: Likewise.
20732         * sysdeps/x86_64/_mcount.S: Likewise.
20733         * sysdeps/x86_64/sysdep.h: Likewise.
20734         * sysdeps/sh/_mcount.S: Likewise.
20735         * sysdeps/sh/sysdep.h: Likewise.
20736         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20737         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20738         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20739         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20740         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20741         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20742         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20743         * locale/localeinfo.h: Likewise.
20744         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20745         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20747 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20749         [BZ #14336]
20750         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20751         system".
20752         * manual/message.texi (The Uniforum approach): Likewise.
20753         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20754         (glibc iconv Implementation): Likewise.
20756 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20758         [BZ #14337]
20759         * math/s_clog.c (__clog): Avoid scaling a value down where that
20760         could result in underflow.
20761         * math/s_clog10.c (__clog10): Likewise.
20762         * math/s_clog10f.c (__clog10f): Likewise.
20763         * math/s_clog10l.c (__clog10l): Likewise.
20764         * math/s_clogf.c (__clogf): Likewise.
20765         * math/s_clogl.c (__clogl): Likewise.
20766         * math/libm-test.inc (clog_test): Add more tests.
20767         (clog10_test): Likewise.
20768         * sysdeps/i386/fpu/libm-test-ulps: Update.
20769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20771 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20773         [BZ #14283]
20774         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20775         by 7 not 8 to examine high bit of fractional part.
20777         [BZ #14042]
20778         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20779         for call to __mcount_internal.
20780         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20781         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20782         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20784 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20786         [BZ #14154]
20787         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20788         approximation for values within 0x1p-13f of an odd multiple of
20789         pi/4.
20790         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20791         exception.  Add more tests.
20792         * sysdeps/i386/fpu/libm-test-ulps: Update.
20794         [BZ #6778]
20795         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20796         inputs and return -1 for them.  Do not check for +Inf in case not
20797         reachable for +Inf.
20798         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20799         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20800         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20801         and return -1 for them.  Do not check for +Inf in case not
20802         reachable for +Inf.
20803         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20804         define.
20805         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20806         and return -1 for them.  Do not check for +Inf in case not
20807         reachable for +Inf.
20808         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20809         spurious underflow.
20810         * sysdeps/i386/fpu/libm-test-ulps: Update.
20811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20813 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20815         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20817 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20819         [BZ #14157]
20820         [BZ #14331]
20821         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20822         could result in spurious underflow.  Scale down values above
20823         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20824         * math/s_csqrtf.c (__csqrtf): Likewise.
20825         * math/s_csqrtl.c (__csqrtl): Likewise.
20826         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20827         spurious underflow.
20828         * sysdeps/i386/fpu/libm-test-ulps: Update.
20829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20831 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20833         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20834         xopen-msg.sed.
20835         * catgets/xopen-msg.awk: New file.
20836         * catgets/xopen-msg.sed: Removed.
20838         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20839         po2text.sed.
20840         * intl/po2test.awk: New file.
20841         * intl/po2test.sed: Removed.
20843 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20845         [BZ #14328]
20846         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20847         or multiply small sinh result by itself.
20848         * math/s_ctanf.c (__ctanf): Likewise.
20849         * math/s_ctanh.c (__ctanh): Likewise.
20850         * math/s_ctanhf.c (__ctanhf): Likewise.
20851         * math/s_ctanhl.c (__ctanhl): Likewise.
20852         * math/s_ctanl.c (__ctanl): Likewise.
20853         * math/libm-test.inc (ctan_test_tonearest): New function.
20854         (ctan_test_towardzero): Likewise.
20855         (ctan_test_downward): Likewise.
20856         (ctan_test_upward): Likewise.
20857         (ctanh_test_tonearest): Likewise.
20858         (ctanh_test_towardzero): Likewise.
20859         (ctanh_test_downward): Likewise.
20860         (ctanh_test_upward): Likewise.
20861         (main): Call these new functions.
20862         * sysdeps/i386/fpu/libm-test-ulps: Update.
20863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20865 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20867         * .gitignore: Delete /ports entry.
20869 2012-07-03  Andreas Jaeger  <aj@suse.de>
20871         * po/bg.po: Update from translation team.
20872         * po/cs.po: Likewise.
20873         * po/de.po: Likewise.
20874         * po/hr.po: Likewise.
20875         * po/nl.pl: Likewise.
20876         * po/pl.po: Likewise.
20877         * po/vi.po: Likewise.
20879 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20881         * Makeconfig [!+link] (+link-before-libc): New variable.
20882         [!+link] (+link-after-libc): Likewise.
20883         [!+link] (+link-tests): Likewise.
20884         [!+link] (+link): Define in terms of $(+link-before-libc) and
20885         $(+link-after-libc).
20886         [!+link-static] (+link-static-before-libc): New variable.
20887         [!+link-static] (+link-static-after-libc): Likewise.
20888         [!+link-static] (+link-static-tests): Likewise.
20889         [!+link-static] (+link-static): Define in terms of
20890         $(+link-static-before-libc) and $(+link-static-after-libc).
20891         [build-shared] (link-libc-before-gnulib): New variable.
20892         [build-shared] (link-libc-tests): Likewise.
20893         [build-shared] (link-libc): Define in terms of
20894         $(link-libc-before-gnulib).
20895         [!build-shared] (link-libc-tests): New variable.
20896         (link-libc-static-tests): New variable.
20897         [!gnulib] (gnulib-arch): New variable.
20898         [!gnulib] (gnulib-tests): Likewise.
20899         [!gnulib] (static-gnulib-arch): Likewise.
20900         [!gnulib] (static-gnulib-tests): Likewise.
20901         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20902         Define with "=" instead of ":=".
20903         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20904         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20905         * Rules (binaries-all-notests): New variable.
20906         (binaries-all-tests): Likewise.
20907         (binaries-static-notests): Likewise.
20908         (binaries-static-tests): Likewise.
20909         (binaries-all): Define using $(binaries-all-notests) and
20910         $(binaries-all-tests).
20911         (binaries-static): Define using $(binaries-static-notests) and
20912         $(binaries-static-tests).
20913         (binaries-shared-tests): New variable.
20914         (binaries-shared-notests): Likewise.
20915         (binaries-shared): Remove variable.
20916         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20917         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20918         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20919         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20920         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20921         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20922         * elf/Makefile (sln-modules): New variable.
20923         (extra-objs): Add $(sln-modules:=.o).
20924         (ldconfig-modules): Add static-stubs.
20925         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20926         * elf/static-stubs.c: New file.
20928         [BZ #14283]
20929         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20930         by 7 not 8 to examine high bit of fractional part.  Use volatile
20931         variables when splitting into final array of floats if
20932         __FLT_EVAL_METHOD__ != 0.
20933         * math/libm-test.inc (cos_test): Add another test.
20934         (sin_test): Likewise.
20935         * sysdeps/i386/fpu/libm-test-ulps: Update.
20937         [BZ #14273]
20938         * math/libm-test.inc (cosh_test): Add more tests.
20940         * version.h (RELEASE): Set to "development".
20941         (VERSION): Set to "2.16.90".
20943 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20945         * NEWS: Update copyright. Remove last-updated date.
20946         Mention math library bug fixes and timezone data changes.
20947         * README: Mention GNU/Hurd, x32, and HPPA support status.
20949 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20951         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20953 2012-06-27  Andreas Jaeger  <aj@suse.de>
20955         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20957 2012-06-25  Andreas Jaeger  <aj@suse.de>
20959         * sysdeps/s390/fpu/libm-test-ulps: Update.
20961 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20962             Thomas Schwinge  <thomas@codesourcery.com>
20964         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20965         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20967         fanotify_mark.
20969 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20971         * sysdeps/mach/start.c: Remove file.
20972         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20973         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20974         * sysdeps/sh/init-first.c: Likewise.
20976         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20977         registers for frame unwinding purposes, add CFI directives.
20978         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20979         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20980         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20981         Likewise.
20983         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20984         __fortify_fail returning.
20985         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20987         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20988         sysdeps/sh/____longjmp_chk.S.
20989         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20990         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20991         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20992         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20994         * sysdeps/sh/abort-instr.h: New file.
20995         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20996         process in case exit returns.
20998         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20999         initialize the GOT register before use.
21001         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21002         calculation of ARGC > 4.
21004         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21005         meaningful names to some local labels.
21007 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
21008             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21010         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21011         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21012         (__arch_compare_and_exchange_val_16_acq): Likewise.
21013         (__arch_compare_and_exchange_val_32_acq): Likewise.
21014         (atomic_exchange_and_add): Fix gUSA sequence.
21015         (atomic_add): Likewise.
21016         (atomic_add_negative): Likewise.
21017         (atomic_add_zero): Likewise.
21018         (atomic_bit_test_set): Likewise.
21020 2012-06-22  Andreas Schwab  <schwab@redhat.com>
21022         [BZ #13579]
21023         * include/link.h (struct link_map): Add l_free_initfini.
21024         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21025         l_initfini.
21026         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21027         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21028         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21029         set.
21031 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
21033         * configure.in: Use AC_LANG_SOURCE.
21034         * configure: Regenerate.
21036 2012-06-22  Roland McGrath  <roland@hack.frob.com>
21038         * configure.in (libc_cv_localstatedir): New substituted variable.
21039         * configure: Regenerated.
21040         * config.make.in (localstatedir): New variable, substituted from
21041         libc_cv_localstatedir.
21042         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21043         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21044         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21045         * sysdeps/gnu/configure: Regenerated.
21047 2012-06-21  Jeff Law  <law@redhat.com>
21049         [BZ #14277]
21050         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21051         free.  Simplify list management for _LIBC case.
21053 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
21055         [BZ #14273]
21056         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21057         Clear sign bit of 64-bit integer value before comparing against
21058         overflow value.
21060         * sysdeps/mach/configure: Regenerated.
21062 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
21064         [BZ #14278]
21065         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21067 2012-06-21  Jeff Law  <law@redhat.com>
21069         [BZ #13882]
21070         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
21071         uint16_t for elements in the "seen" array to avoid char overflows.
21072         * elf/dl-fini.c (_dl_sort_fini): Likewise.
21073         * elf/dl-open.c (dl_open_worker): Likewise.
21075 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
21077         * scripts/list-sources.sh: Scan PORTS for translations.
21078         * po/libc.pot: Regenerated.
21080 2012-06-21  Andreas Jaeger  <aj@suse.de>
21082         [BZ #12194]
21083         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21084         warning.
21085         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21086         * bits/byteswap-16.h (__bswap_16): Likewise.
21087         * bits/byteswap.h (__bswap_constant_16): Likewise.
21089 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
21091         [BZ #14117]
21092         * sysdeps/i386/fpu_control.h: Removed.
21093         * sysdeps/x86_64/fpu_control.h: Moved to ...
21094         * sysdeps/x86/fpu_control.h: Here.
21096         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21097         (_FPU_SETCW): Likewise.
21099 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
21101         [BZ #14117]
21102         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21103         * sysdeps/x86/fpu/bits/mathinline.h: This.
21104         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21106         [BZ #14050]
21107         [BZ #14117]
21108         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21109         functions if __x86_64__ is defined.
21111 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
21113         * string/endian.h: Add !__ASSEMBLER__ condition for including
21114         conversion interfaces.
21116 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
21118         [BZ #14241]
21119         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21120         of ABS(x) in calculating zero to negative powers other than odd
21121         integers.
21122         * math/libm-test.inc (pow_test): Add more tests.
21124 2012-06-15  Andreas Jaeger  <aj@suse.de>
21126         * manual/contrib.texi (Contributors): Update entry of Liubov
21127         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21128         Machado Filho.
21130 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
21132         * string/string.h: Add __wur to GNU version of strerror_r.
21134 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
21136         [BZ #14229]
21137         * string/Makefile (tests): Add tst-strtok_r.
21138         * string/tst-strtok_r.c: New file.
21139         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21140         RAX_LP/RDX_LP on SAVE_PTR.
21142 2012-06-14  Roland McGrath  <roland@hack.frob.com>
21144         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21146 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
21148         * libm_test.inc (csqrt_test): Allow more spurious underflow
21149         exceptions.
21150         (j0_test): Likewise.
21151         (j1_test): Likewise.
21152         (y0_test): Likewise.
21153         (y1_test): Likewise.
21155 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
21157         * po/Makefile (libc.pot): Use UTF-8 charset.
21159 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
21161         [BZ #14210]
21162         Suppress sign-conversion warning from FD_SET.
21163         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21164         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21165         not unsigned long int.
21166         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21168 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
21170         [BZ #14050]
21171         [BZ #14117]
21172         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21173         __extern_always_inline instead of __extern_inline.
21174         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21175         (__signbit): Likewise.
21176         (__signbitl): Support C++ namespace.
21177         (lrintf): New inline function.
21178         (lrint): Likewise.
21179         (llrintf): Likewise.
21180         (llrint): Likewise.
21181         (fmaxf): Likewise.
21182         (fmax): Likewise.
21183         (fminf): Likewise.
21184         (fmin): Likewise.
21185         (rint): Likewise.
21186         (rintf): Likewise.
21187         (ceil): Likewise.
21188         (ceilf): Likewise.
21189         (floor): Likewise.
21190         (floorf): Likewise.
21191         (nearbyint): Likewise.
21192         (nearbyintf): Likewise.
21194 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
21196         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21197         non-default versions.
21199 2012-06-11  Roland McGrath  <roland@hack.frob.com>
21201         [BZ #14218]
21202         * manual/argp.texi (Argp): Reword argp_parse description slightly.
21204 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
21206         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21207         (FE_UPWARD, FE_DOWNWARD): Don't define.
21208         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21209         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21212         reading it.
21213         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21214         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21216 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21218         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21219         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21220         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21221         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21223 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
21225         [BZ #14117]
21226         * sysdeps/i386/fpu/bits/fenv.h: Removed.
21227         * sysdeps/i386/fpu/Implies: New file.
21228         * sysdeps/x86_64/fpu/Implies: Likewise.
21229         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21230         * sysdeps/x86/fpu/bits/fenv.h: This.
21232         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21233         __SSE_MATH__.
21235 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21237         [BZ #14134]
21238         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21239         character 0xffff that matches the last element of the
21240         conversion table.
21242 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21244         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21245         fmodl commit.
21247 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21249         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21250         values higher than 25.6283.
21252 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21254         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21255         subnormal exponent extraction and add some __builtin_expect.
21256         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21257         Fix for subnormal mantissa calculation.
21259 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
21261         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21262         cpu2 is -1 and errno is not ENOSYS.
21264 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
21266         [BZ #14117]
21267         * sysdeps/i386/i486/bits/string.h: Renamed to ...
21268         * sysdeps/x86/bits/string.h: This.
21269         * sysdeps/x86_64/bits/string.h: Removed.
21271         * sysdeps/i386/i486/bits/string.h: Define inline functions only
21272         if not compiling for x86-64, but compiling for >= i486.
21274         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21275         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21277         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21278         New macro from Linux kernel 3.4.0.
21279         (FP_XSTATE_MAGIC2): Likewise.
21280         (FP_XSTATE_MAGIC2_SIZE): Likewise.
21281         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21282         (struct _fpx_sw_bytes): New struct.
21283         (struct _xsave_hdr): Likewise.
21284         (struct _ymmh_state): Likewise.
21285         (struct _xstate): Likewise.
21287         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21288         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21289         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21290         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21291         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21292         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21294         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21295         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21296         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21297         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21298         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21299         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21301 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21303         [BZ #13743]
21304         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21305         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21306         (sysdep_headers): Include sys/platform/ppc.h.
21307         * sysdeps/powerpc/test-gettimebase.c: Test for
21308         __ppc_get_timebase() to catch future ISA opcode/insn changes.
21309         * manual/Makefile (appendices): Include platform.texi.
21310         * manual/contrib.texi (Contributors): Update @node pointers.
21311         * manual/maint.texi (Maintenance): Likewise.
21312         (Platform): New node.
21313         * manual/platform.texi: New file.  Document the new features.
21315 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21316             Jakub Jelinek  <jakub@redhat.com>
21318         [BZ #14188]
21319         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21320         where __builtin_expect is unavailable.
21322 2012-06-03  David S. Miller  <davem@davemloft.net>
21324         * stdlib/longlong.h: Updated from GCC.
21326 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
21328         [BZ #14042]
21329         * sysdeps/powerpc/powerpc32/mcount.c: New file.
21330         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21331         __mcount_internal.
21332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21333         (GLIBC_2.16): Likewise.
21335 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21337         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21339 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21342         (default-abi): New variable.
21343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21344         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21345         variable.
21346         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21347         Likewise.
21348         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21349         Likewise.
21350         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21351         Likewise.
21353         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21354         definition.  Document in comment.
21356 2012-06-01  David S. Miller  <davem@davemloft.net>
21358         * stdlib/longlong.h: Updated from GCC.
21360 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21362         [BZ #14117]
21363         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21364         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21365         sys/debugreg.h sys/io.h here.
21366         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21367         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21368         sys/io.h.
21369         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21370         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21371         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21372         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21373         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21374         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21376         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21377         Define only if __x86_64__ is defined.
21379 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
21381         [BZ #14048]
21382         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21383         Use int64_t for variable i.
21384         * math/libm-test.inc (fmod_test): Add more tests.
21386         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21387         z computation is not scheduled after fetestexcept.
21388         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21389         Use math_force_eval instead of asm to ensure calculation scheduled
21390         before exception test.
21391         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21392         Ensure a1 + u.d computation is not scheduled after fetestexcept.
21394 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
21396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21397         computation is not scheduled after fetestexcept.
21399 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
21401         [BZ #14117]
21402         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21403         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21405 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21407         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21408         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21410 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21412         [BZ #14117]
21413         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21414         <bits/wordsize.h>.
21415         (__WCHAR_MIN): Support __WORDSIZE == 64.
21416         (__WCHAR_MAX): Likewise.
21418         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21419         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21421         [BZ #14183]
21422         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21423         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21425         [BZ #14117]
21426         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21427         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21429         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21430         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21432         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21433         Defined to 1 if __x86_64__ isn't defined.
21434         (_STAT_VER_LINUX_OLD): New.
21435         (st_atime): Remove duplicate.
21436         (st_mtime): Likewise.
21437         (st_ctime): Likewise.
21439 2012-05-31  David S. Miller  <davem@davemloft.net>
21441         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21442         entries.
21444 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
21446         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21447         gen-libm-test.pl.
21449         [BZ #14132]
21450         * elf/dl-reloc.c: Include <_itoa.h>.
21451         (_dl_reloc_bad_type): Remove use of INTUSE.
21452         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21453         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21454         * stdio-common/psiginfo.c (psiginfo): Likewise.
21455         * stdio-common/psignal.c (psignal): Likewise.
21456         * string/strsignal.c (strsignal): Likewise.
21457         * include/signal.h (_sys_siglist): Declare hidden proto.
21458         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
21459         INTVARDEF with libc_hidden_data_def.
21460         * stdio-common/itoa-udigits.c: Likewise.
21461         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21462         (_itoa_lower_digits_internal): Remove declaration.
21463         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21464         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21465         (_sys_sigabbrev_internal): Remove aliases.
21466         (_sys_siglist): Define hidden alias.
21468 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
21470         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21471         bits/sysctl.h.
21473 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
21475         [BZ #14117]
21476         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21477         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21479         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21480         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21481         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21482         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21483         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21484         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21486         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21487         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21488         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21490         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21491         with __addr.
21492         (insw): Likewise.
21493         (insl): Likewise.
21494         (outsb): Likewise.
21495         (outsw): Likewise.
21496         (outsl): Likewise.
21498         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21499         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21500         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21502         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21503         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21504         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21505         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21506         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21507         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21509         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21510         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21512         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21513         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21515         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21516         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21517         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21519         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21520         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21521         to ...
21522         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21524         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21525         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21526         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21528         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21529         for x86-64.
21530         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21532 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
21534         * math/math.h (M_El): Use two more decimal places.
21535         (M_LOG2El): Likewise.
21536         (M_LOG10El): Likewise.
21537         (M_LN2l): Likewise.
21538         (M_LN10l): Likewise.
21539         (M_PIl): Likewise.
21540         (M_PI_2l): Likewise.
21541         (M_PI_4l): Likewise.
21542         (M_1_PIl): Likewise.
21543         (M_2_PIl): Likewise.
21544         (M_2_SQRTPIl): Likewise.
21545         (M_SQRT2l): Likewise.
21546         (M_SQRT1_2l): Likewise.
21548 2012-05-31  David S. Miller  <davem@davemloft.net>
21550         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21551         values between float registers.
21552         * sysdeps/sparc/sparc64/memset.S: Likewise.
21553         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21555 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
21557         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21558         -D_FORTIFY_SOURCE=1.
21559         (CPPFLAGS-tst-longjmp_chk.c): Define.
21560         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21561         (CPPFLAGS-tst-longjmp_chk2.c): Define.
21562         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21563         CFLAGS-tst-wchar-h.c.
21565 2012-05-31  Marek Polacek  <polacek@redhat.com>
21567         [BZ #14132]
21568         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21569         __endmntent_internal): Remove declaration.
21570         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21571         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21572         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21574 2012-05-30  David S. Miller  <davem@davemloft.net>
21576         * sysdeps/sparc/sparc32/soft-fp/q_util.c
21577         (___Q_simulate_exceptions): Use real FP ops rather than writing
21578         into the %fsr.
21579         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21580         Likewise.
21582 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21584         [BZ #14117]
21585         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21586         * sysdeps/x86/bits/xtitypes.h: This.
21588         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21589         * sysdeps/x86/bits/wordsize.h: This.
21591         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21592         * sysdeps/x86/bits/huge_vall.h: This.
21594         * sysdeps/i386/bits/select.h: Removed.
21595         * sysdeps/x86_64/bits/select.h: Renamed to ...
21596         * sysdeps/x86/bits/select.h: This.
21598         * sysdeps/i386/bits/setjmp.h: Removed.
21599         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21600         * sysdeps/x86/bits/setjmp.h: This.
21602         * sysdeps/i386/bits/mathdef.h: Removed.
21603         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21604         * sysdeps/x86/bits/mathdef.h: This.
21606 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
21608         [BZ #14132]
21609         * include/sys/socket.h (__connect_internal)
21610         (__libc_sa_len_internal): Remove declaration.
21611         (__connect, __libc_sa_len): Declare hidden_proto.
21612         (SA_LEN): Remove use of INTUSE.
21613         * socket/connect.c: Add libc_hidden_def.
21614         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21615         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21616         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21617         alias.
21618         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21619         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21620         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21621         of adding _internal alias.
21623 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21625         [BZ #14117]
21626         * sysdeps/i386/bits/link.h: Removed.
21627         * sysdeps/i386/bits/linkmap.h: Likewise.
21628         * sysdeps/x86_64/bits/link.h: Renamed to ...
21629         * sysdeps/x86/bits/link.h: This.
21630         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21631         * sysdeps/x86/bits/linkmap.h: This.
21633         * sysdeps/i386/bits/endian.h: Removed.
21634         * sysdeps/x86_64/bits/endian.h: Renamed to ...
21635         * sysdeps/x86/bits/endian.h: This.
21637         * sysdeps/i386/bits/byteswap.h: Removed.
21638         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21639         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21640         * sysdeps/x86/bits/byteswap.h: This.
21641         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21642         * sysdeps/x86/bits/byteswap-16.h: This.
21643         * sysdeps/i386/Implies: Add x86.
21644         * sysdeps/x86_64/Implies: Likewise.
21646 2012-05-30  David S. Miller  <davem@davemloft.net>
21648         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21649         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21650         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21651         (FP_TRAPPING_EXCEPTIONS): Define.
21652         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21653         (FP_TRAPPING_EXCEPTIONS): Define.
21654         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21655         subnormals only when inexact has been signalled or underflow
21656         exceptions are enabled.
21657         (_FP_PACK_CANONICAL): Likewise.
21659 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21661         [BZ #14183]
21662         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21663         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21665 2012-05-30  Richard Henderson  <rth@twiddle.net>
21667         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21668         with #ifndef NOT_IN_libc.
21670         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
21671         marked to avoid plt entry.
21673 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21675         [BZ #14112]
21676         * Makeconfig (default-abi): New macro.
21677         (abi-includes): Likewise.
21678         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
21679         $(abi-$(default-abi)-lib-soname) for soname if defined.
21680         ($(common-objpfx)gnu/lib-names.stmp): Generate from
21681         abi-variants.
21682         * Makefile (installed-stubs): Likewise.
21683         * include/stubs-biarch.h: Removed.
21684         * scripts/lib-names.awk: Only handle one library at a time.
21685         * scripts/soversions.awk: Remove WORDSIZE support.
21686         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21687         entries.
21688         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21689         Removed.
21690         (syscall-list-default-condition): Likewise.
21691         (syscall-list-default-condition): Likewise.
21692         (syscall-list-includes): Likewise.
21693         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21694         syscall-list-* with abi-*.  Handle undefined abi-variants.
21695         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21696         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21697         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21698         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21699         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21700         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21701         Removed.
21702         (syscall-list-32-options): Likewise.
21703         (syscall-list-32-condition): Likewise.
21704         (syscall-list-64-options): Likewise.
21705         (syscall-list-64-condition): Likewise.
21706         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21707         macro.
21708         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21709         Renamed to ...
21710         (abi-*): This.
21711         (abi-64-ld-soname): New macro.
21712         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21713         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21714         Renamed to ...
21715         (abi-*): This.
21716         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21717         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21719 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21721         * sysdeps/unix/sysv/linux/kernel-features.h
21722         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21723         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21724         include <kernel-features.h>.
21725         [!__NR_ftruncate64]: Remove conditional code.
21726         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21727         [__NR_ftruncate64]: Make code unconditional.
21728         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21729         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21730         include <kernel-features.h>.
21731         [!__NR_ftruncate64]: Remove conditional code.
21732         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21733         [__NR_ftruncate64]: Make code unconditional.
21734         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21736         include <kernel-features.h>.
21737         [!__NR_ftruncate64]: Remove conditional code.
21738         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21739         [__NR_ftruncate64]: Make code unconditional.
21740         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21742         include <kernel-features.h>.
21743         [!__NR_ftruncate64]: Remove conditional code.
21744         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21745         [__NR_ftruncate64]: Make code unconditional.
21746         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21748         * configure.in (libc_cv_fpie): Weaken to a compile test using
21749         LIBC_TRY_CC_OPTION.
21750         * configure: Regenerated.
21752 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21757         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21758         Refreshed.
21759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21765         Refreshed.
21767 2012-05-27  David S. Miller  <davem@davemloft.net>
21769         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21770         (___Q_zero): New.
21771         (__Q_simulate_exceptions): Return void.  Change to simulate
21772         exceptions by writing into the %fsr.
21773         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21774         (__Qp_handle_exceptions): Likewise.
21775         (numbers): Delete.
21776         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21777         __Qp_handle_exceptions.
21778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21779         __Qp_handle_exceptions.
21780         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21781         as unused and give dummy FP_RND_NEAREST initializer.
21782         (FP_INHIBIT_RESULTS): Define.
21783         (___Q_simulate_exceptions): Update declaration.
21784         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21785         formatting.
21786         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21787         as unused and give dummy FP_RND_NEAREST initializer.
21788         (__Qp_handle_exceptions): Update declaration.
21789         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21790         formatting.
21792 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21794         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21795         the temporary FPU control word.
21796         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21797         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21798         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21799         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21800         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21801         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21802         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21803         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21804         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21805         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21806         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21808 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21810         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21811         fields.
21813 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21815         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21816         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21817         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21818         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21819         Likewise.
21820         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21821         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21822         Likewise.
21824 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21826         * po/h.po: Update from translation team.
21828 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21830         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21832         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21833         handling of denormals.
21834         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21835         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21836         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21837         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21838         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21839         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21840         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21841         Likewise.
21843 2012-05-26  Marek Polacek  <polacek@redhat.com>
21845         [BZ #14152]
21846         * math/libm-test.inc (fma_test): Don't always expect underflow
21847         exception.
21849 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21851         [BZ #12416]
21852         * elf/tst-execstack.c: Include stackinfo.h.
21853         (do_test): Adjust test case to ensure that pthread_getattr_np
21854         behaviour remains the same after marking stack executable.
21856 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21858         * sysdeps/unix/sysv/linux/kernel-features.h
21859         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21860         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21861         kernel-features.h.
21862         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21863         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21864         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21865         kernel-features.h.
21866         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21867         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21869 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21871         * configure.in: Define the default includes to being none.
21872         * configure: Regenerated.
21874 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21876         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21877         * sysdeps/x86_64/setjmp.S: Likewise.
21878         * sysdeps/i386/bsd-setjmp.S: Likewise.
21879         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21880         * sysdeps/i386/setjmp.S: Likewise.
21881         * sysdeps/i386/__longjmp.S: Likewise.
21882         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21883         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21885         * include/stap-probe.h: New file.
21886         * configure.in: Handle --enable-systemtap.
21887         * configure: Regenerated.
21888         * config.h.in (USE_STAP_PROBE): New #undef.
21889         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21890         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21891         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21893 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21895         [BZ #13717]
21896         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21897         to 2.4.0 where earlier.
21898         * sysdeps/unix/sysv/linux/configure: Regenerated.
21899         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21900         <kernel-features.h>.
21901         [__ASSUME_32BITUIDS]: Make code unconditional.
21902         [!__ASSUME_32BITUIDS]: Remove conditional code.
21903         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21904         <kernel-features.h>.
21905         [__ASSUME_32BITUIDS]: Make code unconditional.
21906         [!__ASSUME_32BITUIDS]: Remove conditional code.
21907         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21908         [__ASSUME_32BITUIDS]: Make code unconditional.
21909         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21910         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21911         <kernel-features.h>.
21912         [__ASSUME_32BITUIDS]: Make code unconditional.
21913         [!__ASSUME_32BITUIDS]: Remove conditional code.
21914         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21915         <kernel-features.h>.
21916         [__ASSUME_32BITUIDS]: Make code unconditional.
21917         [!__ASSUME_32BITUIDS]: Remove conditional code.
21918         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21919         <kernel-features.h>.
21920         [__ASSUME_32BITUIDS]: Make code unconditional.
21921         [!__ASSUME_32BITUIDS]: Remove conditional code.
21922         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21923         <kernel-features.h>.
21924         [__ASSUME_32BITUIDS]: Make code unconditional.
21925         [!__ASSUME_32BITUIDS]: Remove conditional code.
21926         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21927         <kernel-features.h>.
21928         [__ASSUME_32BITUIDS]: Make code unconditional.
21929         [!__ASSUME_32BITUIDS]: Remove conditional code.
21930         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21931         <kernel-features.h>.
21932         [__ASSUME_32BITUIDS]: Make code unconditional.
21933         [!__ASSUME_32BITUIDS]: Remove conditional code.
21934         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21935         <kernel-features.h>.
21936         [__ASSUME_32BITUIDS]: Make code unconditional.
21937         [!__ASSUME_32BITUIDS]: Remove conditional code.
21938         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21939         <kernel-features.h>.
21940         [__ASSUME_32BITUIDS]: Make code unconditional.
21941         [!__ASSUME_32BITUIDS]: Remove conditional code.
21942         * sysdeps/unix/sysv/linux/i386/msgctl.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/i386/semctl.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/i386/setegid.c: Do not include
21951         <kernel-features.h>.
21952         [__NR_setresgid] (__setresgid): Do not declare.
21953         [__ASSUME_32BITUIDS]: Make code unconditional.
21954         [!__ASSUME_32BITUIDS]: Remove conditional code.
21955         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21956         <kernel-features.h>.
21957         [__NR_setresuid] (__setresuid): Do not declare.
21958         [__ASSUME_32BITUIDS]: Make code unconditional.
21959         [!__ASSUME_32BITUIDS]: Remove conditional code.
21960         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21961         <kernel-features.h>.
21962         [__ASSUME_32BITUIDS]: Make code unconditional.
21963         [!__ASSUME_32BITUIDS]: Remove conditional code.
21964         * sysdeps/unix/sysv/linux/i386/setfsuid.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/i386/setgid.c: Do not include
21969         <kernel-features.h>.
21970         [__ASSUME_32BITUIDS]: Make code unconditional.
21971         [!__ASSUME_32BITUIDS]: Remove conditional code.
21972         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21973         <kernel-features.h>.
21974         [__ASSUME_32BITUIDS]: Make code unconditional.
21975         [!__ASSUME_32BITUIDS]: Remove conditional code.
21976         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21977         <kernel-features.h>.
21978         [__ASSUME_32BITUIDS]: Make code unconditional.
21979         [!__ASSUME_32BITUIDS]: Remove conditional code.
21980         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21981         <kernel-features.h>.
21982         [__ASSUME_32BITUIDS]: Make code unconditional.
21983         [!__ASSUME_32BITUIDS]: Remove conditional code.
21984         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21985         <kernel-features.h>.
21986         [__ASSUME_32BITUIDS]: Make code unconditional.
21987         [!__ASSUME_32BITUIDS]: Remove conditional code.
21988         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21989         <kernel-features.h>.
21990         [__ASSUME_32BITUIDS]: Make code unconditional.
21991         [!__ASSUME_32BITUIDS]: Remove conditional code.
21992         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21993         <kernel-features.h>.
21994         [__ASSUME_32BITUIDS]: Make code unconditional.
21995         [!__ASSUME_32BITUIDS]: Remove conditional code.
21996         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21997         <kernel-features.h>.
21998         [__ASSUME_32BITUIDS]: Make code unconditional.
21999         [!__ASSUME_32BITUIDS]: Remove conditional code.
22000         * sysdeps/unix/sysv/linux/kernel-features.h
22001         (__ASSUME_SETRESUID_SYSCALL): Remove.
22002         (__ASSUME_SETRESGID_SYSCALL): Likewise.
22003         (__ASSUME_32BITUIDS): Likewise.
22004         (__ASSUME_LDT_WORKS): Likewise.
22005         (__ASSUME_O_DIRECTORY): Likewise.
22006         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22007         architecture but not kernel version.
22008         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22009         (__ASSUME_MMAP2_SYSCALL): Likewise.
22010         (__ASSUME_STAT64_SYSCALL): Likewise.
22011         (__ASSUME_IPC64): Likewise.
22012         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22013         <kernel-features.h>.
22014         [__ASSUME_32BITUIDS]: Make code unconditional.
22015         [!__ASSUME_32BITUIDS]: Remove conditional code.
22016         * sysdeps/unix/sysv/linux/opendir.c: Do not include
22017         <kernel-features.h>.
22018         [__ASSUME_O_DIRECTORY]: Make code unconditional.
22019         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22020         132096]: Remove conditional code.
22021         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22022         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22023         <kernel-features.h>.
22024         [__ASSUME_32BITUIDS]: Make code unconditional.
22025         [!__ASSUME_32BITUIDS]: Remove conditional code.
22026         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22027         <kernel-features.h>.
22028         [__ASSUME_32BITUIDS]: Make code unconditional.
22029         [!__ASSUME_32BITUIDS]: Remove conditional code.
22030         * sysdeps/unix/sysv/linux/setegid.c: Do not include
22031         <kernel-features.h>.
22032         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22033         unconditional.
22034         (__setresgid): Do not declare.
22035         [__ASSUME_32BITUIDS]: Make code unconditional.
22036         [!__ASSUME_32BITUIDS]: Remove conditional code.
22037         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22038         <kernel-features.h>.
22039         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22040         unconditional.
22041         (__setresuid): Do not declare.
22042         [__ASSUME_32BITUIDS]: Make code unconditional.
22043         [!__ASSUME_32BITUIDS]: Remove conditional code.
22044         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22045         <kernel-features.h>.
22046         [__ASSUME_32BITUIDS]: Make code unconditional.
22047         [!__ASSUME_32BITUIDS]: Remove conditional code.
22048         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22049         <kernel-features.h>.
22050         [__ASSUME_32BITUIDS]: Make code unconditional.
22051         [!__ASSUME_32BITUIDS]: Remove conditional code.
22053 2012-05-25  Richard Henderson  <rth@twiddle.net>
22055         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22056         dl_hwcap to ifunc resolver.
22057         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22058         elf_ifunc_invoke.
22059         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22060         dl_hwcap to ifunc resolver.
22061         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22063 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22065         [BZ #14153]
22066         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22067         for |x| <= 2**-26, not 2**-57.
22068         * math/libm-test.inc (acos_test): Do not allow spurious underflow
22069         exception.
22071 2012-05-24  Jeff Law  <law@redhat.com>
22073         * stdio-common/Makefile (tests): Add bug25.
22074         * stdio-common/bug25.c: New test.
22076 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22078         [BZ #13576]
22079         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22080         multiple of MALLOC_ALIGNMENT in size.
22081         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22083 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22085         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22086         Require >= 256.
22087         (FILENAME_MAX): Use macro-int-constant.
22088         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
22089         (_IOFBF): Use macro-int-constant.
22090         (_IOLBF): Likewise.
22091         (_IONBF): Likewise.
22092         (SEEK_CUR): Likewise.
22093         (SEEK_END): Likewise.
22094         (SEEK_SET): Likewise.
22095         (TMP_MAX): Likewise.
22096         (EOF): Use macro-int-constant.  Require < 0.
22097         (NULL): Use macro-constant.  Require == 0.
22098         (stdin): Require type to be FILE *.
22099         (stdout): Likewise.
22100         (stderr): Likewise.
22101         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22102         macro-int-constant.
22103         (EXIT_SUCCESS): Likewise.
22104         (NULL): Use macro-constant.  Require == 0.
22105         (RAND_MAX): Use macro-int-constant.
22106         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22107         [C99-based standards] (strtof): Require function.
22108         [C99-based standards] (strtold): Likewise.
22109         [C99-based standards] (strtoll): Likewise.
22110         [C99-based standards] (strtoull): Likewise.
22111         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22112         [ISO || ISO99 || ISO11] (limits.h): Likewise.
22113         [ISO || ISO99 || ISO11] (math.h): Likewise.
22114         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22115         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22116         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22118 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
22120         [BZ #14132]
22121         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22122         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22123         * intl/dgettext.c (DCGETTEXT): Likewise.
22124         * intl/gettext.c (DCGETTEXT): Likewise.
22125         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22126         * posix/regex_internal.h (gettext): Likewise.
22127         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22128         Remove declaration.
22129         * include/argz.h (__argz_count_internal)
22130         (__argz_stringify_internal): Remove declaration.
22131         (__argz_count, __argz_stringify): Declare hidden proto.
22132         * intl/dcgettext.c: Remove use of INTDEF.
22133         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22134         * string/argz-stringify.c: Likewise.
22135         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22136         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22137         Declare hidden proto.
22138         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22139         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22140         Declare hidden proto.
22141         * include/stdio.h (__asprintf_internal): Don't declare.
22142         (__asprintf): Don't define as macro.  Declare hidden proto.
22143         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22144         (__fsetlocking): Declare hidden proto.
22145         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22146         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22147         hidden proto.
22148         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22149         (_IO_setlinebuf): Remove use of INTUSE.
22150         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22151         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22152         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22153         Remove declaration.
22154         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22155         (_IO_do_flush): Remove use of INTUSE.
22156         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22157         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22158         (_IO_adjust_column, _IO_least_wmarker)
22159         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22160         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22161         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22162         (_IO_default_doallocate, _IO_wdefault_doallocate)
22163         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22164         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22165         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22166         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22167         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22168         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22169         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22170         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22171         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22172         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22173         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22174         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22175         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22176         proto.
22177         (_IO_flush_all_internal, _IO_adjust_column_internal)
22178         (_IO_default_uflow_internal, _IO_default_finish_internal)
22179         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22180         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22181         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22182         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22183         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22184         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22185         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22186         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22187         (_IO_file_close_internal, _IO_file_close_it_internal)
22188         (_IO_file_underflow_internal, _IO_file_overflow_internal)
22189         (_IO_file_init_internal, _IO_file_attach_internal)
22190         (_IO_file_fopen_internal, _IO_file_read_internal)
22191         (_IO_file_sync_internal, _IO_file_seek_internal)
22192         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22193         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22194         (_IO_str_underflow_internal, _IO_str_overflow_internal)
22195         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22196         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22197         (_IO_list_all_internal, _IO_link_in_internal)
22198         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22199         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22200         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22201         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22202         (_IO_do_write_internal, _IO_padn_internal)
22203         (_IO_getline_info_internal, _IO_getline_internal)
22204         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22205         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22206         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22207         (_IO_vfscanf_internal, _IO_vfprintf_internal)
22208         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22209         (_IO_init_internal, _IO_un_link_internal): Don't declare.
22210         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22211         with libc_hidden_ver, remove use of INTUSE.
22212         * libio/genops.c: Likewise.
22213         * libio/freopen.c: Likewise.
22214         * libio/freopen64.c: Likewise.
22215         * libio/iofclose.c: Likewise.
22216         * libio/iofdopen.c: Likewise.
22217         * libio/iofflush.c: Likewise.
22218         * libio/iofflush_u.c: Likewise.
22219         * libio/iofgets.c: Likewise.
22220         * libio/iofgets_u.c: Likewise.
22221         * libio/iofopen.c: Likewise.
22222         * libio/iofopncook.c: Likewise.
22223         * libio/iofread.c: Likewise.
22224         * libio/iofread_u.c: Likewise.
22225         * libio/ioftell.c: Likewise.
22226         * libio/iofwrite.c: Likewise.
22227         * libio/iogetline.c: Likewise.
22228         * libio/iogets.c: Likewise.
22229         * libio/iogetwline.c: Likewise.
22230         * libio/iopadn.c: Likewise.
22231         * libio/iopopen.c: Likewise.
22232         * libio/ioseekoff.c: Likewise.
22233         * libio/ioseekpos.c: Likewise.
22234         * libio/iosetbuffer.c: Likewise.
22235         * libio/iosetvbuf.c: Likewise.
22236         * libio/ioungetc.c: Likewise.
22237         * libio/ioungetwc.c: Likewise.
22238         * libio/iovdprintf.c: Likewise.
22239         * libio/iovsprintf.c: Likewise.
22240         * libio/iovsscanf.c: Likewise.
22241         * libio/memstream.c: Likewise.
22242         * libio/obprintf.c: Likewise.
22243         * libio/oldfileops.c: Likewise.
22244         * libio/oldiofclose.c: Likewise.
22245         * libio/oldiofdopen.c: Likewise.
22246         * libio/oldiofopen.c: Likewise.
22247         * libio/oldiopopen.c: Likewise.
22248         * libio/oldstdfiles.c: Likewise.
22249         * libio/putc.c: Likewise.
22250         * libio/setbuf.c: Likewise.
22251         * libio/setlinebuf.c: Likewise.
22252         * libio/stdfiles.c: Likewise.
22253         * libio/strops.c: Likewise.
22254         * libio/vasprintf.c: Likewise.
22255         * libio/vscanf.c: Likewise.
22256         * libio/vsnprintf.c: Likewise.
22257         * libio/vswprintf.c: Likewise.
22258         * libio/wfiledoalloc.c: Likewise.
22259         * libio/wfileops.c: Likewise.
22260         * libio/wgenops.c: Likewise.
22261         * libio/wmemstream.c: Likewise.
22262         * libio/wstrops.c: Likewise.
22263         * libio/__fpurge.c: Likewise.
22264         * libio/__fsetlocking.c: Likewise.
22265         * assert/assert.c: Likewise.
22266         * debug/fgets_chk.c: Likewise.
22267         * debug/fgets_u_chk.c: Likewise.
22268         * debug/fread_chk.c: Likewise.
22269         * debug/fread_u_chk.c: Likewise.
22270         * debug/gets_chk.c: Likewise.
22271         * debug/obprintf_chk.c: Likewise.
22272         * debug/vasprintf_chk.c: Likewise.
22273         * debug/vdprintf_chk.c: Likewise.
22274         * debug/vsnprintf_chk.c: Likewise.
22275         * debug/vsprintf_chk.c: Likewise.
22276         * malloc/mtrace.c: Likewise.
22277         * misc/error.c: Likewise.
22278         * misc/syslog.c: Likewise.
22279         * stdio-common/asprintf.c: Likewise.
22280         * stdio-common/fxprintf.c: Likewise.
22281         * stdio-common/getw.c: Likewise.
22282         * stdio-common/isoc99_fscanf.c: Likewise.
22283         * stdio-common/isoc99_scanf.c: Likewise.
22284         * stdio-common/isoc99_vfscanf.c: Likewise.
22285         * stdio-common/isoc99_vscanf.c: Likewise.
22286         * stdio-common/isoc99_vsscanf.c: Likewise.
22287         * stdio-common/printf-prs.c: Likewise.
22288         * stdio-common/printf_fp.c: Likewise.
22289         * stdio-common/printf_fphex.c: Likewise.
22290         * stdio-common/printf_size.c: Likewise.
22291         * stdio-common/putw.c: Likewise.
22292         * stdio-common/scanf.c: Likewise.
22293         * stdio-common/sprintf.c: Likewise.
22294         * stdio-common/tmpfile.c: Likewise.
22295         * stdio-common/vfprintf.c: Likewise.
22296         * stdio-common/vfscanf.c: Likewise.
22297         * stdlib/strfmon_l.c: Likewise.
22298         * sunrpc/openchild.c: Likewise.
22299         * sunrpc/xdr_stdio.c: Likewise.
22300         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22301         * sysdeps/mach/hurd/tmpfile.c: Likewise.
22303 2012-05-24  Roland McGrath  <roland@hack.frob.com>
22305         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22307         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22308         in the third column, to generate for the shared library an IFUNC
22309         that uses _dl_vdso_vsym.
22310         * Makerules (COMPILE.c, compile-stdin.c): New variables.
22311         * Makeconfig (object-suffixes-noshared): New variable.
22313         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22314         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22315         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22316         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22318         [BZ #14132]
22319         * include/sys/time.h (__gettimeofday): Remove macro.
22320         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22321         * time/gettimeofday.c (__gettimeofday): Remove #undef.
22322         Remove INTDEF.
22323         (__gettimeofday): Add libc_hidden_def.
22324         (gettimeofday): Add libc_hidden_weak.
22325         * sysdeps/mach/gettimeofday.c: Likewise.
22326         * sysdeps/posix/gettimeofday.c: Likewise.
22327         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22328         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22329         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22330         (__gettimeofday_internal): Remove strong_alias.
22331         (__gettimeofday): Add libc_hidden_def.
22332         (gettimeofday): Add libc_hidden_weak.
22333         * sysdeps/unix/syscalls.list (gettimeofday):
22334         Remove __gettimeofday_internal alias.
22336 2012-05-24  Daniel Jacobowitz  <drow@false.org>
22337             H.J. Lu  <hongjiu.lu@intel.com>
22339         [BZ #12495]
22340         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22341         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22342         (largebin_index_32_big): New.
22343         (largebin_index): Use it for 16-byte alignment.
22344         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
22345         correction with front_misalign.
22347 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
22349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22351         Likewise.
22352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22353         Likewise.
22354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22355         Likewise.
22356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22357         Likewise.
22358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22359         Likewise.
22360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22361         Likewise.
22362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22363         Likewise.
22364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22365         Likewise.
22366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22367         Likewise.
22368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22369         Likewise.
22370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22371         Likewise.
22372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22373         Likewise.
22375         * scripts/data/c++-types-x32-linux-gnu.data: New file.
22376         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22378 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
22380         [BZ #10846]
22381         [BZ #14036]
22382         * math/libm-test.inc (exp_test): Add test from bug 14036.
22383         (pow_test): Add test from bug 10846.
22385         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22386         and other flags.
22387         (special_function): Do not include flags in test name.
22388         (parse_args): Likewise.
22389         * sysdeps/i386/fpu/libm-test-ulps: Update.
22390         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22391         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22392         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22395         * math/gen-libm-test.pl (%beautify): Add entries for underflow
22396         exceptions.
22397         * math/libm-test.inc ("Philosophy"): Update comment about
22398         exception testing.
22399         (UNDERFLOW_EXCEPTION): New macro.
22400         (UNDERFLOW_EXCEPTION_OK): Likewise.
22401         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22402         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22403         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22404         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22405         (INVALID_EXCEPTION_OK): Update value.
22406         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22407         (OVERFLOW_EXCEPTION_OK): Likewise.
22408         (IGNORE_ZERO_INF_SIGN): Likewise.
22409         (test_exceptions): Handle underflow exceptions.
22410         (acos_test): Update for underflow exception expectations.
22411         (cexp_test): Likewise.
22412         (clog_test): Likewise.
22413         (clog10_test): Likewise.
22414         (csqrt_test): Likewise.
22415         (ctan_test): Likewise.
22416         (ctanh_test): Likewise.
22417         (exp_test): Likewise.
22418         (exp10_test): Likewise.
22419         (exp2_test): Likewise.
22420         (expm1_test): Likewise.
22421         (fma_test): Likewise.
22422         (j0_test): Likewise.
22423         (jn_test): Likewise.
22424         (nexttoward_test): Likewise.
22425         (pow_test): Likewise.
22426         (scalbn_test): Likewise.
22427         (scalbln_test): Likewise.
22428         (tan_test): Likewise.
22429         (y1_test): Likewise.
22430         * sysdeps/i386/fpu/libm-test-ulps: Update.
22431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22433 2012-05-23  David S. Miller  <davem@davemloft.net>
22435         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22436         (__libc_sigaction): Remove unused local variables.
22438 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22440         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22442 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22444         mktime: avoid signed integer overflow
22445         * time/mktime.c (__mktime_internal): Do not mishandle the case
22446         where diff == INT_MIN.
22448         mktime: simplify computation of average
22449         * time/mktime.c (ranged_convert): Use new time_t_avg function
22450         instead of rolling our own (probably-slower) code.
22452         mktime: do not assume signed right shift propagates sign bit
22453         * time/mktime.c (isdst_differ): New static function.
22454         (__mktime_internal): No need to normalize tm_isdst now.
22455         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22456         tm_isdst values.
22458         mktime: merge another wrapv change from gnulib
22459         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22460         from some compilers.
22462         mktime: remove incorrect attempt at unusual arithmetics
22463         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22464         The code didn't really work on such machines anyway.
22465         (TYPE_MINIMUM): Assume two's complement.
22466         (twos_complement_arithmetic): Verify that long_int and time_t
22467         are two's complement (or unsigned, in the latter case).
22469         mktime: check signed shifts on long_int and time_t, too
22470         * time/mktime.c (SHR): Check that shifts work as desired
22471         on the types long_int and time_t too, as SHR is used on
22472         such types.
22474         mktime: do not assume 'long' is wide enough
22475         * time/mktime.c (verify): Move decl up.
22476         (long_int): New type.
22477         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22478         to remove assumption in the code that 'long' is wide enough to
22479         store year values.  This assumption is not true on x32 and on
22480         some non-glibc platforms.
22482         mktime: merge wrapv change from gnulib
22483         * time/mktime.c (WRAPV): New macro.
22484         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22485         (guess_time_tm, __mktime_internal): Do not assume that signed
22486         integer overflow wraps around; modern compilers generate code
22487         where this assumption is no longer valid.
22489 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22491         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22492         Replace "jmp L(pseudo_end)" with "ret".
22493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22494         Likewise.
22496 2012-05-23  Andreas Jaeger  <aj@suse.de>
22498         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22499         * sysdeps/unix/sysv/linux/poll.c: Remove file.
22501 2012-05-23  Andreas Jaeger  <aj@suse.de>
22502             Maximilian Attems  <max@stro.at>
22504         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22505         New macros.
22507 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
22509         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22510         code so that pseudo_end is just ret and the stack pointer is
22511         correct also for static library in error case.
22513 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
22515         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22516         move to syscalls.list.
22517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22522         * manual/install.texi (Running make install): Do not mention Linux
22523         kernel version for which pt_chown is not needed.
22524         (Linux): Do not mention problems with nscd with 2.0 kernels.
22525         * INSTALL: Regenerated.
22527 2012-05-23  Andreas Jaeger  <aj@suse.de>
22529         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22530         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22531         macro.
22532         * sysdeps/unix/sysv/linux/s390/bits/mman.h
22533         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22534         * sysdeps/unix/sysv/linux/sh/bits/mman.h
22535         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22536         * sysdeps/unix/sysv/linux/i386/bits/mman.h
22537         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22538         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22539         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22540         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22541         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22542         * sysdeps/unix/sysv/linux/bits/in.h
22543         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22545 2012-05-22  Roland McGrath  <roland@hack.frob.com>
22547         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22548         (PREPARE_VERSION): Just use assert instead, it will be elided
22549         under [NDEBUG] anyway.
22551 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22553         * sysdeps/unix/sysv/linux/Makefile: Include
22554         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22555         (sysdep_routines): Remove sysctl.
22556         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22557         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22558         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22559         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22560         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22562 2012-05-22  Andreas Jaeger  <aj@suse.de>
22564         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22565         that pseudo_end is just ret and the stack pointer is correct also
22566         for static library in error case.
22568 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22570         [BZ #14122]
22571         * nss/nsswitch.c (defconfig_entries): New variable.
22572         (__nss_database_lookup): Don't leak defconfig entries.
22573         (nss_parse_service_list): Don't leak on error paths.
22574         (free_database_entries): New function.
22575         (free_defconfig): New function.
22576         (free_mem): Move common code to free_database_entries.
22578 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22580         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22581         Add arch_prctl.
22582         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22584         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22585         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22586         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22587         New macro.
22588         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22589         (INTERNAL_SYSCALL_TYPES): Likewise.
22590         (LOAD_ARGS_TYPES_[1-6]): Likewise.
22591         (LOAD_REGS_TYPES_[1-6]): Likewise.
22592         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22593         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22595 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22597         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22598         copysignl for GLIBC_2_0.
22599         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22600         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22601         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22602         logbl for GLIBC_2_0.
22603         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22604         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22606 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22608         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22609         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22611         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22612         Use "neg %eax".
22614         * time/mktime.c: Update copyright years.
22616 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22618         mktime: merge comment-quoting-style change from gnulib
22619         * time/mktime.c: Quote 'like this' in comments.
22620         The GNU coding standards suggest that we no longer quote `like this',
22621         as "`" and "'" are typically rendered asymmetrically nowadays.
22622         The typical gnulib style is to quote 'like this' when quoting
22623         code, and "like this" when quoting English.
22625         * time/mktime.c (compile-command): Add "-I.".
22627         mktime: merge mktime-internal.h change from gnulib
22628         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22630         mktime: merge time_r change from gnulib
22631         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22633         mktime: merge DEBUG change from gnulib
22634         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22635         case system <time.h> has a #define.
22637         mktime: merge <sys/types.h> change from gnulib
22638         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22639         since <time.t> is now guaranteed to define time_t.
22641         mktime: merge HAVE_CONFIG_H change from gnulib
22642         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22644 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22647         Use "neg %eax".
22649         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22650         __rlim_t cast.
22651         (struct rusage): Use anonymous union to pad each field to
22652         __syscall_slong_t.
22654 2012-05-21  David S. Miller  <davem@davemloft.net>
22656         * Makefules (o-iterator): Remove .s cases.
22657         (compile-command.s): Delete.
22658         (COMPILE.s): Delete.
22659         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22661 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
22663         * configure.in (libc_cv_predef_stack_protector): Only consider
22664         "foobar" and "__stack_chk_fail" lines in libc_undefs.
22665         * configure: Regenerated.
22667 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22670         New macro.  Use R*LP on int and pointer.
22671         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22672         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22673         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22674         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22676         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22677         [__WORDSIZE_TIME64_COMPAT32] instead of
22678         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22679         (struct utmp): Likewise.
22680         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22681         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22682         Renamed to ...
22683         (__WORDSIZE_TIME64_COMPAT32): This.
22684         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22685         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22686         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22687         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22688         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22689         (__WORDSIZE_TIME64_COMPAT32): New macro.
22691 2012-05-21  Andreas Jaeger  <aj@suse.de>
22693         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22694         only if [SHARED]. Add prototype for __wcschr_ia32.
22696 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22698         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22699         of %rbp unmolested in the jmp_buf while mangling the low bits.
22700         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22701         unmolested high bits of %rbp while demangling the low bits.
22702         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22704 2012-05-21  Andreas Jaeger  <aj@suse.de>
22706         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22707         * sunrpc/svc_simple.c: Use it for registerrpc.
22708         * sunrpc/xcrypt.c: Use it for passwd2des.
22710         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22712 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22714         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22715         Don't define if [__SYSCALL_WORDSIZE != 32].
22716         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22717         New macro.
22719 2012-05-21  Bruno Haible  <bruno@clisp.org>
22720             Andreas Jaeger  <aj@suse.de>
22722         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22723         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22724         inptr and inend for must_buffer_ch.
22725         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22726         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22727         * stdio-common/Makefile (tests): Remove bug15.
22728         (bug15-ENV): Remove macro.
22729         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22730         anymore.
22732 2012-05-19  Andreas Jaeger  <aj@suse.de>
22733             Roland McGrath  <roland@hack.frob.com>
22735         * manual/contrib.texi: Completely rewritten. It contains now an
22736         alphabetical list of contributors and their contributions.
22738 2012-05-21  Richard Henderson  <rth@twiddle.net>
22740         * misc/getauxval.c (__getauxval): Use unsigned long int.
22741         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22742         (getauxval): Use unsigned long int.
22744 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22746         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22748 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22750         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22751         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22752         __alignof__ (long double).
22754 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22758 2012-05-20  Richard Henderson  <rth@twiddle.net>
22760         * misc/getauxval.c: New file.
22761         * misc/sys/auxv.h: New file.
22762         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22763         (routines): Add getauxval.
22764         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22765         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22766         * elf/dl-sysdep.c (_dl_auxv): Remove.
22767         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22768         * elf/dl-support.c (_dl_auxv): New variable.
22769         (_dl_aux_init): Initialize it.
22770         * manual/startup.texi (Auxiliary Vector): New node.
22771         * sysdeps/generic/bits/hwcap.h: New file.
22772         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22773         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22774         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22775         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22776         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22777         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22779         Update.
22780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22783         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22789 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22793 2012-05-19  David S. Miller  <davem@davemloft.net>
22795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22797 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22799         [BZ #14123]
22800         * math/s_ccosh.c: Include <float.h>
22801         (__ccosh): Avoid internal overflow calculating sinh and cosh
22802         values before multiplying by sin and cos values.
22803         * math/s_ccoshf.c: Likewise.
22804         * math/s_ccoshl.c: Likewise.
22805         * math/s_csin.c: Likewise.
22806         * math/s_csinf.c: Likewise.
22807         * math/s_csinl.c: Likewise.
22808         * math/s_csinh.c: Likewise.
22809         * math/s_csinhf.c: Likewise.
22810         * math/s_csinhl.c: Likewise.
22811         * math/libm-test.inc (ccos_test): Add more tests.
22812         (ccosh_test): Likewise.
22813         (csin_test): Likewise.
22814         (csinh_test): Likewise.
22815         * sysdeps/i386/fpu/libm-test-ulps: Update.
22816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22818 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22820         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22821         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22823         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22825 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22827         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22828         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22829         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22830         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22831         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22832         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22833         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22834         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22835         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22836         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22837         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22838         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22839         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22840         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22841         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22842         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22843         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22844         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22845         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22846         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22847         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22848         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22849         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22850         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22851         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22852         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22853         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22854         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22855         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22856         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22857         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22859 2012-05-18  Andreas Jaeger  <aj@suse.de>
22861         * csu/.gitignore: Delete.
22863 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22865         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22866         (timex): Use __syscall_slong_t.
22868 2012-05-18  Andreas Jaeger  <aj@suse.de>
22869             Carlos O'Donell  <carlos_odonell@mentor.com>
22871         * manual/install.texi (Configuring and compiling): Update
22872         description about files modified in the source directory.
22873         * INSTALL: Regenerated.
22875 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22877         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22878         value.  Use "or" to set return value to -1.
22879         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22880         negate return value.
22882 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22884         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22885         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22886         failure if the compiler has Graphite support disabled.
22887         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22888         Likewise.
22889         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22890         CFLAGS-memmove.c): Likewise.
22891         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22892         Likewise.
22894 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22896         * sysdeps/x86_64/x32/_itoa.h: New file.
22898         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22899         getdents system call only if kernel and user dirents have the
22900         same d_ino and d_off.
22902         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22903         LLONG_MAX != LONG_MAX.
22904         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22905         (_fitoa_word): Likewise.
22907         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22908         years.
22909         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22910         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22911         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22913         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22914         include <bits/wordsize.h>.  Check __x86_64__ instead of
22915         __WORDSIZE.
22916         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22917         if __x86_64__ is defined.  Use anonymous union on fpstate.
22919         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22920         anonymous union.
22922 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22924         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22925         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22926         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22927         Refer to _rtld_local_ro instead of _rtld_global_ro.
22928         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22929         Likewise.
22930         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22931         Likewise.
22932         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22933         Likewise.
22934         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22935         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22936         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22938         * sysdeps/powerpc/powerpc32/dl-machine.c
22939         (__elf_machine_runtime_setup) [PROF]: Don't reference
22940         _dl_prof_resolve.
22942 2012-05-18  Andreas Jaeger  <aj@suse.de>
22944         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22945         function only available for GCCs before 3.4 since GCC 3.4
22946         introduced a builtin.
22947         (lrint): Likewise.
22948         (llrintf): Likewise.
22949         (llrint): Likewise.
22950         (fmaxf): Likewise.
22951         (fmax): Likewise.
22952         (fminf): Likewise.
22953         (fmin): Likewise.
22954         (rint): Likewise.
22955         (rintf): Likewise.
22956         (nearbyint): Likewise.
22957         (nearbyintf): Likewise.
22958         (ceil): Likewise.
22959         (ceilf): Likewise.
22960         (floor): Likewise.
22961         (floorf): Likewise.
22963 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22965         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22966         on both fields and cast pointer to __syscall_ulong_t.
22968         * bits/types.h (__fsword_t): New type.
22969         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22970         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22971         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22972         (__FSWORD_T_TYPE): Likewise.
22973         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22974         (__FSWORD_T_TYPE): Likewise.
22975         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22976         (__FSWORD_T_TYPE): Likewise.
22977         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22978         (__FSWORD_T_TYPE): Likewise.
22979         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22980         __SWORD_TYPE with __fsword_t.
22981         (statfs64): Likewise.
22983 2012-05-17  David S. Miller  <davem@davemloft.net>
22985         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22987 2012-05-17  Andreas Jaeger  <aj@suse.de>
22989         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22990         warning.
22992 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22994         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22996 2012-05-17  Andreas Jaeger  <aj@suse.de>
22998         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22999         when it is used.
23001 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23003         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23005 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
23007         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23008         * sysdeps/x86_64/tst-mallocalign1.c: New file.
23010 2012-05-17  Andreas Jaeger  <aj@suse.de>
23011             Carlos O'Donell  <carlos_odonell@mentor.com>
23013         [BZ #14059]
23014         * sysdeps/x86_64/multiarch/init-arch.h
23015         (bit_YMM_Usable): Rename to...
23016         (bit_AVX_Usable): ... this.
23017         (bit_FMA4_Usable): New macro.
23018         (bit_XMM_state): New macro.
23019         (bit_YMM_state): New macro.
23020         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23021         [__ASSEMBLER__] (index_AVX_Usable): ... this.
23022         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23023         (CPUID_OSXSAVE): New macro.
23024         (CPUID_AVX): New macro.
23025         (CPUID_FMA4): New macro.
23026         (index_YMM_Usable): Rename to...
23027         (index_AVX_Usable): ... this.
23028         (HAS_AVX): Use HAS_ARCH_FEATURE.
23029         (HAS_FMA4): Likewise.
23030         (HAS_YMM_USABLE): Remove.
23031         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23032         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23033         are present.
23034         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23035         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23036         * sysdeps/x86_64/multiarch/Makefile: Likewise.
23037         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23038         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23040 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
23042         * math/libm-test.c: Support platforms without multiple rounding modes.
23043         * math/bug-nextafter.c: Support platforms without FP exceptions.
23044         * math/bug-nexttoward.c: Likewise.
23045         * math/test-fenv.c: Likewise.
23046         * math/test-misc.c: Likewise.
23047         * stdlib/bug-getcontext.c: Likewise.
23049 2012-05-17  Andreas Jaeger  <aj@suse.de>
23051         * manual/examples/search.c (critter_cmp): Change signature to
23052         avoid warnings.
23053         * manual/string.texi (Collation Functions): Likewise.
23055 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23057         * bits/types.h: Fold copyright years.
23058         * bits/typesizes.h: Likewise.
23059         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23061         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23062         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23063         * time/time.h: Likewise.
23065 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
23067         [BZ #208]
23068         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23069         in instead of returning them.  Return void.
23070         (__libc_mallinfo): Accumulate over all arenas.
23071         (__malloc_stats): Adjust for change in int_mallinfo interface.
23073 2012-05-16  Roland McGrath  <roland@hack.frob.com>
23075         [BZ #10375]
23076         * configure.in (NM): Add AC_CHECK_TOOL for it.
23077         (libc_extra_cflags): New substituted variable.
23078         Check for -fstack-protector being used implicitly.
23079         * configure: Regenerated.
23080         * config.make.in (config-extra-cflags): New variable,
23081         gets @libc_extra_cflags@.
23082         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23084         [BZ #10375]
23085         * configure.in: Check for _FORTIFY_SOURCE being predefined.
23086         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23087         * configure: Regenerated.
23088         * config.make.in (CPPUNDEFS): New substituted variable.
23089         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23090         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23091         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23093 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23095         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23096         (mq_attr): Use __syscall_slong_t.
23098 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23100         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23101         Check __x86_64__ instead of __WORDSIZE.
23102         (_STAT_VER_LINUX): Likewise.
23103         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
23104         __syscall_ulong_t and __syscall_slong_t.
23105         (stat64): Likewise.
23107 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23109         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23111 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23113         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23115 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23117         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23118         __syscall_ulong_t.
23120         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23121         include <bits/wordsize.h>.  Check __x86_64__ instead of
23122         __WORDSIZE.
23123         (greg_t): Use "__extension__ long long int" if __x86_64__ is
23124         defined.
23125         (mcontext_t): Replace "unsigned long" with "unsigned long long".
23127         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23128         include <bits/wordsize.h>.  Check __x86_64__ instead of
23129         __WORDSIZE.
23130         (user_regs_struct): Use "__extension__ unsigned long long"
23131         instead of "unsigned long" if __x86_64__ is defined.
23132         (user): Likewise.  Pad after pointer field if __ILP32__ is
23133         defined.
23135 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
23137         * configure.in (makeinfo): Require version 4.5 or later.  Allow
23138         versions 5 to 9.
23139         * configure: Regenerated.
23140         * manual/install.texi (texinfo): Increase version requirement to
23141         4.5 or later.
23142         * INSTALL: Regenerated.
23144         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23146 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
23148         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23150         * sysdeps/x86_64/x32/ffs.c: New file.
23152         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23153         __syscall_ulong_t.
23154         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23155         defined.  Use __syscall_ulong_t.
23156         (shminfo): Use __syscall_ulong_t.
23157         (shm_info): Likewise.
23159         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23160         __syscall_ulong_t.
23162         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23163         <bits/wordsize.h>.
23164         (msgqnum_t): Use __syscall_ulong_t.
23165         (msglen_t): Likewise.
23166         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
23167         __syscall_ulong_t.
23169         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23170         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23172         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23174         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23175         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23177         * sysvipc/sys/msg.h (msgbuf): Replace long int with
23178         __syscall_slong_t.
23180         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23181         include <bits/wordsize.h>.  Check __x86_64__ instead of
23182         __WORDSIZE.
23184         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23185         "unsigned long long int" if __x86_64__ is defined.
23186         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23188         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23189         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23190         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23192         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23193         <stdint.h>.
23194         (GET_PC): Cast to uintptr_t first.
23195         (GET_FRAME): Likewise.
23196         (GET_STACK): Likewise.
23198         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23199         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23200         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23201         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23202         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23203         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23204         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23205         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23206         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23207         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23208         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23209         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23210         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23211         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23212         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23213         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23214         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23215         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23216         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23217         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23218         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23219         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23220         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23221         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23222         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23223         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23224         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23225         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23226         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23228 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
23230         * Makerules (+depfiles): Also collect depfiles from .oS in
23231         $(extra-objs).
23232         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23233         .oS, $(libnldbl-routines)).
23235         * Makerules (native-compile-mkdep-flags): Define.
23236         * sunrpc/Makefile (extra-objs): Add $(addprefix
23237         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23238         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23239         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
23240         calling $(make-target-directory).
23242 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23244         * bits/types.h (__snseconds_t): Removed.
23245         * time/time.h (struct timespec): Replace __snseconds_t with
23246         __syscall_slong_t.
23247         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23248         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23249         Likewise.
23250         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23251         (__SNSECONDS_T_TYPE): Likewise.
23252         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23253         (__SNSECONDS_T_TYPE): Likewise.
23254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23255         (__SNSECONDS_T_TYPE): Likewise.
23257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23259         * sysdeps/mach/hurd/bits/typesizes.h
23260         (__SYSCALL_SLONG_TYPE): New macro.
23261         (__SYSCALL_ULONG_TYPE): Likewise.
23263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23265         * bits/types.h (__syscall_slong_t): New type.
23266         (__syscall_ulong_t): Likewise.
23268         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23269         (__SYSCALL_ULONG_TYPE): Likewise.
23270         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23271         (__SYSCALL_SLONG_TYPE): Likewise.
23272         (__SYSCALL_ULONG_TYPE): Likewise.
23273         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23274         (__SYSCALL_SLONG_TYPE): Likewise.
23275         (__SYSCALL_ULONG_TYPE): Likewise.
23276         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23277         (__SYSCALL_SLONG_TYPE): Likewise.
23278         (__SYSCALL_ULONG_TYPE): Likewise.
23280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23282         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23283         Add sigaltstack-offsets.sym.
23284         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23285         <sigaltstack-offsets.h>.
23286         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
23287         longjmp_msg pointer.
23288         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
23289         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23290         signal stack.
23291         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23293 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23295         * elf/stackguard-macros.h: Remove file.
23296         * sysdeps/generic/stackguard-macros.h: New file.
23297         * sysdeps/i386/stackguard-macros.h: Likewise.
23298         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23299         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23300         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23301         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23302         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23303         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23304         * sysdeps/x86_64/stackguard-macros.h: Likewise.
23305         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23306         <elf/stackguard-macros.h>.
23308         [BZ #14109]
23309         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23310         __aligned__ in attribute.
23311         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23312         (gregset_t): Likewise.
23314 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23316         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23317         * sysdeps/x86_64/64/Implies-after: Here.  New file.
23318         * sysdeps/x86_64/x32/Implies-after: New file.
23320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23322         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23323         and access return value for _dl_profile_fixup.  Use R10_LP to
23324         load frame size.
23326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23328         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23332         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23333         * sysdeps/x86_64/x32/sysdep.h: New file.
23335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23337         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23338         * sysdeps/x86_64/setjmp.S: Likewise.
23340 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23342         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23343         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23344         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23345         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23346         remove unused global constant.
23348 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
23350         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23351         include of <not-cancel.h>.
23353 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23355         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23357 2012-05-15  Jeff Law  <law@redhat.com>
23358             Andreas Jaeger  <aj@suse.de>
23360         [BZ #13594]
23361         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23362         out from...
23363         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23364         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23365         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23366         code changing __hst_map_handle.map.
23368 2012-05-15  Roland McGrath  <roland@hack.frob.com>
23370         * configure.in (sysnames): Look for Implies-before and Implies-after
23371         files.
23372         * configure: Regenerated.
23374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23376         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23377         8-byte data alignment with LP_SIZE alignment.
23379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23381         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23382         into R10_LP.
23384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23386         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23390         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23391         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23392         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23393         Likewise.
23394         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23398         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23399         (stackinfo_sub_sp): Likewise.
23401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23403         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23404         RAX_LP.
23406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23408         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23409         into R*_LP.
23411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23413         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23414         sizes into R*_LP.
23416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23418         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23422         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23423         into R11_LP and load __x86_64_shared_cache_size_half into
23424         R8_LP.
23426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
23428         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23429         R8_LP.
23431 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23433         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23434         logb for POWER7.
23435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23436         logbf for POWER7.
23437         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23438         logbl for POWER7.
23439         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23440         powerpc32/power7/fpu/s_logb.c via #include.
23441         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23442         powerpc32/power7/fpu/s_logbf.c via #include.
23443         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23444         powerpc32/power7/fpu/s_logbl.c via #include.
23446 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
23448         * README.libm: Remove file.
23450 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23452         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23453         count for x32.  Use R*_LP and omit operand-size suffix.
23455 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23457         * shlib-versions: Move x86_64-.*-linux.* entries to ...
23458         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
23459         * sysdeps/x86_64/x32/shlib-versions: New file.
23461 2012-05-14  Roland McGrath  <roland@hack.frob.com>
23463         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23464         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23465         Use _dl_fatal_printf instead.
23467 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23469         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23470         set if not set by the user.  Do not allow for being unset.
23471         * sysdeps/unix/sysv/linux/configure: Regenerated.
23473 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23475         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23476         the `q' suffix from lea and replace .quad with ASM_ADDR.
23478 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23480         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23481         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
23482         instead of $17.
23483         (PTR_DEMANGLE): Likewise.
23485 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23487         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23488         (LP_OP): Likewise.
23489         (ASM_ADDR): Likewise.
23490         (RAX_LP): Likewise.
23491         (RBP_LP): Likewise.
23492         (RBX_LP): Likewise.
23493         (RCX_LP): Likewise.
23494         (RDI_LP): Likewise.
23495         (RSI_LP): Likewise.
23496         (RSP_LP): Likewise.
23497         (R8_LP): Likewise.
23498         (R9_LP): Likewise.
23499         (R10_LP): Likewise.
23500         (R10_LP): Likewise.
23501         (R11_LP): Likewise.
23502         (R12_LP): Likewise.
23503         (R13_LP): Likewise.
23504         (R14_LP): Likewise.
23505         (R15_LP): Likewise.
23507 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23509         * sysdeps/x86_64/x32/dl-machine.h: New file.
23511 2012-05-14  Andreas Jaeger  <aj@suse.de>
23513         * manual/Makefile (subdir): Remove export of subdir.
23514         (all): Remove target.
23515         (.PHONY): Remove all from list.
23516         (mkinstalldirs): Remove.
23517         (.PHONY): Remove installdirs from list.
23518         ($(inst_infodir)/libc.info): Use make-target-directory.
23519         (installdirs): Remove.
23520         (subdir_%): Remove.
23521         (glibc-targets): Remove.
23522         (lib): Remove.
23523         (stubs): Remove.
23524         ($(objpfx)stubs ../po/manual.pot): Remove.
23525         ($(objpfx)stamp%): Remove.
23526         (make-target-directory): Remove.
23527         (subdir_install): Remove.
23528         (routines): Remove.
23529         (aux): Remove.
23530         (sources): Remove.
23531         (objects): Remove.
23532         (headers): Remove.
23534         [BZ #13750]
23535         * manual/.gitignore: Remove, it's not needed anymore.
23536         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23537         all files in it.
23538         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23539         directory.
23540         (texis): Renamed to $(objpfx)texis.
23541         (texis-path): New, contains path to generated files.
23542         (chapters.%): Use texis-path for complete path, add extra argument
23543         libc-texinfo.sh.
23544         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23545         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23546         (summary,texi, stamp-summary): Use complete path of
23547         files. Generate files in build dir.
23548         (dir-add.texi): Build in build dir.
23549         (libm-err.texi,stamp-libm-err): Likewise.
23550         (version.texi, stamp-version): Likewise.
23551         (.%c.texi): Likewise.
23552         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23553         (mostlyclean): Remove target.
23554         (realclean): Remove target.
23555         (generated): Add new variable with contents from mostlyclean and
23556         realclean, remove entries duplicated in common-mostlyclean, add
23557         stamp-libm-err and stamp-version.
23558         (generated-dirs): Add libc directory.
23559         ($(inst_infodir)/libc.info): Install files from build dir.
23561         * manual/install.texi (Configuring and compiling): Adjust since
23562         the info files are not part of the tar ball anymore.
23564 2012-05-14  Andreas Jaeger  <aj@suse.de>
23566         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23567         variable.
23569 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
23571         [BZ #13717]
23572         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23573         to 2.2.0 where earlier.
23574         * sysdeps/unix/sysv/linux/configure: Regenerated.
23575         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23576         Remove conditional code.
23577         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23578         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23579         Remove conditional code.
23580         [!__NR_lchown]: Likewise.
23581         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23582         [__NR_lchown]: Likewise.
23583         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23584         comment referencing __ASSUME_LCHOWN_SYSCALL.
23585         * sysdeps/unix/sysv/linux/i386/sigaction.c
23586         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23587         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23588         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23589         Remove conditional code.
23590         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23591         (__protocol_available): Remove #if 0 code.
23592         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23593         conditional code.
23594         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23595         * sysdeps/unix/sysv/linux/kernel-features.h
23596         (__ASSUME_GETCWD_SYSCALL): Don't define.
23597         (__ASSUME_REALTIME_SIGNALS): Likewise.
23598         (__ASSUME_PREAD_SYSCALL): Likewise.
23599         (__ASSUME_PWRITE_SYSCALL): Likewise.
23600         (__ASSUME_POLL_SYSCALL): Likewise.
23601         (__ASSUME_LCHOWN_SYSCALL): Likewise.
23602         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23603         non-SPARC.
23604         (__ASSUME_SIOCGIFNAME): Don't define.
23605         (__ASSUME_MSG_NOSIGNAL): Likewise.
23606         (__ASSUME_SENDFILE): Define unconditionally.
23607         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23608         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23609         conditional code.
23610         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23611         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23612         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23613         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23614         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23615         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23616         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23618         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23619         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23621         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23622         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23624         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23625         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23627         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23628         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23630         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23631         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23633         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23634         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23636         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23637         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23639         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23640         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23641         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23642         Remove conditional code.
23643         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23644         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23645         Remove conditional code.
23646         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23647         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23648         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23649         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23650         Remove conditional code.
23651         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23652         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23653         Remove conditional code.
23654         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23655         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23656         Remove conditional code.
23657         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23658         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23659         Remove conditional code.
23660         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23661         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23662         Remove conditional code.
23663         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23664         * sysdeps/unix/sysv/linux/sh/pwrite64.c
23665         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23666         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23667         * sysdeps/unix/sysv/linux/sigaction.c
23668         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23669         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23670         * sysdeps/unix/sysv/linux/sigpending.c
23671         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23672         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23673         * sysdeps/unix/sysv/linux/sigprocmask.c
23674         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23675         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23676         * sysdeps/unix/sysv/linux/sigsuspend.c
23677         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23678         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23679         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23680         (__libc_missing_rt_sigs): Remove.
23681         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23682         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23683         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23684         Remove conditional code.
23685         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23686         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23687         return 1.
23688         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23689         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23690         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23691         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23693 2012-05-14  Andreas Jaeger  <aj@suse.de>
23695         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23696         it's not used in glibc.
23697         (__coshm1): Likewise.
23698         (__acosh1p): Likewise.
23699         (__sgn): Likewise.
23701         * manual/string.texi (Copying and Concatenation): Add missing
23702         variable in concat example.
23703         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23705 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23707         [BZ #14103]
23708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23709         __builtin_clzl with __builtin_clzll.
23711 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23713         [BZ #14104]
23714         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23715         libc_freeres_ptr.
23717 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23719         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23720         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23721         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23722         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23724 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23726         * NEWS: Update ia64 info.
23728 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23730         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23731         used as bcopy.
23733 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23735         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23736         * sysdeps/unix/syscalls.list (dup3): Likewise.
23737         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23738         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23740 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23742         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23743         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23745 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23747         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23748         thread pointer.
23749         (TLS_IE): Use mov/add instead of movq/addq to load thread
23750         pointer.
23751         (TLS_GD_PREFIX): New.
23752         (TLS_GD): Use it.
23754 2012-05-11  David S. Miller  <davem@davemloft.net>
23756         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23757         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23758         (_FPU_SETCW): Likewise.
23760 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23762         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23763         is 32-byte aligned.
23765 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23767         [BZ #11837]
23768         * iconvdata/gb18030.c: Update tables.
23769         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23770         characters specially.
23771         (BODY for TO_LOOP): Add encoding of missing ranges.
23773 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23775         [BZ #13673]
23776         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23777         * sysdeps/mach/hurd/dup3.c: Likewise.
23778         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23779         * sysdeps/powerpc/memmove.c:: Likewise.
23781 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23783         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23784         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23786 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23788         * elf/elf.h (R_X86_64_RELATIVE64): New.
23789         (R_X86_64_NUM): Updated.
23790         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23791         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23792         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23793         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23794         tst-quad1pie tst-quad2pie
23795         (modules-names): Add tst-quadmod1 tst-quadmod2.
23796         ($(objpfx)tst-quad1): New dependency.
23797         ($(objpfx)tst-quad2): Likewise.
23798         ($(objpfx)tst-quad1pie): Likewise.
23799         ($(objpfx)tst-quad2pie): Likewise.
23800         * sysdeps/x86_64/tst-quad1.c: New file.
23801         * sysdeps/x86_64/tst-quad1pie.c: New file.
23802         * sysdeps/x86_64/tst-quad2.c: Likewise.
23803         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23804         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23805         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23806         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23807         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23809 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23811         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23812         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23813         * streams/stropts.h (t_scalar_t): Define type.
23815         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23816         (_PATH_PRESERVE): Set to "/var/lib".
23817         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23819         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23820         instead of int.
23822         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23823         if __dir_mkfile succeeded.
23825         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23826         checking for _hurd_dtablesize.  Unlock it right after having
23827         finished _hurd_dtable allocation.
23829 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23831         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23832         * sysdeps/mach/hurd/configure: Regenerated.
23833         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23834         special-casing to...
23835         * sysdeps/gnu/configure.in: ... this new file.
23836         * sysdeps/unix/sysv/linux/configure: Regenerated.
23837         * sysdeps/gnu/configure: New generated file.
23839         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23840         for Linux: use nsec instead of usec, as well as:
23841         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23842         members of type struct timespec.
23843         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23844         New macros.
23845         (struct stat64): Likewise.
23846         (_STATBUF_ST_NSEC): New macro.
23847         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23849         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23850         __strtoul_internal rather than strtoul.
23852 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23854         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23855         and reject them.
23857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23859         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23860         which preserves existing values.
23861         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23863 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23865         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23866         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23867         greater than FD_SETSIZE.
23869 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23871         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23872         allocated, call __vm_protect to finish enabling the existing space, and
23873         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23874         allocate the remainder.
23876 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23878         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23879         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23881 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23883         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23884         sysdeps/mach/hurd/readlink.c.
23886         * posix/tst-sysconf.c (posix_options): Only use
23887         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23888         _POSIX_SYNCHRONIZED_IO when they are defined
23889         * sysdeps/mach/hurd/bits/posix_opt.h:
23890         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23891         (_XOPEN_REALTIME): Undefine macro.
23892         (_XOPEN_REALTIME_THREADS): Undefine macro.
23893         (_XOPEN_SHM): Undefine macro.
23894         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23895         macro to -1.
23896         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23897         macro to -1.
23898         (_POSIX_ASYNC_IO): Undefine macro.
23899         (_POSIX_PRIORITIZED_IO): Undefine macro.
23900         (_POSIX_SPIN_LOCKS): Define macro to -1.
23902         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23903         SA_NODEFER, SA_RESETHAND.
23904         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23905         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23906         F_DUPFD_CLOEXEC.
23908 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23910         * elf/Makefile (pldd-modules): Define unconditionally.
23912 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23914         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23916 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23918         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23919         Return ENOENT when name is empty.
23920         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23922 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23924         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23926         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23928 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23930         Fix mlock in all cases except non-readable pages.
23931         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23932         instead of VM_PROT_ALL as parameter to __vm_wire function.
23934         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23935         (__mkdir): When path is `/', just fail with EEXIST.
23936         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23938 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23940         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23941         <sys/uio.h> (for writev).
23942         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23943         and <sys/param.h> (for MIN).
23945 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23947         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23948         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23949         if interrupted.
23951 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23953         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23954         Depend on against $(link-rpcuserlibs).
23956 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23958         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23959         (__libc_stack_end): Do not use attribute_relro.
23960         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23961         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23962         to libthread-provided value.
23963         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23964         attribute_relro.
23966 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23968         [BZ #3748]
23969         * bits/libc-lock.h (__libc_once_get): New macro.
23970         * sysdeps/mach/bits/libc-lock.h: Likewise.
23971         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23972         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23973         instead of using implementation details.
23975         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23976         * libio/freopen.c: Likewise.
23977         * libio/freopen64.c: Likewise.
23978         * misc/syslog.c: Likewise.
23979         * nscd/connections.c: Likewise.
23980         * nscd/netgroupcache.c: Likewise.
23981         * sysdeps/posix/getcwd.c: Likewise.
23983 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23985         * math/w_ilogbf.c: Add #include <limits.h>.
23987 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23989         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23990         path instead of returning without unlocking.
23992         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23993         immediate-write ioctls.
23994         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23996 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23998         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23999         __builtin_frame_address instead of making assumptions about the
24000         location of the return address relative to DATA.  Force early load of
24001         the return address.
24002         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24003         __builtin_frame_address.
24005         dup3 for GNU Hurd.
24006         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24007         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
24008         implement dup3 and do some further code clean-ups.
24009         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24010         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24012 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24014         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24016         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24017         HURD_CRITICAL_END around holding _hurd_dtable_lock.
24018         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24019         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24020         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24021         d->port.lock.
24023         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24024         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
24025         when handler == SIG_ERR, not when handler != SIG_ERR.
24027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24029         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24030         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24031         definitions.
24033         accept4 for GNU Hurd.
24034         * include/sys/socket.h (__libc_accept4): New prototype.
24035         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
24036         to implement __libc_accept4.
24037         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24038         __libc_accept4.
24039         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24041         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24042         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24043         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24044         signal-defines.sym.
24046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24048         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24050 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24052         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24053         assertion on O_CLOEXEC flag.
24054         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24055         * hurd/intern-fd.c: Likewise.
24056         * hurd/port2fd.c: Likewise.
24058 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24060         [BZ #3906]
24061         * bits/in.h (IPV6_PKTINFO): Define new macro.
24062         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24064 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24066         [BZ #13954]
24067         [BZ #13955]
24068         [BZ #13956]
24069         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24070         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24071         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24072         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24073         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24074         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24075         * math/libm-test.inc (logb_test) : Additional logb tests.
24077 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
24078             Andreas Jaeger  <aj@suse.de>
24080         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24081         * configure: Regenerated.
24082         * config.h.in (LINK_OBSOLETE_RPC): New macro.
24083         * config.make.in (link-obsolete-rpc): New substituted variable.
24084         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24085         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24086         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24087         (shared-only-routines): Don't set it under [link-obsolete-rpc],
24088         so that libc.a contains the symbols.
24089         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24090         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24091         * sunrpc/auth_none.c: Likewise.
24092         * sunrpc/auth_unix.c: Likewise.
24093         * sunrpc/authdes_prot.c: Likewise.
24094         * sunrpc/authuxprot.c: Likewise.
24095         * sunrpc/clnt_gen.c: Likewise.
24096         * sunrpc/clnt_perr.c: Likewise.
24097         * sunrpc/clnt_raw.c: Likewise.
24098         * sunrpc/clnt_simp.c: Likewise.
24099         * sunrpc/clnt_tcp.c: Likewise.
24100         * sunrpc/clnt_udp.c: Likewise.
24101         * sunrpc/clnt_unix.c: Likewise.
24102         * sunrpc/des_crypt.c: Likewise.
24103         * sunrpc/des_soft.c: Likewise.
24104         * sunrpc/get_myaddr.c: Likewise.
24105         * sunrpc/key_call.c: Likewise.
24106         * sunrpc/key_prot.c: Likewise.
24107         * sunrpc/netname.c: Likewise.
24108         * sunrpc/pm_getmaps.c: Likewise.
24109         * sunrpc/pm_getport.c: Likewise.
24110         * sunrpc/pmap_clnt.c: Likewise.
24111         * sunrpc/pmap_prot.c: Likewise.
24112         * sunrpc/pmap_prot2.c: Likewise.
24113         * sunrpc/pmap_rmt.c: Likewise.
24114         * sunrpc/publickey.c: Likewise.
24115         * sunrpc/rpc_cmsg.c: Likewise.
24116         * sunrpc/rpc_common.c: Likewise.
24117         * sunrpc/rpc_dtable.c: Likewise.
24118         * sunrpc/rpc_prot.c: Likewise.
24119         * sunrpc/rpc_thread.c: Likewise.
24120         * sunrpc/rtime.c: Likewise.
24121         * sunrpc/svc.c: Likewise.
24122         * sunrpc/svc_auth.c: Likewise.
24123         * sunrpc/svc_raw.c: Likewise.
24124         * sunrpc/svc_run.c: Likewise.
24125         * sunrpc/svc_tcp.c: Likewise.
24126         * sunrpc/svc_udp.c: Likewise.
24127         * sunrpc/svc_unix.c: Likewise.
24128         * sunrpc/svcauth_des.c: Likewise.
24129         * sunrpc/xcrypt.c: Likewise.
24130         * sunrpc/xdr.c: Likewise.
24131         * sunrpc/xdr_array.c: Likewise.
24132         * sunrpc/xdr_float.c: Likewise.
24133         * sunrpc/xdr_intXX_t.c: Likewise.
24134         * sunrpc/xdr_mem.c: Likewise.
24135         * sunrpc/xdr_rec.c: Likewise.
24136         * sunrpc/xdr_ref.c: Likewise.
24137         * sunrpc/xdr_sizeof.c: Likewise.
24138         * sunrpc/xdr_stdio.c: Likewise.
24140 2012-05-10  Roland McGrath  <roland@hack.frob.com>
24142         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24143         change.  Update copyright years.
24145 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24147         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24149 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
24150             Joseph Myers  <joseph@codesourcery.com>
24151             Paul Pluzhnikov  <ppluzhnikov@google.com>
24153         [BZ #14012]
24154         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24155         requiring rpcgen.
24156         [cross-compiling] (extra-libs): Likewise.
24157         [cross-compiling] (extra-libs-others): Likewise.
24158         [cross-compiling] (librpcsvc-routines): Likewise.
24159         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24160         [cross-compiling] (omit-deps): Likewise.
24161         (sunrpc-CPPFLAGS): New variable.
24162         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24163         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24164         (cross-rpcgen-objs): New variable.
24165         (extra-objs): Append $(cross-rpcgen-objs).
24166         ($(cross-rpcgen-objs)): New rule.
24167         ($(objpfx)cross-rpcgen): Likewise.
24168         (rpcgen-cmd): Define to use $(built-program-file).  Expand
24169         comment.
24170         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24171         ($(objpfx)x%.stmp): Likewise.
24172         * sunrpc/proto.h [IS_IN_build] (_): Define.
24173         [IS_IN_build] (_libc_intl_domainname): Likewise.
24175 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24177         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24178         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24179         and R_X86_64_TPOFF64.
24181 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
24183         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24184         sysdeps/unix/sysv/syscalls.list.
24185         (stime): Likewise.
24186         (utime): Likewise.
24187         * sysdeps/unix/sysv/syscalls.list: Remove file.
24189 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
24191         [BZ #3440]
24192         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24193         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24194         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24195         (__LC_IDENTIFICATION): Make these macros useful in #if
24196         expressions, as required by C99.
24198 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
24200         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24201         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
24202         after this.
24204 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
24206         * stdlib/longlong.h: Updated from GCC.
24208 2012-05-09  Andreas Jaeger  <aj@suse.de>
24210         * nscd/nscd.c (run_modes): Make named enum, reorder so that
24211         default is first entry.
24212         (run_mode): Set type.
24213         (main): Remove informal message about syslog.
24214         (options): Fix typo.
24216         [BZ #14053]
24217         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24218         to asm.
24219         (lrint): Likewise.
24220         (llrintf): Likewise.
24221         (llrint): Likewise.
24222         (rint): Likewise.
24223         (rintf): Likewise.
24224         (nearbyint): Likewise.
24225         (nearbyintf): Likewise.
24227 2012-05-09  Andreas Jaeger  <aj@suse.de>
24228             Pedro Alves  <palves@redhat.com>
24230         * nscd/nscd.c (run_mode): Use enum.
24231         (main): Cleanup coding style issue.
24233 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
24234             Andreas Jaeger  <aj@suse.de>
24236         * nscd/nscd.c (go_background): Replaced with...
24237         (run_mode): ... this.
24238         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24239         (options): Add -F --foreground.
24240         (main): Implement it.
24241         (parse_opt): Parse it.
24243 2012-05-09  Andreas Jaeger  <aj@suse.de>
24245         [BZ #14083]
24246         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24247         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24248         -Wconversion warning.
24249         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24250         Likewise.
24252 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
24254         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
24255         == 0.
24256         (LC_ALL): Use macro-int-constant.
24257         (LC_COLLATE): Likewise.
24258         (LC_CTYPE): Likewise.
24259         (LC_MESSAGES): Likewise.
24260         (LC_MONETARY): Likewise.
24261         (LC_NUMERIC): Likewise.
24262         (LC_TIME): Likewise.
24263         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24264         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24265         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24266         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24267         Specify type.
24268         [C99-based standards] (float_t): Expect type.
24269         [C99-based standards] (double_t): Expect type.
24270         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
24271         type.
24272         [C99-based standards] (HUGE_VALL): Likewise.
24273         [C99-based standards] (INFINITY): Likewise.
24274         [C99-based standards] (NAN): Likewise.
24275         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24276         [C99-based standards] (FP_NAN): Likewise.
24277         [C99-based standards] (FP_NORMAL): Likewise.
24278         [C99-based standards] (FP_SUBNORMAL): Likewise.
24279         [C99-based standards] (FP_ZERO): Likewise.
24280         [C99-based standards] (FP_FAST_FMA): Use
24281         optional-macro-int-constant.  Specify type.  Require == 1.
24282         [C99-based standards] (FP_FAST_FMAF): Likewise.
24283         [C99-based standards] (FP_FAST_FMAL): Likewise.
24284         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24285         [C99-based standards] (FP_ILOGBNAN): Likewise.
24286         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24287         Specify type.
24288         [C99-based standards] (MATH_ERREXCEPT): Likewise.
24289         [C99-based standards] (math_errhandling): Specify type.
24290         [ISO99 || ISO11] (signgam): Do not allow.
24291         [non-C99-based standards] (copysignf): Do not allow.
24292         [non-C99-based standards] (exp2f): Likewise.
24293         [non-C99-based standards] (log2f): Likewise.
24294         [non-C99-based standards] (modff): Allow.
24295         [non-C99-based standards] (erff): Do not allow.
24296         [non-C99-based standards] (erfcf): Likewise.
24297         [non-C99-based standards] (gammaf): Likewise.
24298         [non-C99-based standards] (hypotf): Likewise.
24299         [non-C99-based standards] (j0f): Likewise.
24300         [non-C99-based standards] (j1f): Likewise.
24301         [non-C99-based standards] (jnf): Likewise.
24302         [non-C99-based standards] (lgammaf): Likewise.
24303         [non-C99-based standards] (tgammaf): Likewise.
24304         [non-C99-based standards] (y0f): Likewise.
24305         [non-C99-based standards] (y1f): Likewise.
24306         [non-C99-based standards] (ynf): Likewise.
24307         [non-C99-based standards] (isnanf): Likewise.
24308         [non-C99-based standards] (acoshf): Likewise.
24309         [non-C99-based standards] (asinhf): Likewise.
24310         [non-C99-based standards] (atanhf): Likewise.
24311         [non-C99-based standards] (cbrtf): Likewise.
24312         [non-C99-based standards] (expm1f): Likewise.
24313         [non-C99-based standards] (ilogbf): Likewise.
24314         [non-C99-based standards] (log1pf): Likewise.
24315         [non-C99-based standards] (logbf): Likewise.
24316         [non-C99-based standards] (nextafterf): Likewise.
24317         [non-C99-based standards] (remainderf): Likewise.
24318         [non-C99-based standards] (rintf): Likewise.
24319         [non-C99-based standards] (scalbf): Likewise.
24320         [non-C99-based standards] (copysignl): Likewise.
24321         [non-C99-based standards] (exp2l): Likewise.
24322         [non-C99-based standards] (log2l): Likewise.
24323         [non-C99-based standards] (modfl): Allow.
24324         [non-C99-based standards] (erfl): Do not allow.
24325         [non-C99-based standards] (erfcl): Likewise.
24326         [non-C99-based standards] (gammal): Likewise.
24327         [non-C99-based standards] (hypotl): Likewise.
24328         [non-C99-based standards] (j0l): Likewise.
24329         [non-C99-based standards] (j1l): Likewise.
24330         [non-C99-based standards] (jnl): Likewise.
24331         [non-C99-based standards] (lgammal): Likewise.
24332         [non-C99-based standards] (tgammal): Likewise.
24333         [non-C99-based standards] (y0l): Likewise.
24334         [non-C99-based standards] (y1l): Likewise.
24335         [non-C99-based standards] (ynl): Likewise.
24336         [non-C99-based standards] (isnanl): Likewise.
24337         [non-C99-based standards] (acoshl): Likewise.
24338         [non-C99-based standards] (asinhl): Likewise.
24339         [non-C99-based standards] (atanhl): Likewise.
24340         [non-C99-based standards] (cbrtl): Likewise.
24341         [non-C99-based standards] (expm1l): Likewise.
24342         [non-C99-based standards] (ilogbl): Likewise.
24343         [non-C99-based standards] (log1pl): Likewise.
24344         [non-C99-based standards] (logbl): Likewise.
24345         [non-C99-based standards] (nextafterl): Likewise.
24346         [non-C99-based standards] (remainderl): Likewise.
24347         [non-C99-based standards] (rintl): Likewise.
24348         [non-C99-based standards] (scalbl): Likewise.
24349         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24350         [non-C99-based standards] (FP_*): Do not allow.
24351         [C99-based standards] (FP_*): Change to
24352         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24353         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24354         allow.
24355         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24356         (SIG_ERR): Likewise.
24357         [X/Open-based standards] (SIG_HOLD): Likewise.
24358         (SIG_IGN): Likewise.
24359         (SIGABRT): Use macro-int-constant.  Specify type.  Require
24360         positive value.
24361         (SIGFPE): Likewise.
24362         (SIGILL): Likewise.
24363         (SIGINT): Likewise.
24364         (SIGSEGV): Likewise.
24365         (SIGTER): Likewise.
24366         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24367         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24368         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24369         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24370         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24371         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24372         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24373         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24374         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24375         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24376         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24377         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24378         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24379         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24380         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24381         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24382         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24383         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24384         [X/Open-based standards] (SIGTRAP): Likewise.
24385         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24386         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24387         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24388         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24389         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24390         allow.
24392 2012-05-08  Ian Wienand  <ianw@vmware.com>
24394         [BZ #14080]
24395         * time/tzset.c (__tzset_parse_tz): Update default rules for
24396         daylight time changes in the Energy Policy Act of 2005.
24398 2012-05-09  Andreas Jaeger  <aj@suse.de>
24400         [BZ #13983]
24401         * elf/ldconfig.c (parse_conf): Change string to make clear that
24402         ldconfig only issued a warning if ld.so.conf does not exist.
24404 2012-05-08  David S. Miller  <davem@davemloft.net>
24406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24407         movxtod instead of popping the value on the stack.
24409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24411 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
24413         * config.h.in: Add HAVE_ARM_PCS_VFP.
24415 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
24417         [BZ #13979]
24418         * include/features.h: Warn if user requests __FORTIFY_SOURCE
24419         checking but the checks are disabled for any reason.
24421 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
24423         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24424         and ELF64_R_TYPE with ELFW(R_TYPE).
24426 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
24428         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24429         (ulimit): Likewise.
24431         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24432         (settimeofday): Likewise.
24434 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
24436         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
24437         a struct th_u2 inside the union, and move tu_block/tu_code into
24438         a new th_u3 union of tu_block/tu_code inside of that.  Move
24439         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
24440         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
24441         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24442         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24443         (th_stuff): Change to th_u1.tu_stuff.
24444         (th_data): Define.
24445         (th_msg): Change to th_u1.th_u2.tu_data.
24447 2012-05-07  David S. Miller  <davem@davemloft.net>
24449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24451         [BZ #14074]
24452         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24453         (SETUP_PIC_REG): Use it.
24454         (SETUP_PIC_REG_LEAF): Use it.
24456 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
24458         [BZ #13885]
24459         [BZ #13923]
24460         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24461         USE_AS_EXPM1L.
24462         (EXPL_FINITE): Likewise.
24463         (FLDLOG): Likewise.
24464         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24465         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24466         e_expl.S.
24467         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24468         USE_AS_EXPM1L.
24469         (EXPL_FINITE): Likewise.
24470         (FLDLOG): Likewise.
24471         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24472         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24473         e_expl.S.
24474         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
24475         test of -max_value argument for long double.
24476         * sysdeps/i386/fpu/libm-test-ulps: Update.
24477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24479 2012-05-06  David S. Miller  <davem@davemloft.net>
24481         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24482         quad soft-float symbols whose references which are compiler
24483         generated.
24484         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24486 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
24488         [BZ #13884]
24489         [BZ #13914]
24490         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24491         USE_AS_EXP10L.
24492         (EXPL_FINITE): Likewise.
24493         (FLDLOG): Likewise.
24494         (c0): Likewise.
24495         (c1): Likewise.
24496         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24497         Adjust comments for base varying.
24498         (__expl_finite): Change alias to EXPL_FINITE.
24499         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24500         e_expl.S.
24501         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24502         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24503         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24504         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24505         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24506         USE_AS_EXP10L.
24507         (EXPL_FINITE): Likewise.
24508         (FLDLOG): Likewise.
24509         (c0): Likewise.
24510         (c1): Likewise.
24511         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
24512         Adjust comments for base varying.
24513         (__expl_finite): Change alias to EXPL_FINITE.
24514         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
24515         tests for bugs.
24516         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24518         [BZ #14064]
24519         * math/libm-test.inc (check_float_internal): Correct ulp
24520         calculation for subnormal expected results.
24522 2012-05-06  Andreas Jaeger  <aj@suse.de>
24524         * Makeconfig (+math-flags): New, set to -frounding-math.
24525         (+cflags): Add +math-flags so that all of glibc gets compiled with
24526         it.
24528         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24530 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
24532         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24533         Disable one test.
24535         [BZ #13787]
24536         [BZ #13922]
24537         [BZ #14036]
24538         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24539         (__ieee754_expl): Allow for and saturate large arguments.
24540         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24541         (u_threshold): Likewise.
24542         (__exp): Call __ieee754_exp before checking for overflow and
24543         underflow.
24544         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24545         (u_threshold): Likewise.
24546         (__expf): Call __ieee754_expf before checking for overflow and
24547         underflow.
24548         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24549         (u_threshold): Likewise.
24550         (__expl): Call __ieee754_expl before checking for overflow and
24551         underflow.
24552         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24553         (__ieee754_expl): Allow for and saturate large arguments.
24554         * math/libm-test.inc (exp_test): Add another test.  Do not allow
24555         missing overflow exception on overflow.
24556         (expm1_test): Do not allow missing overflow exception on overflow.
24558         * sysdeps/i386/fpu/e_expl.c: Move to ...
24559         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
24560         rather than using inline asm.
24561         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24562         * sysdeps/x86_64/fpu/e_expl.S: Copy from
24563         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24565         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24566         (nice): Likewise.
24567         (poll): Likewise.
24568         (signal): Likewise.
24569         (time): Likewise.
24570         (times): Likewise.
24572 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24574         * sysdeps/unix/syscalls.list (adjtime): Add entry from
24575         sysdeps/unix/common/syscalls.list.
24576         (fchmod): Likewise.
24577         (fchown): Likewise.
24578         (ftruncate): Likewise.
24579         (getrusage): Likewise.
24580         (gettimeofday): Likewise.
24581         (setpgid): Likewise.
24582         (setregid): Likewise.
24583         (setreuid): Likewise.
24584         (sigaction): Likewise.
24585         (truncate): Likewise.
24586         (vhangup): Likewise.
24587         * sysdeps/unix/common/syscalls.list: Remove file.
24588         * sysdeps/unix/bsd/Implies: Don't include unix/common.
24589         * sysdeps/unix/sysv/linux/Implies: Likewise.
24591 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
24593         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24595         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24596         Moved to ...
24597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24598         Here.
24599         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24600         to ...
24601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24602         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24603         to ...
24604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24605         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24606         to ...
24607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24608         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24609         to ...
24610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24611         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24612         to ...
24613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24614         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24615         to ...
24616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24617         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24618         to ...
24619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24620         Here.
24621         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24622         to ...
24623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24624         Here.
24625         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24626         to ...
24627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24628         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24629         Moved to ...
24630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24631         Here.
24632         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24633         to ...
24634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24636 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24638         * sysdeps/unix/common/bits/dirent.h: Remove file.
24639         * sysdeps/unix/common/bits/fcntl.h: Likewise.
24641         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24642         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24643         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24644         * sysdeps/unix/bsd/isatty.c: Likewise.
24645         * sysdeps/unix/bsd/tcdrain.c: Likewise.
24646         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24647         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24649 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24651         [BZ #13563]
24652         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24653         long double comparison inaccuracies.
24654         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24657 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
24659         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24660         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24662 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24664         [BZ #14049]
24665         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24666         nonzero digits before rounding a hex value.
24667         * stdlib/tst-strtod.c (tests): Add another test.
24669 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24671         * sysdeps/s390/fpu/libm-test-ulps: Update.
24673 2012-05-03  Andreas Jaeger  <aj@suse.de>
24675         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24676         does not get optimized out.
24677         (malloc_opt_barrier): New.
24679 2012-05-03  Andreas Jaeger  <aj@suse.de>
24680             Roland McGrath  <roland@hack.frob.com>
24682         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24683         intermediate file deletion.
24684         (generated): Add .symlist files.
24686 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24688         [BZ #13775]
24689         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24690         Redirect under this condition.
24691         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24692         [__USE_GNU] (__dprintf_chk): Not under this condition.
24693         [__USE_GNU] (__vdprintf_chk): Likewise.
24694         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24695         under this condition.
24696         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24697         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24698         [__USE_XOPEN2K8] (vdprintf): Likewise.
24699         [__USE_GNU] (__dprintf_chk): Not under this condition.
24700         [__USE_GNU] (__vdprintf_chk): Likewise.
24701         [__USE_GNU] (dprintf): Likewise.
24702         [__USE_GNU] (vdprintf): Likewise.
24704 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24706         * elf/Makefile (common-generated): Set this instead of generated for
24707         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24708         $(all-built-dso)-derived lists.
24710 2012-05-03  Andreas Jaeger  <aj@suse.de>
24712         * sysdeps/i386/fpu/libm-test-ulps: Update.
24714         * FAQ: Removed.
24715         * FAQ.in: Likewise.
24716         * scripts/gen-FAQ.pl: Likewise.
24717         * manual/install.texi (Installation): Point to online location of
24718         FAQ.
24719         * Makefile (files-for-dist): Remove FAQ.
24720         (FAQ): Remove.
24722 2012-05-02  Allan McRae  <allan@archlinux.org>
24724         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24725         (LDFLAGS-reldepmod5.so): Likewise.
24726         (LDFLAGS-reldep6mod1.so): Likewise.
24727         (LDFLAGS-reldep6mod4.so): Likewise.
24728         (LDFLAGS-reldep8mod3.so): Likewise.
24729         (LDFLAGS-unload4mod1.so): Likewise.
24730         (LDFLAGS-unload4mod2.so): Likewise.
24731         (LDFLAGS-tst-initorder): Likewise.
24732         (LDFLAGS-tst-initordera2.so): Likewise.
24733         (LDFLAGS-tst-initordera3.so): Likewise.
24734         (LDFLAGS-tst-initordera4.so): Likewise.
24735         (LDFLAGS-tst-initorderb2.so): Likewise.
24736         (LDFLAGS-noload): Likewise.
24737         (LDFLAGS-next): Likewise.
24738         (LDFLAGS-order2mod1.so): Likewise.
24739         (LDFLAGS-order2mod2.so): Likewise.
24740         (LDFLAGS-tst-initorder2): Likewise.
24741         (LDFLAGS-tst-initorder2a.so): Likewise.
24742         (LDFLAGS-tst-initorder2b.so): Likewise.
24743         (LDFLAGS-tst-initorder2c.so): Likewise.
24744         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24746 2012-05-02  David S. Miller  <davem@davemloft.net>
24748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24750 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24752         [BZ #14055]
24753         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24755 2012-05-02  Andreas Jaeger  <aj@suse.de>
24757         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24758         since we manipulate rounding mode.
24759         (CPPFLAGS-test-idouble.c): Likewise.
24760         (CPPFLAGS-test-ifloat.c): Likewise.
24761         (CFLAGS-test-ldouble.c): Likewise.
24762         (CFLAGS-test-double.c): Likewise.
24763         (CFLAGS-test-float.c): Likewise.
24764         (CFLAGS-test-misc.c): Likewise.
24765         (CFLAGS-test-test-fenv.c): Likewise.
24767 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24769         [BZ #2550]
24770         [BZ #2570]
24771         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24772         comparisons to determine direction to adjust input.
24774 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24776         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24777         output to the target.
24779         * scripts/localplt.awk: New file.
24780         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24781         (check-localplt-CFLAGS): Variable removed.
24782         ($(all-built-dso:=.jmprel)): New static pattern rule.
24783         (generated): Add those targets.
24784         (localplt-built-dso): New variable.
24785         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24787         * elf/check-localplt.c: File removed.
24789         * scripts/check-execstack.awk: New file.
24790         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24791         (check-execstack-CFLAGS): Variable removed.
24792         ($(objpfx)check-execstack.h): Target removed.
24793         ($(objpfx)execstack-default): New target.
24794         (generated): Add that instead of check-execstack.h.
24795         ($(all-built-dso:=.phdr)): New static pattern rule.
24796         (generated): Add those targets.
24797         * elf/check-execstack.c: File removed.
24799         * scripts/check-textrel.awk: New file.
24800         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24801         (check-textrel-CFLAGS): Variable removed.
24802         (all-built-dso): Use := to define.o
24803         ($(all-built-dso:=.dyn)): New static pattern rule.
24804         (generated): Add those targets.
24805         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24806         * config.make.in (READELF): New substituted variable.
24807         * elf/check-textrel.c: File removed.
24809 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24811         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24812         allow.
24813         * conform/data/ctype.h-data [C99-based standards] (isblank):
24814         Expect function.
24815         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24816         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24817         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24818         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24819         Specify type.  Require positive value.
24820         (EILSEQ): Likewise.
24821         (ERANGE): Likewise.
24822         [ISO || POSIX] (EILSEQ): Do not expect.
24823         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24824         Specify type.  Require positive value.
24825         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24826         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24827         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24828         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24829         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24830         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24831         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24832         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24833         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24834         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24835         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24836         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24837         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24838         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24839         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24840         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24841         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24842         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24843         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24844         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24845         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24846         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24847         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24848         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24849         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24850         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24851         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24852         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24853         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24854         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24855         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24856         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24857         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24858         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24859         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24860         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24861         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24862         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24863         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24864         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24865         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24866         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24867         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24868         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24869         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24870         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24871         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24872         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24873         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24874         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24875         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24876         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24877         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24878         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24879         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24880         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24881         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24882         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24883         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24884         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24885         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24886         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24887         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24888         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24889         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24890         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24891         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24892         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24893         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24894         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24895         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24896         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24897         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24898         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24899         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24900         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24901         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24902         Require >= 2.
24903         (FLT_ROUNDS): Expect as macro, not constant.
24904         (FLT_MANT_DIG): Use macro-int-constant.
24905         (DBL_MANT_DIG): Likewise.
24906         (LDBL_MANT_DIG): Likewise.
24907         (FLT_DIG): Likewise.
24908         (DBL_DIG): Likewise.
24909         (LDBL_DIG): Likewise.
24910         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24911         (DBL_MIN_EXP): Likewise.
24912         (LDBL_MIN_EXP): Likewise.
24913         (FLT_MAX_EXP): Use macro-int-constant.
24914         (DBL_MAX_EXP): Likewise.
24915         (LDBL_MAX_EXP): Likewise.
24916         (FLT_MAX_10_EXP): Likewise.
24917         (DBL_MAX_10_EXP): Likewise.
24918         (LDBL_MAX_10_EXP): Likewise.
24919         (FLT_MAX): Use macro-constant.
24920         (DBL_MAX): Likewise.
24921         (LDBL_MAX): Likewise.
24922         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24923         (DBL_EPSILON): Likewise.
24924         (LDBL_EPSILON): Likewise.
24925         (FLT_MIN): Likewise.
24926         (DBL_MIN): Likewise.
24927         (LDBL_MIN): Likewise.
24928         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24929         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24930         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24931         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24932         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24933         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24934         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24935         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24936         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24937         [ISO11] (FLT_TRUE_MIN): Likewise.
24938         [ISO11] (LDBL_TRUE_MIN): Likewise.
24939         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24940         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24941         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24942         (SCHAR_MAX): Likewise.
24943         (UCHAR_MAX): Likewise.
24944         (CHAR_MIN): Likewise.
24945         (CHAR_MAX): Likewise.
24946         (MB_LEN_MAX): Use macro-int-constant.
24947         (SHRT_MIN): Use macro-int-constant.  Specify type.
24948         (SHRT_MAX): Likewise.
24949         (USHRT_MAX): Likewise.
24950         (INT_MAX): Likewise.
24951         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24952         bound negative.
24953         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24954         bound with "U".
24955         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24956         bound with "L".
24957         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24958         bound negative.  Suffix upper bound with "L".
24959         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24960         bound with "UL".
24961         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24962         Specify type.
24963         [C99-based standards] (LLONG_MAX): Likewise.
24964         [C99-based standards] (ULLONG_MAX): Likewise.
24965         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24966         == 0.
24967         [ISO11] (max_align_t): Require type.
24968         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24970         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24971         from $CFLAGS, without defining away __attribute__ calls.
24972         (checknamespace): Use $CFLAGS_namespace.
24974         * conform/conformtest.pl (@keywords): Only include C99 keywords
24975         for standards based on C99 or C11.
24977         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24978         Disable tests.
24979         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24980         UNIX98]: Likewise.
24982         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24983         usability of symbols in #if.
24985         * conform/conformtest.pl: If macro or constant types start
24986         "promoted:", expect the symbol to be of the following type
24987         promoted by the integer promotions.
24989         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24990         in one place.  Also handle "macro-constant".
24992         * conform/conformtest.pl: Only accept expected macro values with
24993         "==".  Parse all "macro" lines in one place.
24994         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24996         * conform/conformtest.pl: Handle braced types on "constant" lines
24997         instead of handling "typed-constant".
24998         * conform/data/signal.h-data: Use "constant" instead of
24999         "typed-constant".
25001         * conform/conformtest.pl: Handle "optional-" at start of lines in
25002         one place rather than duplicating several cases.  Handle each
25003         format of "macro" line with initial "optional-".
25005         * conform/conformtest.pl: Only accept expected constant or
25006         optional-constant values with "==".  Parse all "constant" lines in
25007         one place.  Parse all "optional-constant" lines in one place.
25008         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25009         * conform/data/fmtmsg.h-data: Likewise.
25010         * conform/data/netinet/in.h-data: Likewise.
25011         * conform/data/tar.h-data: Likewise.
25012         * conform/data/limits.h-data: Use "==" form on "constant" and
25013         "optional-constant" lines.
25015         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25016         Use -std=c99 for XOPEN2K.
25017         (@knownproblems): Remove.
25018         (newtoken): Don't check %isknown.
25020         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25021         Do not expect macro.
25022         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25023         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25024         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25025         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25026         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25027         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25028         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25029         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25030         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25031         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25032         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25033         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25034         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25035         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25036         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25037         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25038         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25039         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25040         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25041         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25042         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25043         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25044         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25045         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25046         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25047         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25048         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25049         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25050         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25051         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25052         [XPG3] (acosh): Likewise.
25053         [XPG3] (asinh): Likewise.
25054         [XPG3] (atanh): Likewise.
25055         [XPG3] (cbrt): Likewise.
25056         [XPG3] (expm1): Likewise.
25057         [XPG3] (ilogb): Likewise.
25058         [XPG3] (log1p): Likewise.
25059         [XPG3] (logb): Likewise.
25060         [XPG3] (nextafter): Likewise.
25061         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25062         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25063         [XPG3] (remainder): Likewise.
25064         [XPG3] (rint): Likewise.
25065         [XPG3 || XPG4 || UNIX98] (round): Likewise.
25066         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25067         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25068         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25069         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25070         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25071         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25072         [UNIX98 || XOPEN2K] (scalb): Expect.
25073         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25074         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25075         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25076         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25077         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25078         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25079         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25080         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25081         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25082         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25083         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25084         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25085         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25086         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25087         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25088         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25089         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25090         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25091         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25092         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25093         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25094         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25095         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25096         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25097         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25098         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25099         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25100         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25101         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25102         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25103         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25104         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25105         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25106         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25107         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25108         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25109         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25110         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25111         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25112         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25113         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25114         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25115         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25116         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25117         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25118         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25119         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25120         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25121         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25122         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25123         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25124         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25125         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25126         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25127         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25128         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25129         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25130         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25131         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25132         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25133         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25134         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25135         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25136         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25137         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25138         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25139         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25140         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25141         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25142         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25143         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25144         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25145         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25146         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25147         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25148         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25149         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25150         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25151         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25152         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25153         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25154         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25155         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25156         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25157         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25158         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25159         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25160         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25161         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25162         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25163         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25164         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25165         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25166         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25167         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25168         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25169         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25170         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25171         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25172         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25173         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25174         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25175         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25176         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25177         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25178         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25179         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25180         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25181         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25182         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25183         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25184         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25185         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25186         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25187         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25188         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25189         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25190         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25191         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25192         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25193         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25194         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25195         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25196         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25197         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25198         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25199         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25200         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25201         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25202         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25203         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25204         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25205         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25206         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25207         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25208         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25209         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25211         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25212         _XOPEN_SOURCE_EXTENDED for XPG4.
25214         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25216         * Makeconfig (localtime): Remove variable.
25217         (inst_localtime-file): Likewise.
25219 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25222         Update.
25223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25224         Update.
25225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25226         Update.
25227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25228         Update.
25229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25230         Update.
25231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25232         Update.
25233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25234         Update.
25235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25236         Update.
25237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25238         Update.
25240 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25242         [BZ #2550]
25243         [BZ #2570]
25244         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25245         comparisons to determine direction to adjust input.
25246         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25247         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25248         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25249         Likewise.
25250         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25251         Likewise.
25252         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25253         Likewise.
25254         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25255         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25256         Likewise.
25257         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25258         Likewise.
25259         * math/libm-test.inc (nexttoward_test): Add more tests.
25261 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
25263         [BZ #14040]
25264         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25265         in version GLIBC_2.1, not GLIBC_2.0.
25266         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25267         Likewise.
25269 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
25271         [BZ #13942]
25272         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25273         (1 - x) * (1 + x).
25274         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25275         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25276         * math/libm-test.inc (acos_test): Add more tests.
25277         (asin_test): Likewise.
25278         * sysdeps/i386/fpu/libm-test-ulps: Update.
25279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25281         [BZ #14034]
25282         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25283         of square root.
25284         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25285         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25286         * math/libm-test.inc (acos_test_tonearest): New function.
25287         (acos_test_towardzero): Likewise.
25288         (acos_test_downward): Likewise.
25289         (acos_test_upward): Likewise.
25290         (asin_test_tonearest): Likewise.
25291         (asin_test_towardzero): Likewise.
25292         (asin_test_downward): Likewise.
25293         (asin_test_upward): Likewise.
25294         (main): Call the new functions.
25295         * sysdeps/i386/fpu/libm-test-ulps: Update.
25296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25298         [BZ #13884]
25299         [BZ #13924]
25300         * math/e_exp10.c: Include <float.h>.
25301         (__ieee754_exp10): Handle underflow here rather than multiplying
25302         large negative argument by M_LN10.
25303         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25304         of __ieee754_expf.
25305         * math/e_exp10l.c: Include <float.h>.
25306         (__ieee754_exp10l): Handle underflow here rather than multiplying
25307         large negative argument by M_LN10l.
25308         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
25309         spurious overflow exception on underflow.
25311 2012-04-29  Marek Polacek  <polacek@redhat.com>
25313         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25314         (__fortify_function): New macro.
25315         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25316         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25317         __extern_always_inline.
25318         * libio/bits/stdio2.h: Likewise.
25319         * libio/bits/stdio.h: Likewise.
25320         * string/string.h: Likewise.
25321         * string/bits/string3.h: Likewise.
25322         * include/stdio.h: Likewise.
25323         * stdlib/bits/stdlib.h: Likewise.
25324         * stdlib/stdlib.h: Likewise.
25325         * rt/bits/mqueue2.h: Likewise.
25326         * rt/mqueue.h: Likewise.
25327         * posix/bits/unistd.h: Likewise.
25328         * posix/unistd.h: Likewise.
25329         * io/bits/poll2.h: Likewise.
25330         * io/bits/fcntl2.h: Likewise.
25331         * io/fcntl.h: Likewise.
25332         * io/sys/poll.h: Likewise.
25333         * misc/bits/syslog.h: Likewise.
25334         * misc/bits/syslog-ldbl.h: Likewise.
25335         * misc/sys/syslog.h: Likewise.
25336         * socket/bits/socket2.h: Likewise.
25337         * socket/sys/socket.h: Likewise.
25338         * debug/tst-chk1.c: Likewise.
25339         * wcsmbs/bits/wchar2.h: Likewise.
25340         * wcsmbs/bits/wchar-ldbl.h: Likewise.
25341         * wcsmbs/wchar.h: Likewise.
25343 2012-04-29  Andreas Jaeger  <aj@suse.de>
25345         * Makerules (tests): Remove enable-check-abi protection.
25346         (check-abi-warn): Remove.
25347         (check-abi-%): Remove check-abi-warn usage.
25349         * configure.in: Remove check-abi configure option.
25350         * configure: Regenerated.
25351         * config.make.in (enable-check-abi): Remove.
25353 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
25355         [BZ #14033]
25356         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25357         double functions to double *_finite functions.
25359         [BZ #13941]
25360         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25361         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25362         LDBL_MIN_EXP.
25363         * stdio-common/Makefile (tests): Add tst-sprintf3.
25364         * stdio-common/tst-sprintf3.c: New file.
25366         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25367         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25369 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25371         * conform/conformtest.pl: Remove duplicate typed-constant
25372         handling.
25374 2012-04-28  David S. Miller  <davem@davemloft.net>
25376         * Makerules (%.abilist): Add vpath on sysdep_dirs.
25377         (check-abi-%): Remove AWK script prerequisite and explicit
25378         abilist directory.
25379         (check-abi): Rewrite to just diff the symlist with the abilist.
25380         (config-tls, config-abi-config): Delete, no longer used.
25381         (update-abi-%): Remove AWK script and explicit abilist directory.
25382         (update-abi): Rewrite to simply compare and conditionally copy the
25383         symlist and the sysdep abilist file.  Remove update-abi-config
25384         checks.
25385         * abilist/ld.abilist: Remove.
25386         * abilist/libBrokenLocale.abilist: Remove.
25387         * abilist/libanl.abilist: Remove.
25388         * abilist/libcrypt.abilist: Remove.
25389         * abilist/libdl.abilist: Remove.
25390         * abilist/librt.abilist: Remove.
25391         * abilist/libthread_db.abilist: Remove.
25392         * abilist/libutil.abilist: Remove.
25393         * scripts/extract-abilist.awk: Remove.
25394         * scripts/merge-abilist.awk: Remove.
25395         * sysdeps/generic/libcidn.abilist: New file.
25396         * sysdeps/generic/libnss_compat.abilist: New file.
25397         * sysdeps/generic/libnss_db.abilist: New file.
25398         * sysdeps/generic/libnss_dns.abilist: New file.
25399         * sysdeps/generic/libnss_files.abilist: New file.
25400         * sysdeps/generic/libnss_hesiod.abilist: New file.
25401         * sysdeps/generic/libnss_nis.abilist: New file.
25402         * sysdeps/generic/libnss_nisplus.abilist: New file.
25403         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25404         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25405         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25406         file.
25407         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25408         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25409         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25410         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25411         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25412         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25413         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25414         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25415         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25416         file.
25417         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25418         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25419         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25420         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25421         file.
25422         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25423         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25424         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25425         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25426         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25427         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25428         file.
25429         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25430         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25431         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25432         file.
25433         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25435         New file.
25436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25437         New file.
25438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25439         New file.
25440         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25441         New file.
25442         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25443         New file.
25444         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25445         New file.
25446         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25447         New file.
25448         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25449         New file.
25450         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25451         New file.
25452         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25453         New file.
25454         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25455         New file.
25456         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25457         New file.
25458         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25459         New file.
25460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25461         file.
25462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25463         New file.
25464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25465         New file.
25466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25467         file.
25468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25469         New file.
25470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25471         New file.
25472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25473         file.
25474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25475         New file.
25476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25477         New file.
25478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25479         New file.
25480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25481         New file.
25482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25483         New file.
25484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25485         New file.
25486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25488         file.
25489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25490         New file.
25491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25492         file.
25493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25494         file.
25495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25496         file.
25497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25498         file.
25499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25500         file.
25501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25502         New file.
25503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25504         file.
25505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25506         file.
25507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25508         New file.
25509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25510         file.
25511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25513         file.
25514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25515         New file.
25516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25517         file.
25518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25519         file.
25520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25521         file.
25522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25523         file.
25524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25525         file.
25526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25527         New file.
25528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25529         file.
25530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25531         file.
25532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25533         New file.
25534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25535         file.
25536         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25537         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25538         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25539         file.
25540         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25541         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25542         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25543         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25544         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25545         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25546         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25547         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25548         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25549         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25552         file.
25553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25554         New file.
25555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25556         file.
25557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25558         file.
25559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25560         file.
25561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25562         file.
25563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25564         file.
25565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25566         New file.
25567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25568         New file.
25569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25570         file.
25571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25572         New file.
25573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25574         file.
25575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25577         file.
25578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25579         New file.
25580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25581         file.
25582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25583         file.
25584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25585         file.
25586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25587         file.
25588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25589         file.
25590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25591         New file.
25592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25593         New file.
25594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25595         file.
25596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25597         New file.
25598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25599         file.
25601 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
25603         * conform/conformtest.pl: Fix typo in handling typed-constant from
25604         allow-header.
25606 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25608         * README: Cut down references to pre-2.6 Linux kernels and
25609         Linuxthreads.  Update lists of configurations in libc and ports
25610         and sort alphabetically.  Say "or newer" with Linux kernel version
25611         requirements.
25613         * config.h.in [IS_IN_build]: Allow compiling without optimization.
25615 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25617         [BZ #887]
25618         * math/libm-test.inc (logb_test_downward): New test to expose
25619         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25620         rounding mode.
25622 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
25624         [BZ #14027]
25625         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25626         to be done.
25627         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25628         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25630 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
25632         * sysdeps/unix/i386/brk.S: Remove file.
25633         * sysdeps/unix/i386/dl-brk.S: Likewise.
25634         * sysdeps/unix/i386/pipe.S: Likewise.
25635         * sysdeps/unix/i386/sigreturn.S: Likewise.
25636         * sysdeps/unix/i386/syscall.S: Likewise.
25637         * sysdeps/unix/i386/vfork.S: Likewise.
25638         * sysdeps/unix/i386/wait.S: Likewise.
25640         * sysdeps/unix/common/tcsendbrk.c: Move to ...
25641         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25643         * configure.in (arm*-none*): Do not allow without
25644         --enable-hacker-mode.
25645         (netbsd*): Remove case setting base_os.
25646         (386bsd*): Likewise.
25647         (freebsd*): Likewise.
25648         (bsdi*): Likewise.
25649         (osf*): Likewise.
25650         (sunos*): Likewise.
25651         (ultrix*): Likewise.
25652         (newsos*): Likewise.
25653         (dynix*): Likewise.
25654         (*bsd*): Likewise.
25655         (sysv*): Likewise.
25656         (isc*): Likewise.
25657         (esix*): Likewise.
25658         (sco*): Likewise.
25659         (minix*): Likewise.
25660         (irix4*): Likewise.
25661         (irix6*): Likewise.
25662         (solaris[2-9]*): Likewise.
25663         (none): Likewise.
25664         * configure: Regenerated.
25666 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25668         [BZ #11521]
25669         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25670         overflow or cancellation in calculating denominator.
25671         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25672         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25673         down expression to avoid unexpected rounding in newer GCCs.
25674         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25676 2012-04-26  David S. Miller  <davem@davemloft.net>
25678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25679         long-double compat symbols.
25680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25694 2012-04-25  David S. Miller  <davem@davemloft.net>
25696         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25697         HWCAP_* values only after the memory barriers have been defined.
25698         (atomic_full_barrier): Define.
25699         (atomic_read_barrier): Define.
25700         (atomic_write_barrier): Define.
25702 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25704         * shlib-versions: Add libgcc_s version information.
25705         * sysdeps/generic/libgcc_s.h: Remove.
25706         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25707         libgcc_s.h.
25708         * sysdeps/gnu/unwind-resume.c: Likewise.
25709         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25711 2012-04-25  David S. Miller  <davem@davemloft.net>
25713         * sysdeps/unix/sparc/brk.S: Delete.
25714         * sysdeps/unix/sparc/dl-brk.S: Delete.
25715         * sysdeps/unix/sparc/pipe.S: Delete.
25716         * sysdeps/unix/sparc/sysdep.S: Delete.
25717         * sysdeps/unix/sparc/sysdep.h: Delete.
25718         * sysdeps/unix/sparc/vfork.S: Delete.
25719         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25720         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25721         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25722         ret_ERRVAL, r0, r1, MOVE): Define.
25723         (JUMPTARGET): Remove.
25724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25725         sysdeps/unix/sparc/sysdep.h
25726         (ENTRY, END): Remove.
25727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25729 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25731         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25732         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25733         -DIS_IN_build.
25735         * timezone/README: Update upstream location and email address for
25736         tzcode and tzdata.
25737         * timezone/zdump.c: Update from tzcode 2012b.
25738         * timezone/zic.c: Likewise.
25740         * configure.in (libc_cv_as_needed): Remove test.
25741         * configure: Regenerated.
25742         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25743         conditional definition.
25744         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25745         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25746         * config.make.in (have-as-needed): Remove variable.
25748 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25749             Paul Pluzhnikov  <ppluzhnikov@google.com>
25751         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25752         strings correctly.
25754 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25756         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25757         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25758         * sysdeps/sh/strlen.S: Likewise.
25760 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25762         * sysdeps/unix/fork.S: Remove file.
25763         * sysdeps/unix/i386/fork.S: Likewise.
25764         * sysdeps/unix/sparc/fork.S: Likewise.
25766         * sysdeps/unix/system.c: Remove file.
25767         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25769         * sysdeps/unix/getegid.S: Remove file.
25770         * sysdeps/unix/geteuid.S: Likewise.
25772 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25774         * scripts/check-localplt.awk: New file.
25775         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25776         of diff.
25777         * scripts/data/localplt-generic.data: Add a comment.
25779         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25780         NODE when __dir_mkfile failed.
25781         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25782         Reported by Ludovic Courtès <ludo@gnu.org>.
25784 2012-04-24  Andreas Jaeger  <aj@suse.de>
25786         * Makerules (common-clean): Also remove gen-as-const-headers
25787         files.
25789 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25791         * Makerules (native-compile): Do not change working directory for
25792         build.  Use $(OUTPUT_OPTION) in command.
25793         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25795 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25797         [BZ #13886]
25798         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25799         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25800         * math/libm-test.inc (floor_test): Add more tests.
25801         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25803 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25805         * sysdeps/unix/getdents.c: Remove file.
25806         * sysdeps/unix/sysv/getdents.c: Likewise.
25807         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25809         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25810         sysdeps/unix/mman/syscalls.list.
25811         (mmap): Likewise.
25812         (mprotect): Likewise.
25813         (msync): Likewise.
25814         (munmap): Likewise.
25815         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25816         * sysdeps/unix/mman/syscalls.list: Remove.
25817         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25819         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25820         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25821         * configure: Regenerated.
25822         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25823         $(libgcc_s_suffix).
25824         * config.make.in (libgcc_s_suffix): Remove variable.
25826 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25828         * sysdeps/unix/sysv/gethostname.c: Move to ...
25829         * sysdeps/posix/gethostname.c: ... here.
25831         * sysdeps/unix/execve.S: Remove file.
25833         * sysdeps/unix/_exit.S: Remove file.
25835 2012-04-23  Andreas Jaeger  <aj@suse.de>
25837         [BZ #13739]
25838         * manual/Makefile: Remove make dist support, there's no
25839         need for a stand-alone documentation tar ball.
25840         (TEXI2DVI): Define always, it's not in Makeconfig.
25841         (dist): Removed.
25842         (tar-it): Removed.
25843         (edition): Removed.
25844         (glibc-doc-$(edition).tar): Removed
25845         (%.Z): Removed.
25846         (%.gz): Removed.
25847         (%.uu): Removed.
25848         (ETAGS): Remove, it's in Makeconfig.
25849         (move-if-change): Remove, it's in Makeconfig.
25851 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25853         [BZ #13970]
25854         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25855         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25856         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25857         (strtod_l, strtof_l, strtold_l): Remove __wur.
25858         It is not necessarily an error to ignore strtol's return value.
25859         One can reliably look at the stored endptr to decide whether
25860         the number had valid syntax.
25862 2012-04-21  Andreas Jaeger  <aj@suse.de>
25864         [BZ #13739]
25865         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25867 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25869         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25870         * sysdeps/unix/sysv/Versions: Remove file.
25872 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25874         [BZ #13927]
25875         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25877 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25879         [BZ #7064]
25880         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25881         version from __vm86.
25883 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25885         * sysdeps/unix/common/lxstat.c: Remove file.
25886         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25888         * sysdeps/unix/sysv/Makefile: Remove file.
25890         * sysdeps/unix/sysv/direct.h: Remove file.
25892         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25893         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25894         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25895         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25896         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25897         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25898         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25900         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25902         * sysdeps/unix/xmknod.c: Remove file.
25903         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25905         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25907         * sysdeps/unix/sysv/i386/time.S: Remove file.
25909         * sysdeps/unix/fxstat.c: Remove file.
25910         * sysdeps/unix/xstat.c: Likewise.
25911         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25913         * sysdeps/unix/sysv/sigaction.c: Remove file.
25915         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25916         (sysdep_headers): Remove variable.
25917         [termio.h not in sysdep_headers] (generated): Likewise.
25918         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25919         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25920         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25921         * sysdeps/unix/sysv/tcflow.c: Likewise.
25922         * sysdeps/unix/sysv/tcflush.c: Likewise.
25923         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25924         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25925         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25926         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25927         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25929         * sysdeps/unix/siglist.c: Remove file.
25931         * sysdeps/unix/getppid.S: Remove file.
25933         * sysdeps/unix/mkdir.c: Remove file.
25934         * sysdeps/unix/rmdir.c: Likewise.
25936 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25938         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25939         ERR_MAX value.
25940         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25941         errlist-compat value.
25943 2012-04-18  David S. Miller  <davem@davemloft.net>
25945         * sysdeps/generic/memcopy.h (reg_char): Delete.
25946         * debug/strcat_chk.c: Use char, not reg_char.
25947         * debug/strcpy_chk.c: Likewise.
25948         * debug/strncat_chk.c: Likewise.
25949         * debug/strncpy_chk.c: Likewise.
25950         * string/memchr.c: Likewise.
25951         * string/memrchr.c: Likewise.
25952         * string/rawmemchr.c: Likewise.
25953         * string/strcat.c: Likewise.
25954         * string/strchr.c: Likewise.
25955         * string/strchrnul.c: Likewise.
25956         * string/strcmp.c: Likewise.
25957         * string/strcpy.c: Likewise.
25958         * string/strncat.c: Likewise.
25959         * string/strncmp.c: Likewise.
25960         * string/strncpy.c: Likewise.
25962 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25964         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25965         __builtin_memcopy is called when src and dest ranges are known to not
25966         overlap.
25968 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25970         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25971         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25972         fwd_align_merge macro call.
25973         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25974         bwd_align_merge macro call.
25975         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25977 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25979         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25980         bwd_align_merge macros.
25981         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25982         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25983         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25985 2012-04-18  David S. Miller  <davem@davemloft.net>
25987         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25989 2012-04-18  Andreas Jaeger  <aj@suse.de>
25991         [BZ# 6794]
25992         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25993         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25994         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25996         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25997         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25998         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26000         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26001         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26002         Adjust for changed ldbl-128 files.
26004         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26005         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26006         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26008 2012-04-17  David S. Miller  <davem@davemloft.net>
26010         * sysdeps/sparc/sparc32/memcopy.h: Delete.
26012 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
26014         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26015         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26016         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26017         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26018         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26019         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26021 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26023         [BZ #6794]
26024         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26025         * math/libm-test.inc: Add ilogb errno and exception tests.
26026         * math/w_ilogb.c: New file: ilogb wrapper.
26027         * math/w_ilogbf.c: New file: ilogbf wrapper.
26028         * math/w_ilogbl.c: New file: ilogbl wrapper.
26029         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26030         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26031         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26032         exception being thrown with 0.0 as argument.
26033         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26034         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26035         exception being thrown with 0.0 as argument.
26036         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26037         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26038         exception being thrown with 0.0 as argument.
26039         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26040         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26041         exception being thrown with 0.0 as argument.
26042         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26043         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26044         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26045         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26046         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26047         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26048         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26049         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26050         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26052 2012-04-17  Petr Baudis  <pasky@ucw.cz>
26054         * include/sys/uio.h: Change __vector to __iovec to avoid clash
26055         with altivec.
26057 2012-04-16  Marek Polacek  <polacek@redhat.com>
26059         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26061 2012-04-16  Marek Polacek  <polacek@redhat.com>
26063         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26064         operands of fdivp instruction.
26066 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26068         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26069         * elf/tst-auditmod3b.c: Likewise.
26070         * elf/tst-auditmod4b.c: Likewise.
26071         * elf/tst-auditmod5b.c: Likewise.
26072         * elf/tst-auditmod6b.c: Likewise.
26073         * elf/tst-auditmod6c.c: Likewise.
26074         * elf/tst-auditmod7b.c: Likewise.
26075         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26076         * sysdeps/x86_64/preconfigure.in: Likewise.
26077         * sysdeps/x86_64/preconfigure: Regenerated.
26079 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
26081         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26082         __ILP32__.
26084 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
26086         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26087         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26089 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
26091         [BZ #13973]
26092         * locale/iso-639.def: Fix gl language name. Spotted by
26093         Yaron Shahrabani.
26095 2012-04-12  Roland McGrath  <roland@hack.frob.com>
26097         [BZ #2074]
26098         * libio/libio.h (__io_write_fn): Update comment.
26100 2012-04-12  Petr Baudis  <pasky@ucw.cz>
26102         [BZ #2074]
26103         * stdio.texi (Hook Functions): The user provided writer function
26104         is not allowed to return -1.
26106 2012-04-11  David S. Miller  <davem@davemloft.net>
26108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26110 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
26112         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26113         Add a leading slash to rtkaio.
26115 2012-04-11  Jim Meyering  <meyering@redhat.com>
26117         [BZ #11959]
26118         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26119         It is not necessarily an error to ignore fwrite's return
26120         value.  One can reliably use ferror to test for errors after
26121         the fact.
26123 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26125         * bits/types.h (__snseconds_t): New type.
26126         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26128         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26129         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26130         (__SNSECONDS_T_TYPE): Likewise.
26131         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26132         (__SNSECONDS_T_TYPE): Likewise.
26133         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26134         (__SNSECONDS_T_TYPE): Likewise.
26136 2012-04-10  Andreas Jaeger  <aj@suse.de>
26138         [BZ #2636]
26139         * manual/time.texi (Processor Time): Return type of times is
26140         elapsed real time since an arbitrary point in the past.
26141         (CPU Time): Move CLK_TCK from here...
26142         (Processor Time): ...to here.  Correct description.
26143         * manual/conf.texi (Constants for Sysconf): Correct description of
26144         _SC_CLK_TCK.
26146 2012-04-10  David S. Miller  <davem@davemloft.net>
26148         [BZ #13967]
26149         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26150         where the is a gap between DT_REL(A) and DT_JMPREL.
26152 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
26154         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26155         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26156         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26158 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26160         * elf/dl-support.c (_dl_inhibit_cache): New variable.
26161         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26162         (dl_main): Handle --inhibit-cache.
26163         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26164         _dl_inhibit_cache.
26165         * elf/dl-load.c (_dl_map_object): Use it.
26166         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26168 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26170         [BZ #13872]
26171         * sysdeps/i386/fpu/e_powl.S (p78): New object.
26172         (__ieee754_powl): Saturate large exponents rather than testing for
26173         overflow of y*log2(x).
26174         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26175         * math/libm-test.inc (pow_test): Do not permit spurious overflow
26176         exceptions.
26178         [BZ #11521]
26179         * math/s_ctan.c: Include <float.h>.
26180         (__ctan): Avoid internal overflow or cancellation in calculating
26181         denominator.
26182         * math/s_ctanf.c: Likewise.
26183         * math/s_ctanl.c: Likewise.
26184         * math/s_ctanh.c: Likewise.
26185         * math/s_ctanhf.c: Likewise.
26186         * math/s_ctanhl.c: Likewise.
26187         * math/libm-test.inc (ctan_test): Add more tests.
26188         (ctanh_test): Likewise.
26189         * sysdeps/i386/fpu/libm-test-ulps: Update.
26190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26192 2012-04-09  Andreas Jaeger  <aj@suse.de>
26194         [BZ #6894]
26195         * manual/filesys.texi (Directory Entries): Mention that d_namlen
26196         is an optional BSD extension.
26198         [BZ #10254]
26199         * manual/stdio.texi (Opening Streams): Document additional fopen
26200         parameters.
26202 2012-04-09  Roland McGrath  <roland@hack.frob.com>
26204         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26205         %eax without telling the compiler.
26207 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
26209         [BZ # 13963]
26210         * manual/install.texi: Use sourceware.org.
26212 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
26214         [BZ #13873]
26215         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26216         (__ieee754_pow): Generate overflow and underflow using huge*huge
26217         and tiny*tiny rather than just returning constant infinity or zero
26218         for large exponents.
26219         * math/libm-test.inc (pow_test): Require overflow exceptions for
26220         applicable cases of large exponents.
26222         [BZ #706]
26223         * sysdeps/i386/fpu/e_pow.S (p10): New object.
26224         (__ieee754_pow): Use iterative multiplication algorithm only for
26225         integer exponents with absolute value below 1024.  Check for odd
26226         integer exponents when using algorithm for real exponents.
26227         * math/libm-test.inc (pow_test): Add more tests.
26228         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26230 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
26232         [BZ #13705]
26233         * math/libm-test.inc (exp_test): Do not allow overflow exception
26234         on underflow test.
26236 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
26238         [BZ #13705]
26239         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26240         instead of __kernel_standard_f.
26242 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
26244         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26245         * sysdeps/x86_64/memset_chk.S: Likewise.
26247 2012-04-08  Andreas Jaeger  <aj@suse.de>
26249         [BZ #10153]
26250         * manual/startup.texi (Environment Access): Describe return value
26251         for putenv and setenv.
26253         [BZ #6895]
26254         * manual/filesys.texi (Directory Entries): Add description for
26255         DT_LNK.
26257         [BZ #6890]
26258         * manual/filesys.texi (Directory Entries): Clarify that it's file
26259         system not operating system in the description of DT_UNKNOWN.
26261         [BZ #6578]
26262         * manual/syslog.texi (closelog): Fix reference, it's openlog.
26264 2012-04-08  Stephen Compall  <s11@member.fsf.org>
26266         [BZ #6649]
26267         * manual/llio.texi (Opening and Closing Files): Add cross
26268         reference to explain mode argument.
26270 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
26272         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26273         * sysdeps/x86_64/memset_chk.S: Likewise.
26275 2012-04-07  David S. Miller  <davem@davemloft.net>
26277         * elf/elf.h (R_SPARC_WDISP10): Define.
26278         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26279         R_SPARC_SIZE32.
26280         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26281         R_SPARC_SIZE64 and R_SPARC_H34.
26283 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
26285         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26286         conditions and remove no longer applicable assertion.
26288 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26290         * bits/byteswap.h: Include <features.h>.
26291         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26292         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26294 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
26296         * bits/byteswap.h (__bswap_16): Removed.
26297         Include <bits/byteswap-16.h> to get __bswap_16.
26298         * sysdeps/i386/bits/byteswap.h: Likewise.
26299         * sysdeps/s390/bits/byteswap.h: Likewise.
26300         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26301         * bits/byteswap-16.h: New file.
26302         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26303         * sysdeps/s390/bits/byteswap-16.h: Likewise.
26304         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26305         * string/Makefile (headers): Add bits/byteswap-16.h.
26307 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26309         [BZ #13895]
26310         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26311         extra indirection.
26312         * nss/Makefile (tests-static, tests): Add tst-nss-static.
26313         * nss/tst-nss-static.c: New.
26315 2012-04-06  Robert Millan  <rmh@gnu.org>
26317         [BZ #6486]
26318         * manual/llio.texi (File Position Primitive): lseek
26319         refers to WHENCE when it really means OFFSET.
26321 2012-04-06  Andreas Jaeger  <aj@suse.de>
26323         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26324         strncmp declarations.
26326         * abilist/libc.abilist: Add __poll and __ppoll.
26328 2012-04-05  David S. Miller  <davem@davemloft.net>
26330         * scripts/check-local-headers.sh: Accept a host triplet in the
26331         path matched by the exclude regexp.
26333         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26334         definition.
26335         * sysdeps/powerpc/powerpc32/dl-machine.h
26336         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26337         * sysdeps/s390/s390-32/dl-machine.h
26338         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26339         * sysdeps/sparc/sparc32/dl-machine.h
26340         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26341         * sysdeps/sparc/sparc64/dl-machine.h
26342         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26344         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26345         lazy binding.
26346         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26347         undefined symbol errors.
26349         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26350         DT_NEEDED entries.
26352 2012-04-05  Michael Matz  <matz@suse.de>
26354         [BZ #13592]
26355         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26357 2012-04-05  Andreas Jaeger  <aj@suse.de>
26359         [BZ #13908]
26360         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26361         comment.
26363 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26365         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26366         which ROUND is no valid rounding mode.
26368 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26370         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26371         read again.
26372         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26374 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26376         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26377         an exception using FPU order intentionally.
26379 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26381         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26382         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26383         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26384         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26386 2012-04-05  Simon Josefsson  <simon@josefsson.org>
26388         [BZ #12340]
26389         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26390         EINVAL when BUFLEN is too smal.
26392 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26394         [BZ #13553]
26395         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26396         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26398 2012-04-03  Andreas Jaeger  <aj@suse.de>
26400         [BZ #13938]
26401         * manual/setjmp.texi (System V contexts): Fix sentence.
26403         [BZ #13926]
26404         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26405         New macro for this case.
26406         [!__GNUC__] (__bswap_64): New inline function for this case.
26407         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26408         * bits/byteswap.h: Likewise.
26409         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26410         ull, guard with __GLIBC_HAVE_LONG_LONG.
26412         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26413         __GLIBC_HAVE_LONG_LONG.
26415         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26416         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26418 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26420         [BZ #13691]
26421         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26422         inptr and inend, rather than using last_ch.
26424 2012-04-02  David S. Miller  <davem@davemloft.net>
26426         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26427         * stdio-common/printf-parse.h (read_int): Change return type to
26428         'int', return -1 on INT_MAX overflow.
26429         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26430         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
26431         overflows INT_MAX.  Check for overflow of in-format-string precision
26432         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
26433         SIZE_MAX not INT_MAX for integer overflow test.
26434         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26435         skip the construct in the format string but do not record anything.
26436         * stdio-common/bug22.c: Adjust to test both width/prevision
26437         INT_MAX overflow as well as total length INT_MAX overflow.  Check
26438         explicitly for proper errno values.
26440 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26442         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26443         CHAR_MAX.
26444         * string/test-strcmp.c [! WIDE]: Likewise.
26445         * time/tst-mktime2.c: Likewise for INT_MAX.
26446         * string/test-string.h: #include <sys/param.h> for MIN.
26448         * csu/init-first.c (__libc_init_first): Call __ctype_init.
26449         * sysdeps/i386/init-first.c (init): Likewise.
26450         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26451         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26452         * sysdeps/sh/init-first.c (init): Likewise.
26454 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
26456         * po/ru.po: Update from translation team.
26457         * po/vi.po: Likewise.
26459 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26461         * resolv/nss_dns/dns-host.c: Merge copyright years.
26463 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26465         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26466         Optimize memcpy with prefetch if
26467         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
26468         src, dst pointers have unequal 16 byte alignments.
26470 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26472         [BZ #13928]
26473         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26474         from a CNAME entry and return the minimum ttl for the query.
26475         (gaih_getanswer_slice): Likewise.
26477 2012-03-30  Jeff Law  <law@redhat.com>
26479         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26480         due to long keys.
26481         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26482         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26484         * resolv/nss_dns/dns-host.c: Update copyright year.
26486 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
26488         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26489         requests to save a system call.  Fix check that all bytes are sent.
26491         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26492         comments for sendmmsg.
26494 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26496         [BZ #13691]
26497         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26498         with only 1 character between 0x0041 and 0x01b0.
26499         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26500         * wcsmbs/tst-mbsnrtowcs.c: New file.
26502 2012-03-29  David S. Miller  <davem@davemloft.net>
26504         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26505         small copies by hand.
26507 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26509         [BZ #13761]
26510         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26511         _nss_compat_initgroups_dyn): Fall back to malloc/free
26512         for large group memberships.
26514 2012-03-28  David S. Miller  <davem@davemloft.net>
26516         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26517         that branches into memcpy.
26518         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26519         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26520         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26521         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26522         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26523         bits.
26524         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26525         implementation too.
26526         * sysdeps/sparc/mempcpy.S: New file.
26528         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26529         the IFUNC routine in the libc case.
26530         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26532         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26533         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26534         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26535         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26536         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26537         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26538         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26539         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26541         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26542         loop to 256 bytes instead of 64 bytes and fix test signedness.
26544         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26545         * sysdeps/sparc/sparc32/Makefile: rather than here...
26546         * sysdeps/sparc/sparc64/Makefile: and here.
26548 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
26550         * malloc/mallocbug.c: Avoid warnings about unused variables.
26552 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26554         [BZ #13760]
26555         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26556         in the right place. Discard and retry query if response is
26557         larger than input buffer size.
26559 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
26561         [BZ #369]
26562         [BZ #2678]
26563         [BZ #3866]
26564         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26565         x for large integer exponent.
26566         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26567         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
26568         sign of result as needed afterwards.
26569         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26570         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26571         result for underflowing pow the same as for overflow.
26572         (__kernel_standard_l): Handle powl overflow and underflow here
26573         rather than calling __kernel_standard.
26574         * math/libm-test.inc (pow_test): Add more tests.
26576         [BZ #3868]
26577         [BZ #13879]
26578         [BZ #13910]
26579         [BZ #13911]
26580         [BZ #13912]
26581         [BZ #13913]
26582         [BZ #13915]
26583         [BZ #13916]
26584         [BZ #13917]
26585         [BZ #13918]
26586         [BZ #13919]
26587         [BZ #13920]
26588         [BZ #13921]
26589         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26590         * sysdeps/ieee754/k_standard.c: Include <float.h>.
26591         (__kernel_standard_l): New function.
26592         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26593         __kernel_standard.
26594         * math/w_acosl.c (__acosl): Likewise.
26595         * math/w_asinl.c (__asinl): Likewise.
26596         * math/w_atan2l.c (__atan2l): Likewise.
26597         * math/w_atanhl.c (__atanhl): Likewise.
26598         * math/w_coshl.c (__coshl): Likewise.
26599         * math/w_exp10l.c (__exp10l): Likewise.
26600         * math/w_exp2l.c (__exp2l): Likewise.
26601         * math/w_fmodl.c (__fmodl): Likewise.
26602         * math/w_hypotl.c (__hypotl): Likewise.
26603         * math/w_j0l.c (__j0l, __y0l): Likewise.
26604         * math/w_j1l.c (__j1l, __y1l): Likewise.
26605         * math/w_jnl.c (__jnl, __ynl): Likewise.
26606         * math/w_lgammal.c (__lgammal): Likewise.
26607         * math/w_log10l.c (__log10l): Likewise.
26608         * math/w_log2l.c (__log2l): Likewise.
26609         * math/w_logl.c (__logl): Likewise.
26610         * math/w_powl.c (__powl): Likewise.
26611         * math/w_remainderl.c (__remainderl): Likewise.
26612         * math/w_scalbl.c (sysv_scalbl): Likewise.
26613         * math/w_sinhl.c (__sinhl): Likewise.
26614         * math/w_sqrtl.c (__sqrtl): Likewise.
26615         * math/w_tgammal.c (__tgammal): Likewise.
26616         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26617         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26618         * math/libm-test.inc (acos_test): Add more tests.
26619         (acosh_test): Likewise.
26620         (asin_test): Likewise.
26621         (atanh_test): Likewise.
26622         (exp_test): Likewise.
26623         (exp10_test): Likewise.
26624         (exp2_test): Likewise.
26625         (expm1_test): Likewise.
26626         (lgamma_test): Likewise.
26627         (log_test): Likewise.
26628         (log10_test): Likewise.
26629         (log1p_test): Likewise.
26630         (log2_test): Likewise.
26631         (pow_test): Do not allow some spurious overflow exceptions.
26632         (sqrt_test): Add more tests.
26633         (tgamma_test): Likewise.
26634         (y0_test): Likewise.
26635         (y1_test): Likewise.
26636         (yn_test): Likewise.
26638 2012-03-27  Anton Blanchard  <anton@samba.org>
26640         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26641         MAP_HUGETLB.
26642         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26643         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26644         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26646 2012-03-27  David S. Miller  <davem@davemloft.net>
26648         * conform/Makefile: Run run-conformtest.sh using $(BASH).
26650         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26651         have-as-vis3 check.
26653 2012-03-27  Andreas Jaeger  <aj@suse.de>
26655         * sysdeps/x86_64/elf/configure.in: Moved to ...
26656         * sysdeps/x86_64/configure.in: ... here.
26657         * sysdeps/x86_64/elf/start.S: Moved to ...
26658         * sysdeps/x86_64/start.S: ... here.
26659         * sysdeps/x86_64/elf/configure: Delete.
26661         * sysdeps/x86_64/configure.in: Merge contents from
26662         sysdeps/i386/configure.in (without i686 check).
26664         * sysdeps/i386/elf/Versions: Merge into ...
26665         * sysdeps/i386/Versions: ... this.
26666         * sysdeps/i386/elf/Versions: Delete file.
26667         * sysdeps/i386/elf/start.S: Moved to ...
26668         * sysdeps/i386/start.S: ...here.
26669         * sysdeps/i386/elf/configure.in: Merge into...
26670         * sysdeps/i386/configure.in: ...here.
26671         * sysdeps/i386/elf/configure.in: Delete file.
26672         * sysdeps/i386/elf/configure: Delete file.
26674         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26675         * debug/backtracesyms.c: ... here.
26676         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26677         * debug/backtracesymsfd.c: ... here.
26678         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26679         * sysdeps/generic/ifunc-sel.h: ... here.
26681         * sysdeps/unix/i386/start.c: Delete file.
26682         * sysdeps/unix/sparc/start.c: Delete file.
26683         * sysdeps/unix/start.c: Delete file.
26685         * sysdeps/sh/elf/configure.in: Moved to ...
26686         * sysdeps/sh/configure.in: ... here.
26687         * sysdeps/sh/elf/start.S: Moved to ...
26688         * sysdeps/sh/start.S: ... here.
26689         * sysdeps/sh/elf/configure: Delete file.
26691         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26692         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26693         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26694         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26695         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26696         * sysdeps/powerpc/powerpc64/start.S: here.
26697         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26698         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26699         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26700         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26701         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26703         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26704         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26705         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26706         * sysdeps/powerpc/powerpc32/start.S: ... here.
26707         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26708         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26709         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26711         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26712         * sysdeps/powerpc/ifunc-sel.h: ... here.
26713         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26714         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26716         * sysdeps/sparc/elf/configure.in: Moved to ...
26717         * sysdeps/sparc/configure.in: ... here.
26718         * sysdeps/sparc/elf/configure: Delete file.
26719         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26720         * sysdeps/sparc/sparc32/start.S: ... here.
26721         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26722         * sysdeps/sparc/sparc64/start.S: ... here.
26723         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26724         * sysdeps/sparc/sparc32/Makefile: ... this.
26725         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26726         * sysdeps/sparc/sparc64/Makefile: ... this.
26728         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26729         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26730         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26731         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26732         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26733         * sysdeps/s390/s390-32/setjmp.S: ... here.
26734         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26735         * sysdeps/s390/s390-32/configure.in: ... here.
26736         * sysdeps/s390/s390-32/elf/configure: Delete file.
26737         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26738         * sysdeps/s390/s390-32/start.S: ... here.
26740         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26741         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26742         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26743         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26744         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26745         * sysdeps/s390/s390-64/setjmp.S: ... here.
26746         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26747         * sysdeps/s390/s390-64/configure.in: ... here
26748         * sysdeps/s390/s390-64/elf/configure: Delete file.
26749         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26750         * sysdeps/s390/s390-64/start.S: ... here.
26751         * sysdeps/s390/s390-64/elf/configure: Delete.
26753         * configure.in: Remove support for elf directories in sysdeps.
26755         * configure: Regenerated.
26756         * sysdeps/i386/configure: Regenerated.
26757         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26758         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26759         * sysdeps/s390/s390-32/configure: Regenerated.
26760         * sysdeps/s390/s390-64/configure: Regenerated.
26761         * sysdeps/sh/configure: Regenerated.
26762         * sysdeps/sparc/configure: Regenerated.
26763         * sysdeps/x86_64/configure: Regenerated.
26765 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26769         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26770         denormal result into account.
26772 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26774         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26775         Reported by Allan McRae <allan@archlinux.org>.
26777 2012-03-23  Jeff Law  <law@redhat.com>
26779         * nss/getnssent.c (__nss_getent): Fix typo.
26781 2012-03-23  David S. Miller  <davem@davemloft.net>
26783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26785 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26787         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26788         to pad to uint64_t for each field.
26789         (dl_tls_index): Replace unsigned long with uint64_t.
26791 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26792         Paul Pluzhnikov  <ppluzhnikov@google.com>
26794         [BZ #6528]
26795         * grp/Makefile (otherlibs): Don't set it.
26796         * inet/Makefile (otherlibs): Likewise.
26797         * login/Makefile (otherlibs): Likewise.
26798         * nscd/Makefile (otherlibs): Likewise.
26799         * posix/Makefile (otherlibs): Likewise.
26800         * pwd/Makefile (otherlibs): Likewise.
26801         * rt/Makefile (otherlibs): Likewise.
26802         * sunrpc/Makefile (otherlibs): Likewise.
26803         * nss/Makefile (otherlibs): Likewise.
26804         Add libnss_files to routines and static-only-routines.
26805         ($(objpfx)getent): Remove rule.
26806         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26807         static-only-routines.
26809 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26811         [BZ #13892]
26812         * math/s_cexp.c: Include <float.h>.
26813         (__cexp): Handle exp result overflowing not necessarily
26814         overflowing both real and imaginary parts of result.
26815         * math/s_cexpf.c: Likewise.
26816         * math/s_cexpl.c: Likewise.
26817         * math/libm-test.inc (cexp_test): Add more tests.
26818         * sysdeps/i386/fpu/libm-test-ulps: Update.
26819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26821 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26823         * include/link.h (ELFW): New macro.
26824         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26825         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26827 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26829         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26830         with uint64_t.
26832 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26834         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26835         declaration.
26836         (struct La_x32_retval): Likewise.
26838 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26840         * sysdeps/x86_64/preconfigure.in: New file.
26841         * sysdeps/x86_64/preconfigure: New generated file.
26843 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26845         [BZ #13824]
26846         * math/e_exp2l.c: Include <float.h>.
26847         (__ieee754_exp2l): Handle overflow and underflow cases
26848         separately.  Only pass fractional part of argument to
26849         __ieee754_expl.
26850         * math/libm-test.inc (exp2_test): Add more tests.
26852         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26853         negating x to take absolute value.
26854         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26855         Likewise.
26856         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26857         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26858         Likewise.
26859         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26860         computing low part if x was negated.
26861         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26863 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26865         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26866         la_x32_gnu_pltexit.
26867         (pltexit): Cast int_retval to ptrdiff_t.
26868         * elf/tst-auditmod3b.c: Likewise.
26869         * elf/tst-auditmod4b.c: Likewise.
26870         * elf/tst-auditmod5b.c: Likewise.
26871         * elf/tst-auditmod6b.c: Likewise.
26872         * elf/tst-auditmod6c.c: Likewise.
26873         * elf/tst-auditmod7b.c: Likewise.
26875         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26876         and x32_gnu_pltexit.
26878         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26879         __ELF_NATIVE_CLASS.
26880         (La_x32_regs): New macro.
26881         (La_x32_retval): Likewise.
26882         (la_x32_gnu_pltenter): New function prototype.
26883         (la_x32_gnu_pltexit): Likewise.
26885 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26887         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26888         exponent.
26890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26892         * configure.in (libc_cv_cc_nofma): Check for option to disable
26893         generation of FMA instructions.
26894         * configure: Regenerate.
26895         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26896         * sysdeps/ieee754/dbl-64/Makefile: New file.
26897         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26898         Remove brandred-fma4.
26899         (CFLAGS-brandred-fma4.c): Remove.
26900         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26901         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26902         define.
26903         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26904         define.
26906 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26908         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26909         LLONG_MAX != LONG_MAX.
26910         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26911         (_fitoa_word): Likewise.
26912         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26913         LLONG_MAX != LONG_MAX.
26914         * stdio-common/_itowa.h: Include <_itoa.h>.
26915         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26916         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26917         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26918         only if not defined.
26919         (_ITOA_WORD_TYPE): Likewise.
26920         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26921         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26923 2012-03-21  David S. Miller  <davem@davemloft.net>
26925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26927 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26929         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26930         of x86_64 when setting libc_cv_slibdir, libdir and
26931         libc_cv_localedir.
26932         * sysdeps/unix/sysv/linux/configure: Regenerated.
26934 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26936         * manual/lang.texi (Old Varargs): Remove section.
26937         (How Variadic): Update menu.
26938         (va_start): Do not mention varargs.h.
26940 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26941             Joseph Myers  <joseph@codesourcery.com>
26943         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26944         link test.
26945         * configure: Regenerated.
26947 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26949         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26950         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26951         conformtest.pl
26953 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26955         * NOTES: Remove.
26956         * Makefile (files-for-dist): Remove NOTES.
26957         (NOTES): Remove rule.
26958         * README: Don't refer to NOTES.
26959         * manual/creature.texi: Don't include macros.texi.
26960         * manual/intro.texi (creature.texi): Remove comment referring to
26961         NOTES.
26963         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26964         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26965         * configure: Regenerated.
26966         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26967         LIBC_TRY_CC_OPTION.
26968         (libc_cv_as_i686): Likewise.
26969         (libc_cv_cc_avx): Likewise.
26970         (libc_cv_cc_sse2avx): Likewise.
26971         (libc_cv_cc_fma4): Likewise.
26972         (libc_cv_cc_novzeroupper): Likewise.
26973         * sysdeps/i386/configure: Regenerated.
26975         [BZ #13883]
26976         * sysdeps/i386/fpu/s_cexp.S: Remove.
26977         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26978         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26979         * math/libm-test.inc (cexp_test): Add more tests.
26980         * sysdeps/i386/fpu/libm-test-ulps: Update.
26981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26983 2012-03-21  Allan McRae  <allan@archlinux.org>
26985         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26987 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26989         [BZ #13871]
26990         * math/w_exp2.c: Do not include <float.h>.
26991         (o_threshold, u_threshold): Remove.
26992         (__exp2): Calculate result before checking finiteness and calling
26993         __kernel_standard.
26994         * math/w_exp2f.c: Likewise.
26995         * math/w_exp2l.c: Likewise.
26996         * math/libm-test.inc (exp2_test): Require overflow exception for
26997         1e6 input.
26999         [BZ #3866]
27000         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27001         range of signed 64-bit integers before using fistpll.  Remove
27002         checks for whether integers fit in mantissa bits.
27003         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27004         the range of signed 32-bit integers before using fistpl.  Remove
27005         checks for whether integers fit in mantissa bits.
27006         * sysdeps/i386/fpu/e_powl.S (p64): New object.
27007         (__ieee754_powl): Test for y outside the range of signed 64-bit
27008         integers before using fistpll.  Reduce 64-bit values to 63-bit
27009         ones as needed.
27010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27011         divide-by-zero is raised for zero to large negative powers.
27012         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27013         (__ieee754_powl): Test for y outside the range of signed 64-bit
27014         integers before using fistpll.  Reduce 64-bit values to 63-bit
27015         ones as needed.
27016         * math/libm-test.inc (pow_test): Add more tests.
27018 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27020         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27021         <stdio-common/_itoa.h>.
27022         * debug/segfault.c: Likewise.
27023         * elf/dl-cache.c: Likewise.
27024         * elf/dl-minimal.c: Likewise.
27025         * elf/dl-misc.c: Likewise.
27026         * elf/dl-sysdep.c: Likewise.
27027         * elf/dl-version.c: Likewise.
27028         * elf/rtld.c: Likewise.
27029         * hurd/hurdsock.c: Likewise.
27030         * hurd/lookup-retry.c: Likewise.
27031         * malloc/malloc.c: Likewise.
27032         * malloc/mtrace.c: Likewise.
27033         * nscd/nscd_getgr_r.c: Likewise.
27034         * nscd/nscd_getpw_r.c: Likewise.
27035         * nscd/nscd_getserv_r.c: Likewise.
27036         * posix/getopt_init.c: Likewise.
27037         * posix/wordexp.c: Likewise.
27038         * stdio-common/_itoa.c: Likewise.
27039         * stdio-common/printf_fphex.c: Likewise.
27040         * stdio-common/vfprintf.c: Likewise.
27041         * string/_strerror.c: Likewise.
27042         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27043         * sysdeps/i386/i686/hp-timing.h: Likewise.
27044         * sysdeps/mach/_strerror.c: Likewise.
27045         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27046         * sysdeps/mach/hurd/sethostid.c: Likewise.
27047         * sysdeps/mach/hurd/xmknodat.c: Likewise.
27048         * sysdeps/mach/xpg-strerror.c: Likewise.
27049         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27050         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27051         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27052         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27053         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27054         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27055         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27056         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27057         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27058         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27059         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27060         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27061         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27062         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27063         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27064         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27065         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27066         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27067         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27068         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27069         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27071         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27073         * stdio-common/_itoa.h: Moved to ...
27074         * sysdeps/generic/_itoa.h: Here.
27076         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27078         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27079         instead of "_itoa.h" and "_itowa.h".
27080         * stdio-common/vfprintf.: Likewise.
27082 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27084         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27085         <bits/wordsize.h>.
27086         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27087         (__signbit): Likwise.
27088         (llrintf): Likwise.
27089         (llrint): Likwise.
27091 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
27093         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27094         __WORDSIZE != 64.
27096 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
27098         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27099         OVERFLOW_EXCEPTION_OK.
27100         * math/libm-test.inc ("Philosophy"): Update comment about
27101         exception testing.
27102         (OVERFLOW_EXCEPTION): Define.
27103         (OVERFLOW_EXCEPTION_OK): Likewise.
27104         (INVALID_EXCEPTION_OK): Renumber.
27105         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27106         (IGNORE_ZERO_INF_SIGN): Likewise.
27107         (test_exceptions): Handle FE_OVERFLOW.
27108         (exp10_test): Expect overflow exceptions.
27109         (exp2_test): Likewise.
27110         (expm1_test): Likewise.
27111         (nextafter_test): Likewise.
27112         (pow_test): Likewise.
27113         (scalbn_test): Likewise.
27114         (scalbln_test): Likewise.
27116 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27118         * sysdeps/x86_64/bits/atomic.h
27119         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27120         64bit integer.
27121         (atomic_exchange_acq): Likewise.
27122         (__arch_exchange_and_add_body): Likewise.
27123         (__arch_add_body): Likewise.
27124         (atomic_add_negative): Likewise.
27125         (atomic_add_zero): Likewise.
27127 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27129         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27130         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27132 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27134         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27135         Check __x86_64__ instead of __WORDSIZE.
27137 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27139         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27141 2012-03-19  David S. Miller  <davem@davemloft.net>
27143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27145         * sysdeps/sparc/fpu/fenv_private.h: New file.
27146         * sysdeps/sparc/fpu/math_private.h: Use it.
27147         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27148         Remove.
27149         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27150         (libc_feholdexcept_setroundl): Remove.
27151         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27152         Remove.
27153         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27154         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27156 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27158         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27159         int64_t instead of long int.
27160         (INSERT_WORDS64): Likwise.
27162 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
27164         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27165         _Unwind_GetCFA return to _Unwind_Ptr first.
27167 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
27169         [BZ #13629]
27170         * math/s_clog.c: Include <float.h>.
27171         (__clog): Scale large or subnormal inputs.
27172         * math/s_clogf.c: Likewise.
27173         * math/s_clogl.c: Likewise.
27174         * math/s_clog10.c: Include <float.h>.
27175         (M_LOG10_2): Define.
27176         (__clog10): Scale large or subnormal inputs.
27177         * math/s_clog10f.c: Likewise.
27178         * math/s_clog10l.c: Likewise.
27179         * math/libm-test.inc (clog_test): Add more tests.
27180         (clog10_test): Likewise.
27181         * sysdeps/i386/fpu/libm-test-ulps: Update.
27182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27184         [BZ #11451]
27185         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27186         x and y.
27187         * math/libm-test.inc (atan2_test): Add another test.
27189         * Makerules (common-objdir-compile): Remove.
27190         * sysdeps/unix/Makefile (config-generated): Do not add
27191         $(unix-generated) to variable.
27192         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27193         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27194         Remove rule.
27195         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27196         Likewise.
27197         [generic bits/local_lim.h] (before-compile): Do not append to
27198         variable.
27199         [generic bits/local_lim.h] (common-generated): Likewise.
27200         [generic sys/param.h] (before-compile): Do not append to variable.
27201         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27202         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27203         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27204         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27205         include.
27206         [generic sys/param.h] (sys/param.h-includes): Remove variable.
27207         [generic sys/param.h] (sys/param.h-includes): Remove rule.
27208         [generic sys/param.h] ($(addprefix
27209         $(common-objpfx),$(sys/param.h-includes))): Likewise.
27210         [generic sys/param.h] (common-generated): Do not append to
27211         variable.
27212         [generic sys/param.h] (sysdep_headers): Likewise.
27213         [generic bits/errno.h] (before-compile): Do not append to
27214         variable.
27215         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27216         rule.
27217         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27218         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27219         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27220         [generic bits/errno.h] (common-generated): Do not append to
27221         variable.
27222         [generic bits/ioctls.h] (before-compile): Do not append to
27223         variable.
27224         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27225         rule.
27226         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27227         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27228         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27229         rule.
27230         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27231         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27232         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27233         [generic bits/ioctls.h] (common-generated): Do not append to
27234         variable.
27235         [generic sys/syscall.h] (syscall.h): Remove variable.
27236         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27237         rule.
27238         [generic sys/syscall.h] (before-compile): Do not append to
27239         variable.
27240         [generic sys/syscall.h] (common-generated): Likewise.
27241         * sysdeps/unix/errnos-tmpl.c: Remove file.
27242         * sysdeps/unix/errnos.awk: Likewise.
27243         * sysdeps/unix/ioctls-tmpl.c: Likewise.
27244         * sysdeps/unix/ioctls.awk: Likewise.
27245         * sysdeps/unix/mk-local_lim.c: Likewise.
27246         * sysdeps/unix/snarf-ioctls: Likewise.
27248 2012-03-19  Richard Henderson  <rth@twiddle.net>
27250         * sysdeps/i386/fpu/fenv_private.h: New file.
27251         * sysdeps/i386/fpu/math_private.h: Use it.
27252         (math_opt_barrier, math_force_eval): Remove.
27253         (libc_feholdexcept_setround_53bit): Remove.
27254         (libc_feupdateenv_53bit): Remove.
27255         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27256         (math_opt_barrier, math_force_eval): Remove.
27257         (libc_feholdexcept): Remove.
27258         (libc_feholdexcept_setround): Remove.
27259         (libc_fetestexcept, libc_fesetenv): Remove.
27260         (libc_feupdateenv_test): Remove.
27261         (libc_feupdateenv, libc_feholdsetround): Remove.
27262         (libc_feresetround): Remove.
27264         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27265         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27267         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27268         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27269         (libc_feupdateenv_testl): New.
27270         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27271         (libc_feupdateenv_testf): New.
27272         (libc_feupdateenv): Use libc_feupdateenv_test.
27273         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27274         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27276         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27277         (libc_feholdsetroundf, libc_feholdsetroundl): New.
27278         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27279         (libc_feresetround_noex): New.
27280         (libc_feresetround_noexf): New.
27281         (libc_feresetround_noexl): New.
27282         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27283         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27284         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27285         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27286         SET_RESTORE_ROUND.
27287         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27288         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27289         (__cos): Likewise.
27290         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27291         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27292         SET_RESTORE_ROUND_NOEX.
27293         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27294         SET_RESTORE_ROUND_NOEXF.
27295         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27296         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27297         (libc_feholdsetroundf): New.
27298         (libc_feresetround, libc_feresetroundf): New.
27300         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27301         (libc_feholdexcept_setround_53bit): Convert from macro to function.
27302         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
27304         * sysdeps/generic/math_private.h: Include <fenv.h>.
27305         (default_libc_feholdexcept): New.
27306         (default_libc_feholdexcept_setround): New.
27307         (default_libc_fesetenv, default_libc_feupdateenv): New.
27308         (libc_feholdexcept): Only define if undefined.
27309         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27310         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27311         (libc_feholdexcept_setroundl): Likewise.
27312         (libc_feholdexcept_setround_53bit): Likewise.
27313         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27314         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27315         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27316         (libc_feupdateenv_53bit): Likewise.
27317         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27318         (libc_feholdexcept): Convert from macro to inline function.
27319         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27320         (libc_fesetenv, libc_feupdateenv): Likewise.
27322         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27323         not previously defined.
27324         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27325         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27326         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27327         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27328         * sysdeps/ieee754/flt-32/math_private.h: New file.
27329         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27330         math_private.h below SET_FLOAT_WORD.
27331         (__isnan, __isinf_ns, __finite): Remove.
27332         (__isnanf, __isinf_nsf, __finitef): Remove.
27334 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
27336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27338 2012-03-17  David S. Miller  <davem@davemloft.net>
27340         [BZ #6471]
27341         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27342         for 2.16.
27344 2012-03-16  David S. Miller  <davem@davemloft.net>
27346         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27347         warnings.
27349         [BZ #6471]
27350         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27351         properly.
27352         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27353         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27354         sysdep_routines when subdir is sysvipc.
27355         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27356         __getshmlba helper.
27358         * sysdeps/sparc/fpu/libm-test/ulps: Update.
27360 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27362         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27363         [__LP64__].
27365 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27367         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27368         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27369         (__lround): Renamed to ...
27370         (__llround): This.  Replace long int with long long int.
27371         Define lround functions as aliases of llround functions.
27372         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27374 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27376         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27377         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
27378         adresses to uintptr_t.  Replace "long int" and "unsigned long
27379         int" with "greg_t" on va_arg.
27381 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27383         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27384         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27386         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27387         Move e_machine check before EI_CLASS check.  Handle x32
27388         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27389         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27390         SKIP_EM_IA_64 and include
27391         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27393         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27394         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27395         (add_system_dir): New macro.
27397         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27398         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27400 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27402         [BZ #2551]
27403         [BZ #2552]
27404         [BZ #2553]
27405         [BZ #2554]
27406         [BZ #2562]
27407         [BZ #2563]
27408         [BZ #2565]
27409         [BZ #2566]
27410         [BZ #2576]
27411         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27412         (y0): Likewise.
27413         * math/w_j0f.c (j0f): Likewise.
27414         (y0f): Likewise.
27415         * math/w_j0l.c (__j0l): Likewise.
27416         (__y0l): Likewise.
27417         * math/w_j1.c (j1): Likewise.
27418         (y1): Likewise.
27419         * math/w_j1f.c (j1f): Likewise.
27420         (y1f): Likewise.
27421         * math/w_j1l.c (__j1l): Likewise.
27422         (__y1l): Likewise.
27423         * math/w_jn.c (jn): Likewise.
27424         (yn): Likewise.
27425         * math/w_jnf.c (jnf): Likewise.
27426         (ynf): Likewise.
27427         * math/w_jnl.c (__jnl): Likewise.
27428         (__ynl): Likewise.
27429         * math/libm-test.inc (j0_test): Add more tests.
27430         (j1_test): Likewise.
27431         (jn_test): Likewise.  Add trailing semicolon to existing test.
27432         (y0_test): Likewise.
27433         (y1_test): Likewise.
27434         * sysdeps/i386/fpu/libm-test-ulps: Update.
27435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27437         [BZ #13851]
27438         [BZ #13854]
27439         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27440         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27441         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27442         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27443         (__tanl): Set errno for infinite argument.
27444         * sysdeps/i386/fpu/mptan.c: Remove.
27445         * sysdeps/i386/fpu/s_tan.S: Likewise.
27446         * sysdeps/i386/fpu/s_tanl.S: Likewise.
27447         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27448         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27449         * math/libm-test.inc (tan_test): Add more tests and enable more
27450         tests for double and long double.
27451         * sysdeps/i386/fpu/libm-test-ulps: Update.
27452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27454 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
27456         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27457         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27459 2012-03-16  Roland McGrath  <roland@hack.frob.com>
27461         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27462         * configure.in: Use it for both main tree and add-ons.
27463         * configure: Regenerated.
27465 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27467         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27469 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
27471         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27472         in comment.
27474         [BZ #13851]
27475         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27476         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27477         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27478         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27479         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27480         infinite argument.
27481         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27482         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27483         != 0 for prec == 2.
27484         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27485         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27486         * sysdeps/i386/fpu/s_cosl.S: Likewise.
27487         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27488         * sysdeps/i386/fpu/s_sinl.S: Likewise.
27489         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27490         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27491         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27492         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27493         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27494         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27495         * math/libm-test.inc (cos_test): Add more tests and enable more
27496         tests for long double.
27497         (sin_test): Likewise.
27498         (sincos_test): Likewise.
27499         * sysdeps/i386/fpu/libm-test-ulps: Update.
27500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27502 2012-03-16  David S. Miller  <davem@davemloft.net>
27504         * sysdeps/sparc/fpu/math_private.h: New file.
27506 2012-03-15  David S. Miller  <davem@davemloft.net>
27508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27509         file.
27510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27512         file.
27513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27514         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27515         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27516         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27517         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27518         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27519         sysdep routines.
27520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27522         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27523         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27525         * sysdeps/sparc/sparc-ifunc.h: New file.
27526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27527         sparc-ifunc.h
27528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27530         Likewise.
27531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27532         Likewise.
27533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27537         Likewise.
27538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27543         Likewise.
27544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27545         Likewise.
27546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27551         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27552         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27553         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27554         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27555         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27556         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27560         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27561         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27562         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27564         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27565         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27566         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27567         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27568         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27569         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27571 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27573         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27574         scaling.
27575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27577 2012-03-15  Andreas Jaeger  <aj@suse.de>
27579         [BZ #13852]
27580         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27581         ieee754/flt-32 implementation for sin, cos and sincos.
27582         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27583         * sysdeps/i386/fpu/s_cosf.S: Likewise.
27584         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27585         * sysdeps/i386/fpu/s_sinf.S: Likewise.
27586         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27587         ieee754/flt-32 implementation for tan.
27589         * math/libm-test.inc (cos_test): Enable some large input tests for
27590         float as well
27591         (sin_test): Likewise.
27592         (sincos_test): Likewise.
27593         (tan_test): Add tests for large input.
27595         * sysdeps/i386/fpu/libm-test-ulps: Update.
27597 2012-03-15  Andreas Jaeger  <aj@suse.de>
27599         [BZ #13658]
27600         * math/libm-test.inc (cos_test): Add more test cases.
27601         (sin_test): Likewise.
27602         (sincos_test): Likewise.
27604 2012-03-15  Andreas Jaeger  <aj@suse.de>
27606         [BZ #13837]
27607         * math/libm-test.inc (cos_test): Add a test case for large input
27608         value.
27609         (sin_test): Likewise.
27610         (sincos_test): Likewise.
27612 2012-03-15  Andreas Jaeger  <aj@suse.de>,
27613         Joseph Myers  <joseph@codesourcery.com>
27615         [BZ #13658]
27616         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27617         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27618         * sysdeps/i386/fpu/branred.c: Likewise.
27619         * sysdeps/i386/fpu/dosincos.c: Likewise.
27620         * sysdeps/i386/fpu/mpa.c: Likewise.
27621         * sysdeps/i386/fpu/s_cos.S: Likewise.
27622         * sysdeps/i386/fpu/s_sin.S: Likewise.
27623         * sysdeps/i386/fpu/s_sincos.S: Likewise.
27624         * sysdeps/i386/fpu/sincos32.c: Likewise.
27626         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27627         Define.
27628         (libc_feupdateenv_53bit): Define.
27629         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27630         Define.
27631         (libc_feupdateenv_53bit): Define.
27633         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27634         53 bit (without extend i386 double precision).
27636         * math/libm-test.inc (sincos_test): Add tests for large input.
27637         (sin): Likewise.
27638         (cos): Likewise.
27640         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27642 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27646 2012-03-15  David S. Miller  <davem@davemloft.net>
27648         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27649         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27650         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27651         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27656         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27657         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27658         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27659         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27660         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27661         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27662         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27664         file.
27665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27667         file.
27668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27670         file.
27671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27673         file.
27674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27675         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27676         fmin/fmax sysdep routines.
27677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27679 2012-03-14  David S. Miller  <davem@davemloft.net>
27681         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27682         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27683         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27684         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27685         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27686         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27687         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27688         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27691         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27692         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27693         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27694         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27695         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27696         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27697         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27698         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27699         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27700         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27701         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27702         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27703         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27704         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27705         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27706         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27707         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27708         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27709         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27710         routines.
27711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27712         file.
27713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27715         file.
27716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27718         file.
27719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27721         file.
27722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27724         file.
27725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27727         file.
27728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27729         file.
27730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27731         file.
27732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27733         file.
27734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27735         New file.
27736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27737         file.
27738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27739         file.
27740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27742         file.
27743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27745         file.
27746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27748         file.
27749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27751         VIS3 routines.
27753         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27754         New file.
27756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27758         * sysdeps/sparc/configure.in: New file.
27759         * sysdeps/sparc/configure: Generate.
27760         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27761         * configure: Regenerate.
27762         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27763         * config.make.in (have-as-vis3): New.
27764         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27765         available use -Av9d instead of -Av9a.
27766         * sysdeps/sparc/sparc64/Makefile: Likewise.
27767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27769         New file.
27770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27771         file.
27772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27773         New file.
27774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27775         file.
27776         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27777         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27778         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27779         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27780         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27782         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27783         fzeros/fnegs to load 0x80000000 into a float register instead of
27784         using the stack.
27785         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27787 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27790         bits/syscall.h.
27791         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27792         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27793         ($(inst_includedir)/bits/syscall.h): Remove rule.
27794         ($(objpfx)bits/syscall.d): Include instead of
27795         $(objpfx)syscall-list.d.
27796         (generated): Change syscall-list.h and syscall-list.d to
27797         bits/syscall.h and bits/syscall.d.
27799 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27801         [BZ #13846]
27802         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27804 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27806         [BZ #13841]
27807         * math/s_csqrt.c: Include <float.h>.
27808         (__csqrt): Scale large or subnormal inputs.
27809         * math/s_csqrtf.c: Likewise.
27810         * math/s_csqrtl.c: Likewise.
27811         * math/libm-test.inc (csqrt_test): Add more tests.
27812         * sysdeps/i386/fpu/libm-test-ulps: Update.
27813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27815         [BZ #13840]
27816         * math/libm-test.inc (hypot_test): Add more tests.
27818 2012-03-13  David S. Miller  <davem@davemloft.net>
27820         [BZ #13840]
27821         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27822         double-precision for the calculation instead of scaling.
27824 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27826         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27827         manipulate bits before adding and subtracting TWO52[sx].
27828         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27829         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27830         Likewise.
27831         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27833 2012-03-13  David S. Miller  <davem@davemloft.net>
27835         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27836         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27837         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27838         rtld-global-offsets.h
27839         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27841         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27842         large parameters.
27844         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27846         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27847         'err' in the ifdef scope in which it is actually used.
27849         * nss/nss_db/db-init.c: Include string.h
27851 2012-03-12  David S. Miller  <davem@davemloft.net>
27853         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27854         masking out of the most significant byte of random value used.
27855         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27856         Fix coding style in previous change.
27858         * sysdeps/unix/sysv/linux/kernel-features.h
27859         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27860         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27861         expression.
27862         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27863         later.
27865 2012-03-11  David S. Miller  <davem@davemloft.net>
27867         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27868         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27869         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27870         for 'resultvar' otherwise things get truncated on 64-bit.
27872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27873         Fix masking out of the most significant byte of random value used.
27875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27877 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27881 2012-03-09  David S. Miller  <davem@davemloft.net>
27883         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27884         variables with appropriate CPP guards.
27885         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27886         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27887         on resulting framesize and the management of the outregs buffer for pltexit.
27888         Preserve floating point return values across _dl_call_pltexit call.
27889         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27890         framesize and the management of the outregs buffer for pltexit.
27891         Preserve floating point return values across _dl_call_pltexit
27892         call.
27893         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27894         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27895         (print_exit): Fix format string for return register value.
27897 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27899         * sunrpc/Makefile (others): Add rpcgen.
27900         ($(objpfx)rpcgen): Remove special build rule and dependency on
27901         libc.
27902         * sunrpc/rpcgen.c: New file.
27904 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27906         [BZ #13673]
27907         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27908         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27909         * sysdeps/i386/crti.S: Likewise.
27910         * sysdeps/i386/crtn.S: Likewise.
27911         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27912         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27913         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27914         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27915         * sysdeps/sh/crti.S: Likewise.
27916         * sysdeps/sh/crtn.S: Likewise.
27917         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27919         [BZ #13673]
27920         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27921         with URL.
27922         * locale/programs/locfile-kw.gperf: Likewise.
27923         * locale/programs/charmap-kw.h: Regenerated.
27924         * locale/programs/locfile-kw.h: Likewise.
27926         [BZ #13673]
27927         * intl/plural.y: Replace FSF snail mail address with URL.
27928         * intl/plural.c: Regenerated.
27930 2012-03-09  Richard Henderson  <rth@twiddle.net>
27932         * include/math_private.h: Remove file.
27933         * math/math_private.h: Move file ...
27934         * sysdeps/generic/math_private.h: ... here.
27936         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27937         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27938         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27940         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27941         and <math_private.h>.
27942         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27943         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27944         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27945         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27946         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27947         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27948         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27949         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27950         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27951         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27952         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27953         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27954         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27955         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27956         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27957         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27958         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27959         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27960         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27961         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27962         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27963         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27964         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27965         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27966         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27967         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27968         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27969         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27970         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27971         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27972         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27973         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27974         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27975         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27976         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27977         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27978         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27979         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27980         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27981         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27982         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27983         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27984         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27985         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27986         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27987         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27988         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27989         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27990         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27991         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27992         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27993         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27994         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27995         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27996         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27997         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27998         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27999         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28000         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28001         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28002         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28003         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28004         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28005         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28006         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28007         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28008         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28009         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28010         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28011         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28012         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28013         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28014         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28015         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28016         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28017         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28018         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28019         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28020         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28021         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28022         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28023         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28024         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28025         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28026         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28027         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28028         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28029         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28030         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28031         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28032         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28033         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28034         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28035         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28036         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28037         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28038         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28039         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28040         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28041         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28042         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28043         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28044         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28045         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28046         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28047         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28048         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28049         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28050         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28051         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28052         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28053         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28054         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28055         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28056         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28057         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28058         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28059         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28060         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28061         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28062         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28063         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28064         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28065         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28066         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28067         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28068         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28069         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28070         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28071         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28072         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28073         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28074         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28075         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28076         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28077         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28078         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28079         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28080         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28081         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28082         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28083         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28084         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28085         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28086         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28087         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28088         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28089         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28090         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28091         * sysdeps/ieee754/k_standard.c: Likewise.
28092         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28093         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28094         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28095         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28096         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28097         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28098         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28099         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28100         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28101         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28102         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28103         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28104         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28105         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28106         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28107         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28108         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28109         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28110         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28111         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28112         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28113         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28114         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28115         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28116         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28117         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28118         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28119         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28120         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28121         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28122         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28123         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28124         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28125         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28126         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28127         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28128         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28129         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28130         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28131         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28132         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28133         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28134         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28135         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28136         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28137         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28138         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28139         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28140         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28141         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28142         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28143         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28144         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28145         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28146         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28147         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28148         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28149         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28150         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28151         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28152         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28153         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28154         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28155         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28156         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28157         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28158         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28159         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28160         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28161         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28162         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28163         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28164         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28165         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28166         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28167         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28168         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28169         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28170         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28171         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28172         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28173         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28174         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28175         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28176         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28177         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28178         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28179         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28180         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28181         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28182         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28183         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28184         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28185         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28186         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28187         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28188         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28189         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28190         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28191         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28192         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28193         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28194         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28195         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28196         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28197         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28198         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28199         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28200         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28201         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28202         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28203         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28204         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28205         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28206         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28207         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28208         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28209         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28210         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28211         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28212         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28213         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28214         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28215         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28216         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28217         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28218         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28219         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28220         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28221         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28222         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28223         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28224         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28225         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28226         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28227         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28228         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28229         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28230         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28231         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28232         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28233         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28234         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28235         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28236         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28237         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28238         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28239         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28240         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28241         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28242         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28243         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28244         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28245         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28246         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28247         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28248         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28249         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28250         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28251         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28252         * sysdeps/ieee754/s_lib_version.c: Likewise.
28253         * sysdeps/ieee754/s_matherr.c: Likewise.
28254         * sysdeps/ieee754/s_signgam.c: Likewise.
28255         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28256         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28257         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28258         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28259         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28260         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28261         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28262         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28263         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28264         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28265         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28266         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28267         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28268         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28269         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28270         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28271         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28272         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28273         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28274         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28275         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28277 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28279         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28280         * sunrpc/rpc_main.c: Likewise.
28281         * sunrpc/rpc_svcout.c: Likewise.
28283 2012-03-09  David S. Miller  <davem@davemloft.net>
28285         * include/math_private.h: New file.
28287 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
28289         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28290         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28291         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28292         from <bits/socket_type.h>.
28293         (enum __socket_type): Don't define here.
28294         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28296         bits/socket_type.h.
28298         [BZ #13566]
28299         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28300         checking __USE_GNU.
28302         * Makerules ($(inst_includedir)/%.h): New rule.
28303         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28304         (install-others): Remove variable setting.
28305         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28307 2012-03-08  Richard Henderson  <rth@twiddle.net>
28309         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28310         from macro to inline function; merge with the
28311         !__LIBC_INTERNAL_MATH_INLINES version.
28312         (__ieee754_sqrtf): Likewise.
28314         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28315         to inline function.
28316         (__rintf, __floor, __floorf): Likewise.
28318         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28319         macro to inline function.
28320         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28322         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28323         not <math/math_private.h>.
28325 2012-03-08  David S. Miller  <davem@davemloft.net>
28327         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28328         copyright year.
28329         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28331 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
28333         * resolv/gai_misc.c (handle_requests): Fix struct timespec
28334         normalization.
28335         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28336         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28338 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
28340         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
28341         be defined individually, they must be defined as a block.  Define
28342         S for printing a string instead of hidint the different by using a
28343         macro for adding the 'l'.
28344         * stdio-common/tst-fphex-wide.c: Adjust.
28346 2012-03-07  Marek Polacek  <polacek@redhat.com>
28348         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28350 2012-03-08  Marek Polacek  <polacek@redhat.com>
28352         [BZ #13806]
28353         * stdio-common/Makefile (tests): Add tst-fphex-wide.
28354         * stdio-common/tst-fphex.c: Define a few macros to make the
28355         test reusable.  Use them.
28356         * stdio-common/tst-fphex-wide.c: New file.
28358 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
28360         [BZ #6911]
28361         * manual/macros.texi (gnusystems): New macro.
28362         (nongnusystems): Likewise.
28363         (gnulinuxhurdsystems): Likewise.
28364         (gnuhurdsystems): Likewise..
28365         (gnulinuxsystems): Likewise.
28366         * manual/charset.texi: Use new macros or @theglibc{} to refer to
28367         variants of the GNU system, not "GNU system".
28368         * manual/conf.texi: Likewise.
28369         * manual/errno.texi: Likewise.  Update example of errno macro
28370         expansion.
28371         * manual/filesys.texi: Likewise.
28372         (getumask): Document as specific to GNU/Hurd.
28373         * manual/install.texi: Likewise.  Reword some references to
28374         GNU/Linux.
28375         * manual/intro.texi: Likewise.
28376         * manual/io.texi: Likewise.
28377         (File Name Portability): Detail which constraints are inapplicable
28378         to all GNU systems and which are only inapplicable to GNU/Hurd.
28379         * manual/job.texi: Likewise.
28380         * manual/llio.texi: Likewise.
28381         (O_NOCTTY): Document as present on GNU/Linux.
28382         * manual/maint.texi: Likewise.
28383         * manual/memory.texi: Likewise.
28384         * manual/pattern.texi: Likewise.
28385         * manual/pipe.texi: Likewise.
28386         * manual/process.texi: Likewise.
28387         * manual/resource.texi: Likewise.
28388         (RUSAGE_CHILDREN): Remove statement about specifying a particular
28389         child on GNU/Hurd.
28390         * manual/setjmp.texi: Likewise.
28391         * manual/signal.texi: Likewise.
28392         * manual/startup.texi: Likewise.
28393         * manual/stdio.texi: Likewise.
28394         * manual/terminal.texi: Likewise.
28395         (ONLCR): Document as POSIX.
28396         (OXTABS): Document availability on GNU/Linux as XTABS.
28397         (ONOEOT): Document availability separately from other bits.
28398         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28399         * manual/time.texi: Likewise.
28400         * manual/users.texi: Likewise.
28401         * INSTALL: Regenerated.
28402         * sysdeps/gnu/errlist.c: Regenerated.
28404         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28405         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28406         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
28407         puts.
28408         * configure: Regenerated.
28410 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
28412         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28413         default includes instead of AC_HEADER_CHECK.
28414         * sysdeps/i386/configure: Regenerated.
28416         [BZ #10716]
28417         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28418         * math/s_cacoshf.c (__cacoshf): Likewise.
28419         * math/s_cacoshl.c (__cacoshl): Likewise.
28420         * math/s_casinh.c (__casinh): Set signs of result from argument.
28421         * math/s_casinhf.c (__casinhf): Likewise.
28422         * math/s_casinhl.c (__casinhl): Likewise.
28423         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28424         (casinh_test): Add more tests.
28425         * sysdeps/i386/fpu/libm-test-ulps: Update.
28426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28428 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
28430         * po/zh_TW.po: Update from translation team.
28432         * login/Makefile (distribute): Remove variable.
28433         * catgets/Makefile: Likewise.
28434         * mach/Makefile: Likewise.
28435         * malloc/Makefile: Likewise.
28436         * misc/Makefile: Likewise.
28437         * iconv/Makefile: Likewise.
28438         * nscd/Makefile: Likewise.
28439         * hurd/Makefile: Likewise.
28440         * manual/Makefile: Likewise.
28441         * locale/Makefile: Likewise.
28442         * intl/Makefile: Likewise.
28443         * conform/Makefile: Likewise.
28444         * nss/Makefile: Likewise.
28445         * time/Makefile: Likewise.
28446         * soft-fp/Makefile: Likewise.
28447         * dirent/Makefile: Likewise.
28448         * gmon/Makefile: Likewise.
28449         * po/Makefile: Likewise.
28450         * rt/Makefile: Likewise.
28451         * socket/Makefile: Likewise.
28452         * math/Makefile: Likewise.
28453         * signal/Makefile: Likewise.
28454         * debug/Makefile: Likewise.
28455         * elf/Makefile: Likewise.
28456         * timezone/Makefile: Likewise.
28457         * stdlib/Makefile: Likewise.
28458         * iconvdata/Makefile: Likewise.
28459         * sunrpc/Makefile: Likewise.
28460         * io/Makefile: Likewise.
28461         * argp/Makefile: Likewise.
28462         * inet/Makefile: Likewise.
28463         * hesiod/Makefile: Likewise.
28464         * grp/Makefile: Likewise.
28465         * csu/Makefile: Likewise.
28466         * wctype/Makefile: Likewise.
28467         * crypt/Makefile: Likewise.
28468         * libio/Makefile: Likewise.
28469         * string/Makefile: Likewise.
28470         * nis/Makefile: Likewise.
28471         * resolv/Makefile: Likewise.
28472         * stdio-common/Makefile: Likewise.
28473         * wcsmbs/Makefile: Likewise.
28474         * dlfcn/Makefile: Likewise.
28475         * posix/Makefile: Likewise.
28477         [BZ #6959]
28478         * timezone/Makefile: Don't install timezone files, just the programs
28479         and scripts.
28481 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
28483         * nss/databases.def: Add missing gshadow entry.
28485         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
28487 2012-03-06  Marek Polacek  <polacek@redhat.com>
28489         [BZ #13726]
28490         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28491         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28492         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28493         * stdio-common/tst-long-dbl-fphex.c: New file.
28495 2012-03-06  David S. Miller  <davem@davemloft.net>
28497         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28498         (set_obp_int): New function.
28499         (get_obp_int): New function.
28500         (__get_clockfreq_via_dev_openprom): Likewise.
28501         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28502         Avoid unused variable warnings on 'val' and use builtin_expect.
28503         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28504         __builtin_expect.
28505         (INLINE_CLONE_SYSCALL): Likewise.
28507 2012-03-05  David S. Miller  <davem@davemloft.net>
28509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28511 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
28513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28515         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28516         only for |x| >= 40.
28517         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28519 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28521         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28522         Replace gettimeofday with __vdso_gettimeofday.
28524         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28525         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28526         __vdso_clock_gettime and __vdso_getcpu.
28528         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28529         time with __vdso_time.
28531 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28533         * manual/lang.texi (size_t): Note types to which size_t may be
28534         equivalent with the GNU C Library, but do not describe when
28535         differences between them are significant.
28537 2012-03-05  Andreas Jaeger  <aj@suse.de>
28539         * sysdeps/i386/fpu/libm-test-ulps: Update.
28541 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
28543         [BZ #3976]
28544         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28545         (__ieee754_pow): Save and restore rounding mode and use
28546         round-to-nearest for main computations.
28547         * math/libm-test.inc (pow_test_tonearest): New function.
28548         (pow_test_towardzero): Likewise.
28549         (pow_test_downward): Likewise.
28550         (pow_test_upward): Likewise.
28551         (main): Call the new functions.
28552         * sysdeps/i386/fpu/libm-test-ulps: Update.
28553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28555         [BZ #3976]
28556         * math/libm-test.inc (cosh_test_tonearest): New function.
28557         (cosh_test_towardzero): Likewise.
28558         (cosh_test_downward): Likewise.
28559         (cosh_test_upward): Likewise.
28560         (sinh_test_tonearest): Likewise.
28561         (sinh_test_towardzero): Likewise.
28562         (sinh_test_downward): Likewise.
28563         (sinh_test_upward): Likewise.
28564         (main): Call the new functions.
28565         * sysdeps/i386/fpu/libm-test-ulps: Update.
28566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28568 2012-03-05  Tom de Vries  <tom@codesourcery.com>
28570         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28571         default stack guard is set in last bytes.
28572         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28574 2012-03-05  Kees Cook  <keescook@chromium.org>
28576         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28578         [BZ #13656]
28579         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28580         possibly allocate from heap instead of stack.
28581         * stdio-common/bug-vfprintf-nargs.c: New file.
28582         * stdio-common/Makefile (tests): Add nargs overflow test.
28584 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
28586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28588 2012-03-03  Marek Polacek  <polacek@redhat.com>
28590         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28591         * math/math_private.h: Likewise.
28592         * stdlib/tst-strtod.c: Likewise.
28593         * sysdeps/i386/i486/bits/atomic.h: Likewise.
28594         * sysdeps/x86_64/bits/atomic.h: Likewise.
28596 2012-03-02  David S. Miller  <davem@davemloft.net>
28598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28602         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28603         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28604         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28605         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28607 2012-03-02  Roland McGrath  <roland@hack.frob.com>
28609         [BZ #13792]
28610         * manual/examples/README: New file, says the example source files
28611         can be used under GPL>=2.
28612         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28613         line containing just "*/".
28614         * manual/examples/add.c: Add copyright header (GPL>=2).
28615         * manual/examples/argp-ex1.c: Likewise.
28616         * manual/examples/argp-ex2.c: Likewise.
28617         * manual/examples/argp-ex3.c: Likewise.
28618         * manual/examples/argp-ex4.c: Likewise.
28619         * manual/examples/atexit.c: Likewise.
28620         * manual/examples/db.c: Likewise.
28621         * manual/examples/dir.c: Likewise.
28622         * manual/examples/dir2.c: Likewise.
28623         * manual/examples/execinfo.c: Likewise.
28624         * manual/examples/filecli.c: Likewise.
28625         * manual/examples/filesrv.c: Likewise.
28626         * manual/examples/fmtmsgexpl.c: Likewise.
28627         * manual/examples/genpass.c: Likewise.
28628         * manual/examples/inetcli.c: Likewise.
28629         * manual/examples/inetsrv.c: Likewise.
28630         * manual/examples/isockad.c: Likewise.
28631         * manual/examples/longopt.c: Likewise.
28632         * manual/examples/memopen.c: Likewise.
28633         * manual/examples/memstrm.c: Likewise.
28634         * manual/examples/mkfsock.c: Likewise.
28635         * manual/examples/mkisock.c: Likewise.
28636         * manual/examples/mygetpass.c: Likewise.
28637         * manual/examples/pipe.c: Likewise.
28638         * manual/examples/popen.c: Likewise.
28639         * manual/examples/rprintf.c: Likewise.
28640         * manual/examples/search.c: Likewise.
28641         * manual/examples/select.c: Likewise.
28642         * manual/examples/setjmp.c: Likewise.
28643         * manual/examples/sigh1.c: Likewise.
28644         * manual/examples/sigusr.c: Likewise.
28645         * manual/examples/stpcpy.c: Likewise.
28646         * manual/examples/strdupa.c: Likewise.
28647         * manual/examples/strftim.c: Likewise.
28648         * manual/examples/strncat.c: Likewise.
28649         * manual/examples/subopt.c: Likewise.
28650         * manual/examples/swapcontext.c: Likewise.
28651         * manual/examples/termios.c: Likewise.
28652         * manual/examples/testopt.c: Likewise.
28653         * manual/examples/testpass.c: Likewise.
28654         * manual/examples/timeval_subtract.c: Likewise.
28656         [BZ #13792]
28657         * manual/time.texi (Elapsed Time): Move timeval_subtract example
28658         function to ...
28659         * manual/timeval_subtract.c.texi: ... here, new file.
28661 2012-03-02  David S. Miller  <davem@davemloft.net>
28663         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28665 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
28667         [BZ #3976]
28668         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28669         (__sin): Save and restore rounding mode and use round-to-nearest
28670         for all computations.
28671         (__cos): Save and restore rounding mode and use round-to-nearest
28672         for all computations.
28673         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28674         <fenv.h>.
28675         (tan): Save and restore rounding mode and use round-to-nearest for
28676         all computations.
28677         * math/libm-test.inc (cos_test_tonearest): New function.
28678         (cos_test_towardzero): Likewise.
28679         (cos_test_downward): Likewise.
28680         (cos_test_upward): Likewise.
28681         (sin_test_tonearest): Likewise.
28682         (sin_test_towardzero): Likewise.
28683         (sin_test_downward): Likewise.
28684         (sin_test_upward): Likewise.
28685         (tan_test_tonearest): Likewise.
28686         (tan_test_towardzero): Likewise.
28687         (tan_test_downward): Likewise.
28688         (tan_test_upward): Likewise.
28689         (main): Call the new functions.
28690         * sysdeps/i386/fpu/libm-test-ulps: Update.
28691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28693         [BZ #10135]
28694         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28695         small n, then large n, before computing and testing k+n.
28696         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28697         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28698         Likewise.
28699         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28700         Likewise.
28701         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28702         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28703         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28704         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28705         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28706         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28707         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28708         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28709         * math/libm-test.inc (scalbn_test): Add more tests.
28710         (scalbln_test): Likewise.
28712         * manual/filesys.texi (mode_t): Describe constraints on size and
28713         signedness, not exact equivalence to a particular type.
28714         (ino_t): Likewise.
28715         (ino64_t): Likewise.
28716         (dev_t): Likewise.
28717         (nlink_t): Likewise.
28718         (blkcnt_t): Likewise.
28719         (blkcnt64_t): Likewise.
28720         * manual/llio.texi (off_t): Likewise.
28722         [BZ #3976]
28723         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28724         (__ieee754_exp): Save and restore rounding mode and use
28725         round-to-nearest for all computations.
28726         * math/libm-test.inc (exp_test_tonearest): New function.
28727         (exp_test_towardzero): Likewise.
28728         (exp_test_downward): Likewise.
28729         (exp_test_upward): Likewise.
28730         (main): Call the new functions.
28731         * sysdeps/i386/fpu/libm-test-ulps: Update.
28732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28734 2012-03-01  Chris Demetriou  <cgd@google.com>
28736         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28737         have predictable order.
28739 2012-03-01  David S. Miller  <davem@davemloft.net>
28741         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28743         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28744         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28745         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28746         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28748         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28749         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28750         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28752         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28753         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28754         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28755         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28756         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28760         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28761         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28762         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28764         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28765         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28766         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28767         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28768         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28769         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28770         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28771         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28772         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28773         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28774         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28775         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28777         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28778         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28780         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28781         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28782         * sysdeps/sparc/elf/configure: Regenerated.
28784 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28786         * configure.in (AS, LD): Require binutils 2.20 or later.
28787         * configure: Regenerated.
28788         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28789         as required minimum version.
28790         * INSTALL: Regenerated.
28792         [BZ #2541]
28793         [BZ #4108]
28794         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28795         before squaring exponent.
28796         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28797         bottom long double and 27 bits of top long double before squaring
28798         exponent.
28799         * math/libm-test.inc (erfc_test): Add more tests.
28800         * sysdeps/i386/fpu/libm-test-ulps: Update.
28801         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28804 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28806         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28807         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28808         containing bit-fields.
28809         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28810         * soft-fp/single.h (_FP_UNION_S): Likewise.
28811         * soft-fp/double.h (_FP_UNION_D): Likewise.
28813 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28815         [BZ #13786]
28816         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28817         not include ../strcmp.S.
28818         [USE_AS_STRNCASECMP_L]: Likewise.
28819         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28820         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28821         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28822         (__strncasecmp_l_ia32): Define as alias to
28823         __strncasecmp_l_nonascii.
28825         [BZ #5794]
28826         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28827         * sysdeps/i386/fpu/libm-test-ulps: Update.
28828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28830         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28833 2012-02-29  Jeff Law  <law@redhat.com>
28835         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28836         out of bounds read.
28838 2012-02-29  Marek Polacek  <polacek@redhat.com>
28840         [BZ #13706]
28841         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28842         * elf/Makefile: Add rules to run tst-unused-dep.out.
28844 2012-02-28  David S. Miller  <davem@davemloft.net>
28846         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28847         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28848         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28849         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28850         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28851         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28853 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28855         * math/libm-test.inc (llround_test): Move one test from
28856         lround_test.  Use TEST_f_L in moved test.
28857         (lround_test): Move misplaced test to llround_test.  Add testcase
28858         from bug 2561.
28860 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28862         * sysdeps/x86_64/fpu/e_expf.S: New file.
28863         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28865 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28867         [BZ #13637]
28868         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28869         of remain_len that may cause incomplete multi-byte character and
28870         false match.
28871         * posix/bug-regex33.c: New file.
28872         * posix/Makefile (tests): Add bug-regex33.
28874 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28876         * manual/macros.texi: New file.
28877         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28878         * manual/libc.texinfo: Include macros.texi.
28879         * manual/creatute.texi: Likewise.
28880         * manual/install.texi: Likewise.
28881         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28882         @glibcadj{} in references to the GNU C Library.
28883         * manual/charset.texi: Likewise.
28884         * manual/conf.texi: Likewise.
28885         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28886         when not using those macros.
28887         * manual/creature.texi: Likewise.
28888         * manual/crypt.texi: Likewise.
28889         * manual/errno.texi: Likewise.
28890         * manual/filesys.texi: Likewise.
28891         * manual/header.texi: Likewise.
28892         * manual/install.texi: Likewise.
28893         * manual/intro.texi: Likewise.
28894         * manual/io.texi: Likewise.
28895         * manual/job.texi: Likewise.
28896         * manual/lang.texi: Likewise.
28897         * manual/libc.texiinfo: Likewise.
28898         * manual/llio.texi: Likewise.
28899         * manual/locale.texi: Likewise.
28900         * manual/maint.texi: Likewise.
28901         * manual/math.texi: Likewise.
28902         * manual/memory.texi: Likewise.
28903         * manual/message.texi: Likewise.
28904         * manual/nss.texi: Likewise.
28905         * manual/pattern.texi: Likewise.
28906         * manual/process.texi: Likewise.
28907         * manual/resource.texi: Likewise.
28908         * manual/search.texi: Likewise.
28909         * manual/setjmp.texi: Likewise.
28910         * manual/signal.texi: Likewise.
28911         * manual/socket.texi: Likewise.
28912         * manual/startup.texi: Likewise.
28913         * manual/stdio.texi: Likewise.
28914         * manual/string.texi: Likewise.
28915         * manual/sysinfo.texi: Likewise.
28916         * manual/syslog.texi: Likewise.
28917         * manual/terminal.texi: Likewise.
28918         * manual/time.texi: Likewise.
28919         * manual/users.texi: Likewise.
28920         * INSTALL: Regenerated.
28921         * NOTES: Regenerated.
28922         * sysdeps/gnu/errlist.c: Regenerated.
28924 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28926         * include/dirent.h: Include <dirstream.h> before
28927         <dirent/dirent.h>.
28929 2012-02-28  David S. Miller  <davem@davemloft.net>
28931         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28932         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28933         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28934         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28936 2012-02-27  David S. Miller  <davem@davemloft.net>
28938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28940         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28941         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28944         frame pointer instead of stack pointer relative arg slot.
28945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28946         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28947         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28949 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28951         [BZ #3992]
28952         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28954 2012-02-27  David S. Miller  <davem@davemloft.net>
28956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28960         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28961         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28962         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28963         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28965 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28967         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28968         later.  Allow versions 5-9.
28969         * configure: Regenerated.
28970         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28971         required minimum version and 4.6 as recommended version.  Do not
28972         mention bugs in GCC 2.7 and 2.8.
28973         * INSTALL: Regenerated.
28975 2012-02-27  David S. Miller  <davem@davemloft.net>
28977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28981         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28982         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28983         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28984         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28986         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28987         manipulate bits before adding and subtracting TWO112[sx].
28988         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28990 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28992         [BZ #13775]
28993         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28994         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28995         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28996         being in POSIX, because they are in 1003.1-2008.
28998         * rt/tst-aio.c: Include <fcntl.h>.
28999         * rt/tst-aio7.c: Likewise.
29000         * rt/tst-aio64.c: Likewise.
29002         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29004 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
29006         * manual/install.texi (--with-headers): Describe headers as
29007         interface headers, not private headers.
29008         (Specific advice for GNU/Linux systems): Describe use of headers
29009         from "make headers_install", not private headers from older
29010         kernels.
29011         * INSTALL: Regenerated.
29012         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29013         Change to 2.6.19.
29014         * sysdeps/unix/sysv/linux/configure: Regenerated.
29016         * manual/llio.texi (fclean): Remove documentation.
29018         * manual/Makefile (libc-texi-generated): New variable.  Include
29019         version.texi.
29020         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29021         $(libc-texi-generated), not duplicated list of files.
29022         (version.texi, stamp-version): New rules.
29023         (realclean): Remove $(libc-texi-generated), not individual files
29024         from that list.  Do not remove dir-add.texinfo.
29025         * manual/libc.texinfo: Comment out uses of edition numbers and
29026         references to printed manual.  Remove last-updated dates.
29027         (EDITION): Comment out.
29028         (ISBN): Likewise.
29029         (VERSION, UPDATED): Remove.
29030         (version.texi): Include.
29032 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
29034         * sysdeps/posix/spawni.c: Include <signal.h>.
29035         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29036         * sysdeps/pthread/aio_fsync.c: Likewise.
29038 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
29040         * conform/Makefile (tests): Run only when not cross-compiling and
29041         when fast-check is not defined.
29043         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29044         * conform/data/limits.h-data: Fixes for POSIX2008.
29045         * conform/run-conformtest.sh: Run all tests.
29046         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29047         headers.
29048         * include/bits/dlfcn.h: Likewise.
29049         * include/langinfo.h: Likewise.
29050         * include/monetary.h: Likewise.
29051         * include/sys/poll.h: Likewise.
29053         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29054         for __USE_GNU.
29055         * posix/spawn.h: Define __need_sigset_t.
29056         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29057         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29058         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
29059         to get sigevent_t only.
29060         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29061         only for __USE_GNU.
29062         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29063         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29064         process_vm_writev only for __USE_GNU.
29065         * termios/termios.h: Declare tcgetsid also for POSIX2008.
29067         * conform/Makefile: For now ignore errors from run-conformtest.
29068         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
29069         POSIX to avoid namespace pollution.  Don't prepend headers.
29070         * conform/data/aio.h-data: Fixes for POSIX testing.
29071         * conform/data/fcntl.h-data: Likewise.
29072         * conform/data/glob.h-data: Likewise.
29073         * conform/data/grp.h-data: Likewise.
29074         * conform/data/pthread.h-data: Likewise.
29075         * conform/data/pwd.h-data: Likewise.
29076         * conform/data/signal.h-data: Likewise.
29077         * conform/data/spawn.h-data: Likewise.
29078         * conform/data/stdio.h-data: Likewise.
29079         * conform/data/stdlib.h-data: Likewise.
29080         * conform/data/stropts.h-data: Likewise.
29081         * conform/data/sys/mman.h-data: Likewise.
29082         * conform/data/sys/stat.h-data: Likewise.
29083         * conform/data/sys/types.h-data: Likewise.
29084         * conform/data/sys/wait.h-data: Likewise.
29085         * conform/data/time.h-data: Likewise.
29086         * conform/data/unistd.h-data: Likewise.
29087         * conform/data/utime.h-data: Likewise.
29089         * io/sys/stat.h: fchmod was always in POSIX.
29090         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29091         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29092         * rt/aio.h: Define __need_timespec before including <time.h>.
29093         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29094         struct.  Add forward declaration of pthread_attr_t and use it in
29095         sigevent.
29096         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29097         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29098         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29099         always remove CLK_TCK definition.
29101 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
29103         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29105 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
29107         * conform/run-conformtest.sh: New file.
29108         * conform/Makefile: Run run-conformtest for tests.
29109         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
29110         support.
29112         * conform/data/uchar.h-data: New file.
29113         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29114         * conform/data/arpa/inet.h-data: Likewise.
29115         * conform/data/assert.h-data: Likewise.
29116         * conform/data/complex.h-data: Likewise.
29117         * conform/data/cpio.h-data: Likewise.
29118         * conform/data/ctype.h-data: Likewise.
29119         * conform/data/dirent.h-data: Likewise.
29120         * conform/data/dlfcn.h-data: Likewise.
29121         * conform/data/errno.h-data: Likewise.
29122         * conform/data/fcntl.h-data: Likewise.
29123         * conform/data/float.h-data: Likewise.
29124         * conform/data/fmtmsg.h-data: Likewise.
29125         * conform/data/fnmatch.h-data: Likewise.
29126         * conform/data/ftw.h-data: Likewise.
29127         * conform/data/glob.h-data: Likewise.
29128         * conform/data/grp.h-data: Likewise.
29129         * conform/data/iconv.h-data: Likewise.
29130         * conform/data/inttypes.h-data: Likewise.
29131         * conform/data/langinfo.h-data: Likewise.
29132         * conform/data/libgen.h-data: Likewise.
29133         * conform/data/limits.h-data: Likewise.
29134         * conform/data/locale.h-data: Likewise.
29135         * conform/data/math.h-data: Likewise.
29136         * conform/data/monetary.h-data: Likewise.
29137         * conform/data/mqueue.h-data: Likewise.
29138         * conform/data/ndbm.h-data: Likewise.
29139         * conform/data/net/if.h-data: Likewise.
29140         * conform/data/netdb.h-data: Likewise.
29141         * conform/data/netinet/in.h-data: Likewise.
29142         * conform/data/nl_types.h-data: Likewise.
29143         * conform/data/poll.h-data: Likewise.
29144         * conform/data/pthread.h-data: Likewise.
29145         * conform/data/pwd.h-data: Likewise.
29146         * conform/data/regex.h-data: Likewise.
29147         * conform/data/sched.h-data: Likewise.
29148         * conform/data/search.h-data: Likewise.
29149         * conform/data/semaphore.h-data: Likewise.
29150         * conform/data/setjmp.h-data: Likewise.
29151         * conform/data/signal.h-data: Likewise.
29152         * conform/data/spawn.h-data: Likewise.
29153         * conform/data/stdarg.h-data: Likewise.
29154         * conform/data/stdio.h-data: Likewise.
29155         * conform/data/stdlib.h-data: Likewise.
29156         * conform/data/string.h-data: Likewise.
29157         * conform/data/strings.h-data: Likewise.
29158         * conform/data/stropts.h-data: Likewise.
29159         * conform/data/sys/ipc.h-data: Likewise.
29160         * conform/data/sys/mman.h-data: Likewise.
29161         * conform/data/sys/msg.h-data: Likewise.
29162         * conform/data/sys/resource.h-data: Likewise.
29163         * conform/data/sys/select.h-data: Likewise.
29164         * conform/data/sys/sem.h-data: Likewise.
29165         * conform/data/sys/shm.h-data: Likewise.
29166         * conform/data/sys/socket.h-data: Likewise.
29167         * conform/data/sys/stat.h-data: Likewise.
29168         * conform/data/sys/statvfs.h-data: Likewise.
29169         * conform/data/sys/time.h-data: Likewise.
29170         * conform/data/sys/timeb.h-data: Likewise.
29171         * conform/data/sys/times.h-data: Likewise.
29172         * conform/data/sys/types.h-data: Likewise.
29173         * conform/data/sys/uio.h-data: Likewise.
29174         * conform/data/sys/un.h-data: Likewise.
29175         * conform/data/sys/utsname.h-data: Likewise.
29176         * conform/data/sys/wait.h-data: Likewise.
29177         * conform/data/syslog.h-data: Likewise.
29178         * conform/data/tar.h-data: Likewise.
29179         * conform/data/termios.h-data: Likewise.
29180         * conform/data/utime.h-data: Likewise.
29181         * conform/data/utmpx.h-data: Likewise.
29182         * conform/data/varargs.h-data: Likewise.
29183         * conform/data/wchar.h-data: Likewise.
29184         * conform/data/wctype.h-data: Likewise.
29185         * conform/data/wordexp.h-data: Likewise.
29187         * include/stropts.h: New file.
29188         * include/uchar.h: New file.
29189         * include/aio.h: Changes to allow conformtest.pl to use the headers.
29190         * include/assert.h: Likewise.
29191         * include/ctype.h: Likewise.
29192         * include/dirent.h: Likewise.
29193         * include/dlfcn.h: Likewise.
29194         * include/fcntl.h: Likewise.
29195         * include/fnmatch.h: Likewise.
29196         * include/glob.h: Likewise.
29197         * include/grp.h: Likewise.
29198         * include/libio.h: Likewise.
29199         * include/locale.h: Likewise.
29200         * include/math.h: Likewise.
29201         * include/net/if.h: Likewise.
29202         * include/netdb.h: Likewise.
29203         * include/netinet/in.h: Likewise.
29204         * include/pthread.h: Likewise.
29205         * include/pwd.h: Likewise.
29206         * include/regex.h: Likewise.
29207         * include/sched.h: Likewise.
29208         * include/search.h: Likewise.
29209         * include/setjmp.h: Likewise.
29210         * include/signal.h: Likewise.
29211         * include/stdio.h: Likewise.
29212         * include/stdlib.h: Likewise.
29213         * include/string.h: Likewise.
29214         * include/sys/cdefs.h: Likewise.
29215         * include/sys/mman.h: Likewise.
29216         * include/sys/msg.h: Likewise.
29217         * include/sys/resource.h: Likewise.
29218         * include/sys/select.h: Likewise.
29219         * include/sys/socket.h: Likewise.
29220         * include/sys/stat.h: Likewise.
29221         * include/sys/statvfs.h: Likewise.
29222         * include/sys/time.h: Likewise.
29223         * include/sys/times.h: Likewise.
29224         * include/sys/uio.h: Likewise.
29225         * include/sys/utsname.h: Likewise.
29226         * include/sys/wait.h: Likewise.
29227         * include/termios.h: Likewise.
29228         * include/time.h: Likewise.
29229         * include/ulimit.h: Likewise.
29230         * include/unistd.h: Likewise.
29231         * include/utime.h: Likewise.
29232         * include/wchar.h: Likewise.
29233         * include/wctype.h: Likewise.
29234         * include/wordexp.h: Likewise.
29236         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29238         * time/time.h: TIME_UTC must be a macro.
29239         Make timespec_get available for ISO C11 only as well.
29241 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
29243         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29244         Reported by Peng Haitao <penght@cn.fujitsu.com>.
29246 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29248         * configure.in: Use -o not -a in test for unsupported multi-arch.
29250 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29252         * manual/texinfo.tex: Update to version 2012-01-19.16.
29254 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
29256         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29258 2012-02-24  Roland McGrath  <roland@hack.frob.com>
29260         [BZ #13738]
29261         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29262         * manual/fdl-1.3.texi: New file.
29263         * manual/fdl-1.1.texi: File removed.
29265         [BZ #13738]
29266         * manual/libc.texinfo (FDL_VERSION): New @set.
29267         Use it for mention of FDL in cover text.
29268         (Documentation License): Use it in @include file name.
29270 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29271             Roland McGrath  <roland@hack.frob.com>
29273         [BZ #5461]
29274         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29275         not LONG_LONG_MAX and LONG_LONG_MIN.
29276         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29277         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
29278         name.
29279         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29281 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29283         [BZ #2547]
29284         [BZ #11365]
29285         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29286         manipulate bits before adding and subtracting TWO23[sx].
29287         * math/libm-test.inc (nearbyint_test): Add more tests.
29289 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29291         [BZ #2548]
29292         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29293         bits before adding and subtracting TWO23[sx].
29294         * math/libm-test.inc (rint_test): Add more tests.
29295         (rint_test_tonearest): Likewise.
29296         (rint_test_towardzero): Likewise.
29297         (rint_test_downward): Likewise.
29298         (rint_test_upward: Likewise.
29300 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29302         [BZ #10110]
29303         * include/stdc-predef.h: New file.  Extracted from features.h.
29304         * include/features.h: Include stdc-predef.h.
29305         * Makefile (headers): Add stdc-predef.h.
29306         * CONFORMANCE (Compiler limitations): Update.
29308 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
29310         * manual/libc.texinfo (VERSION, UPDATED): Revert.
29312 2012-02-21  David S. Miller  <davem@davemloft.net>
29314         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29315         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29317 2012-02-20  David S. Miller  <davem@davemloft.net>
29319         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29320         using a normal save/restore sequence, rather than allocating a
29321         dummy stack frame just to store a frame pointer and restore.
29322         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29324 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29326         * manual/install.texi: Fix stray word in line-wrapped comment.
29328 2012-02-20  David S. Miller  <davem@davemloft.net>
29330         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29331         both binutils and gcc support GOTDATA.
29333         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29334         "rd %pc" in the PIC register setup sequences.
29336         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29337         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29338         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29339         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29340         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29341         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29342         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29343         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29345         (SYSCALL_ERROR_HANDLER): Likewise.
29346         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29347         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29348         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29349         (SYSCALL_ERROR_HANDLER): Likewise.
29351         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29352         (HAVE_GCC_GOTDATA): New.
29353         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29354         relocation support in both binutils and gcc.
29355         * sysdeps/sparc/elf/configure: Regenerate.
29357         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29358         * sysdeps/sparc/sparc32/elf/configure: Delete.
29359         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29360         * sysdeps/sparc/sparc64/elf/configure: Delete.
29361         * sysdeps/sparc/elf/configure.in: New file.
29362         * sysdeps/sparc/elf/configure: Generate.
29364         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29365         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29366         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29367         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29368         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29370 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29372         * manual/install.texi: Do not mention specific glibc version
29373         numbers.
29374         * manual/libc.texinfo (VERSION, UPDATED): Update.
29375         (@copying): Use @copyright{} and range of years.
29377 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
29379         [BZ #13695]
29380         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29381         [crti.S not in sysdirs] (generated): Do not append.
29382         [crti.S not in sysdirs] (omit-deps): Likewise.
29383         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29384         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29385         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29386         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29387         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29388         Likewise.
29389         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29390         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29391         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29392         * csu/defs.awk: Remove file.
29393         * sysdeps/generic/initfini.c: Likewise.
29394         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29395         variable.
29396         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29397         Likewise.
29399 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29401         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29402         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29403         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29404         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29405         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29406         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29407         <bits/epoll.h>.
29408         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29409         (__EPOLL_PACKED): Define to empty if not defined by
29410         <bits/epoll.h>.
29411         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29412         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29413         bits/epoll.h.
29415 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29417         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29418         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29419         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29420         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29421         <bits/timerfd.h>.
29422         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29423         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29424         bits/timerfd.h.
29426 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
29428         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29429         in C locale.
29430         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29431         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29432         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29435 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
29437         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29438         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29440 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
29442         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29443         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29444         defined.
29445         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29446         Likewise.
29447         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29448         entry for 2.16.
29450 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
29452         * math/w_acos.c: Use non-signaling floating-point comparisons.
29453         * math/w_acosf.c: Likewise.
29454         * math/w_acosh.c: Likewise.
29455         * math/w_acoshf.c: Likewise.
29456         * math/w_acoshl.c: Likewise.
29457         * math/w_acosl.c: Likewise.
29458         * math/w_asin.c: Likewise.
29459         * math/w_asinf.c: Likewise.
29460         * math/w_asinl.c: Likewise.
29461         * math/w_atanh.c: Likewise.
29462         * math/w_atanhf.c: Likewise.
29463         * math/w_atanhl.c: Likewise.
29464         * math/w_exp2.c: Likewise.
29465         * math/w_exp2f.c: Likewise.
29466         * math/w_exp2l.c: Likewise.
29467         * math/w_j0.c: Likewise.
29468         * math/w_j0f.c: Likewise.
29469         * math/w_j0l.c: Likewise.
29470         * math/w_j1.c: Likewise.
29471         * math/w_j1f.c: Likewise.
29472         * math/w_j1l.c: Likewise.
29473         * math/w_jn.c: Likewise.
29474         * math/w_jnf.c: Likewise.
29475         * math/w_log.c: Likewise.
29476         * math/w_log10.c: Likewise.
29477         * math/w_log10f.c: Likewise.
29478         * math/w_log10l.c: Likewise.
29479         * math/w_log2.c: Likewise.
29480         * math/w_log2f.c: Likewise.
29481         * math/w_log2l.c: Likewise.
29482         * math/w_logf.c: Likewise.
29483         * math/w_logl.c: Likewise.
29484         * math/w_sqrt.c: Likewise.
29485         * math/w_sqrtf.c: Likewise.
29486         * math/w_sqrtl.c: Likewise.
29487         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29488         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29489         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29490         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29491         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29493 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29495         [BZ #9739]
29496         * manual/string.texi (strnlen): Use correct parameter name in
29497         equivalent expression.
29499 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29501         [BZ #11174]
29502         * manual/users.texi (seteuid): Consistently use neweuid for
29503         argument name.
29505 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
29507         [BZ #13704]
29508         * manual/nss.texi (Services in the NSS configuration): Correct
29509         list of services in example configuration file.
29511 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
29513         [BZ #11322]
29514         * manual/arith.texi: Remove statements about negative zero
29515         behaving identically to zero.
29517 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29519         [BZ #5993]
29520         * manual/install.texi: Do not document upgrading from libc5.
29522 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
29524         [BZ #4596]
29525         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29527 2012-02-18  David S. Miller  <davem@davemloft.net>
29529         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29530         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29531         %o7 across the call.
29532         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29533         instead.
29534         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29535         SETUP_PIC_REG_LEAF.
29536         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29537         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29538         * sysdeps/sparc/crtn.S: Likewise.
29540 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
29542         * aout/Makefile: Remove.
29544 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
29546         [BZ #13058]
29547         * manual/examples/argp-ex1.c (main): Format definition in GNU
29548         style.
29549         * manual/examples/argp-ex2.c (main): Likewise.
29550         * manual/examples/argp-ex3.c (main): Likewise.
29551         * manual/examples/argp-ex4.c (main): Likewise.
29552         * manual/examples/longopt.c (main): Use new-style prototype
29553         definition.
29554         * manual/examples/strncat.c (main): Specify return type and use
29555         (void) for arguments.
29556         * manual/examples/subopt.c (main): Use char **argv argument.
29558 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29560         [BZ #5077]
29561         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29562         rounding modes.
29564 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
29566         [BZ #6907]
29567         * manual/string.texi (strchr): Change when strchrnul is
29568         recommended.
29570 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
29572         [BZ #174]
29573         * manual/locale.texi (setlocale): Document LOCPATH.
29575 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29577         [BZ #10210]
29578         * manual/process.texi (execle): Move @dots{} before last argument.
29580 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
29582         [BZ #12047]
29583         * manual/charset.texi (Generic Charset Conversion): Fix typo
29584         (LC_TYPE -> LC_CTYPE).
29586 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
29588         [BZ #5805]
29589         * manual/arith.texi (scalbn): Use @var{} on parameter names.
29590         (scalbnf): Likewise.
29591         (scalbnl): Likewise.
29592         (scalbln): Likewise.
29593         (scalblnf): Likewise.
29594         (scalblnl): Likewise.
29595         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29596         (vwarnx): Likewise.
29597         (verr): Likewise.
29598         (verrx): Likewise.
29599         * manual/filesys.texi (telldir): Use braces around return type.
29600         * manual/llio.texi (mmap): Add space after comma.
29601         (mmap64): Likewise.
29602         * manual/math.texi (jn): Use @var{} on parameter names.
29603         (jnf): Likewise.
29604         (jnl): Likewise.
29605         (yn): Likewise.
29606         (ynf): Likewise.
29607         (ynl): Likewise.
29608         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29609         line.
29610         * manual/resource.texi (ulimit): Use @dots{} instead of literal
29611         "...".
29612         (sched_get_priority_min): Remove semicolon on @deftypefun line.
29613         (sched_get_priority_max): Likewise.
29614         * manual/signal.texi (sigvec): Add space after comma.
29615         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29616         names.
29617         (if_indextoname): Likewise.
29618         (if_freenameindex): Likewise.
29619         (sendto): Use ',' instead of '.' in prototype.
29620         * manual/startup.texi (syscall): Use @dots{} instead of literal
29621         "...".
29622         * manual/stdio.texi (__fpending): Separate initial words of
29623         paragraph from @deftypefun line.
29624         * manual/syslog.texi (syslog): Use @dots{} instead of literal
29625         "...".
29626         (vsyslog): Use @var{} on parameter names.
29627         * manual/terminal.texi (stty): Use @var{} on parameter names.
29628         * manual/users.texi (getutmp): Use @var{} on parameter names.
29629         (getutmpx): Likewise.
29631 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29633         [BZ #6884]
29634         * manual/stdio.texi (fopen): Fix typos in description of
29635         ",ccs=STRING".
29637 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
29639         [BZ #4026]
29640         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29641         get clock_id definition.
29643 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
29645         [BZ #4822]
29646         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29647         (madvise): Cast every argument to void on its own.
29649 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29651         [BZ #9902]
29652         * manual/startup.texi (Exit Status): Fix typo.
29654 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29656         [BZ #10140]
29657         * manual/examples/argp-ex1.c: Include <stdlib.h>.
29658         * manual/examples/argp-ex2.c: Likewise.
29659         * manual/examples/argp-ex3.c: Likewise.
29661 2012-02-16  Richard Henderson  <rth@redhat.com>
29663         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29664         * sysdeps/s390/s390-32/initfini.c: Remove.
29665         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29666         * sysdeps/s390/s390-64/initfini.c: Remove.
29668 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29670         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29671         compiler output for sysdeps/generic/initfini.c.
29672         * sysdeps/sh/elf/initfini.c: Remove file.
29674 2012-02-16  David S. Miller  <davem@davemloft.net>
29676         [BZ #11494]
29677         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29679         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29680         * sysdeps/sparc/crti.S: New file.
29681         * sysdeps/sparc/crtn.S: New file.
29682         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29683         * sysdeps/sparc/sparc64/Makefile: Likewise.
29685 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29687         [BZ #3335]
29688         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29690 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29692         [BZ #4822]
29693         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29695         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29696         (write, read, close): Likewise.
29697         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29699 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29701         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29702         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29703         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29704         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29705         <bits/signalfd.h>.
29706         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29707         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29708         bits/signalfd.h.
29710 2012-02-14  Marek Polacek  <polacek@redhat.com>
29712         * sysdeps/x86_64/crti.S: New file.
29713         * sysdeps/x86_64/crtn.S: New file.
29714         * sysdeps/x86_64/elf/initfini.c: Remove file.
29716 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29718         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29719         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29720         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29721         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29722         <bits/inotify.h>.
29723         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29724         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29725         bits/inotify.h.
29727 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29729         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29730         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29731         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29732         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29733         <bits/eventfd.h>.
29734         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29735         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29736         bits/eventfd.h.
29738 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29740         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29741         __feraiseexcept instead of feraiseexcept.
29743         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29744         nanosleep invocations.
29745         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29746         strings, and add error checking for a nanosleep invocations.
29748 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29750         Replace FSF snail mail address with URLs, as per GNU coding standards.
29751         Most of the snail mail addresses were wrong anyway, and omitting
29752         them makes the source code easier to maintain.  Almost all of the
29753         changes are to license notices and to locale LC_IDENTIFICATION
29754         addresses, except for this one:
29755         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29756         not its snail mail address.
29758 2012-02-09  Richard Henderson  <rth@twiddle.net>
29760         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29761         of kernel-features.h.
29763         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29765 2012-02-08  Marek Polacek  <polacek@redhat.com>
29767         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29768         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29769         * sysdeps/gnu/_G_config.h: Likewise.
29770         * sysdeps/generic/_G_config.h: Likewise.
29772 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29774         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29775         tests.
29776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29778         * sysdeps/powerpc/powerpc32/crti.S: New file.
29779         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29780         * sysdeps/powerpc/powerpc64/crti.S: New file.
29781         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29783         * Makeconfig (have-initfini): Don't set.
29784         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29785         * configure.in (nopic_initfini): Don't substitute.
29786         * config.h.in (HAVE_INITFINI): Don't #undef.
29787         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29788         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29790 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29792         Support crti.S and crtn.S provided directly by architectures.
29793         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29794         [crti.S in sysdirs] (omit-deps): Likewise.
29795         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29796         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29797         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29798         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29799         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29800         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29801         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29802         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29803         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29804         compiler output for sysdeps/generic/initfini.c.
29805         * sysdeps/i386/elf/Makefile: Remove file.
29806         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29808 2012-02-07  Marek Polacek  <polacek@redhat.com>
29810         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29811         * sysdeps/gnu/_G_config.h: Likewise.
29812         * sysdeps/mach/hurd/_G_config.h: Likewise.
29814 2012-02-07  Marek Polacek  <polacek@redhat.com>
29816         * math/Makefile (tests): Add tst-CMPLX2.
29817         * math/tst-CMPLX2.c: New file.
29819 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29821         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29823         * math/libm-test.inc (jn_test): Add missing L suffix.
29825 2012-02-06  Marek Polacek  <polacek@redhat.com>
29827         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29828         * sysdeps/i386/fpu/e_powf.S: Likewise.
29829         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29830         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29831         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29832         * sysdeps/i386/fpu/e_pow.S: Likewise.
29833         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29834         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29835         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29836         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29837         * sysdeps/i386/fpu/e_log2.S: Likewise.
29838         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29839         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29840         * sysdeps/i386/fpu/e_powl.S: Likewise.
29841         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29842         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29843         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29844         * sysdeps/i386/fpu/e_logl.S: Likewise.
29845         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29846         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29847         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29848         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29849         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29850         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29851         * sysdeps/i386/fpu/e_log.S: Likewise.
29852         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29853         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29854         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29855         * sysdeps/i386/fpu/e_logf.S: Likewise.
29856         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29857         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29858         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29859         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29860         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29861         * sysdeps/i386/fpu/e_log10.S: Likewise.
29862         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29863         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29864         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29865         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29866         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29867         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29868         * sysdeps/i386/asm-syntax.h: Likewise.
29869         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29870         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29871         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29872         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29873         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29874         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29875         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29876         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29877         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29878         * sysdeps/powerpc/sysdep.h: Likewise.
29879         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29880         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29882 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29884         [BZ #411]
29885         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29887 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29889         * sysdeps/i386/sysdep.h: Include <features.h>.
29890         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29891         version.
29893 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29895         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29896         Define.
29897         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29898         LOAD_PIC_REG_STR.
29900 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29902         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29903         (SETUP_PIC_REG): Use GET_PC_THUNK.
29904         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29905         macro.
29907 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29909         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29910         for non-PIC compilation.
29911         (SETUP_PIC_REG): Add .p2align directive.
29912         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29913         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29914         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29915         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29916         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29917         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29918         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29919         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29920         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29921         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29922         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29923         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29924         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29925         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29926         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29927         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29928         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29929         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29930         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29931         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29932         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29933         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29934         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29935         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29936         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29937         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29938         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29939         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29940         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29941         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29942         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29943         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29944         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29945         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29946         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29947         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29948         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29949         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29950         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29951         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29952         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29954 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29956         * math/tst-CMPLX.c: Include <stdio.h>.
29958 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29960         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29961         float.
29962         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29963         * sysdeps/sparc/bits/mathdef.h: Likewise.
29965 2012-01-31  Marek Polacek  <polacek@redhat.com>
29967         * libio/libio.h: Don't define _PARAMS.
29968         * locale/programs/config.h: Don't define PARAMS.
29969         * stdlib/strtol_l.c: Likewise.
29970         (__strtol_l): Remove PARAMS from the prototype.
29972 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29974         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29975         names.  Just use the correct names.  Remove unnecessary wrapper
29976         functions.
29977         * malloc/arena.c: Likewise.
29978         * malloc/hooks.c: Likewise.
29980         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29981         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29982         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29984 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29986         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29987         into tail calls.
29988         (update_get_addr): New function.
29989         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29990         GET_ADDR_MODULE parameter.
29992 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29994         * crypt/cert.c: Remove __STDC__ conditionals.
29995         * crypt/crypt-entry.c: Likewise.
29996         * crypt/crypt_util.c: Likewise.
29997         * libio/filedoalloc.c: Likewise.
29998         * libio/fileops.c: Likewise.
29999         * libio/genops.c: Likewise.
30000         * libio/iofclose.c: Likewise.
30001         * libio/iofdopen.c: Likewise.
30002         * libio/iofopen.c: Likewise.
30003         * libio/iofopen64.c: Likewise.
30004         * libio/iogetdelim.c: Likewise.
30005         * libio/iopopen.c: Likewise.
30006         * libio/obprintf.c: Likewise.
30007         * libio/oldfileops.c: Likewise.
30008         * libio/oldiofclose.c: Likewise.
30009         * libio/oldiofdopen.c: Likewise.
30010         * libio/oldiofopen.c: Likewise.
30011         * libio/oldiopopen.c: Likewise.
30012         * libio/wfiledoalloc.c: Likewise.
30013         * libio/wgenops.c: Likewise.
30014         * locale/programs/xmalloc.c: Likewise.
30015         * misc/syslog.c: Likewise.
30016         * stdio-common/xbug.c: Likewise.
30017         * string/memchr.c: Likewise.
30018         * string/memcmp.c: Likewise.
30019         * string/memrchr.c: Likewise.
30020         * string/rawmemchr.c: Likewise.
30021         * sysdeps/posix/getcwd.c: Likewise.
30022         * time/strftime_l.c: Likewise.
30024 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
30026         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30027         * config.make.in (config-cflags-sse2avx): Define.
30028         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30029         Fix typo.
30031 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
30033         * scripts/config.guess: Update from upstream config git repository.
30034         * scripts/config.sub: Likewise.
30036 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
30038         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30039         (EM_NUM): Update.
30040         (R_TILEPRO_*, R_TILEGX_*): New macros.
30042         * scripts/firstversions.awk: Fix bug in version range handling.
30044         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30046         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30048         * include/sys/epoll.h: New file.
30049         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30050         libc_hidden_def.
30052 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
30054         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30055         Avoid unnecessary __WORDSIZE == 64 test.
30056         (fmaxf): Use VEX format if possible.
30057         (fmax): Likewise.
30058         (fminf): Likewise.
30059         (fmin): Likewise.
30061         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30062         * math/math_private.h: Remove libc_fegetround* and
30063         libc_fesetround*.
30064         * sysdeps/i386/configure.in: Check for -msse2avx.
30065         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30066         also if SSE2AVX is defined.
30067         Remove libc_fegetround* and libc_fesetround*.
30068         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30069         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
30070         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30071         of HAS_YMM_USABLE.
30072         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30073         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30074         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30075         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30076         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30078         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30080 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30082         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30083         size is not set.
30084         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30086 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
30088         [BZ #13618]
30089         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30090         relocation.
30091         * Makeconfig (libm): Define.
30092         * elf/Makefile: Add rules to build and run tst-relsort1.
30093         * elf/tst-relsort1.c: New file.
30094         * elf/tst-relsort1mod1.c: New file.
30095         * elf/tst-relsort1mod2.c: New file.
30097 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
30099         * math/s_ldexp.c: Remove __STDC__ conditionals.
30100         * math/s_ldexpf.c: Likewise.
30101         * math/s_ldexpl.c: Likewise.
30102         * math/s_nextafter.c: Likewise.
30103         * math/s_nexttowardf.c: Likewise.
30104         * math/s_significand.c: Likewise.
30105         * math/s_significandf.c: Likewise.
30106         * math/s_significandl.c: Likewise.
30107         * math/w_jnl.c: Likewise.
30108         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30109         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30110         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30111         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30112         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30113         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30114         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30115         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30116         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30117         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30118         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30119         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30120         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30121         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30122         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30123         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30124         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30125         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30126         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30127         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30128         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30129         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30130         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30131         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30132         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30133         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30134         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30135         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30136         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30137         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30138         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30139         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30140         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30141         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30142         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30143         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30144         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30145         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30146         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30147         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30148         * sysdeps/ieee754/k_standard.c: Likewise.
30149         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30150         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30151         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30152         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30153         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30154         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30155         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30156         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30157         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30158         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30159         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30160         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30161         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30162         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30163         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30164         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30165         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30166         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30167         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30168         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30169         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30170         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30171         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30172         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30173         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30174         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30175         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30176         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30177         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30178         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30179         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30180         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30181         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30182         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30183         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30184         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30185         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30186         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30187         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30188         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30189         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30190         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30191         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30192         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30193         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30194         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30195         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30196         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30197         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30198         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30199         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30200         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30201         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30202         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30203         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30204         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30205         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30206         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30207         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30208         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30209         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30210         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30211         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30212         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30213         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30214         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30215         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30216         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30217         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30218         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30219         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30220         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30221         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30222         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30223         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30224         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30225         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30226         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30227         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30228         * sysdeps/ieee754/s_matherr.c: Likewise.
30229         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30230         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30231         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30232         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30234 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30236         * crypt/md5.h: Remove __STDC__ conditionals.
30237         * libio/libioP.h: Likewise.
30238         * locale/programs/config.h: Likewise.
30239         * sysdeps/generic/sysdep.h: Likewise.
30240         * sysdeps/i386/asm-syntax.h: Likewise.
30241         * sysdeps/s390/asm-syntax.h: Likewise.
30242         * sysdeps/unix/sysdep.h: Likewise.
30243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30246 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
30248         * libio/libio.h: Remove __STDC__ conditionals.
30249         * malloc/obstack.h: Likewise.
30250         * math/complex.h: Likewise.
30251         * math/math.h: Likewise.
30252         * sysdeps/generic/_G_config.h: Likewise.
30253         * sysdeps/gnu/_G_config.h: Likewise.
30254         * sysdeps/mach/hurd/_G_config.h: Likewise.
30255         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30256         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30257         * sysdeps/sparc/bits/mathdef.h: Likewise.
30259 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
30261         [BZ #13583]
30262         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30263         Clean up HAS_* macros.
30264         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30265         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30266         possible.
30267         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30268         HAS_AVX.
30269         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30270         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30271         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30272         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30273         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30275 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
30277         * elf/tst-unique3.cc (gets): Remove declaration.
30278         * elf/tst-unique3lib.cc (gets): Likewise.
30279         * elf/tst-unique3lib2.cc (gets): Likewise.
30280         * elf/tst-unique4.cc (gets): Likewise.
30282 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
30284         * include/stdio.h: Add C++ protection.  Add gets declarations and
30285         definitions.
30286         * debug/tst-chk1.c: Don't declare gets here.
30287         * stdio-common/tst-gets.c: Likewise.
30289 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30291         * posix/glob: Remove directory.
30293 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
30295         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30297 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
30299         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30300         of the non-standard EPFNOSUPPORT.
30302 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30304         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30305         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30306         ANYWHERE set to 1 only on KERN_NO_SPACE error.
30308 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
30310         * wcsmbs/uchar.h: Test __STDC_VERSION__.
30312 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
30314         * nscd/aicache.c (addhstaiX): Do not cache negative results of
30315         transient errors.
30316         * nscd/grpcache.c (cache_addgr): Likewise.
30317         * nscd/hstcache.c (cache_addhst): Likewise.
30318         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30319         * nscd/pwdcache.c (cache_addpw): Likewise.
30320         * nscd/servicescache.c (cache_addserv): Likewise.
30322 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
30324         * malloc/malloc.c: Various cleanups.
30325         * malloc/hooks.c: Likewise.
30327         * stdlib/Makefile (tests): Add bug-fmtmsg1.
30328         * stdlib/bug-fmtmsg1.c: New file.
30330         * stdlib/fmtmsg.c (init): Add missing unlock.
30331         Patch by Peng Haitao <penght@cn.fujitsu.com>.
30333 2012-01-12  Marek Polacek  <polacek@redhat.com>
30335         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30336         and _GNU_SOURCE.
30338 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
30340         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30341         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30342         macro to ensure uniqueness of label name.
30343         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30344         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30346 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
30348         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30350         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30351         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30352         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30353         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30355 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
30357         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30359         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30360         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30361         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30363         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30365         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30366         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30367         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30368         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30370         * math/bits/math-finite.h: Add ldexp support.
30372 2012-01-10  Marek Polacek  <polacek@redhat.com>
30374         * locale/programs/localedef.h (show_archive_content): Add noreturn
30375         attribute.
30377 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
30379         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30381 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30383         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30385         * io/Makefile (headers): Add bits/poll2.h.
30387 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30390         typo #include statement.
30392 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30394         * include/sys/cdefs.h: Define __attribute_alloc_size.
30395         * catgets/gencat.c: Add alloc_size attribute and apply consistently
30396         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30397         * elf/pldd.c: Likewise.
30398         * iconv/iconv_charmap.c: Likewise.
30399         * iconv/iconvconfig.c: Likewise.
30400         * iconv/strtab.c: Likewise.
30401         * locale/programs/locale.c: Likewise.
30402         * locale/programs/localedef.h: Likewise.
30403         * locale/programs/simple-hash.c: Likewise.
30404         * nscd/nscd.h: Likewise.
30405         * nss/makedb.c: Likewise.
30406         * sysdeps/generic/ldconfig.h: Likewise.
30407         * locale/programs/localedef.c: Remove xmalloc prototype.
30408         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30410 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30412         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30413         appropriate.
30415 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
30417         * math/Makefile (tests): Add tst-CMPLX.
30418         * math/tst-CMPLX.c: New file.
30420         * math/complex.h (CMPLXL): Fix typo.
30422         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30423         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30424         GLIBC_2.16.
30425         * debug/tst-chk1.c: Add poll and ppoll tests.
30426         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30427         * include/sys/poll.h: Add hidden proto for ppoll.
30428         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30429         * sysdeps/mach/hurd/ppoll.c: Likewise.
30430         * io/ppoll.c: Likewise.
30431         * debug/poll_chk.c: New file.
30432         * debug/ppoll_chk.c: New file.
30433         * include/bits/poll2.h: New file.
30434         * io/bits/poll2.h: New file.
30436         [BZ #1350]
30437         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30439         * configure.in: static is always set to yes.  Remove.
30440         * config.make.in: Don't set build-static.
30441         * Makeconfig: Remove use of build-static.
30442         * dlfcn/Makefile: Likewise.
30443         * elf/Makefile: Likewise.
30444         * math/Makefile: Likewise.
30445         * misc/Makefile: Likewise.
30446         * nptl/Makefile: Likewise.
30447         * sysdeps/mach/hurd/Makefile: Likewise.
30449         * configure.in: PWD_P is not used anymore.
30450         * config.make.in: Remove PWD_P entry.
30452         * configure.in: Remove last remnants of RANLIB.
30453         No need to check for signed size_t anymore.
30454         Don't set libc_commonpagesize and libc_relro_required here for Alpha
30455         and IA-64.
30456         Remove __builtin_expect test because we require at least gcc 3.4.
30457         * aclocal.m4: Likewise.
30459         * wcsmbs/mbrtoc16.c: Implement using towc function.
30460         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30461         * wcsmbs/wcsmbsload.c: Likewise.
30462         * iconv/gconv_simple.c: Likewise.
30463         * iconv/gconv_int.h: Likewise.
30464         * iconv/gconv_builtin.h: Likewise.
30465         * iconv/iconv_prog.c: Remove CHAR16 handling.
30467         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30469         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30471         * configure.in: Remove --with-elf and --enable-bounded options.
30472         Dont set base_machine for ia64.  More non-ELF conditions removed.
30473         Remove testing and setting of leading underscore information.
30474         * config.make.in (build-bounded): Set to no.
30475         * config.h.in: Remove NO_UNDERSCORES entry.
30476         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
30477         them.
30478         * csu/start.c: Remove !NO_UNDERSCORE code.
30479         * locale/localeinfo.h: Likewise.
30480         * sysdeps/generic/machine-gmon.h: Likewise.
30481         * sysdeps/generic/sysdep.h: Likewise.
30482         * sysdeps/i386/sysdep.h: Likewise.
30483         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30484         * sysdeps/mach/sysdep.h: Likewise.
30485         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30486         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30487         * sysdeps/sh/sysdep.h: Likewise.
30488         * sysdeps/sparc/sparc32/alloca.S: Likewise.
30489         * sysdeps/unix/i386/sysdep.S: Likewise.
30490         * sysdeps/unix/sparc/start.c: Likewise.
30491         * sysdeps/unix/sparc/sysdep.S: Likewise.
30492         * sysdeps/unix/sparc/sysdep.h: Likewise.
30493         * sysdeps/unix/start.c: Likewise.
30494         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30495         * sysdeps/x86_64/sysdep.h: Likewise.
30497 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
30499         [BZ #13553]
30500         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30501         for non-gcc.
30502         * argp/argp-fmtstream.h: Use const instead __const.
30503         * argp/argp.h: Likewise.
30504         * assert/assert.h: Likewise.
30505         * bits/fenv.h: Likewise.
30506         * bits/sched.h: Likewise.
30507         * bits/sigset.h: Likewise.
30508         * bits/sigthread.h: Likewise.
30509         * catgets/nl_types.h: Likewise.
30510         * conform/data/pthread.h-data: Likewise.
30511         * crypt/crypt-private.h: Likewise.
30512         * crypt/crypt.h: Likewise.
30513         * crypt/crypt_util.c: Likewise.
30514         * ctype/ctype.h: Likewise.
30515         * debug/execinfo.h: Likewise.
30516         * debug/mbsnrtowcs_chk.c: Likewise.
30517         * debug/mbsrtowcs_chk.c: Likewise.
30518         * debug/wcsnrtombs_chk.c: Likewise.
30519         * debug/wcsrtombs_chk.c: Likewise.
30520         * debug/wcstombs_chk.c: Likewise.
30521         * dirent/dirent.h: Likewise.
30522         * dlfcn/dlfcn.h: Likewise.
30523         * elf/neededtest4.c: Likewise.
30524         * grp/grp.h: Likewise.
30525         * gshadow/gshadow.h: Likewise.
30526         * iconv/gconv.h: Likewise.
30527         * iconv/gconv_int.h: Likewise.
30528         * iconv/gconv_simple.c: Likewise.
30529         * iconv/iconv.h: Likewise.
30530         * iconv/loop.c: Likewise.
30531         * iconv/skeleton.c: Likewise.
30532         * include/aio.h: Likewise.
30533         * include/aliases.h: Likewise.
30534         * include/argz.h: Likewise.
30535         * include/arpa/inet.h: Likewise.
30536         * include/assert.h: Likewise.
30537         * include/dirent.h: Likewise.
30538         * include/dlfcn.h: Likewise.
30539         * include/execinfo.h: Likewise.
30540         * include/fcntl.h: Likewise.
30541         * include/fenv.h: Likewise.
30542         * include/glob.h: Likewise.
30543         * include/grp.h: Likewise.
30544         * include/libintl.h: Likewise.
30545         * include/mntent.h: Likewise.
30546         * include/netdb.h: Likewise.
30547         * include/pwd.h: Likewise.
30548         * include/rpc/netdb.h: Likewise.
30549         * include/sched.h: Likewise.
30550         * include/search.h: Likewise.
30551         * include/shadow.h: Likewise.
30552         * include/signal.h: Likewise.
30553         * include/stdio.h: Likewise.
30554         * include/stdlib.h: Likewise.
30555         * include/string.h: Likewise.
30556         * include/sys/socket.h: Likewise.
30557         * include/sys/stat.h: Likewise.
30558         * include/sys/statfs.h: Likewise.
30559         * include/sys/statvfs.h: Likewise.
30560         * include/sys/syslog.h: Likewise.
30561         * include/sys/time.h: Likewise.
30562         * include/sys/uio.h: Likewise.
30563         * include/time.h: Likewise.
30564         * include/unistd.h: Likewise.
30565         * include/utmp.h: Likewise.
30566         * include/wchar.h: Likewise.
30567         * include/wctype.h: Likewise.
30568         * inet/aliases.h: Likewise.
30569         * inet/arpa/inet.h: Likewise.
30570         * inet/netinet/ether.h: Likewise.
30571         * inet/netinet/in.h: Likewise.
30572         * intl/libintl.h: Likewise.
30573         * io/bits/fcntl2.h: Likewise.
30574         * io/fcntl.h: Likewise.
30575         * io/ftw.h: Likewise.
30576         * io/sys/poll.h: Likewise.
30577         * io/sys/stat.h: Likewise.
30578         * io/sys/statfs.h: Likewise.
30579         * io/sys/statvfs.h: Likewise.
30580         * io/utime.h: Likewise.
30581         * libio/bits/stdio.h: Likewise.
30582         * libio/bits/stdio2.h: Likewise.
30583         * libio/libio.h: Likewise.
30584         * libio/libioP.h: Likewise.
30585         * libio/stdio.h: Likewise.
30586         * locale/lc-ctype.c: Likewise.
30587         * locale/locale.h: Likewise.
30588         * login/utmp.h: Likewise.
30589         * malloc/arena.c: Likewise.
30590         * malloc/malloc.c: Likewise.
30591         * malloc/malloc.h: Likewise.
30592         * malloc/mcheck.c: Likewise.
30593         * malloc/mtrace.c: Likewise.
30594         * math/bits/mathcalls.h: Likewise.
30595         * math/fenv.h: Likewise.
30596         * math/math_private.h: Likewise.
30597         * misc/bits/error.h: Likewise.
30598         * misc/bits/syslog.h: Likewise.
30599         * misc/err.h: Likewise.
30600         * misc/error.h: Likewise.
30601         * misc/fstab.h: Likewise.
30602         * misc/mntent.h: Likewise.
30603         * misc/regexp.h: Likewise.
30604         * misc/search.h: Likewise.
30605         * misc/sgtty.h: Likewise.
30606         * misc/sys/mman.h: Likewise.
30607         * misc/sys/syslog.h: Likewise.
30608         * misc/sys/uio.h: Likewise.
30609         * misc/sys/xattr.h: Likewise.
30610         * misc/ttyent.h: Likewise.
30611         * nis/rpcsvc/ypclnt.h: Likewise.
30612         * nss/nss.h: Likewise.
30613         * posix/bits/unistd.h: Likewise.
30614         * posix/fnmatch.h: Likewise.
30615         * posix/glob.h: Likewise.
30616         * posix/sched.h: Likewise.
30617         * posix/spawn.h: Likewise.
30618         * posix/sys/wait.h: Likewise.
30619         * posix/unistd.h: Likewise.
30620         * posix/wordexp.h: Likewise.
30621         * pwd/pwd.h: Likewise.
30622         * resolv/netdb.h: Likewise.
30623         * resource/sys/resource.h: Likewise.
30624         * rt/aio.h: Likewise.
30625         * rt/bits/mqueue2.h: Likewise.
30626         * rt/mqueue.h: Likewise.
30627         * shadow/shadow.h: Likewise.
30628         * signal/signal.h: Likewise.
30629         * socket/send.c: Likewise.
30630         * socket/sendto.c: Likewise.
30631         * socket/sys/socket.h: Likewise.
30632         * stdio-common/printf.h: Likewise.
30633         * stdlib/bits/stdlib.h: Likewise.
30634         * stdlib/fmtmsg.h: Likewise.
30635         * stdlib/monetary.h: Likewise.
30636         * stdlib/stdlib.h: Likewise.
30637         * stdlib/ucontext.h: Likewise.
30638         * streams/stropts.h: Likewise.
30639         * string/argz.h: Likewise.
30640         * string/bits/string2.h: Likewise.
30641         * string/string.h: Likewise.
30642         * string/strings.h: Likewise.
30643         * sunrpc/rpc/auth.h: Likewise.
30644         * sunrpc/rpc/auth_des.h: Likewise.
30645         * sunrpc/rpc/clnt.h: Likewise.
30646         * sunrpc/rpc/netdb.h: Likewise.
30647         * sunrpc/rpc/pmap_clnt.h: Likewise.
30648         * sunrpc/rpc/xdr.h: Likewise.
30649         * sysdeps/generic/inttypes.h: Likewise.
30650         * sysdeps/generic/net/if.h: Likewise.
30651         * sysdeps/generic/sys/swap.h: Likewise.
30652         * sysdeps/gnu/net/if.h: Likewise.
30653         * sysdeps/gnu/utmpx.h: Likewise.
30654         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30655         * sysdeps/i386/i486/bits/string.h: Likewise.
30656         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30657         * sysdeps/s390/bits/string.h: Likewise.
30658         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30659         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30660         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30661         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30662         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30663         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30664         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30665         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30666         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30667         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30668         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30669         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30670         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30671         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30672         * sysdeps/unix/sysv/linux/readv.c: Likewise.
30673         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30674         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30675         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30676         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30677         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30678         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30679         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30680         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30681         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30682         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30683         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30684         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30685         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30686         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30687         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30688         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30689         * sysvipc/sys/ipc.h: Likewise.
30690         * sysvipc/sys/msg.h: Likewise.
30691         * sysvipc/sys/sem.h: Likewise.
30692         * sysvipc/sys/shm.h: Likewise.
30693         * termios/termios.h: Likewise.
30694         * time/sys/time.h: Likewise.
30695         * time/time.h: Likewise.
30696         * wcsmbs/bits/wchar2.h: Likewise.
30697         * wcsmbs/uchar.h: Likewise.
30698         * wcsmbs/wchar.h: Likewise.
30699         * wctype/wctype.h: Likewise.
30701         [BZ #13551]
30702         * Makeconfig: Remove all but ELF support including AIX support.
30703         * Makerules: Likewise.
30704         * config.h.in: Likewise.
30705         * config.make.in: Likewise.
30706         * configure: Likewise.
30707         * configure.in: Likewise.
30708         * csu/Makefile: Likewise.
30709         * csu/version.c: Likewise.
30710         * debug/Makefile: Likewise.
30711         * dlfcn/Makefile: Likewise.
30712         * elf/Makefile: Likewise.
30713         * extra-lib.mk: Likewise.
30714         * iconv/Makefile: Likewise.
30715         * include/libc-symbols.h: Likewise.
30716         * include/shlib-compat.h: Likewise.
30717         * resolv/Makefile: Likewise.
30718         * resolv/res_libc.c: Likewise.
30719         * rt/Makefile: Likewise.
30720         * sysdeps/i386/asm-syntax.h: Likewise.
30721         * sysdeps/i386/sysdep.h: Likewise.
30722         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30723         * sysdeps/mach/sysdep.h: Likewise.
30724         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30725         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30726         * sysdeps/s390/asm-syntax.h: Likewise.
30727         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30728         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30729         * sysdeps/sh/sysdep.h: Likewise.
30730         * sysdeps/unix/sparc/sysdep.h: Likewise.
30731         * sysdeps/wordsize-32/divdi3.c: Likewise.
30732         * sysdeps/x86_64/sysdep.h: Likewise.
30734         * argp/Versions: Remove _argp_unlock_xxx.
30736         [BZ #13559]
30737         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30738         * abilist/libBrokenLocale.abilist: Likewise.
30739         * abilist/libanl.abilist: Likewise.
30740         * abilist/libc.abilist: Likewise.
30741         * abilist/libcrypt.abilist: Likewise.
30742         * abilist/libdl.abilist: Likewise.
30743         * abilist/libm.abilist: Likewise.
30744         * abilist/libnsl.abilist: Likewise.
30745         * abilist/libpthread.abilist: Likewise.
30746         * abilist/libresolv.abilist: Likewise.
30747         * abilist/librt.abilist: Likewise.
30748         * abilist/libthread_db.abilist: Likewise.
30749         * abilist/libutil.abilist: Likewise.
30750         * abilist/libnss_db.abilist: New file.
30752         * scripts/abilist.awk: Add support for indirect functions.
30754         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30756         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30758         * shlib-versions: Remove entries for ports architectures.
30760         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30761         files in ports.
30762         * elf/stackguard-macros.h: Remove support for IA-64.
30763         * elf/tst-auditmod1.c: Likewise.
30764         * sysdeps/generic/ldsodefs.h: Likewise.
30766         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30767         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30768         configure files.
30770         [BZ #13552]
30771         * configure.in: Remove --enable-omitfp support.
30772         * FAQ.in: Adjust.
30773         * config.make.in: Likewise.
30774         * Makeconfig: Likewise.
30775         * manual/install.texi: Likewise.
30777         In case anyone cares, the IA-64 architecture could move to ports.
30778         * sysdeps/ia64/*: Removed.
30779         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30780         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30782         [BZ #13555]
30783         * configure.in: Remove entries for unsupported architectures.
30785         [BZ #13533]
30786         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30787         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30788         routines.
30789         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30790         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30791         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30792         fall back to using wcrtomb.
30793         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30794         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30795         renaming.
30796         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30797         * wcsmbs/tst-c16c32-1.c: New file.
30799         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30800         local variable.
30802         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30804         * elf/tst-unique3.cc: Add explicit declaration of gets.
30805         * elf/tst-unique3lib.cc: Likewise.
30806         * elf/tst-unique3lib2.cc: Likewise.
30807         * elf/tst-unique4.cc: Likewise.
30809         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30811 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30813         [BZ #13566]
30814         * assert/assert.h (static_assert): Don't define for C++.
30815         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30816         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30818 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30820         * iconv/loop.c (single loop): Fix assertion in storing of
30821         remaining bytes.
30823         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30825 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30827         * posix/getconf.c: Update copyright year.
30828         * nss/getent.c: Likewise.
30829         * nss/makedb.c: Likewise.
30830         * iconv/iconvconfig.c: Likewise.
30831         * iconv/iconv_prog.c: Likewise.
30832         * elf/ldconfig.c: Likewise.
30833         * elf/pldd.c: Likewise.
30834         * elf/sotruss.ksh: Likewise.
30835         * catgets/gencat.c: Likewise.
30836         * csu/version.c: Likewise.
30837         * elf/ldd.bash.in: Likewise.
30838         * elf/sprof.c (print_version): Likewise.
30839         * locale/programs/locale.c: Likewise.
30840         * locale/programs/localedef.c: Likewise.
30841         * login/programs/pt_chown.c: Likewise.
30842         * nscd/nscd.c (print_version): Likewise.
30843         * debug/xtrace.sh: Likewise.
30844         * malloc/memusage.sh: Likewise.
30845         * malloc/mtrace.pl: Likewise.
30846         * debug/catchsegv.sh: Likewise.
30848 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30850         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30851         pure attribute.
30853 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30855         [BZ #13533]
30856         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30857         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30858         transformations.
30859         * iconv/gconv_int.h: Likewise.
30860         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30861         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30862         from libc for GLIBC_2.16.
30863         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30864         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30865         * wcsmbs/uchar.h: Really define mbstate_t.
30866         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30867         * wcsmbs/c16rtomb.c: New file.
30868         * wcsmbs/mbrtoc16.c: New file.
30869         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30870         for C/POSIX locale.
30871         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30872         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30874         * wcsmbs/wchar.h: Add missing __restrict.
30876 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30878         [BZ #13532]
30879         * time/Makefile (routines): Add timespec_get.
30880         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30881         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30882         timespec for ISO C11.
30883         * time/timespec_get.c: New file.
30884         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30885         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30887         [BZ #13531]
30888         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30889         * stdlib/stdlib.h: Declare aligned_alloc.
30890         * Versions.def: Add GLIBC_2.16 for libc.
30891         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30893         [BZ 13527]
30894         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30895         ISO C11.
30897         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30898         code.
30900         [BZ #13528]
30901         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30903         [BZ #13529]
30904         * assert/assert.h (static_assert): Define.
30906         * version.h: Update for 2.16 development version.
30908         [BZ #13526]
30909         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30910         _ISOC11_SOURCE.
30912         * version.h (RELEASE): Bump for 2.15 release.
30913         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30915         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30916         Patch by Marek Polacek <mpolacek@redhat.com>.
30918         * bits/byteswap.h: Protect long long constants with __extension__.
30919         * sysdeps/i386/bits/byteswap.h: Likewise.
30920         * sysdeps/ia64/bits/byteswap.h: Likewise.
30921         * sysdeps/s390/bits/byteswap.h: Likewise.
30922         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30924 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30926         [BZ #13540]
30927         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30928         destination buffer.
30929         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30931 2011-12-23  Marek Polacek  <polacek@redhat.com>
30933         * elf/dl-addr.c (determine_info): Add inline keyword.
30934         * elf/tst-auditmod4b.c (check_avx): Likewise.
30935         * elf/tst-auditmod6b.c (check_avx): Likewise.
30936         * elf/tst-auditmod6c.c (check_avx): Likewise.
30937         * elf/tst-auditmod7b.c (check_avx): Likewise.
30939 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30941         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30942         !__SSE_MATH__.
30944 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30946         [BZ #13540]
30947         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30948         processing for last bytes.
30950 2011-08-06  Bruno Haible  <bruno@clisp.org>
30952         [BZ #13061]
30953         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30954         U+0385, not to U+1FEE.
30956         [BZ #13062]
30957         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30958         entry for U+00A5 U+0301.
30960 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30962         [BZ #13166]
30963         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30964         buffer for the output is too small.
30966         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30967         optimization.
30969         [BZ #13185]
30970         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30971         SSE flags if possible.
30973 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30975         [BZ #13540]
30976         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30977         processing for last bytes.
30979 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30981         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30982         (syscall-list-default-options, syscall-list-default-condition)
30983         (syscall-list-includes): Define.
30984         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30985         list of ABIs and options and #if conditions for each ABI.  Do not
30986         handle common syscalls between ABIs specially.
30987         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30988         Remove.
30989         (syscall-list-variants, syscall-list-32bit-options)
30990         (syscall-list-32bit-condition, syscall-list-64bit-options)
30991         (syscall-list-64bit-condition): Define.
30992         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30993         (syscall-list-variants, syscall-list-32bit-options)
30994         (syscall-list-32bit-condition, syscall-list-64bit-options)
30995         (syscall-list-64bit-condition): Define.
30996         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30997         Remove.
30998         (syscall-list-variants, syscall-list-32bit-options)
30999         (syscall-list-32bit-condition, syscall-list-64bit-options)
31000         (syscall-list-64bit-condition): Define.
31001         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31002         Remove.
31003         (syscall-list-variants, syscall-list-32bit-options)
31004         (syscall-list-32bit-condition, syscall-list-64bit-options)
31005         (syscall-list-64bit-condition): Define.
31007 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
31009         * locale/iso-639.def: Add brx entry.
31011         [BZ #13328]
31012         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31013         Proposed by Mariusz_Cukr <marcukr@op.pl>.
31015         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31016         __feraiseexcept_renamed.
31018 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31020         [BZ #13538]
31021         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31022         EPOLLET with unsigned values.
31023         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31024         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31026         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31027         to large cancellation.
31028         * math/s_cacoshf.c: Likewise.
31029         * math/s_cacoshl.c: Likewise.
31031 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
31033         [BZ #13305]
31034         [BZ #12786]
31035         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31036         * math/s_cacoshf.c: Likewise.
31037         * math/s_cacoshl.c: Likewise.
31039 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
31041         [BZ #13439]
31042         * iconv/gconv.h: Define __GCONV_SWAP.
31043         * iconvdata/unicode.c: The swap bit must be stored in __flags.
31044         * iconvdata/utf-16.c: Likewise.
31045         * iconvdata/utf-32.c: Likewise.
31047 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31049         [BZ #13524]
31050         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31051         numerator after shifting it by one limb.
31053 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
31055         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31056         under [__USE_EXTERN_INLINES].
31058 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31060         [BZ #13446]
31061         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31063 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31065         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31066         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31067         optimized code.
31068         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31069         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31070         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31071         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31072         for strncasecmp/strncasecmp_l compilation.
31073         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31074         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31076 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
31078         [BZ #13484]
31079         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31080         of __asm__.
31082 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
31084         [BZ #13506]
31085         * time/tzfile.c (__tzfile_read): Check values from file header.
31087 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31089         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31090         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31091         * powerpc/powerpc32/dl-start.S: Likewise.
31092         * powerpc/powerpc32/elf/start.S: Likewise.
31093         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31094         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31095         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31096         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31097         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31098         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31099         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31100         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31101         * powerpc/powerpc32/fpu/s_round.S: Likewise.
31102         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31103         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31104         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31105         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31106         * powerpc/powerpc32/memset.S: Likewise.
31107         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31108         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31109         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31110         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31111         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31112         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31113         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31114         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31115         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31116         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31117         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31118         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31119         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31121 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31123         * math/libm-test.inc: Added more nearbyint tests.
31124         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31125         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31126         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31127         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31129 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
31131         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31132         FD_CLOEXEC.
31134 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31136         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31137         Add wcscpy-ssse3 wcscpy-c.
31138         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31139         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31140         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31141         * sysdeps/x86_64/wcschr.S: New file.
31142         * sysdeps/x86_64/wcsrchr.S: New file.
31143         * string/test-strcmp.c: Remove checking of wcscmp function for
31144         wrong alignments.
31145         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31146         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31147         wcsrchr-sse2 wcsrchr-c.
31148         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31149         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31150         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31151         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31152         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31153         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31154         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31155         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31156         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31157         * wcsmbc/wcschr.c (WCSCHR): New macro.
31159 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31161         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31162         * wcsmbs/test-wcsrchr.c: New file.
31163         * string/test-strrchr.c: Add wcsrchr support.
31164         (WIDE): New macro.
31165         * wcsmbs/test-wcscpy.c: New file.
31166         * string/test-strcpy.c: Add wcscpy support.
31167         (WIDE): New macro.
31169 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
31171         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31172         the inner loop.
31174 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
31176         [BZ #13472]
31177         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31179 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
31181         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31182         Minor optimizations.
31184         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31185         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31186         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31188 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
31190         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31191         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31192         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31193         for gcc to avoid warnings.
31194         * inet/Makefile (tests): Add tst-checks.
31195         * inet/tst-checks.c: New file.
31197         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31198         warning.
31200         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31201         __wmemcmp_sse2.
31203         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31204         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31206         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31208 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
31210         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31211         problem.
31213         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31215 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
31217         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31218         conditional on GCC version.
31219         (__arch_compare_and_exchange_val_8_acq)
31220         (__arch_compare_and_exchange_val_16_acq)
31221         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31222         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31223         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31225 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
31227         * sysdeps/sh/backtrace.c: New file.
31229 2011-12-02  Andreas Schwab  <schwab@redhat.com>
31231         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
31232         parenthesis.
31234 2011-12-01  Andreas Schwab  <schwab@redhat.com>
31236         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31237         falling back to utime.
31239 2011-11-30  Andreas Schwab  <schwab@redhat.com>
31241         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31242         expectations for float.
31244 2011-11-29  Andreas Schwab  <schwab@redhat.com>
31246         * locale/weight.h (findidx): Add parameter len.
31247         * locale/weightwc.h (findidx): Likewise.
31248         * posix/fnmatch_loop.c (FCT): Adjust caller.
31249         * posix/regcomp.c (build_equiv_class): Likewise.
31250         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31251         * posix/regexec.c (check_node_accept_bytes): Likewise.
31252         * string/strcoll_l.c (STRCOLL): Likewise.
31253         * string/strxfrm_l.c (STRXFRM): Likewise.
31255 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
31257         * Makefile.in: Remove CVSOPT handling.
31258         * configure.in: Remove use of AC_REVISION.
31259         * iconvdata/Makefile (distribute): No need to filter out CVS.
31260         * scripts/list-sources.sh: Remove CVS, subversion and monotone
31261         handling.
31263 2011-11-16  Andreas Schwab  <schwab@redhat.com>
31265         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31266         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31267         [USE_AS_STRNCASECMP_L]: Likewise.
31268         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31269         NO_TLS_DIRECT_SEG_REFS.
31270         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31271         Fix argument offsets for non-PIC.
31272         [USE_AS_STRNCASECMP_L]: Likewise.
31273         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31274         NO_TLS_DIRECT_SEG_REFS.
31276 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31278         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31279         O_CLOEXEC.
31280         * locale/loadlocale.c (_nl_load_locale): Likewise.
31282 2011-11-15  Andreas Schwab  <schwab@redhat.com>
31284         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31285         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31286         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31287         (SYSCALL_GETTIME): Set errno on error.
31289         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31290         count references to noai6ai_cached.
31292 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
31294         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31296         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31297         FD_CLOEXEC for /proc/self/maps.
31299         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31300         FD_CLOEXEC for /proc/meminfo.
31302         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31303         gai.conf.
31305         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
31306         FD_CLOEXEC for given file.
31308         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31310         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31311         FD_CLOEXEC for /etc/hosts.
31312         (_gethtent): Likewise.
31314         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31316         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31317         cancellation and set FD_CLOEXEC for /etc/netgroup.
31319         * nss/nss_files/files-key.c (search): Don't allow cancellation when
31320         reading /etc/publickey.
31322         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31323         allow cancellation when reading /etc/group.
31325         * nss/nss_files/files-alias.c (internal_setent): Don't allow
31326         cancellation.
31327         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
31329         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31330         when using data file.
31332         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31334         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31335         (write_nis_obj): Use "c" and "e" in fopen.
31337         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31339         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31341         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31343         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31345         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31346         locale.alias.
31348         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31350         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31352         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31354         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31355         file parsing and set FD_CLOEXEC.
31357 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31359         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31361 2011-11-14  Andreas Schwab  <schwab@redhat.com>
31363         * malloc/arena.c (arena_get2): Don't call reused_arena when
31364         _int_new_arena failed.
31366 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
31368         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31369         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31370         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31371         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31372         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31373         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31374         to compile strcasecmp and strncasecmp.
31375         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31376         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31378         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31380 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
31382         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31383         locale-defines.sym to gen-as-const-headers.
31384         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31385         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31386         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31387         to compile strcasecmp and strncasecmp.
31388         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31389         strcasecmp_l and strncasecmp_l.
31390         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31391         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31392         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31393         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31394         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31395         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31396         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31397         * sysdeps/i386/i686/multiarch/strncase.S: New file.
31398         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31399         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31400         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31402 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
31404         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31405         result of SYSDEP_GETTIME_CPU to retval.
31406         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31407         parameter list to macro.  Remove trailing semicolon.  Adjust users.
31409         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31410         variable.
31412         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31413         mantissa words.
31414         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31416         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31417         from unused variable.
31419         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31420         DWARF definitions.
31421         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31422         for assembling.
31424         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31425         over namespaces.
31427         * sunrpc/rpc_prot.c (rejected): Fix case value.
31429         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31430         unsigned long long int to avoid warnings in shift.
31432         * posix/regex_internal.c (re_string_reconstruct): Actually use result
31433         of use of trans.
31434         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31435         variable tmp.
31437         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31438         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31439         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31441         * nis/nis_table.c (nis_list): Use variable of correct type for
31442         result of __follow_path call.
31444 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31446         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31447         of math functions ceil, trunc, floor, round, and sqrt, when
31448         avaliable on the platform.
31449         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31450         name clash.
31451         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31452         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31453         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31455 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
31457         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31458         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31460 2011-11-11  Roland McGrath  <roland@hack.frob.com>
31462         * include/unistd.h: Fix __readlink return type.
31463         Reported by Chris Metcalf <cmetcalf@tilera.com>.
31465 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
31467         * stdlib/ucontext.h: Undo last change for makecontext.
31469 2011-11-11  Andreas Schwab  <schwab@redhat.com>
31471         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31473         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31474         * setjmp/setjmp.h: Mark functions as non-leaf.
31475         * setjmp/bits/setjmp2.h: Likewise.
31476         * stdlib/ucontext.h: Likewise.
31478 2011-11-10  Andreas Schwab  <schwab@redhat.com>
31480         * malloc/arena.c (_int_new_arena): Don't increment narenas.
31481         (reused_arena): Don't check arena limit.
31482         (arena_get2): Atomically check arena limit.
31484 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
31486         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31487         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31490         instructions.
31492 2011-11-07  Andreas Schwab  <schwab@redhat.com>
31494         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31495         handler when locking.
31497         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31498         Fix size of allocated buffer.
31500 2011-11-04  Andreas Schwab  <schwab@redhat.com>
31502         [BZ #10103]
31503         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31504         declarations for long double functions.
31505         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31507         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31509 2011-11-03  Andreas Schwab  <schwab@redhat.com>
31511         * nscd/nscd.c (main): Don't start AVC thread until credentials are
31512         installed.
31514         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31515         is disabled.
31517 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31519         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31521 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
31523         * include/alloca.h (stackinfo_alloca_round): Define.
31524         (extend_alloca): Use it.
31525         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31526         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31527         here.
31529         * scripts/check-local-headers.sh: Ignore libaudit.h.
31531         * nscd/Makefile (extra-objs): Make recursively expanded.
31533 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
31535         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31536         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31538         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31539         * posix/tst-rfc3484-2.c: Likewise.
31540         * posix/tst-rfc3484-3.c: Likewise.
31542         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31543         process_vm_writev.
31544         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31545         process_vm_writev.
31546         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31547         process_vm_writev from libc using GLIBC_2.15 version.
31549         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31551 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
31553         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31554         stack usage.
31556 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
31558         [BZ #13367]
31559         * nss/getent.c (initgroups_keys): Show error message in case no group
31560         names are given.
31562         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31563         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31564         __bump_nl_timestamp.
31565         * nscd/connections (nscd_init): When host database is served open
31566         netlink socket and request notification about configuration changes.
31567         (main_loop_poll): Track netlink file descriptor and bump timestamp
31568         in case data becomes available.
31569         (main_loop_epoll): Likewise.
31570         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31571         (database_pers_head): Add extra_data fileds.
31572         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31573         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31574         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31575         Adjust caller.
31576         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31577         in6ai data, call __free_in6ai.
31578         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31579         Add -DHAVE_NETLINK.
31580         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
31581         interface information.  Reuse previous data if netlink timestamp
31582         is not changed.
31583         (__bump_nl_timestamp): New function.
31584         (__free_in6ai): New function.
31586 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
31588         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31589         close_not_cancel_no_status here.
31590         (__check_pf): Reorganize code a bit to not call close twice if OOM.
31592 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31594         [BZ #13276]
31595         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31596         return value.
31598         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31599         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31600         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31602 2011-07-03  Andreas Jaeger  <aj@suse.de>
31604         [BZ #10709]
31605         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31606         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31607         * math/libm-test.inc (sin_test): Add test case.
31609 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
31611         [BZ #13337]
31612         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31613         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31615         * elf/chroot_canon.c (chroot_canon): Cleanups.
31617         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31619         [BZ #13335]
31620         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31621         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31623         * string/test-strchr.c: Make usable for strchrnul testing.
31624         * string/test-strchrnul.c: New file.
31625         * string/Makefile (strop-tests): Add strchrnul.
31627         * po/it.po: Update from translation team.
31628         * po/es.po: Likewise.
31630 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
31632         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31633         the three constants needed as parameters.  Drop the others.
31634         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31635         __m128i_strloadu_tolower.
31636         Create and initialize variable zero and use it in all the places
31637         where _mm_setzero_si128 was used.
31639         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31640         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31641         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31642         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31643         anymore.
31644         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31645         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31646         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31647         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31648         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31649         __mpranred, __mptan.
31650         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31651         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31652         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31653         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31654         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31655         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31656         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31657         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31658         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31660 2011-10-28  Andreas Schwab  <schwab@redhat.com>
31662         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31663         redefine if SHARED.
31664         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31666         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31667         wide char related routines to wcsmbs subdir.
31669 2011-10-27  Andreas Schwab  <schwab@redhat.com>
31671         [BZ #13344]
31672         * misc/sys/cdefs.h (__THROWNL): Define.
31673         * posix/unistd.h: Use __THREADNL instead of __THREAD
31674         for memory synchronization functions.
31676 2011-10-26  Roland McGrath  <roland@hack.frob.com>
31678         [BZ #13349]
31679         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31680         doesn't exist.
31681         * manual/stdio.texi (Obstack Streams): Node removed.
31683 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31685         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31686         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31687         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31689         * math/math_private.h (math_force_eval): Allow non-addressable
31690         arguments.
31691         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31693 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31695         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31696         file is not needed.
31698         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31699         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31700         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31701         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31702         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31703         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31704         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31705         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31706         Add AVX variants.
31707         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31708         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31709         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31710         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31711         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31712         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31713         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31714         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31715         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31716         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31717         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31718         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31719         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31720         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31721         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31722         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31723         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31724         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31725         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31727         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31728         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31730         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31731         place.  Use VEX encoding when compiling for AVX.
31733 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31735         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31736         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31738         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31740 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31742         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31743         useless if() expression.
31744         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31745         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31746         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31747         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31748         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31749         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31750         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31751         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31752         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31753         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31754         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31755         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31756         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31757         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31758         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31759         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31760         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31761         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31762         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31764         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31766 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31768         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31769         condition.
31770         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31772 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31774         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31775         .text section.  Avoid duplicate constants.
31776         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31777         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31778         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31779         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31780         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31781         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31782         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31783         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31784         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31785         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31786         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31787         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31788         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31789         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31790         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31791         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31792         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31793         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31794         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31795         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31796         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31797         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31798         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31799         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31800         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31801         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31802         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31803         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31804         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31805         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31806         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31807         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31808         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31809         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31810         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31811         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31812         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31813         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31814         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31815         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31816         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31817         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31818         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31819         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31820         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31822 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31824         * sysdeps/x86_64/dla.h: Move to ...
31825         * sysdeps/x86_64/fpu/dla.h: ...here.
31826         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31827         situations.  Use __builtin_fma only for gcc 4.6 and up.
31829         * config.make.in: Add have-mfma4 entry.
31830         * configure.in: Substitute libc_cv_cc_fma4.
31831         * math/Makefile (dbl-only-routines): Add sincostab.
31832         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31833         Use __sincostab not sincos.
31834         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31835         name is a macro.
31836         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31837         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31838         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31839         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31840         using __copysign.
31841         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31842         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31843         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31844         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31845         and __inv.
31846         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31847         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31848         __copysign.
31849         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31850         define aliases when function name is a macro.
31851         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31852         sysdeps/ieee754/dbl-64/sincos.tbl.
31853         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31854         fma4-enabled routines.
31855         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31856         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31857         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31858         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31859         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31860         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31861         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31862         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31863         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31864         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31865         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31866         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31867         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31868         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31869         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31870         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31871         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31872         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31873         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31874         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31875         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31876         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31877         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31878         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31879         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31880         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31881         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31882         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31883         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31884         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31886         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31887         rename.
31888         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31889         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31890         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31892         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31893         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31894         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31895         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31897 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31899         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31901 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31903         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31905         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31906         prediction.
31907         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31909         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31910         Remove unused variable magic_bits.
31911         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31913         * string/strnlen.c: Define and use STRNLEN macro.
31914         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31915         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31916         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31917         * wcsmbs/wcslen.c: Define and use WCSLEN.
31918         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31919         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31920         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31921         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31922         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31923         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31924         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31926 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31929         strnlen-sse2-no-bsf.
31930         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31931         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31932         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31933         Add strnlen support.
31934         (USE_AS_STRNLEN): New macro.
31935         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31936         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31937         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31938         * sysdeps/x86_64/wcslen.S: New file.
31940 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31942         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31943         XMM-moves are used for copying on small sizes.
31945 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31947         * wcsmbs/Makefile (strop-tests): Add wcschr.
31948         * wcsmbs/test-wcschr.c: New file.
31949         * string/test-strchr.c: Update.
31950         Add wcschr support.
31951         (WIDE): New macro.
31953 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31955         * wcsmbs/Makefile (strop-tests): Add wcslen.
31956         * wcsmbs/test-wcslen.c: New file.
31957         * string/test-strlen.c: Update.
31958         Add wcslen support.
31959         (WIDE): New macro.
31961 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31963         * po/it.po: Update from translation team.
31965 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31967         * sysdeps/x86_64/wcscmp.S: Update.
31968         Fix wrong comparison semantics.
31969         wcscmp shall use signed comparison not unsigned.
31970         Don't use substraction to avoid overflow bug.
31971         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31972         * wcsmbc/wcscmp.c: Likewise.
31973         * string/test-strcmp.c: Likewise.
31974         Add new tests to check cases with negative values.
31976 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31978         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31979         * sysdeps/x86_64/dla.h: ...here.  New file.
31980         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31981         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31982         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31983         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31984         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31985         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31986         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31987         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31988         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31990 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31992         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31993         __ynl_finite aliases.
31995 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31999         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32000         define DLA_FMA.
32001         [DLA_FMA] (EMULV): Use DLA_FMA.
32002         [DLA_FMA] (MUL12): Use EMULV.
32003         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32004         that are not needed.
32005         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32006         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32007         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32008         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32009         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32010         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32011         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32013 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
32015         * math/s_nan.c: Undef __nan.
32016         * math/s_nanf.c: Undef __nanf.
32017         * math/s_nanl.c: Undef __nanl.
32018         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32019         "math_private.h".
32021 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
32023         * math/s_catan.c: Add branch predictions.
32024         * math/s_catanf.c: Likewise.
32025         * math/s_catanh.c: Likewise.
32026         * math/s_catanhf.c: Likewise.
32027         * math/s_catanhl.c: Likewise.
32028         * math/s_catanl.c: Likewise.
32029         * math/s_cexp.c: Likewise.
32030         * math/s_cexpf.c: Likewise.
32031         * math/s_cexpl.c: Likewise.
32032         * math/s_clog.c: Likewise.
32033         * math/s_clog10.c: Likewise.
32034         * math/s_clog10f.c: Likewise.
32035         * math/s_clog10l.c: Likewise.
32036         * math/s_clogf.c: Likewise.
32037         * math/s_clogl.c: Likewise.
32038         * math/s_csqrt.c: Likewise.
32039         * math/s_csqrtf.c: Likewise.
32040         * math/s_csqrtl.c: Likewise.
32041         * math/s_ctanf.c: Likewise.
32042         * math/s_ctanh.c: Likewise.
32043         * math/s_ctanhf.c: Likewise.
32044         * math/s_ctanhl.c: Likewise.
32045         * math/s_ctanl.c: Likewise.
32047         * math/math_private.h: Define __nan, __nanf, __nanl.
32048         * math/s_cacosh.c: Include <math_private.h>.
32049         * math/s_cacoshl.c: Likewise.
32050         * math/s_casinh.c: Likewise.
32051         * math/s_casinhf.c: Likewise.
32052         * math/s_casinhl.c: Likewise.
32053         * math/s_ccos.c: Rely entire on ccosh.
32054         * math/s_ccosf.c: Rely entire on ccoshf.
32055         * math/s_ccosl.c: Rely entirely on ccoshl.
32056         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
32057         Remove tests for FE_INVALID.
32058         * math/s_ccoshf.c: Likewise.
32059         * math/s_ccoshl.c: Likewise.
32060         * math/s_csin.c: Likewise.
32061         * math/s_csinf.c: Likewise.
32062         * math/s_csinh.c Likewise.
32063         * math/s_csinhf.c: Likewise.
32064         * math/s_csinhl.c: Likewise.
32065         * math/s_csinl.c: Likewise.
32066         * math/s_ctan.c: Likewise.
32067         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32068         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32069         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32071 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
32073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32074         compilation problems.
32076         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32077         __builtin_expect.
32079 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
32081         * sysdeps/i386/configure.in: Test for -mfma4 option.
32082         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32083         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32084         COMMON_CPUID_INDEX_80000001.
32085         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32086         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32087         use it if FMA3 is not supported.
32088         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32090         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32091         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32093 2011-10-20  Andreas Schwab  <schwab@redhat.com>
32095         [BZ #12892]
32096         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32097         it would create a cycle with a link time dependency.
32099 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
32101         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32102         instruction.
32103         * string/Makefile (strop-tests): Add rawmemchr.
32104         * string/test-rawmemchr.c: New file.
32106         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32107         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
32108         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
32109         when compiling str{,n}casecmp and when AVX is available.  Hook up
32110         new optimized code in initializers.
32112 2011-10-19  Andreas Schwab  <schwab@redhat.com>
32114         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32115         __feraiseexcept instead of feraiseexcept.
32117 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
32119         * math/math_private.h: Define defaults for libc_fetestexcept and
32120         libc_feupdateenv.
32121         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32122         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32123         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32124         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32125         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32126         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32127         libc_fetestexcept and libc_feupdateenv.
32129         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32130         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32131         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32132         * sysdeps/x86_64/fpu/math_private.h: Define special version of
32133         libc_feholdexcept_setround.
32135         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32136         Add s_nearbyint-c and s_nearbyintf-c.
32137         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32138         nearbyintf inlines.
32139         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32140         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32141         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32142         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32144         * math/math_private.h: Define defaults for libc_fegetround,
32145         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32146         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32147         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32148         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32149         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32150         standard functions.
32151         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32152         Remove comments and hacks for old compiler versions.
32153         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32154         libc_fegetround, libc_fesetround, libc_feholdexcept, and
32155         libc_feholdexceptl.
32157 2011-10-18  Andreas Schwab  <schwab@redhat.com>
32159         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32160         (__feraiseexcept_renamed): Add __NTH.
32161         (feraiseexcept): Add __NTH.  Rename local variables to fix
32162         namespace violations.
32164 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
32166         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32168         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32170         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32171         recently added interfaces.
32172         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32174         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32175         about macro parameter expansion.
32177         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32178         __NO_MATH_INLINES is defined.  Cleanups.
32180         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32181         and __floorf is target has SSE4.1.
32182         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32183         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32184         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32185         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32187         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32188         name.
32189         (floorf): Likewise.
32191         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32193 2011-10-17  Andreas Schwab  <schwab@redhat.com>
32195         * misc/sys/cdefs.h: Fix last change.
32197         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32198         database lookup.
32200 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
32202         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32204         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32205         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32206         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32207         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32208         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32209         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32210         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32211         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32212         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32213         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32214         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32215         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32216         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32217         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32218         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32219         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32220         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32221         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32222         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32223         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32224         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32225         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32227         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32228         ceil, ceilf, floor, floorf.
32230         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32231         Perform IRELATIVE relocations last.
32233         * elf/do-rel.h: Add another parameter nrelative, replacing the
32234         local variable with the same name.  Change name of the function
32235         to end in Rel or Rela (uppercase).
32236         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32237         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
32238         elf_dynamic_do_##reloc function.
32240 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32242         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32243         is sufficient, at least on modern CPUs.
32245         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32247         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32248         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32250         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32251         __expl_finite.
32252         * math/bits/math-finite.h: Add entries for exp.
32253         * math/e_expl.c: Add __*_finite alias.
32254         * sysdeps/i386/fpu/e_exp.S: Likewise.
32255         * sysdeps/i386/fpu/e_expf.S: Likewise.
32256         * sysdeps/i386/fpu/e_expl.c: Likewise.
32257         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32258         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32259         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32260         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32261         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32262         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32263         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32265         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32266         is sufficient, at least on modern CPUs.
32268         * ctype/ctype-info.c (__ctype_init): Define.
32269         * include/ctype.h (__ctype_init): Declare.
32270         (__ctype_b_loc): The variable is always initialized.
32271         (__ctype_toupper_loc): Likewise.
32272         (__ctype_tolower_loc): Likewise.
32273         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32274         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32276 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
32278         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32280         * configure.in: Also look in $cxxmachine/include for C++ system
32281         headers.
32283 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32285         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32286         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32287         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32288         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
32289         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32290         (USE_AS_WMEMCMP): New macro.
32291         Fixing indents.
32292         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32293         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32294         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32295         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32296         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32297         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32298         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32299         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32300         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32301         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32302         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32303         (USE_AS_WMEMCMP): New macro.
32304         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32305         * sysdeps/string/test-memcmp.c: Update.
32306         Fix simple_wmemcmp.
32307         Add new tests.
32308         * wcsmbs/wmemcmp.c: Update.
32309         (WMEMCMP): New macro.
32310         Fix overflow bug.
32312 2011-10-12  Andreas Jaeger  <aj@suse.de>
32314         [BZ #13268]
32315         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32317 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
32319         * libio/iofwide.c (do_length): Avoid warning.
32321         * ctype/ctype.h (__isctype_f): Add missing __THROW.
32323 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
32325         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32327         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32328         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32329         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32330         * sysdeps/i386/i686/fpu/e_log.S: New file.
32331         * sysdeps/i386/i686/fpu/e_logf.S: New file.
32332         * sysdeps/i386/i686/fpu/e_logl.S: New file.
32334         * ctype/ctype.h: Add support for inlined isXXX functions when
32335         compiling C++ code.
32337 2011-10-14  Andreas Schwab  <schwab@redhat.com>
32339         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32341         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32343 2011-10-13  Roland McGrath  <roland@hack.frob.com>
32345         [BZ #13291]
32346         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32348 2011-10-13  Andreas Schwab  <schwab@redhat.com>
32350         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32351         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32352         feraiseexcept.
32354         * sysdeps/x86_64/memrchr.S: Check for zero size.
32356         * string/stratcliff.c: Add memrchr tests.
32358 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32360         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32361         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32362         rawmemchr-sse2 rawmemchr-sse2-bsf.
32363         * sysdeps/i386/i686/multiarch/memchr.S: New file.
32364         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32365         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32366         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32367         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32368         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32369         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32370         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32371         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32372         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32373         * string/memrchr.c (MEMRCHR): New macro.
32375 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
32377         Add integration with gcc's -ffinite-math-only and optimize wrapper
32378         functions in libm.
32379         * Versions.def: Define GLIBC_2.15 version for libm.
32380         * math/Makefile (headers): Add bits/math-finite.h.
32381         * math/bits/math-finite.h: New file.
32382         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32383         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32384         * math/e_acoshl.c: Add __*_finite alias.
32385         * math/e_acosl.c: Likewise.
32386         * math/e_asinl.c: Likewise.
32387         * math/e_atan2l.c: Likewise.
32388         * math/e_atanhl.c: Likewise.
32389         * math/e_coshl.c: Likewise.
32390         * math/e_exp10.c: Likewise.
32391         * math/e_exp10f.c: Likewise.
32392         * math/e_exp10l.c: Likewise.
32393         * math/e_exp2l.c: Likewise.
32394         * math/e_fmodl.c: Likewise.
32395         * math/e_gammal_r.c: Likewise.
32396         * math/e_hypotl.c: Likewise.
32397         * math/e_j0l.c: Likewise.
32398         * math/e_j1l.c: Likewise.
32399         * math/e_jnl.c: Likewise.
32400         * math/e_lgammal_r.c: Likewise.
32401         * math/e_log10l.c: Likewise.
32402         * math/e_log2l.c: Likewise.
32403         * math/e_logl.c: Likewise.
32404         * math/e_powl.c: Likewise.
32405         * math/e_sinhl.c: Likewise.
32406         * math/e_sqrtl.c: Likewise.
32407         * math/e_scalb.c: Completely rewritten and optimized.
32408         * math/e_scalbf.c: Likewise.
32409         * math/e_scalbl.c: Likewise.
32410         * math/w_acos.c: Likewise.
32411         * math/w_acosf.c: Likewise.
32412         * math/w_acosl.c: Likewise.
32413         * math/w_acosh.c: Likewise.
32414         * math/w_acoshf.c: Likewise.
32415         * math/w_acoshl.c: Likewise.
32416         * math/w_asin.c: Likewise.
32417         * math/w_asinf.c: Likewise.
32418         * math/w_asinl.c: Likewise.
32419         * math/w_atan2.c: Likewise.
32420         * math/w_atan2f.c: Likewise.
32421         * math/w_atan2l.c: Likewise.
32422         * math/w_atanh.c: Likewise.
32423         * math/w_atanhf.c: Likewise.
32424         * math/w_atanhl.c: Likewise.
32425         * math/w_exp10.c: Likewise.
32426         * math/w_exp10f.c: Likewise.
32427         * math/w_exp10l.c: Likewise.
32428         * math/w_fmod.c: Likewise.
32429         * math/w_fmodf.c: Likewise.
32430         * math/w_fmodl.c: Likewise.
32431         * math/w_j0.c: Likewise.
32432         * math/w_j0f.c: Likewise.
32433         * math/w_j0l.c: Likewise.
32434         * math/w_j1.c: Likewise.
32435         * math/w_j1f.c: Likewise.
32436         * math/w_j1l.c: Likewise.
32437         * math/w_jn.c: Likewise.
32438         * math/w_jnf.c: Likewise.
32439         * math/w_log.c: Likewise.
32440         * math/w_logf.c: Likewise.
32441         * math/w_logl.c: Likewise.
32442         * math/w_log10.c: Likewise.
32443         * math/w_log10f.c: Likewise.
32444         * math/w_log10l.c: Likewise.
32445         * math/w_log2.c: Likewise.
32446         * math/w_log2f.c: Likewise.
32447         * math/w_log2l.c: Likewise.
32448         * math/w_pow.c: Likewise.
32449         * math/w_powf.c: Likewise.
32450         * math/w_powl.c: Likewise.
32451         * math/w_remainder.c: Likewise.
32452         * math/w_remainderf.c: Likewise.
32453         * math/w_remainderl.c: Likewise.
32454         * math/w_scalb.c: Likewise.
32455         * math/w_scalbf.c: Likewise.
32456         * math/w_scalbl.c: Likewise.
32457         * math/w_sqrt.c: Likewise.
32458         * math/w_sqrtf.c: Likewise.
32459         * math/w_sqrtl.c: Likewise.
32460         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32461         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
32462         used.
32463         * math/math_private.h: Declare __kernel_standard_f.
32464         * math/w_cosh.c: Remove cruft and optimize a bit.
32465         * math/w_coshf.c: Likewise.
32466         * math/w_coshl.c: Likewise.
32467         * math/w_exp2.c: Likewise.
32468         * math/w_exp2f.c: Likewise.
32469         * math/w_exp2l.c: Likewise.
32470         * math/w_hypot.c: Likewise.
32471         * math/w_hypotf.c: Likewise.
32472         * math/w_hypotl.c: Likewise.
32473         * math/w_lgamma.c: Likewise.
32474         * math/w_lgamma_r.c: Likewise.
32475         * math/w_lgammaf.c: Likewise.
32476         * math/w_lgammaf_r.c: Likewise.
32477         * math/w_lgammal.c: Likewise.
32478         * math/w_lgammal_r.c: Likewise.
32479         * math/w_sinh.c: Likewise.
32480         * math/w_sinhf.c: Likewise.
32481         * math/w_sinhl.c: Likewise.
32482         * math/w_tgamma.c: Likewise.
32483         * math/w_tgammaf.c: Likewise.
32484         * math/w_tgammal.c: Likewise.
32485         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32486         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32487         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32488         Minor optimizations.  Pretty printing.  Remove cruft.
32489         * sysdeps/i386/fpu/e_acosf.S: Likewise.
32490         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32491         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32492         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32493         * sysdeps/i386/fpu/e_acosl.c: Likewise.
32494         * sysdeps/i386/fpu/e_asin.S: Likewise.
32495         * sysdeps/i386/fpu/e_asinf.S: Likewise.
32496         * sysdeps/i386/fpu/e_atan2.S: Likewise.
32497         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32498         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32499         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32500         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32501         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32502         * sysdeps/i386/fpu/e_exp10.S: Likewise.
32503         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32504         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32505         * sysdeps/i386/fpu/e_exp2.S: Likewise.
32506         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32507         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32508         * sysdeps/i386/fpu/e_fmod.S: Likewise.
32509         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32510         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32511         * sysdeps/i386/fpu/e_hypot.S: Likewise.
32512         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32513         * sysdeps/i386/fpu/e_log.S: Likewise.
32514         * sysdeps/i386/fpu/e_log10.S: Likewise.
32515         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32516         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32517         * sysdeps/i386/fpu/e_log2.S: Likewise.
32518         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32519         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32520         * sysdeps/i386/fpu/e_logf.S: Likewise.
32521         * sysdeps/i386/fpu/e_logl.S: Likewise.
32522         * sysdeps/i386/fpu/e_pow.S: Likewise.
32523         * sysdeps/i386/fpu/e_powf.S: Likewise.
32524         * sysdeps/i386/fpu/e_powl.S: Likewise.
32525         * sysdeps/i386/fpu/e_remainder.S: Likewise.
32526         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32527         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32528         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32529         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32530         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32531         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32532         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32533         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32534         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32535         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32536         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32537         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32538         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32539         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32540         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32541         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32542         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32543         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32544         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32545         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32546         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32547         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32548         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32549         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32550         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32551         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32552         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32553         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32554         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32555         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32556         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32557         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32558         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32559         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32560         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32561         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32562         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32563         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32564         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32565         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32566         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32567         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32568         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32569         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32570         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32571         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32572         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32573         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32574         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32575         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32576         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32577         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32578         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32579         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32580         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32581         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32582         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32583         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32584         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32585         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32586         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32587         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32588         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32589         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32590         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32591         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32592         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32593         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32594         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32595         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32596         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32597         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32598         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32599         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32600         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32601         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32602         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32603         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32604         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32605         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32606         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32607         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32608         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32609         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32610         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32611         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32612         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32613         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32614         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32615         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32616         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32617         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32618         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32619         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32620         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32621         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32622         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32623         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32624         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32625         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32626         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32627         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32628         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32629         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32630         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32631         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32632         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32633         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32634         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32635         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32636         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32637         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32638         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32639         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32640         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32641         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32642         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32643         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32644         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
32645         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32646         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32647         (__isnanf): Likewise.
32648         (__isinf_ns): Likewise.
32649         (__isinf_nsf): Likewise.
32650         (__finite): Likewise.
32651         (__finitef): Likewise.
32652         (__ieee754_sqrt): Define as macro.
32653         (__ieee754_sqrtf): Define as macro.
32654         (__ieee754_sqrtl): Define as macro.
32655         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32656         inlined copy.
32657         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32658         __FINITE_MATH_ONLY__ consistent.
32659         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32661 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
32663         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32664         of rawmemchr.
32666         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32668 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
32670         * po/ja.po: Update from translation team.
32672 2011-10-08  Roland McGrath  <roland@hack.frob.com>
32674         * locale/programs/locarchive.c (prepare_address_space): New function.
32675         (create_archive, enlarge_archive, open_archive): Use it.
32677         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32678         inside [SHARED], where it is used.
32680         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32682         * nss/getent.c (netgroup_keys): Remove unused variable.
32683         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32685 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32687         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32688         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32689         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32690         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32691         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32692         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32693         * math/Makefile (libm-calls): Add s_isinf_ns.
32694         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32695         * math/multc3.c: Likewise.
32696         * math/s_casin.c: Likewise.
32697         * math/s_casinf.c: Likewise.
32698         * math/s_casinl.c: Likewise.
32699         * math/s_ccos.c: Likewise.
32700         * math/s_ccosf.c: Likewise.
32701         * math/s_ccosl.c: Likewise.
32702         * math/s_ctan.c: Likewise.
32703         * math/s_ctanf.c: Likewise.
32704         * math/s_ctanh.c: Likewise.
32705         * math/s_ctanhf.c: Likewise.
32706         * math/s_ctanhl.c: Likewise.
32707         * math/s_ctanl.c: Likewise.
32708         * math/w_fmod.c: Likewise.
32709         * math/w_fmodf.c: Likewise.
32710         * math/w_fmodl.c: Likewise.
32711         * math/w_remainder.c: Likewise.
32712         * math/w_remainderf.c: Likewise.
32713         * math/w_remainderl.c: Likewise.
32714         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32715         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32716         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32717         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32718         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32719         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32720         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32721         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32723         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32724         of the number.
32725         * stdio-common/printf_fphex.c: Likewise.
32726         * stdio-common/printf_size.c: Likewise.
32728         * math/e_exp10.c: Include math_private.h using <...> not "...".
32729         * math/e_exp10f.c: Likewise.
32730         * math/e_exp10l.c: Likewise.
32731         * math/e_exp2l.c: Likewise.
32732         * math/e_j0l.c: Likewise.
32733         * math/e_j1l.c: Likewise.
32734         * math/e_jnl.c: Likewise.
32735         * math/e_lgammal_r.c: Likewise.
32736         * math/e_rem_pio2l.c: Likewise.
32737         * math/e_scalb.c: Likewise.
32738         * math/e_scalbf.c: Likewise.
32739         * math/e_scalbl.c: Likewise.
32740         * math/k_cosl.c: Likewise.
32741         * math/k_sinl.c: Likewise.
32742         * math/k_tanl.c: Likewise.
32743         * math/s_cacoshf.c: Likewise.
32744         * math/s_catan.c: Likewise.
32745         * math/s_catanf.c: Likewise.
32746         * math/s_catanh.c: Likewise.
32747         * math/s_catanhf.c: Likewise.
32748         * math/s_catanhl.c: Likewise.
32749         * math/s_catanl.c: Likewise.
32750         * math/s_ccosh.c: Likewise.
32751         * math/s_ccoshf.c: Likewise.
32752         * math/s_ccoshl.c: Likewise.
32753         * math/s_cexp.c: Likewise.
32754         * math/s_cexpf.c: Likewise.
32755         * math/s_cexpl.c: Likewise.
32756         * math/s_clog.c: Likewise.
32757         * math/s_clog10.c: Likewise.
32758         * math/s_clog10f.c: Likewise.
32759         * math/s_clog10l.c: Likewise.
32760         * math/s_clogf.c: Likewise.
32761         * math/s_clogl.c: Likewise.
32762         * math/s_csin.c: Likewise.
32763         * math/s_csinf.c: Likewise.
32764         * math/s_csinh.c: Likewise.
32765         * math/s_csinhf.c: Likewise.
32766         * math/s_csinhl.c: Likewise.
32767         * math/s_csinl.c: Likewise.
32768         * math/s_csqrt.c: Likewise.
32769         * math/s_csqrtf.c: Likewise.
32770         * math/s_csqrtl.c: Likewise.
32771         * math/s_ctan.c: Likewise.
32772         * math/s_ctanf.c: Likewise.
32773         * math/s_ctanh.c: Likewise.
32774         * math/s_ctanhf.c: Likewise.
32775         * math/s_ctanhl.c: Likewise.
32776         * math/s_ctanl.c: Likewise.
32777         * math/s_ldexp.c: Likewise.
32778         * math/s_ldexpf.c: Likewise.
32779         * math/s_ldexpl.c: Likewise.
32780         * math/s_significand.c: Likewise.
32781         * math/s_significandf.c: Likewise.
32782         * math/s_significandl.c: Likewise.
32783         * math/w_acos.c: Likewise.
32784         * math/w_acosf.c: Likewise.
32785         * math/w_acosh.c: Likewise.
32786         * math/w_acoshf.c: Likewise.
32787         * math/w_acoshl.c: Likewise.
32788         * math/w_acosl.c: Likewise.
32789         * math/w_asin.c: Likewise.
32790         * math/w_asinf.c: Likewise.
32791         * math/w_asinl.c: Likewise.
32792         * math/w_atan2.c: Likewise.
32793         * math/w_atan2f.c: Likewise.
32794         * math/w_atan2l.c: Likewise.
32795         * math/w_atanh.c: Likewise.
32796         * math/w_atanhf.c: Likewise.
32797         * math/w_atanhl.c: Likewise.
32798         * math/w_cosh.c: Likewise.
32799         * math/w_coshf.c: Likewise.
32800         * math/w_coshl.c: Likewise.
32801         * math/w_dremf.c: Likewise.
32802         * math/w_exp10.c: Likewise.
32803         * math/w_exp10f.c: Likewise.
32804         * math/w_exp10l.c: Likewise.
32805         * math/w_exp2.c: Likewise.
32806         * math/w_exp2f.c: Likewise.
32807         * math/w_fmod.c: Likewise.
32808         * math/w_fmodf.c: Likewise.
32809         * math/w_fmodl.c: Likewise.
32810         * math/w_hypot.c: Likewise.
32811         * math/w_hypotf.c: Likewise.
32812         * math/w_hypotl.c: Likewise.
32813         * math/w_j0.c: Likewise.
32814         * math/w_j0f.c: Likewise.
32815         * math/w_j0l.c: Likewise.
32816         * math/w_j1.c: Likewise.
32817         * math/w_j1f.c: Likewise.
32818         * math/w_j1l.c: Likewise.
32819         * math/w_jn.c: Likewise.
32820         * math/w_jnf.c: Likewise.
32821         * math/w_jnl.c: Likewise.
32822         * math/w_lgamma.c: Likewise.
32823         * math/w_lgamma_r.c: Likewise.
32824         * math/w_lgammaf.c: Likewise.
32825         * math/w_lgammaf_r.c: Likewise.
32826         * math/w_lgammal.c: Likewise.
32827         * math/w_lgammal_r.c: Likewise.
32828         * math/w_log.c: Likewise.
32829         * math/w_log10.c: Likewise.
32830         * math/w_log10f.c: Likewise.
32831         * math/w_log10l.c: Likewise.
32832         * math/w_log2.c: Likewise.
32833         * math/w_log2f.c: Likewise.
32834         * math/w_log2l.c: Likewise.
32835         * math/w_logf.c: Likewise.
32836         * math/w_logl.c: Likewise.
32837         * math/w_pow.c: Likewise.
32838         * math/w_powf.c: Likewise.
32839         * math/w_powl.c: Likewise.
32840         * math/w_remainder.c: Likewise.
32841         * math/w_remainderf.c: Likewise.
32842         * math/w_remainderl.c: Likewise.
32843         * math/w_scalb.c: Likewise.
32844         * math/w_scalbf.c: Likewise.
32845         * math/w_scalbl.c: Likewise.
32846         * math/w_sinh.c: Likewise.
32847         * math/w_sinhf.c: Likewise.
32848         * math/w_sinhl.c: Likewise.
32849         * math/w_sqrt.c: Likewise.
32850         * math/w_sqrtf.c: Likewise.
32851         * math/w_sqrtl.c: Likewise.
32852         * math/w_tgamma.c: Likewise.
32853         * math/w_tgammaf.c: Likewise.
32854         * math/w_tgammal.c: Likewise.
32856         * po/ja.po: Update from translation team.
32858 2011-09-29  Andreas Jaeger  <aj@suse.de>
32860         [BZ #13179]
32861         * sunrpc/netname.c (netname2host): Fix logic.
32863         [BZ #6779]
32864         [BZ #6783]
32865         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32866         correctly.
32867         * math/w_remainder.c (__remainder): Likewise.
32868         * math/w_remainderf.c (__remainderf): Likewise.
32869         * math/libm-test.inc (remainder_test): Add test cases.
32871 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32873         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32874         sdiv_qrnnd.
32876 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32878         * string/test-memcmp.c: Avoid unncessary #defines.
32879         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32881 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32883         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32884         Use new sse2 version for core i3 - i7 as it's faster
32885         than sse42 version.
32886         (bit_Prefer_PMINUB_for_stringop): New.
32887         * sysdeps/x86_64/rawmemchr.S: Update.
32888         Replace with faster SSE2 version.
32889         * sysdeps/x86_64/memrchr.S: New file.
32890         * sysdeps/x86_64/memchr.S: Update.
32891         Replace with faster SSE2 version.
32893 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32895         * elf/dl-load.c (lose): Add cast to avoid warning.
32897 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32899         * po/ca.po: Update from translation team.
32901         * inet/getnetgrent_r.c: Hook up nscd.
32902         * nscd/Makefile (routines): Add nscd_netgroup.
32903         (nscd-modules): Add netgroupcache.
32904         (CFLAGS-netgroupcache.c): Define.
32905         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32906         (cache_search): Add const to second parameter.
32907         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32908         INNETGR.
32909         (dbs): Add netgrdb entry.
32910         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32911         (verify_persistent_db): Handle netgrdb.
32912         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32913         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32914         GETFDNETGR.
32915         (netgroup_response_header): Define.
32916         (innetgroup_response_header): Define.
32917         (datahead): Add netgroup_response_header and innetgroup_response_header
32918         elements.
32919         * nscd/nscd.conf: Add entries for netgroup cache.
32920         * nscd/nscd.h (dbtype): Add netgrdb.
32921         (_PATH_NSCD_NETGROUP_DB): Define.
32922         (netgroup_iov_disabled): Declare.
32923         (xmalloc, xcalloc, xrealloc): Move declarations here.
32924         (cache_search): Adjust prototype.
32925         Add netgroup-related prototypes.
32926         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32927         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32928         (__nscd_innetgr): Declare.
32929         * nscd/selinux.c (perms): Use access_vector_t as element type and
32930         add netgroup-related initializers.
32931         * nscd/netgroupcache.c: New file.
32932         * nscd/nscd_netgroup.c: New file.
32933         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32934         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32935         For four parameters use innetgr.
32936         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32937         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32938         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32939         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32941         * nscd/connections.c (register_traced_file): Don't register file
32942         for disabled databases.
32944 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32946         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32948         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32949         from tree and freeing node.
32951 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32953         * nss/nsswitch.c (__nss_database_lookup): Handle
32954         nss_parse_service_list out of memory case.
32956 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32958         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32959         out of memory case.
32961 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32963         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32964         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32965         pass it down.
32966         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32967         elf_machine_rela, elf_machine_lazy_rel.
32968         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32969         (ELF_DYNAMIC_DO_REL): Likewise.
32970         (ELF_DYNAMIC_DO_RELA): Likewise.
32971         (ELF_DYNAMIC_RELOCATE): Likewise.
32972         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32973         to ELF_DYNAMIC_DO_REL.
32974         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32975         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32976         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32977         elf_machine_rela.
32978         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32979         skip_ifunc, don't call ifunc function if non-zero.
32980         (elf_machine_rela): Likewise.
32981         (elf_machine_lazy_rel): Likewise.
32982         (elf_machine_lazy_rela): Likewise.
32983         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32984         (elf_machine_lazy_rel): Likewise.
32985         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32986         Likewise.
32987         (elf_machine_lazy_rel): Likewise.
32988         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32989         Likewise.
32990         (elf_machine_lazy_rel): Likewise.
32991         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32992         (elf_machine_lazy_rel): Likewise.
32993         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32994         (elf_machine_lazy_rel): Likewise.
32995         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32996         (elf_machine_lazy_rel): Likewise.
32997         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32998         (elf_machine_lazy_rel): Likewise.
32999         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33000         (elf_machine_lazy_rel): Likewise.
33001         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33002         (elf_machine_lazy_rel): Likewise.
33004 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
33006         * nss/nss_files/files-init.c (_nss_files_init): Use static
33007         initialization for all the *_traced_file variables.
33009 2011-09-28  Andreas Schwab  <schwab@redhat.com>
33011         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33013 2011-09-27  Roland McGrath  <roland@hack.frob.com>
33015         [BZ #13226]
33016         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33018 2011-09-27  Andreas Schwab  <schwab@redhat.com>
33020         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33021         Reread the line before reparsing it.
33023 2011-09-26  Andreas Schwab  <schwab@redhat.com>
33025         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33027 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
33028             Maxim Kuvyrkov  <maxim@codesourcery.com>
33029             Joseph Myers  <joseph@codesourcery.com>
33031         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33032         if needed for __stack_chk_guard.
33034 2011-09-19  Roland McGrath  <roland@hack.frob.com>
33036         * sysdeps/posix/spawni.c (script_execute): Always define it.
33037         It will be optimized away if unused.
33038         (maybe_script_execute): New function.
33039         (__spawni): Call it.
33041         * Makerules: Don't include tls.make.
33042         (config-tls): Always set to thread.
33043         * tls.make.c: File removed.
33045 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
33047         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33048         * config.make.in (CPPFLAGS-config): New substituted variable.
33050 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33052         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33054         [BZ #13192]
33055         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33056         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33058 2011-09-15  Roland McGrath  <roland@hack.frob.com>
33060         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33061         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33062         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33063         (CALL_FAIL): Likewise.
33064         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33065         (CALL_FAIL): Macro removed.
33066         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33068 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
33070         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33071         for __FINITE_MATH_ONLY__ == 1.
33073 2011-09-15  Andreas Schwab  <schwab@redhat.com>
33075         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33076         __ieee754_sqrt instead of sqrt.
33077         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33078         __ieee754_sqrtf instead of sqrtf.
33079         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33080         __floorf instead of floorf.
33081         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33082         __floorf, __truncf instead of floorf, truncf.
33084 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
33086         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33088         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33089         __extern_always_inline.
33090         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33091         32-bit.
33093 2011-09-14  Andreas Schwab  <schwab@redhat.com>
33095         * elf/rtld.c (dl_main): Also relocate in dependency order when
33096         doing symbol dependency testing.
33098 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
33100         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33101         Always define `refsym'.
33103 2011-09-13  Andreas Schwab  <schwab@redhat.com>
33105         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33106         (__FD_ELT): Renamed from __FDELT.
33107         * misc/bits/select2.h (__FD_ELT): Likewise.
33108         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33109         __FD_MASK instead of __FDELT, __FDMASK.
33110         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33111         Likewise.
33112         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33113         Likewise.
33115         * elf/Makefile (gen-ldd): Fix pattern.
33117         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33118         (init_tls): Likewise.
33120 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
33122         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33124 2011-09-12  Andreas Schwab  <schwab@redhat.com>
33126         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33127         `struct cmsghdr *' instead of `void *'.
33128         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33129         Likewise.
33131 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
33133         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33134         if non-absolute.
33135         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33136         ldd_rewrite_script.
33138 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
33140         * configure.in: Remove --with-tls option.
33141         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33142         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33143         out in case it is missing.
33144         * sysdeps/ia64/elf/configure.in: Likewise.
33145         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33146         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33147         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33148         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33149         * sysdeps/sh/elf/configure.in: Likewise.
33150         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33151         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33152         * sysdeps/x86_64/elf/configure.in: Likewise.
33153         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33154         * sysdeps/mach/hurd/tls.h: Likewise.
33156         [BZ #13067]
33157         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33159         [BZ #13090]
33160         * configure.in: Fix use of AC_INIT.
33162         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33164 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
33166         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33167         __set_errno.
33168         * malloc/hooks.c: Likewise.
33170         [BZ #11929]
33171         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
33172         variables statically.
33173         (narenas): Initialize.
33174         (list_lock): Initialize.
33175         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
33176         initializtion of main_arena and list_lock.  Small cleanups.
33177         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33178         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
33179         Add initializers to main_arena and mp_.
33180         (malloc_state): Remove pagesize member.  Change all users to use
33181         GLRO(dl_pagesize).
33183         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33184         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
33185         is always initialized.
33187         * malloc/malloc.c: Removed unused configurations and dead code.
33188         * malloc/arena.c: Likewise.
33189         * malloc/hooks.c: Likewise.
33190         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33192         * include/tls.h: Removed.  USE___THREAD must always be defined.
33193         * bits/libc-tsd.h: Don't handle !USE___THREAD.
33194         * elf/dl-libc.c: Likewise.
33195         * elf/dl-tsd.c: Likewise.
33196         * include/errno.h: Likewise.
33197         * include/netdb.h: Likewise.
33198         * include/resolv.h: Likewise.
33199         * inet/herrno-loc.c: Likewise.
33200         * inet/herrno.c: Likewise.
33201         * malloc/arena.c: Likewise.
33202         * malloc/hooks.c: Likewise.
33203         * malloc/malloc.c: Likewise.
33204         * resolv/res-state.c: Likewise.
33205         * resolv/res_libc.c: Likewise.
33206         * sysdeps/i386/dl-machine.h: Likewise.
33207         * sysdeps/ia64/dl-machine.h: Likewise.
33208         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33209         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33210         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33211         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33212         * sysdeps/sh/dl-machine.h: Likewise.
33213         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33214         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33215         * sysdeps/unix/i386/sysdep.S: Likewise.
33216         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33217         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33218         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33219         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33220         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33222         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33223         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33224         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33225         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33226         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33227         * sysdeps/x86_64/dl-machine.h: Likewise.
33228         * tls.make.c: Likewise.
33230         * configure.in: Remove --with-__thread option.  Make tests for
33231         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33232         tls_model attribute fail if no support is available.  Remove
33233         USE_IN_LIBIO.
33234         * Makeconfig: Adjust for dropped configure option.  All features are
33235         now mandatory.
33236         * Makerules: Likewise.
33237         * Versions.def: Likewise.
33238         * argp/argp-fmtstream.c: Likewise.
33239         * argp/argp-fmtstream.h: Likewise.
33240         * argp/argp-help.c: Likewise.
33241         * assert/assert.c: Likewise.
33242         * config.h.in: Likewise.
33243         * config.make.in: Likewise.
33244         * configure: Likewise.
33245         * configure.in: Likewise.
33246         * csu/Versions: Likewise.
33247         * csu/init.c: Likewise.
33248         * elf/tst-audit2.c: Likewise.
33249         * elf/tst-tls10.c: Likewise.
33250         * elf/tst-tls10.h: Likewise.
33251         * elf/tst-tls11.c: Likewise.
33252         * elf/tst-tls12.c: Likewise.
33253         * elf/tst-tls14.c: Likewise.
33254         * elf/tst-tlsmod11.c: Likewise.
33255         * elf/tst-tlsmod12.c: Likewise.
33256         * elf/tst-tlsmod13.c: Likewise.
33257         * elf/tst-tlsmod13a.c: Likewise.
33258         * elf/tst-tlsmod14a.c: Likewise.
33259         * elf/tst-tlsmod15b.c: Likewise.
33260         * elf/tst-tlsmod16a.c: Likewise.
33261         * elf/tst-tlsmod16b.c: Likewise.
33262         * elf/tst-tlsmod7.c: Likewise.
33263         * elf/tst-tlsmod8.c: Likewise.
33264         * elf/tst-tlsmod9.c: Likewise.
33265         * gmon/gmon.c: Likewise.
33266         * grp/fgetgrent_r.c: Likewise.
33267         * grp/putgrent.c: Likewise.
33268         * hurd/fopenport.c: Likewise.
33269         * include/libc-symbols.h: Likewise.
33270         * include/tls.h: Likewise.
33271         * intl/gettextP.h: Likewise.
33272         * intl/loadinfo.h: Likewise.
33273         * locale/global-locale.c: Likewise.
33274         * locale/localeinfo.h: Likewise.
33275         * mach/devstream.c: Likewise.
33276         * malloc/arena.c: Likewise.
33277         * malloc/set-freeres.c: Likewise.
33278         * misc/err.c: Likewise.
33279         * misc/getttyent.c: Likewise.
33280         * misc/mntent_r.c: Likewise.
33281         * posix/getopt.c: Likewise.
33282         * posix/wordexp.c: Likewise.
33283         * pwd/fgetpwent_r.c: Likewise.
33284         * resolv/Versions: Likewise.
33285         * resolv/res_hconf.c: Likewise.
33286         * shadow/fgetspent_r.c: Likewise.
33287         * shadow/putspent.c: Likewise.
33288         * stdio-common/printf_fphex.c: Likewise.
33289         * stdio-common/tmpfile.c: Likewise.
33290         * stdlib/abort.c: Likewise.
33291         * stdlib/fmtmsg.c: Likewise.
33292         * sunrpc/auth_unix.c: Likewise.
33293         * sunrpc/clnt_perr.c: Likewise.
33294         * sunrpc/clnt_tcp.c: Likewise.
33295         * sunrpc/clnt_udp.c: Likewise.
33296         * sunrpc/clnt_unix.c: Likewise.
33297         * sunrpc/openchild.c: Likewise.
33298         * sunrpc/svc_simple.c: Likewise.
33299         * sunrpc/svc_tcp.c: Likewise.
33300         * sunrpc/svc_udp.c: Likewise.
33301         * sunrpc/svc_unix.c: Likewise.
33302         * sunrpc/xdr.c: Likewise.
33303         * sunrpc/xdr_array.c: Likewise.
33304         * sunrpc/xdr_rec.c: Likewise.
33305         * sunrpc/xdr_ref.c: Likewise.
33306         * sunrpc/xdr_stdio.c: Likewise.
33308 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33310         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33312 2011-07-03  Andreas Jaeger  <aj@suse.de>
33314         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33315         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33316         regenerate with gen-libm-tests.pl.
33318 2010-05-12  Petr Baudis  <pasky@suse.cz>
33320         [BZ #11589]
33321         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33322         around j0() zero points by switching to j1().
33323         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33324         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33325         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33326         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33328 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33330         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33331         instead of 0.
33332         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33333         instead of 0.
33334         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33335         Patch in part by Pavel Roskin <proski@gnu.org>.
33337         [BZ #13138]
33338         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33339         realloc.
33340         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
33341         Free memory block if necessary.
33343         [BZ #12847]
33344         * libio/genops.c (INTDEF): For string streams the _lock pointer can
33345         be NULL.  Don't lock in this case.
33347 2011-09-09  Roland McGrath  <roland@hack.frob.com>
33349         * elf/elf.h (ELFOSABI_GNU): New macro.
33350         (ELFOSABI_LINUX): Define to that.
33352 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
33354         * string/strncat.c (strncat): Undef the symbol in case it has been
33355         defined in bits/string.h.
33357 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
33359         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33361         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33362         link map.
33364 2011-08-17  Andreas Jaeger  <aj@suse.de>
33366         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33368 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
33369             Ian Lance Taylor  <iant@google.com>
33371         * math/libm-test.inc (lround_test): New testcase.
33372         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33374 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
33376         * Makefile: Remove support for automatic cvs check-ins.
33377         * Makerules: Likewise.
33378         * config.make.in: Likewise.
33379         * configure.in: Likewise.
33380         * intl/Makefile: Likewise.
33381         * locale/Makefile: Likewise.
33382         * po/Makefile: Likewise.
33383         * posix/Makefile: Likewise.
33384         * sysdeps/gnu/Makefile: Likewise.
33385         * sysdeps/mach/hurd/Makefile: Likewise.
33386         * sysdeps/sparc/sparc32/Makefile: Likewise.
33388         [BZ #13118]
33389         * posix/Makefile (bug-regex32-ENV): Define.
33390         Patch by John Stanley <jpsinthemix@verizon.net>.
33392         * misc/Makefile (headers): Add bits/select2.h.
33393         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33394         * misc/bits/select2.h: New file.
33395         * include/bits/select2.h: New file.
33396         * debug/Makefile (routines): Add fdelt_chk.
33397         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33398         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33399         FD_ISSET.
33400         * debug/fdelt_chk.c: New file.
33402         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
33403         * wcsmbs/test-wmemcmp.c: Likewise.
33404         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33405         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33407 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33409         * string/Makefile (strop-tests): Add memcmp.
33410         * string/test-wmemcmp.c: New file.
33411         * string/test-memcmp.c: Add wmemcmp support.
33413 2011-09-08  Roland McGrath  <roland@hack.frob.com>
33415         [BZ #13153]
33416         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33417         2011-07-19 change.
33419         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33420         garbage value in a __mach_port_mod_refs call in the cases of the
33421         task-self and thread-self ports.
33423 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33425         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33427 2011-09-08  Andreas Schwab  <schwab@redhat.com>
33429         * elf/dl-load.c (lose): Check for non-null L.
33431 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33433         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33435         * elf/dl-libc.c (dlerror_run): Pass back error code from
33436         dl_catch_error.
33438         [BZ #13123]
33439         * elf/dl-load.c (lose): Free l_origin if it is valid.
33441         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33442         names.
33443         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33444         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33445         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33446         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33447         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33448         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33450 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33452         * sysdeps/powerpc/fpu/e_hypot.c: New file.
33453         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33454         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33455         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33456         * sysdeps/powerpc/fpu/k_cosf.c: New file.
33457         * sysdeps/powerpc/fpu/k_sinf.c: New file.
33458         * sysdeps/powerpc/fpu/s_cosf.c: New file.
33459         * sysdeps/powerpc/fpu/s_sinf.c: New file.
33460         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33461         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33463 2011-08-15  Alan Modra  <amodra@gmail.com>
33465         [BZ #13092]
33466         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33467         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33468         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
33469         ppc_mcount to static-only-routines.
33470         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33471         __mcount_internal.
33472         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33473         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
33475 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
33477         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33478         for finite and infinity parameters.
33480 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
33482         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33483         and add nop instructions for throughput optimization.
33484         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33486 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
33488         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33489         aligned copy for power7 with vector-scalar instructions.
33490         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33492 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
33494         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33495         AVX check.
33497 2011-09-07  Andreas Schwab  <schwab@redhat.com>
33499         [BZ #13144]
33500         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33501         last change.
33503 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
33505         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33506         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33507         syscall wrapper around clock_gettime in __vdso_clock_gettime.
33508         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33509         clock_gettime.
33511 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33513         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33514         Forgot to demangle the pointer.
33516         * sysdeps/i386/sysdep.h: Define atom_text_section.
33517         * sysdeps/x86_64/sysdep.h: Likewise.
33518         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33519         section with atom_text_section.
33520         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33521         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33522         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33523         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33524         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33526         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33527         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33528         already be defined.  Change to take two parameters and don't assign
33529         result to variable.  Adjust all users.
33530         Define INTERNAL_GETTIME if not already defined.
33531         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33532         call.
33533         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33534         HAVE_CLOCK_GETTIME_VSYSCALL.
33535         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33537         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33538         gettimeofday vsyscall, just use time.
33540 2011-09-06  Andreas Schwab  <schwab@redhat.com>
33542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33543         <errno.h>.
33545 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
33547         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33548         syscall on x86-64.
33549         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33550         syscall.
33551         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33552         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33553         syscall if possible.
33555 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33557         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33558         e_ident.  Don't pass to find_mapsXX.
33559         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33561 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33564         strchr-sse2-no-bsf strrchr-sse2-no-bsf
33565         * sysdeps/x86_64/multiarch/strchr.S: Update.
33566         Check bit_slow_BSF bit.
33567         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33568         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33569         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33571 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33573         [BZ #13134]
33574         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33575         before glibc 2.15.
33576         (tryshell): Define.
33577         (__spawni): Change last parameter to be flag.  Test
33578         SPAWN_XFLAGS_USE_PATH flag to use path or not.
33579         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33580         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33581         * posix/spawni.c: Likewise.
33582         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33583         * posix/spawnp.c: Likewise.  Change normal version to use
33584         SPAWN_XFLAGS_USE_PATH.
33585         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33586         SPAWN_XFLAGS_TRY_SHELL.
33588         [BZ #13150]
33589         * posix/glob.h: Remove gcc 1.x support.
33591         [BZ #13068]
33592         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33594 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33597         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33598         strrchr-sse2-bsf
33599         * sysdeps/i386/i686/multiarch/strchr.S: New file.
33600         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33601         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33602         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33603         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33604         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33606 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33608         * sysdeps/x86_64/wcscmp.S: New file.
33610         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33611         wcscmp-c wcscmp-sse2
33612         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33613         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33614         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33615         * wcsmbs/wcscmp.c: Allow renaming.
33617 2011-09-05  David S. Miller  <davem@davemloft.net>
33619         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33620         stack slot, rather than the struct return pointer slot.
33621         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33622         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33624         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33626 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33628         * po/ja.po: Update from translation team.
33630         [BZ #13144]
33631         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33632         kernel in 64-bit binaries.
33634 2011-09-01  David S. Miller  <davem@davemloft.net>
33636         * elf/elf.h (HWCAP_SPARC_*): Move to..
33637         * sysdeps/sparc/sysdep.h: this new file and add new values.
33638         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33639         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33640         _DL_HWCAP_COUNT to 24.
33641         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33642         entries.
33643         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33644         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33645         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33646         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33647         instead of magic constants.
33648         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33650 2011-08-31  David S. Miller  <davem@davemloft.net>
33652         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33653         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33654         Reimplement to do errno handling inline.
33655         (SYSCALL_ERROR_HANDLER): New macro.
33656         (__SYSCALL_STRING): Do not do errno handling in asm.
33657         (__CLONE_SYSCALL_STRING): Delete.
33658         (__INTERNAL_SYSCALL_STRING): Delete.
33659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33660         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33661         (PSEUDO): Reimplement to do errno handling inline.
33662         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33663         (SYSCALL_ERROR_HANDLER): New macro.
33664         (__SYSCALL_STRING): Do not do errno handling in asm.
33665         (__CLONE_SYSCALL_STRING): Delete.
33666         (__INTERNAL_SYSCALL_STRING): Delete.
33667         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33668         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33669         i386.
33670         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33671         (inline_syscall*): Add 'err' argument.
33672         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33673         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33674         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33675         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33677         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33678         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33680 2011-08-30  Andreas Schwab  <schwab@redhat.com>
33682         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33684 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33686         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33687         directive.
33689 2011-08-24  David S. Miller  <davem@davemloft.net>
33691         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33693 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33695         * elf/Makefile: Add rules to build and run unload8 test.
33696         * elf/unload8.c: New file.
33697         * elf/unload8mod1.c: New file.
33698         * elf/unload8mod1x.c: New file.
33699         * elf/unload8mod2.c: New file.
33700         * elf/unload8mod3.c: New file.
33702         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33703         it wasn't used.
33705 2011-08-23  David S. Miller  <davem@davemloft.net>
33707         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33708         subtract stack bias.
33709         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33710         %sp not %fp in calculations.
33711         (_JMPBUF_UNWINDS_ADJ): Likewise.
33713         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33714         (aio_suspend): Call it to force an exception region around the
33715         AIO_MISC_WAIT() invocation.
33717 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33719         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33720         backslash.
33722 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33724         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33725         protection macro.
33726         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33727         and <dl-machine.h>.
33728         (Elf64_FuncDesc): Remove.
33730 2011-08-22  David S. Miller  <davem@davemloft.net>
33732         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33733         sigaltstack check, add missing cfi directives.
33734         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33735         missing cfi directives, and sigaltstack handling.
33737 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33739         [BZ #11724]
33740         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33741         object is seen twice.
33742         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33744         * elf/Makefile (distribute): Add tst-initorder2.c.
33745         (tests): Add tst-initorder2.
33746         (modules-names): Add tst-initorder2a tst-initorder2b
33747         tst-initorder2c tst-initorder2d.  Add rules to build them.
33748         ($(objpfx)tst-initorder2.out): New rule.
33749         * elf/tst-initorder2.c: New file.
33750         * elf/tst-initorder2.exp: New file.
33752 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33754         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33756         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33757         dependencies back to end of function.
33759         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33760         $(elfobjdir)/ld.so.
33762 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33764         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33765         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33766         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33767         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33768         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33769         of __vdso_gettimeofday.
33770         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33771         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33772         attribute_hidden.
33773         (_libc_vdso_platform_setup): Remove initialization of
33774         __vdso_gettimeofday and __vdso_time.
33776 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33778         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33779         and fgetc_unlocked.
33780         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33781         getc_unlocked.
33783         * elf/dl-open.c (add_to_global): Report additions to the global scope
33784         for LD_DEBUG=scopes.
33785         (dl_open_worker): Also print scope of newly loaded dependencies.
33786         (_dl_show_scope): Indicate if there is no scope.
33788         [BZ #13114]
33789         * stdio-common/Makefile (tests): Add bug24.
33790         * stdio-common/bug24.c: New file.
33792 2011-08-19  Andreas Jaeger  <aj@suse.de>
33794         [BZ #13114]
33795         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33796         non-existant file when using close-on-exec mode.
33798 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33800         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33801         the very first instruction.
33803         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33804         the CFI state in the end.
33805         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33806         inclusion of dl-trampoline.h.
33807         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33809 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33811         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33812         expectations for long double.
33814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33815         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33817 2011-08-14  David S. Miller  <davem@davemloft.net>
33819         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33820         artificual limit depends upon the system page size.
33822 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33824         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33825         * resolv/Makefile: Define CFLAGS-libresolv.
33827 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33829         * nss/makedb.c (compute_tables): Make variables used in nested
33830         function static.
33832 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33834         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33835         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33836         if buffer was too small.
33838         * elf/pldd.c (main): Attach to all threads in the process.
33839         Rewrite /proc handling to use *at functions.
33841 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33843         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33844         specifies first scope to show.
33845         (dl_open_worker): Update callers.  Move printing scope of new
33846         object to before the relocation.
33847         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33848         * sysdeps/generic/ldsodefs.h: Update declaration.
33850         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33851         string for the scope number.
33853 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33855         * nscd/servicescache.c (cache_addserv): Make sure written is always
33856         initialized.
33858 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33860         * sysdeps/i386/i486/bits/atomic.h
33861         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33862         statement expression, so as to suppress "set but not used" warning.
33863         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33865         * string/strncat.c (STRNCAT): Use prototype definition.
33867         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33868         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33869         -Iprograms here.
33870         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33871         (localedef-modules): Add localedef.
33872         (locale-modules): Add locale.
33874         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33875         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33876         to avoid a warning.
33878 2011-08-14  David S. Miller  <davem@davemloft.net>
33880         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33881         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33883 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33885         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33886         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33887         * elf/rtld.c (dl_main): Set l_name of vDSO.
33888         Call _dl_show_scope when DL_DEBUG_SCOPES.
33889         (process_dl_debug): Recognize scopes flag and also set it for all.
33890         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33891         Declare _dl_show_scope.
33893         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33894         (do_dlopen): Pass caller_dlopen to dl_open.
33895         (__libc_dlopen_mode): Initialize caller_dlopen.
33897         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33898         of libc.  Make tolower call locale-independent.  Optimize a bit by
33899         using isdigit instead of isalnum.
33900         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33902 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33904         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33905         was a dependency or dynamically loaded.
33907 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33909         * intl/l10nflist.c: Allow architecture-specific pop function.
33910         * sysdeps/x86_64/l10nflist.c: New file.
33912         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33913         classification.
33915 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33917         * include/dirent.h: Add libc_hidden_proto for scandirat and
33918         scandirat64.  Don't declare __scandirat64.
33919         * dirent/scandirat.c: Add libc_hidden_def.
33920         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33921         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33923 2011-08-10  David S. Miller  <davem@davemloft.net>
33925         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33926         enum.
33927         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33928         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33929         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33931 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33933         * Versions.def [libc]: Add GLIBC_2.15.
33934         * dirent/Makefile (routines): Add scandirat and scandirat64.
33935         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33936         GLIBC_2.15.
33937         * dirent/dirent.h: Declare scandirat and scandirat64.
33938         * dirent/scandirat.c: New file.
33939         * dirent/scandirat64.c: New file.
33940         * sysdeps/wordsize-64/scandirat.c: New file.
33941         * sysdeps/wordsize-64/scandirat64.c: New file.
33942         * dirent/opendir.c: Define opendirat.
33943         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33944         using scandirat.
33945         * dirent/scandir64.c: Adjust for scandir.c change.
33946         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33947         __scandirat64, and __scandir_cancel_handler.
33948         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33949         additional parameter and use openat instead of open (outside of ld.so).
33950         Add new __opendir as wrapper around __opendirat.
33951         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33952         here without requiring old scandirat implementation.
33954 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33956         * dirent/scandir.c (cancel_handler): Renamed to
33957         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33958         defined.  Adjust users.
33959         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33960         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33962 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33964         * string/test-string.h (IMPL): Use __STRING to expand name and then
33965         stringify it.
33967         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33968         of cleanups.
33970 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33972         * string/Makefile: Update.
33973         (strop-tests): Append strncat.
33974         * string/test-wcscmp.c: New file.
33975         New comprehensive test for wcscmp.
33976         * string/test-strcmp.c: Update.
33977         (WIDE): New define.
33979 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33981         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33982         line.
33984 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33987         encoding to ACE if AI_IDN.
33989 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33991         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33992         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33994 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33996         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33997         Fix overflow bug in strncat.
33998         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34000         * string/test-strncat.c: Update.
34001         Add new tests for checking overflow bugs.
34003 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34005         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34006         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34007         * sysdeps/i386/i686/multiarch/strcat.S: New file.
34008         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34009         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34010         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34011         * sysdeps/i386/i686/multiarch/strncat.S: New file.
34012         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34013         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34015         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34016         (USE_AS_STRCAT): Define.
34017         Add strcat and strncat support.
34018         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34020 2011-07-25  Andreas Schwab  <schwab@redhat.com>
34022         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34023         __n bigger than INT_MAX+1.
34024         (__strncmp_g): Likewise.
34026 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
34028         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34029         * libio/stido.h: Likewise.
34031         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34032         (AF_NFC): Define.
34033         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34034         (AF_NFC): Define.
34036         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34037         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34038         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34039         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34040         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34042         [BZ #13021]
34043         * scripts/test-installation.pl: Don't expect libnss_test1 to be
34044         installed.
34046         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34047         typo.
34048         (_dl_x86_64_save_sse): Likewise.
34050 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
34052         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34053         OSXSAVE.
34054         (_dl_x86_64_save_sse): Likewise.
34056         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34058         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34060 2011-07-21  Andreas Schwab  <schwab@redhat.com>
34062         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34063         change.
34064         (_dl_x86_64_save_sse): Use correct AVX check.
34066 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34068         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34069         bug in strncpy/strncat.
34070         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34072 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
34074         * string/tester.c (test_strcat): Add tests for different alignments
34075         of source and destination.
34076         (test_strncat): Likewise.
34078 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34080         [BZ #12852]
34081         * posix/glob.c (glob): Check passed in values before using them in
34082         expressions to avoid some overflows.
34083         (glob_in_dir): Likewise.
34085         [BZ #13007]
34086         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34087         check for AVX enablement so that we don't crash with old kernels and
34088         new hardware.
34089         * elf/tst-audit4.c: Add same checks here.
34090         * elf/tst-audit6.c: Likewise.
34092         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34094 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
34096         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34098 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
34100         * po/cs.po: Update from translation team.
34101         * po/bg.po: Likewise.
34103 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
34105         * misc/sys/cdefs.h: Add support for const attribute.
34106         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34107         to gnu_dev_{major,minor,makedev} functions.
34109 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
34111         * intl/dcigettext.c (get_output_charset): Add missing bracket.
34113 2011-07-20  Andreas Schwab  <schwab@redhat.com>
34115         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34116         strlen results.
34118 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34121         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34122         register in order to avoid conflicts with the soft frame pointer
34123         being held in r11 when necessary.
34124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34125         (INTERNAL_VSYSCALL_NCS): Likewise.
34127 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
34129         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34130         * elf/dl-fini.c (_dl_fini): Adjust caller.
34131         * elf/dl-close.c (_dl_close_worker): Likewise.
34132         * sysdeps/generic/ldsodefs.h: Adjust declaration.
34134 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34136         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34137         "aux_cache->nlibs < 0".
34139         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34140         in the reload-count case.
34142 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34145         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34146         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34147         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34148         * sysdeps/x86_64/multiarch/strcat.S: New file.
34149         * sysdeps/x86_64/multiarch/strncat.S: New file.
34150         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34151         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34152         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34153         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34154         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34155         (USE_AS_STRCAT): Define.
34156         Add strcat and strncat support.
34157         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34158         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34159         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34160         * string/strncat.c: Update.
34161         (USE_AS_STRNCAT): Define.
34162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34163         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34164         and i7.
34165         * sysdeps/x86_64/multiarch/init-arch.h
34166         (bit_Prefer_PMINUB_for_stringop): New.
34167         (index_Prefer_PMINUB_for_stringop): Likewise.
34168         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34169         bit_Prefer_PMINUB_for_stringop.
34171 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34173         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34174         buffer64.
34175         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34176         of casting of buffer.
34177         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34178         buffer32 and buffer64.
34179         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34180         writes instead of casting of buffer.
34181         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34182         buffer32.
34183         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34184         casting of buffer.
34186 2011-07-19  Andreas Schwab  <schwab@redhat.com>
34188         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34190 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
34192         * nscd/nscd.c (termination_handler): Don't do anything for a database
34193         if it has not yet been initialized.
34195 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34197         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34199 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
34201         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34203 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
34205         * po/nl.po: Update from translation team.
34206         * po/sv.po: Likewise.
34208 2011-07-16  Roland McGrath  <roland@hack.frob.com>
34210         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34211         now disallowed by GCC.
34213         * configure.in (use-default-link): Default to yes if a test -shared
34214         link meets our qualifications.
34215         * configure: Regenerated.
34217         * config.make.in (output-format): New variable.
34218         * configure.in: Check for ld --print-output-format support.
34219         * configure: Regenerated.
34220         * Makerules ($(common-objpfx)format.lds)
34221         [$(output-format) != unknown]: Just use $(output-format),
34222         instead of the linker-script munging.
34224 2011-07-14  Roland McGrath  <roland@hack.frob.com>
34226         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34227         of $(common-objpfx)shlib.lds.
34228         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34230         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34231         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34233         * configure.in (-z relro check): Adjust test code to add a large
34234         writable data section after it.
34235         * configure: Regenerated.
34237 2011-07-11  Roland McGrath  <roland@hack.frob.com>
34239         * configure.in (-z relro check): Fix test code to make the variable
34240         truly const.
34241         * configure: Regenerated.
34243 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
34245         * nscd/nscd.h (struct traced_file): Define.
34246         (struct database_dyn): Remove inotify_descr, reset_res, and filename
34247         elements.  Add traced_files.
34248         (inotify_fd): Declare.
34249         (register_traced_file): Declare.
34250         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34251         (inotify_fd): Export.
34252         (resolv_conf_descr): Remove.
34253         (nscd_init): Move inotify descriptor creation to main.
34254         Don't register files for notification here.
34255         (register_traced_file): New function.
34256         (invalidate_cache): Don't use reset_res to determine whether to call
34257         res_init, go through the list of registered files.
34258         (main_loop_poll): The inotify descriptors are now stored in the
34259         structures for the traced files.
34260         (main_loop_epoll): Likewise
34261         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
34262         to __nss_disable_nscd.
34263         * nscd/cache.c (prune_cache): There is no single inotify descriptor
34264         for a database anymore.  Check the records for all the registered
34265         files instead.
34266         * nss/Makefile (libnss_files-routines): Add files-init.
34267         (libnss_db-routines): Add db-init.
34268         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34269         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34270         * nss/nss_db/db-init.c: New file.
34271         * nss/nss_files/files-init.c: New file.
34272         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
34273         __nss_lookup_function.
34274         (__nss_lookup_function): Call nss_load_library.
34275         (nss_load_all_libraries): New function.
34276         (__nss_disable_nscd): Take parameter with callback function for files
34277         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
34278         used for the cached services.
34279         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34280         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34281         options for features to all the files in nscd.
34283         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34285 2011-07-10  Roland McGrath  <roland@hack.frob.com>
34287         * csu/elf-init.c (__libc_csu_init): Comment typo.
34289 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
34291         * po/pl.po: Update from translation team.
34292         * po/ja.po: Likewise.
34293         * po/ru.po: Likewise.
34294         * po/ko.po: Likewise.
34295         * po/fr.po: Likewise.
34297 2011-07-09  Roland McGrath  <roland@hack.frob.com>
34299         * configure.in (.ctors/.dtors header and trailer check):
34300         Use an empirical test on a built program.
34301         * configure: Regenerated.
34303         * configure.in (-z relro check): Use an empirical test on a built DSO.
34304         Detect, but do not require, on ia64.
34305         * configure: Regenerated.
34307         * configure.in (READELF): Find it with AC_CHECK_TOOL.
34308         Update tests that use readelf to use $READELF instead.
34309         * configure: Regenerated.
34311 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
34313         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34314         if the result is not used.
34316 2011-07-05  Andreas Jaeger  <aj@suse.de>
34318         [BZ#9696]
34319         * stdlib/tst-strtod.c: Add testcase.
34321 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
34323         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34324         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34325         The latter has a higher limit.  Take additional parameter to pass to
34326         the new function.
34327         (__pathconf): Pass file to __statfs_link_max.
34328         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34329         __statfs_link_max.
34330         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34331         __statfs_link_max.
34333         [BZ #12868]
34334         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34335         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34336         Handle Lustre.
34337         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34338         (__statfs_filesize_max): Likewise.
34339         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34341 2011-07-05  Andreas Jaeger  <aj@suse.de>
34343         * resolv/res_comp.c (dn_skipname): Remove unused variable.
34345 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
34347         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34348         `status' variable.
34349         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34350         Likewise.
34352 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
34354         * Makefile (strop-tests): Add strncat.
34355         * string/test-strncat.c: New file.
34357 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
34359         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34361 2011-06-21  Andreas Jaeger  <aj@suse.de>
34363         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34364         Copy rule from iconvdata/Makefile.
34366 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34368         [BZ #12922]
34369         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34370         but no long options are defined, just return 'W'.
34372 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
34374         [BZ #9696]
34375         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34377 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
34379         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34380         netgroups to read.
34381         (innetgr): Likewise.
34383 2011-07-05  Roland McGrath  <roland@hack.frob.com>
34385         * config.make.in (install_root): Default to $(DESTDIR).
34387 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
34389         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34391 2011-07-02  Roland McGrath  <roland@hack.frob.com>
34393         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34395         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34396         containing directory rather than embedding absolute directory names.
34398         * scripts/check-local-headers.sh: Rewritten using awk.
34399         Match by word, not by line.  Print error messages for matches.
34400         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34402         * Makerules [shlib-lds-flags empty]:
34403         ($(common-objpfx)libc_pic.opts): New target.
34404         ($(common-objpfx)libc_pic.os.clean): New target.
34405         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34407         * config.make.in (OBJCOPY): New variable.
34408         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34409         * configure: Regenerated.
34411         * config.make.in (use-default-link): New variable.
34412         * configure.in (use_default_link): Grok --with-default-link to set it.
34413         * configure: Regenerated.
34414         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34415         (shlib-lds, shlib-lds-flags): Define to empty.
34417         * Makerules (shlib-lds): New variable.
34418         (shlib-lds-flags): New variable.
34419         (build-shlib, build-moduile, build-module-asneeded): Use it.
34420         ($(common-objpfx)libc.so): Use $(shlib-lds).
34421         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34422         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34424         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34425         DT_FLAGS/DT_FLAGS_1 with zero flags.
34427         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34428         linker script munging.
34430 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
34432         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34433         as 128-bit value.
34434         * crypt/sha512.c (sha512_process_block): Perform total addition using
34435         128-bit if possible.
34436         (__sha512_finish_ctx): Likewise.
34437         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34438         as 64-bit value.
34439         * crypt/sha256.c (SWAP64): Define.
34440         (sha256_process_block): Perform total addition using 64-bit if
34441         possible.
34442         (__sha256_finish_ctx): Likewise.
34444 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
34446         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
34447         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34448         * nscd/hstcache.c (cache_addhst): Likewise.
34449         * nscd/grpcache.c (cache_addgr): Likewise.
34450         * nscd/aicache.c (addhstaiX): Likewise
34451         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34453 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
34455         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34456         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34457         * nscd/hstcache.c (cache_addhst): Likewise.
34458         * nscd/grpcache.c (cache_addgr): Likewise.
34459         * nscd/aicache.c (addhstaiX): Likewise
34461 2011-07-01  Andreas Schwab  <schwab@redhat.com>
34463         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34464         domain only when needed.
34466 2011-06-30  Andreas Schwab  <schwab@redhat.com>
34468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34469         is always restored.
34471 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
34473         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34474         are re-adding the entry.
34475         * nscd/servicescache.c (cache_addserv): Likewise.
34477 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
34479         * sysdeps/generic/dl-irel.h: fix protection against multiple
34480         inclusions.
34481         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34483 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
34485         [BZ #12935]
34486         * malloc/memusage.sh: Fix quoting in message.
34487         * debug/xtrace.sh: Likewise.
34489         * configure.in: Remove support for --experimental-malloc option, make
34490         it the default.
34491         * config.make.in: Likewise.
34492         * malloc/Makefile: Likewise.
34494 2011-06-27  Andreas Schwab  <schwab@redhat.com>
34496         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34497         two-byte characters.
34499 2011-06-27  Roland McGrath  <roland@hack.frob.com>
34501         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34502         AC_CACHE_CHECK invocation.
34503         * configure: Regenerated.
34505         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34507 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
34509         [BZ #12350]
34510         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
34511         bit from old_res_options.
34513         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34515         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34516         value type for setfct.
34518 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
34520         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34521         __gettimeofday instead of gettimeofday.
34523 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
34525         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34527 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34529         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34531         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34532         info.
34534 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34537         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34538         strcpy-sse2-unaligned strncpy-sse2-unaligned
34539         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34540         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34541         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34542         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34543         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34544         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34545         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34546         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34547         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34548         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34549         (STRCPY): Support SSE2 and SSSE3 versions.
34551 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
34553         [BZ #12874]
34554         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34555         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34556         kernels which artificially limit size of requests.
34558 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
34560         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34561         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34562         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34563         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34564         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34565         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34566         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34567         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34568         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34570         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34571         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34572         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34573         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34574         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34576         Enable unaligned load optimization for Intel Core i3, i5 and i7
34577         processors.
34578         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34579         Define.
34580         (index_Fast_Unaligned_Load): Define.
34581         (HAS_FAST_UNALIGNED_LOAD): Define.
34583 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
34585         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34587 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34589         [BZ #12907]
34590         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34591         until it is clear that the information is realy needed.
34592         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34594 2011-06-22  Andreas Schwab  <schwab@redhat.com>
34596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34598 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
34600         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34601         /sys/devices/system/cpu/online if it is usable.
34603         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34604         reading the information from the /proc filesystem to once a second.
34606 2011-06-21  Andreas Jaeger  <aj@suse.de>
34608         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34609         NULL after inclusion of kernel headers.
34611 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
34613         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34614         calls to internal_setent.
34616         [BZ #12885]
34617         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34618         addresses using gethostbyname4_r ignore IPv4 addresses.
34620         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34621         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
34623         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34625 2011-06-20  David S. Miller  <davem@davemloft.net>
34627         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34628         inclusions.
34629         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34631         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34632         (elf_irel): Use it.
34633         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34634         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34635         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34636         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34637         * sysdeps/x86_64/dl-irel.h: Likewise.
34639         * elf/dl-runtime.c: Use elf_ifunc_invoke.
34640         * elf/dl-sym.c: Likewise.
34642 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34644         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
34645         need to dereference resplen2.
34647 2011-06-14  Andreas Schwab  <schwab@redhat.com>
34649         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34651 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34653         * Makeconfig: Define vardbdir and inst_vardbdir.
34654         * nss/Makefile: Add rules to install db-Makefile.
34656         * nss/nss_db/db-XXX.c: Cleanup.
34658         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34659         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34660         GLIBC_PRIVATE.
34661         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34662         * nss/makedb.c: Implement -g option to specify that value strings
34663         are generated and should not be added to table iterated over for
34664         get*ent calls.
34665         * nss/nss_db/db-initgroups.c: New file.
34667         * nss/getent.c: Add support for initgroups lookups through getgrouplist
34668         interface.
34670         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34671         (internal_getgrouplist): Adjust to name change.
34672         Update use_initgroups_entry if this is not the first call.
34673         * nss/databases.def: Add initgroups entry.
34675         * nss/makedb.c (compute_tables): Check result of multiple hash table
34676         sizes to minimize maximum chain length.
34678 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
34680         * Versions.def: Add entry for libnss_db.
34681         * shlib-versions: Likewise.
34682         * nss/Makefile: Add rules to build libnss_db.
34683         * nss/Versions: Add libnss_db information.  Organize libnss_files
34684         entries better.
34685         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34686         makedb progra.  Some minor improvements to generate smaller files.
34687         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34688         here from...
34689         * nss/makedb.c: ...here.
34690         Improve database format to be smaller and require less memory at
34691         runtime.
34692         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34693         db anymore.
34694         * nss/nss_db/db-netgrp.c: Likewise.
34695         * nss/nss_db/db-open.c: Likewise.
34696         * nss/nss_files/flies-XXX.x: Adjust comments.
34697         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34698         * nss/nss_files/files-grp.c: Likewise.
34699         * nss/nss_files/files-hosts.c: Likewise.
34700         * nss/nss_files/files-network.c: Likewise.
34701         * nss/nss_files/files-proto.c: Likewise.
34702         * nss/nss_files/files-pwd.c: Likewise.
34703         * nss/nss_files/files-rpc.c: Likewise.
34704         * nss/nss_files/files-service.c: Likewise.
34705         * nss/nss_files/files-sgrp.c: Likewise.
34706         * nss/nss_files/files-spwd.c: Likewise.
34707         * nss/nss_db/db-alias.c: Removed.
34708         * nss/nss_db/dummy-db.h: Removed.
34710 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34712         * nss/makedb.c: Rewritten to not use database library.
34713         * nss/Makefile: Update to build new makedb program.
34715 2011-06-14  Andreas Jaeger  <aj@suse.de>
34717         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34718         memset declaration.
34720 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34723         tmpbuf.
34725 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34727         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34728         * elf/Makefile ($(objpfx)ld.so): Likewise.
34730         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34731         Don't list ld.so twice in dependencies.
34733         * posix/bug-regex31.c: Include <stdlib.h>.
34735         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34737         * nis/nss_compat/compat-spwd.c
34738         (getspent_next_nss_netgr): Remove unused variable.
34739         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34741         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34742         nonmembers" output to use the right array.
34744         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34746         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34748         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34749         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34750         * catgets/gencat.c (read_input_file): Likewise.
34751         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34753         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34754         variable definition inside #if's controlling its use.
34756         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34758         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34760         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34762         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34763         unreachable code.
34765         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34767         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34768         * configure: Regenerated.
34770         * Makerules: Revert last change.
34771         * elf/Makefile: Likewise.
34773 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34775         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34776         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34777         (reloc-link): Likewise.
34779 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34781         * elf/Makefile: Add rules to build pldd.
34782         * elf/pldd.c: New file.
34783         * elf/pldd-xx.c: New file.
34785 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34787         * version.h: Update for 2.15 development version.
34789 2011-06-07  David S. Miller  <davem@davemloft.net>
34791         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34792         ifuncs.
34793         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34794         elf_machine_lazy_rel): Likewise.
34795         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34796         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34797         elf_machine_lazy_rel): Likewise.
34798         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34799         dl_hwcap via passed in argument.
34800         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34801         Likewise.
34803 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34805         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34807 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34809         [BZ #12849]
34810         * manual/fdl-1.1.texi: New file, verbatim from:
34811         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34812         * manual/lgpl-2.1.texi: New file, verbatim from:
34813         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34814         * manual/Makefile (licenses): New variable, list those new file names.
34815         (texis): Use it.
34816         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34818         * manual/fdl.texi: File removed.
34819         * manual/lesser.texi: File removed.
34820         * manual/libc.texinfo (Copying, Documentation License):
34821         Use new @include file names, put @appendix directive before @include.
34823 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34825         [BZ #12841]
34826         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34827         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34828         (mq_open): Add __NTH.
34830 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34833         Assume Intel Core i3/i5/i7 processor if AVX is available.
34835 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34837         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34838         typo.
34840 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34842         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34843         memory.  Use alloca_account.  Fix memory leak when retrying.
34845 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34847         * version.h (RELEASE): Bump for 2.14 release.
34848         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34850         * config.make.in (RANLIB): Remove entry.
34852 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34854         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34855         (libc.pot): Work around missing support for .ksh extension in xgettext.
34857         [BZ #12684]
34858         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34859         if both request failed.
34860         (send_dg): In case of server errors clear resplen or *resplen2.
34862         [BZ #12454]
34863         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34864         when there are multiple maps.
34865         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34866         (_dl_fini): Remove test here.
34868         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34870 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34872         [BZ #12350]
34873         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34874         bit from old_res_options.
34875         (gaih_inet): Likewise.
34877         [BZ #11099]
34878         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34879         as signed.
34881         * resolv/res_init.c (res_setoptions): Make the code more compact.
34883         [BZ #11558]
34884         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34885         set RES_USEVC.
34887         [BZ #11634]
34888         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34890         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34892         [BZ #11781]
34893         * malloc/malloc.h: Declare malloc hook variables as volatile.
34895         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34896         in last patch.
34898         [BZ #11799]
34899         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34900         raise in the comment.
34901         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34902         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34903         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34905 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34907         [BZ #12811]
34908         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34909         grow the buffers more if it already has to be sufficient.
34910         (build_wcs_upper_buffer): Likewise.
34911         * posix/regexec.c (check_matching): Likewise.
34912         (clean_state_log_if_needed): Likewise.
34913         (extend_buffers): Don't enlarge buffers beyond size of the input
34914         buffer.
34915         Patches mostly by Emil Wojak <emil@wojak.eu>.
34916         * posix/bug-regex32.c: New file.
34917         * posix/Makefile (tests): Add bug-regex32.
34919         * locale/findlocale.c (_nl_find_locale): Return right away if
34920         _nl_explode_name failed.
34921         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34923         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34925         * debug/xtrace.sh: Unify messages.
34926         * malloc/memusage.sh: Likewise.
34928         [BZ #12813]
34929         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34930         time symbol from vDSO.  Substitute with vsyscall if not available.
34931         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34932         __vdso_time.
34934         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34935         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34936         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34937         Add sendmmsg and internal_sendmmsg.
34938         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34939         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34940         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34942         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34943         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34944         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34946 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34948         [BZ #12813]
34949         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34950         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34951         available.
34952         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34953         __vdso_getcpu.
34955         [BZ #12814]
34956         * iconvdata/Makefile (tests): Add bug-iconv9.
34957         * iconvdata/bug-iconv9.c: New file.
34959 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34961         [BZ #12814]
34962         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34964 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34966         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34967         (struct user_regs_struct): Change intcs field back to cs.
34969 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34971         * po/ja.po: Update from translation team.
34973 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34975         [BZ #12795]
34976         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34977         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34979 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34981         * stdlib/longlong.h: Update from GCC.
34983 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34985         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34986         parameter name.
34987         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34988         Add parameter name.
34989         (__sysconf): Pass it down.
34991 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34993         [BZ #12671]
34994         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34995         some situations.
34996         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34997         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34998         add in in __libc_use_alloca calls.  Adjust callers.
34999         (glob): Use malloc in some situations.
35001         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35002         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35003         pltexit.
35005 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
35007         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35008         and CLOCK_BOOTTIME_ALARM.
35010         [BZ #12782]
35011         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35012         is returned.
35014         * string/_strerror.c (__strerror_r): Print negative errors as signed
35015         numbers.
35017         [BZ #12777]
35018         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35019         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35020         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35022         * configure.in: Fix typo in redirection and correct removal of test
35023         files in two cases.
35025         [BZ #12788]
35026         * locale/setlocale.c (new_composite_name): Fix test to check for
35027         identical name of all categories.
35029         [BZ #12792]
35030         * libio/filedoalloc.c (local_isatty): New function.
35031         (_IO_file_doallocate): Use local_isatty.
35032         * stdio-common/perror.c (perror): In case a new stream is used
35033         forward the stream error.
35034         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35035         error flag.
35037 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
35039         [BZ #11869]
35040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35041         alloca.
35042         * include/alloca.h (extend_alloca_account): Define.
35044         [BZ #11857]
35045         * posix/regex.h: Fix comments with documentation of user-accessible
35046         fields after compilation and describe correct free'ing of pattern
35047         after re_compile_pattern.
35048         Patch by Reuben Thomas <rrt@sc3d.org>.
35050 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
35052         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35053         and -mno-altivec to prevent the compiler from using Altivec and/or
35054         VSX instructions when the corresponding registers are not available.
35056 2011-05-19  Andreas Schwab  <schwab@redhat.com>
35058         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35060 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
35062         * libio/freopen.c (freopen): Use __dup2, not dup2.
35063         * libio/freopen64.c (freopen64): Likewise.
35065 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35067         [BZ #12775]
35068         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35069         * math/Makefile (tests): Add test-powl.
35070         (CFLAGS-test-powl.c): Define.
35071         * math/test-powl.c: New file.
35073 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35075         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35077 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
35079         [BZ #11837]
35080         * iconvdata/gb18030.c: Update to GB18020-2005.
35082 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
35084         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35085         RE_SYNTAX_POSIX_AWK): Update to match recent development.
35086         Patch by Aharon Robbins <arnold@skeeve.com>.
35088         [BZ #11892]
35089         * stdlib/putenv.c (putenv): Don't always create copy of the variable
35090         on the stack.
35092         [BZ #11895]
35093         * misc/pselect.c (__pselect): Handle timeout value errors hidden
35094         through underflows.
35096         [BZ #12766]
35097         * misc/error.c (error_at_line): Ensure file_name and old_file_name
35098         point to strings before performing equality test for error_one_per_line
35099         mode.
35101         [BZ #11697]
35102         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35104         [BZ #11820]
35105         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35106         (struct user_fpregs_struct): Avoid __uint*_t types.
35108         [BZ #6420]
35109         * malloc/mtrace.c (tr_where): Add additional parameter to point to
35110         symbol info.  Use it instead of calling _dl_addr locally.
35111         (lock_and_info): New function.
35112         (tr_freehook): Call lock_and_info and pass symbol info as additional
35113         parameter to tr_where.
35114         (tr_mallochook): Likewise.
35115         (tr_reallochook): Likewise.
35116         (tr_memalignhook): Likewise.
35118         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
35119         used and couldn't be at all thread-safe.
35121 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
35123         * libio/freopen.c (freopen): Don't close old file descriptor
35124         before the new one is opened.  Instead dup the new file descriptor
35125         to the old one after the new stream is created.
35126         * libio/freopen64.c (freopen64): Likewise.
35127         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35128         * libio/fileops.c (_IO_new_file_close_it): Handle new
35129         _IO_FLAGS2_NOCLOSE flag.
35130         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35131         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35132         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35133         _IO_FLAGS2_NOCLOSE flag.
35134         * include/unistd.h: Add hidden_proto for dup3.
35135         Define __have_dup3.
35136         * io/dup3.c: Define hidden symbol.
35137         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35139         [BZ #7101]
35140         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35141         when an incomplete long option is used.
35142         * posix/tst-getopt_long1.c: New file.
35143         * posix/Makefile (tests): Add tst-getopt_long1.
35145         [BZ #10138]
35146         * scripts/config.guess: Update from autoconf-2.68.
35147         * scripts/config.sub: Likewise.
35149         [BZ #10157]
35150         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35151         tests into ...
35152         (has_cpuclock): ...this.  New function.
35153         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35154         macro here based on has_cpuclock code.
35156         [BZ #10149]
35157         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35158         First byte (not low byte) is now always NUL.
35159         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35161         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35162         Use non-cancelable interfaces.
35164         [BZ #9809]
35165         * locale/iso-639.def: Add entry for Sorani.
35167         [BZ #11901]
35168         * include/stdlib.h: Move include protection to the right place.
35169         Define abort_msg_s.  Declare __abort_msg with it.
35170         * stdlib/abort.c (__abort_msg): Adjust type.
35171         * assert/assert.c (__assert_fail_base): New function.  Majority
35172         of code from __assert_fail.  Allocate memory for __abort_msg with
35173         mmap.
35174         (__assert_fail): Now call __assert_fail_base.
35175         * assert/assert-perr.c: Remove bulk of implementation.  Use
35176         __assert_fail_base.
35177         * include/assert.hL Declare __assert_fail_base.
35178         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35179         mmap.
35180         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35182 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
35184         [BZ #11952]
35185         [BZ #12453]
35186         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35187         until all modules are registered in the DTV.
35188         * elf/Makefile: Add rules to build and run tst-tls19.
35189         * elf/tst-tls19.c: New file.
35190         * elf/tst-tls19mod1.c: New file.
35191         * elf/tst-tls19mod2.c: New file.
35192         * elf/tst-tls19mod3.c: New file.
35193         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35195         [BZ #12083]
35196         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35197         correctly.
35199         [BZ #12601]
35200         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35201         two-byte sequence errors.
35202         * iconvdata/Makefile (tests): Add bug-iconv8.
35203         * iconvdata/bug-iconv8.c: New file.
35205         [BZ #12626]
35206         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35207         buf2 definition.
35209         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35211         [BZ #12432]
35212         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35213         (dummy_getcfa): New function.
35214         (init): Get _Unwind_GetCFA address, use dummy if not found.
35215         (backtrace_helper): In recursion check, also check whether CFA changes.
35216         (__backtrace): Completely initialize arg.
35218         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35219         storing incomplete byte sequence in state object.  Avoid testing for
35220         guaranteed too small input if we know there is enough data available.
35222 2011-05-11  Andreas Schwab  <schwab@redhat.com>
35224         * Makeconfig (+link-pie): Indent.
35225         * Rules (binaries-pie): Define if $(have-fpie) and
35226         $(build-shared).
35227         (binaries-shared): Also filter out $(binaries-pie).
35228         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35229         * nscd/Makefile (others-pie): Add nscd.
35230         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35231         ($(objpfx)nscd): Remove command override.
35232         * login/Makefile (others-pie): Add pt_chown.
35233         ($(objpfx)pt_chown): Remove command override.
35234         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35235         remove command overrides.
35237 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
35239         * libio/tst_putwc.c: Fix error messages.
35241         [BZ #12724]
35242         * libio/fileops.c (_IO_new_file_close_it): Always flush when
35243         currently writing and seek to current position when not.
35244         * libio/Makefile (tests): Add bug-fclose1.
35245         * libio/bug-fclose1.c: New file.
35247 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
35249         [BZ #12511]
35250         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35251         don't set DF_1_NODELETE here.
35252         (do_lookup_x): When entering new entry test for copy relocation
35253         and if necessary set DF_1_NODELETE flag.
35254         * elf/tst-unique4.cc: New file.
35255         * elf/tst-unique4.h: New file.
35256         * elf/tst-unique4lib.cc: New file.
35257         * elf/Makefile: Add rules to build and run tst-unique4.
35258         Patch by Piotr Bury <pbury@goahead.com>.
35260 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
35262         [BZ #12052]
35263         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35265         [BZ #12625]
35266         * misc/mntent_r.c (addmntent): Flush the stream after the output
35268         [BZ #12393]
35269         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35270         (is_trusted_path_normalize): Skip initial colon.  Append slash
35271         to empty buffer.  Duplicate is_trusted_path code but allow
35272         constructed patch to be prefix.
35273         (is_dst): Allow $ORIGIN followed by /.
35274         (_dl_dst_substitute): Correct clearing of check_for_trusted.
35275         Correct testing of result of is_trusted_path_normalize
35276         (decompose_rpath): Fix warning.
35278 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
35280         [BZ #11257]
35281         * grp/initgroups.c (internal_getgrouplist): When we found the service
35282         list through the initgroups entry in nsswitch.conf do not always
35283         continue on a successful lookup.  Don't always use the
35284         __nss_group_database value if it is set.
35285         * nss/nsswitch.conf (initgroups): Change action for successful db
35286         lookup to continue for compatibility.
35288 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
35290         [BZ #11532]
35291         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35292         and CP774 modules.
35293         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35294         and CP774 modules.
35295         * iconvdata/tst-tables.sh: Likewise.
35296         * iconvdata/cp770.c: New file.
35297         * iconvdata/cp771.c: New file.
35298         * iconvdata/cp772.c: New file.
35299         * iconvdata/cp773.c: New file.
35300         * iconvdata/cp774.c: New file.
35301         * iconvdata/testdata/CP770: New file.
35302         * iconvdata/testdata/CP770..UTF8: New file.
35303         * iconvdata/testdata/CP771: New file.
35304         * iconvdata/testdata/CP771..UTF8: New file.
35305         * iconvdata/testdata/CP772: New file.
35306         * iconvdata/testdata/CP772..UTF8: New file.
35307         * iconvdata/testdata/CP773: New file.
35308         * iconvdata/testdata/CP773..UTF8: New file.
35309         * iconvdata/testdata/CP774: New file.
35310         * iconvdata/testdata/CP774..UTF8: New file.
35312         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35313         END CHARMAP line.
35314         * iconvdata/gen-8bit-gap.sh: Likewise.
35315         * iconvdata/gen-8bit.sh: Likewise.
35317         * locale/iso-639.def: Add ary entry.
35319         [BZ #11258]
35320         * locale/C-translit.h.in: Add U20A1 transliteration.
35322         [BZ #12178]
35323         * locale/iso-639.def: Add wae entry.
35324         Patch by Kevin Bortis <bortis@translate-wae.ch>.
35326         [BZ #12545]
35327         * locale/programs/localedef.c (construct_output_path): Use ssize_t
35328         for n.
35330         [BZ #12711]
35331         * locale/C-translit.h.in: Add entry for U20B9.
35332         Patch by pravin.d.s@gmail.com.
35334 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
35336         [BZ #12713]
35337         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35338         ENAMETOOLONG use generic getcwd.
35339         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
35340         in rtld.  Use *stat64.
35341         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35342         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35343         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35344         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35345         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35346         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35347         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35348         __fstatat64 macros.
35349         * include/dirent.h: Add libc_hidden_proto for rewinddir.
35350         * dirent/rewinddir.c: Add libc_hidden_def.
35351         * sysdeps/mach/hurd/rewinddir.c: Likewise.
35352         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
35354         * include/dirent.h (__alloc_dir): Add flags parameter.
35355         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35356         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35357         __alloc_dir.
35358         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
35359         from fdopendir if O_CLOEXEC is already set.
35361 2011-03-15  Alan Modra  <amodra@gmail.com>
35363         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35364         l_tls_firstbyte_offset non-zero.  Save padding offset in
35365         l_tls_firstbyte_offset for later use.
35366         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35367         freeing static tls block.
35369 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
35371         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35372         where #ifdef was intended.  The intent is to prevent ARG_MAX from
35373         being defined by the kernel headers.
35375 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
35377         [BZ #12734]
35378         * resolv/resolv.h: Define RES_NOTLDQUERY.
35379         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35380         no-tld-query and set RES_NOTLDQUERY.
35381         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35382         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35383         modern BIND to search name as TLD unless forbidden.
35385 2011-05-07  Petr Baudis  <pasky@suse.cz>
35386             Ulrich Drepper  <drepper@gmail.com>
35388         [BZ #12393]
35389         * elf/dl-load.c (fillin_rpath): Move trusted path check...
35390         (is_trusted_path): ...to here.
35391         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35392         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35393         using is_trusted_path_normalize() in setuid scripts.
35395 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35397         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35398         __BEGIN/__END_DECLS.
35400 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
35402         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35403         NSS_STATUS_NOTFOUND if no record was found.
35405 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35407         * sunrpc/Makefile (headers): Add rpc/netdb.h.
35408         (headers-not-in-tirpc): Remove rpc/netdb.h
35409         * resolv/netdb.h: Revert last change.
35411 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35413         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35414         circular dependency between libgcc.a and libc.a.
35416 2011-05-05  Andreas Schwab  <schwab@redhat.com>
35418         * resolv/netdb.h: Don't include <rpc/netdb.h>.
35419         * nis/Makefile: Don't install rpcsvc/*.
35420         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35421         instead of <rpc/types.h>.
35422         (MAXHOSTNAMELEN): Define.
35424 2011-05-03  Andreas Schwab  <schwab@redhat.com>
35426         * elf/ldconfig.c (add_dir): Don't crash on empty path.
35428 2011-04-28  Maciej Babinski  <mbabinski@google.com>
35430         [BZ #12714]
35431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35432         gethostbyname4_r when IPv6 results are possible.
35434 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
35436         [BZ #12723]
35437         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35438         _PC_PIPE_BUF handling.
35440 2011-04-30  Bruno Haible  <bruno@clisp.org>
35442         [BZ #12717]
35443         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35444         * resolv/netdb.h (getnameinfo): Change type of flags parameter
35445         to 'int'.
35446         * inet/getnameinfo.c (getnameinfo): Likewise.
35448 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
35450         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35451         to groups setting in database lookup.
35452         * nss/nsswitch.conf: Add initgroups entry.
35454 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
35456         [BZ #12685]
35457         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35458         mode string.
35459         Patch by Eric Blake <eblake@redhat.com>.
35461 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
35463         * sunrpc/Makefile (need-export-routines): Add svc_run.
35464         (routines): Remove svc_run.
35465         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35466         * sunrpc/clnt_perr.c (clnt_perrno): Export.
35467         * sunrpc/svc_run.c (svc_run): Likewise.
35468         * sunrpc/svc_udp.c (svcudp_create): Likewise.
35470 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
35472         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35473         problem in reallocation in last patch.
35475 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
35477         * sunrpc/Makefile: Move inclusion of Rules.
35479 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35481         * nss/nss_files/files-initgroups.c: New file.
35482         * nss/Makefile (libnss_files-routines): Add files-initgroups.
35483         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35484         _nss_files_initgroups_dyn.
35486 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
35488         * elf/elf.h (R_ARM_IRELATIVE): Define.
35490 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
35492         * po/ru.po: Update from translation team.
35494 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35496         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35497         dependencies.
35499 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
35501         [BZ #12653]
35502         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35503         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35504         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35505         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35506         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35508 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
35510         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35511         differing bytes.
35512         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35513         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35514         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35516 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
35518         [BZ #12420]
35519         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35520         storing it.
35521         * stdlib/bug-getcontext.c: New file.
35522         * stdlib/Makefile: Add rules to build and run bug-getcontext.
35524 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35526         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35527         instructions into .machine "z9-109".
35528         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35529         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35531 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35533         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35534         between environment variables and auxiliary vector.
35536 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
35538         * Makefile: Add rules to build linkobj/libc.so.
35539         * include/libc-symbols.h: Define libc_hidden_nolink.
35540         * include/rpc/auth.h: Mark functions which are to be hidden.
35541         * include/rpc/auth_des.h: Likewise.
35542         * include/rpc/auth_unix.h: Likewise.
35543         * include/rpc/clnt.h: Likewise.
35544         * include/rpc/des_crypt.h: Likewise.
35545         * include/rpc/key_prot.h: Likewise.
35546         * include/rpc/pmap_clnt.h: Likewise.
35547         * include/rpc/pmap_prot.h: Likewise.
35548         * include/rpc/pmap_rmt.h: Likewise.
35549         * include/rpc/rpc_msg.h: Likewise.
35550         * include/rpc/svc.h: Likewise.
35551         * include/rpc/svc_auth.h: Likewise.
35552         * include/rpc/xdr.h: Likewise.
35553         * nis/Makefile: Link all DSOs against linkobj/libc.so.
35554         * nss/Makefile: Likewise.
35555         * sunrpc/Makefile: Don't install headers.  Build library with normal
35556         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
35557         * sunrpc/auth_des.c: Hide exported symbols by default, export some
35558         for the compat linking library.  Remove use of INTDEF/INTUSE.
35559         * sunrpc/auth_none.c: Likewise.
35560         * sunrpc/auth_unix.c: Likewise.
35561         * sunrpc/authdes_prot.c: Likewise.
35562         * sunrpc/authuxprot.c: Likewise.
35563         * sunrpc/clnt_gen.c: Likewise.
35564         * sunrpc/clnt_perr.c: Likewise.
35565         * sunrpc/clnt_raw.c: Likewise.
35566         * sunrpc/clnt_simp.c: Likewise.
35567         * sunrpc/clnt_tcp.c: Likewise.
35568         * sunrpc/clnt_udp.c: Likewise.
35569         * sunrpc/clnt_unix.c: Likewise.
35570         * sunrpc/des_crypt.c: Likewise.
35571         * sunrpc/des_soft.c: Likewise.
35572         * sunrpc/get_myaddr.c: Likewise.
35573         * sunrpc/key_call.c: Likewise.
35574         * sunrpc/key_prot.c: Likewise.
35575         * sunrpc/netname.c: Likewise.
35576         * sunrpc/pm_getmaps.c: Likewise.
35577         * sunrpc/pm_getport.c: Likewise.
35578         * sunrpc/pmap_clnt.c: Likewise.
35579         * sunrpc/pmap_prot.c: Likewise.
35580         * sunrpc/pmap_prot2.c: Likewise.
35581         * sunrpc/pmap_rmt.c: Likewise.
35582         * sunrpc/publickey.c: Likewise.
35583         * sunrpc/rpc_cmsg.c: Likewise.
35584         * sunrpc/rpc_common.c: Likewise.
35585         * sunrpc/rpc_dtable.c: Likewise.
35586         * sunrpc/rpc_prot.c: Likewise.
35587         * sunrpc/rpc_thread.c: Likewise.
35588         * sunrpc/rtime.c: Likewise.
35589         * sunrpc/svc.c: Likewise.
35590         * sunrpc/svc_auth.c: Likewise.
35591         * sunrpc/svc_authux.c: Likewise.
35592         * sunrpc/svc_raw.c: Likewise.
35593         * sunrpc/svc_run.c: Likewise.
35594         * sunrpc/svc_simple.c: Likewise.
35595         * sunrpc/svc_tcp.c: Likewise.
35596         * sunrpc/svc_udp.c: Likewise.
35597         * sunrpc/svc_unix.c: Likewise.
35598         * sunrpc/svcauth_des.c: Likewise.
35599         * sunrpc/xcrypt.c: Likewise.
35600         * sunrpc/xdr.c: Likewise.
35601         * sunrpc/xdr_array.c: Likewise.
35602         * sunrpc/xdr_float.c: Likewise.
35603         * sunrpc/xdr_intXX_t.c: Likewise.
35604         * sunrpc/xdr_mem.c: Likewise.
35605         * sunrpc/xdr_rec.c: Likewise.
35606         * sunrpc/xdr_ref.c: Likewise.
35607         * sunrpc/xdr_sizeof.c: Likewise.
35608         * sunrpc/xdr_stdio.c: Likewise.
35610 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
35612         [BZ #12650]
35613         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35614         * sysdeps/ia64/dl-tls.h: Likewise.
35615         * sysdeps/powerpc/dl-tls.h: Likewise.
35616         * sysdeps/s390/dl-tls.h: Likewise.
35617         * sysdeps/sh/dl-tls.h: Likewise.
35618         * sysdeps/sparc/dl-tls.h: Likewise.
35619         * sysdeps/x86_64/dl-tls.h: Likewise.
35620         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35622 2011-03-14  Andreas Schwab  <schwab@redhat.com>
35624         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35625         rpath element also skip the following colon.
35626         (expand_dynamic_string_token): Add is_path parameter and pass
35627         down to DL_DST_REQUIRED and _dl_dst_substitute.
35628         (decompose_rpath): Call expand_dynamic_string_token with
35629         non-zero is_path.  Ignore empty rpaths.
35630         (_dl_map_object_from_fd): Call expand_dynamic_string_token
35631         with zero is_path.
35633 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
35635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35636         Make cancelable.
35638 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
35640         [BZ #12655]
35641         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35642         Patch by Filipe David Manana <fdmanana@apache.org>.
35644 2011-04-07  Andreas Schwab  <schwab@redhat.com>
35646         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35647         Maintain aligned stack.
35648         (CHECK_RSP): Remove unused macro.
35650 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
35652         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35653         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35655 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
35657         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35659         * include/features.h: Mention __USE_XOPEN2K8 in comment.
35661 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
35663         [BZ #12518]
35664         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35665         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35666         * sysdeps/x86_64/memmove.c: New file.
35667         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35668         (memcpy): Renamed to ...
35669         (__new_memcpy): This.
35670         (memcpy): Provide GLIBC_2_14 memcpy.
35671         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35672         (memcpy): Provide GLIBC_2_2_5 memcpy.
35674 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35676         [BZ #12631]
35677         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35679 2011-03-30  Andreas Schwab  <schwab@redhat.com>
35681         * misc/syncfs.c: New file.
35682         * misc/Makefile (routines): Add syncfs.
35683         * posix/unistd.h: Declare syncfs.
35684         * sysdeps/unix/syscalls.list: Add syncfs.
35686 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35688         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35689         open_by_handle_at.
35690         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35691         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35692         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35693         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35695         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35696         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35698 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35700         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35701         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35702         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35703         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35704         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35705         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35706         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35708         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35709         sync_file_range.c with -fexceptions.
35710         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35711         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35712         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35713         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35714         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35715         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35716         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35717         sync_file_range as cancellation point
35718         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35719         now a wrapper around __call_sync_file_range with cancellation handling.
35720         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35721         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35722         function name to __call_sync_file_range.
35723         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35724         Add call_sync_file_range.
35726 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35728         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35729         bits/timex.h.
35731 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35733         * iconv/iconv.h: Fix typo in comment.
35734         * io/fcntl.h: Likewise.
35735         * libio/stdio.h: Likewise.
35736         * posix/spawn.h: Likewise.
35737         * posix/unistd.h: Likewise.
35738         * stdlib/stdlib.h: Likewise.
35739         * time/time.h: Likewise.
35740         * wcsmbs/wchar.h: Likewise.
35742         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35743         open_by_handle): Add.
35744         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35745         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35746         Augment a few comments.
35747         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35748         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35749         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35750         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35751         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35752         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35753         open_by_handle.
35755         * io/fcntl.h (AT_EMPTY_PATH): Define.
35757 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35759         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35760         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35761         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35762         to...
35763         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35764         * Versions.def: Add GLIBC_2.14.
35765         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35766         Export.
35768 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35770         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35771         round counter.
35772         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35774 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35776         [BZ #12597]
35777         * string/test-strncmp.c (do_page_test): New function.
35778         (check2): Likewise.
35779         (test_main): Call check2.
35780         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35782 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35784         [BZ #12587]
35785         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35786         Handle cache information in CPU leaf 4.
35787         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35789 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35791         [BZ #12583]
35792         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35793         character representation.
35794         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35796 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35798         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35799         END(__isnan) to END(__isnanf) to match function entry point/label
35800         EALIGN(__isnanf,...).
35802 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35804         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35806 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35808         [BZ #12510]
35809         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35810         copy from the symbol referenced in the relocation to initialize the
35811         used variable.
35812         Patch by Piotr Bury <pbury@goahead.com>.
35813         * elf/Makefile: Add rules to build and tst-unique3.
35814         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35815         * elf/tst-unique3.cc: New file.
35816         * elf/tst-unique3.h: New file.
35817         * elf/tst-unique3lib.cc: New file.
35818         * elf/tst-unique3lib2.cc: New file.
35820         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35822 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35824         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35825         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35826         to _start.
35828 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35830         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35831         to-be-loaded object along a path to loader is ld.so.
35833 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35834             Ulrich Drepper  <drepper@gmail.com>
35836         * sysdeps/x86_64/memset.S: After aligning destination, code
35837         branches to different locations depending on the value of
35838         misalignment, when multiarch is enabled. Fix this.
35840 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35842         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35843         Set _x86_64_preferred_memory_instruction for AMD processsors.
35844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35845         Set bit_Prefer_SSE_for_memop for AMD processors.
35847 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35849         * libio/fmemopen.c (fmemopen): Optimize a bit.
35851 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35853         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35855 2011-03-03  Roland McGrath  <roland@redhat.com>
35857         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35859 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35861         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35862         __bzero_ultra1 instead of __memset_ultra1.
35864 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35865             Ulrich Drepper  <drepper@gmail.com>
35867         [BZ #12509]
35868         * include/link.h (struct link_map): Add l_orig_initfini.
35869         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35870         returning unsuccessfully.
35871         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35872         close of a file loaded at startup, restore the original l_initfini
35873         list.
35874         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35875         list, store the pointer.
35876         * elf/Makefile ($(objpfx)noload-mem): New rule.
35877         (noload-ENV): Define.
35878         (tests): Add $(objpfx)noload-mem.
35879         * elf/noload.c: Include <memcheck.h>.
35880         (main): Call mtrace.  Close all opened handles.
35882 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35884         [BZ #12454]
35885         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35886         dependencies are missing.
35888 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35890         Fix __if_freereq crash: Unlike the generic version which uses free,
35891         Hurd needs munmap.
35892         * sysdeps/mach/hurd/ifreq.h: New file.
35894 2011-01-27  Petr Baudis  <pasky@suse.cz>
35895             Ulrich Drepper  <drepper@gmail.com>
35897         [BZ 12445]#
35898         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35899         to extend_alloca().
35900         * stdio-common/bug23.c: New file.
35901         * stdio-common/Makefile (tests): Add bug23.
35903 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35904             Ulrich Drepper  <drepper@gmail.com>
35906         [BZ #12489]
35907         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35908         before performing relro protection.  At old place add assertion
35909         to make sure nothing changed.
35911 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35912             Glauber de Oliveira Costa  <glommer@gmail.com>
35914         * elf/elf.h: Add new ARM TLS relocs.
35916 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35919         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35920         cast from r3.
35921         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35922         'tests' variable.
35923         * sysdeps/wordsize-64/tst-writev.c: New file.
35925 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35927         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35928         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35929         insns in _dl_start to prevent a TOC reference before relocs are
35930         resolved.
35932 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35934         [BZ #12469]
35935         * Makeconfig: Remove RANLIB definition.
35936         * Makerules: Don't use RANLIB.
35937         * aclocal.m4: Remove ranlib test.
35938         * configure.in: No need to check for ranlib.
35939         * elf/rtld-Rules: Don't use RANLIB.
35941 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35943         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35944         protection macro.
35945         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35946         inclusion protection macro.
35948         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35949         SIGRTMIN and SIGRTMAX and print information in that case only when
35950         SIGRTMIN is defined.
35952 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35954         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35955         arginfo fn returning -1.
35957         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35958         and thousands string is zero terminated.
35960 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35962         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35963         sysdeps/unix/sysv/linux/bits/socket.h.
35965 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35967         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35968         (__CPU_COUNT): Remove old macros.
35969         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35970         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35971         (__CPU_ALLOC, __CPU_FREE): Add macros.
35972         (__sched_cpualloc, __sched_cpufree): Add declarations.
35974 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35976         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35977         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35978         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35979         (readdhstai): Return value of addhstaiX call.
35980         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35981         (addgrbyX): Return value returned by cache_addgr.
35982         (readdgrbyname): Return value returned by addgrbyX.
35983         (readdgrbygid): Likewise.
35984         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35985         (addpwbyX): Return value returned by cache_addpw.
35986         (readdpwbyname): Return value returned by addhstbyX.
35987         (readdpwbyuid): Likewise.
35988         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35989         (addservbyX): Return value returned by cache_addserv.
35990         (readdservbyname): Return value returned by addservbyX:
35991         (readdservbyport): Likewise.
35992         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35993         (addhstbyX): Return value returned by cache_addhst.
35994         (readdhstbyname): Return value returned by addhstbyX.
35995         (readdhstbyaddr): Likewise.
35996         (readdhstbynamev6): Likewise.
35997         (readdhstbyaddrv6): Likewise.
35998         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35999         (readdinitgroups): Return value returned by addinitgroupsX.
36000         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36001         (prune_cache): Keep track of timeout value of re-added entries.
36002         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36003         * nscd/nscd.h: Adjust prototypes of readd* functions.
36005 2011-02-04  Roland McGrath  <roland@redhat.com>
36007         * nis/nis_server.c (nis_servstate): Use the right name for 0.
36008         (nis_stats): Likewise.
36009         * nis/nis_modify.c (nis_modify): Likewise.
36010         * nis/nis_remove.c (nis_remove): Likewise.
36011         * nis/nis_add.c (nis_add): Likewise.
36013         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36015         * posix/fnmatch_loop.c: Add some consts.
36017         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36019 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
36021         [BZ #12460]
36022         * config.make.in (config-cflags-novzeroupper): Define.
36023         * configure.in: Substitute libc_cv_cc_novzeroupper.
36024         * elf/Makefile (AVX-CFLAGS): Define.
36025         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36026         (CFLAGS-tst-auditmod4a.c): Likewise.
36027         (CFLAGS-tst-auditmod4b.c): Likewise.
36028         (CFLAGS-tst-auditmod6b.c): Likewise.
36029         (CFLAGS-tst-auditmod6c.c): Likewise.
36030         (CFLAGS-tst-auditmod7b.c): Likewise.
36031         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36033 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
36035         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36036         function to the callback.
36037         Patch partly by Jiri Olsa <jolsa@redhat.com>.
36039 2011-02-02  Andreas Schwab  <schwab@redhat.com>
36041         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36042         of errno.
36044 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
36046         [BZ #11724]
36047         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36048         of constructors.
36049         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36050         of destructors.
36051         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36053         [BZ #11724]
36054         * elf/Makefile: Add rules to build and run new test.
36055         * elf/tst-initorder.c: New file.
36056         * elf/tst-initorder.exp: New file.
36057         * elf/tst-initordera1.c: New file.
36058         * elf/tst-initordera2.c: New file.
36059         * elf/tst-initordera3.c: New file.
36060         * elf/tst-initordera4.c: New file.
36061         * elf/tst-initorderb1.c: New file.
36062         * elf/tst-initorderb2.c: New file.
36063         * elf/tst-order-a1.c: New file.
36064         * elf/tst-order-a2.c: New file.
36065         * elf/tst-order-a3.c: New file.
36066         * elf/tst-order-a4.c: New file.
36067         * elf/tst-order-b1.c: New file.
36068         * elf/tst-order-b2.c: New file.
36069         * elf/tst-order-main.c: New file.
36070         New test case by George Gensure <werkt0@gmail.com>.
36072 2010-10-01  Andreas Schwab  <schwab@redhat.com>
36074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36075         decoding ACE if AI_CANONIDN.
36077 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
36079         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36081 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
36083         * version.h (RELEASE): Bump for 2.13 release.
36084         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36086         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36088         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36089         MADV_NOHUGEPAGE.
36090         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36091         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36092         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36093         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36094         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36095         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36097         * posix/getconf.c: Update copyright year.
36098         * catgets/gencat.c: Likewise.
36099         * csu/version.c: Likewise.
36100         * debug/catchsegv.sh: Likewise.
36101         * debug/xtrace.sh: Likewise.
36102         * elf/ldconfig.c: Likewise.
36103         * elf/ldd.bash.in: Likewise.
36104         * elf/sprof.c (print_version): Likewise.
36105         * iconv/iconv_prog.c: Likewise.
36106         * iconv/iconvconfig.c: Likewise.
36107         * locale/programs/locale.c: Likewise.
36108         * locale/programs/localedef.c: Likewise.
36109         * malloc/memusage.sh: Likewise.
36110         * malloc/mtrace.pl: Likewise.
36111         * nscd/nscd.c (print_version): Likewise.
36112         * nss/getent.c: Likewise.
36114         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36115         PF_CAIF, and PF_ALG.
36116         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36118 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
36120         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36121         (modules-names): Use them.
36122         (ifunc-test-modules, ifunc-pie-tests): Define.
36123         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36124         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36125         (test-extras): Likewise.
36126         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36127         $(compile-command.c).
36128         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36129         (all-built-dso): Define.
36130         (check-textrel.out, check-execstack.out): Depend on it.
36132         * configure.in: Don't override --enable-multi-arch.
36134 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
36136         [BZ #6812]
36137         * nscd/hstcache.c (tryagain): Define.
36138         (cache_addhst): Return tryagain not notfound for temporary errors.
36139         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36140         failed.
36142 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
36144         [BZ #10563]
36145         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36146         to make the syscall.
36147         * sysdeps/unix/sysv/linux/setgroups.c: New file.
36149         [BZ #12378]
36150         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36151         and fall back to matching as normal character if the string ends before
36152         the matching ']' is found.  This is what POSIX requires.
36153         * posix/testfnm.c: Adjust test result.
36154         * posix/globtest.sh: Adjust test result.  Add new test.
36155         * posix/tst-fnmatch.input: Likewise.
36156         * posix/tst-fnmatch2.c: Add new test.
36158 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
36160         * elf/Makefile (check-execstack): Revert last change.  Depend on
36161         check-execstack.h.
36162         (check-execstack.h): New target.
36163         (generated): Add check-execstack.h.
36164         * elf/check-execstack.c: Include "check-execstack.h".
36165         (main): Revert last change.
36166         (handle_file): Return zero if GNU_STACK is absent and
36167         DEFAULT_STACK_PERMS doesn't include PF_X.
36169 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
36171         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36172         in child fails because the descriptor is already closed.
36173         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36174         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36175         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36177         [BZ #12397]
36178         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36179         syscall.
36181         [BZ #10484]
36182         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36183         temporary buffer used to handle multi lookups locally.
36184         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36186 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36188         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36189         loader is ld.so.
36191 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
36193         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36194         alignment for SSE2.
36196 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
36198         [BZ #12394]
36199         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36200         characters.  When rounding increased number of integer digits recompute
36201         number of groups.
36202         * stdio-common/tst-grouping.c: New file.
36203         * stdio-common/Makefile: Add rules to build and run tst-grouping.
36205 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
36207         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36208         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
36210         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36211         void.
36212         * bits/select.h: Likewise.
36214 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
36216         * po/ja.po: Update from translation team.
36218 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
36220         [BZ #11155]
36221         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36222         implementation just like for lxstat, fxstatat, et al.
36224 2010-12-27  Jim Meyering  <meyering@redhat.com>
36226         [BZ #12348]
36227         * posix/regexec.c (build_trtable): Return failure indication upon
36228         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
36230 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
36232         [BZ #12201]
36233         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36234         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36235         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36236         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36238         [BZ #12207]
36239         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36241         [BZ #12204]
36242         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36243         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36245 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
36247         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36248         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36249         script has SORT_BY_INIT_PRIORITY.
36250         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36251         NO_CTORS_DTORS_SECTIONS is defined.
36252         * elf/soinit.c: Likewise.
36253         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36254         NO_CTORS_DTORS_SECTIONS is defined.
36255         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36256         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36257         * sysdeps/sh/init-first.c: Likewise.
36258         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36260 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
36262         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36263         always use the slow path.
36265 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
36267         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36268         similar rule which adds the sysdep directories to the header search in
36269         order to pick up the correct platform stackinfo.h.
36270         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36271         perform test if it is, otherwise return successfully without testing.
36272         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36273         DEFAULT_STACK_PERMS define in stackinfo.h.
36274         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36275         defined in stackinfo.h.
36276         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36277         DEFAULT_STACK_PERMS defined in stackinfo.h.
36278         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36279         * sysdeps/ia64/stackinfo.h: Likewise.
36280         * sysdeps/s390/stackinfo.h: Likewise.
36281         * sysdeps/sh/stackinfo.h: Likewise.
36282         * sysdeps/sparc/stackinfo.h: Likewise.
36283         * sysdeps/x86_64/stackinfo.h: Likewise.
36284         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36285         PF_X for powerpc64.  Retain PF_X for powerpc32.
36287 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
36289         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36290         accurately.
36291         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36292         GETDENTS_64BIT_ALIGNED.
36294 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
36296         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36298 2010-12-10  Andreas Schwab  <schwab@redhat.com>
36300         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36301         _GNU_SOURCE.
36303         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36304         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36305         Remove __restrict.
36306         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36307         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36309 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
36311         [BZ #11655]
36312         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36313         are initialized.
36315 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
36317         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36319 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
36321         * po/it.po: Update from translation team.
36323 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
36325         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36326         unused codes.
36328 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
36330         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36332 2010-11-24  Andreas Schwab  <schwab@redhat.com>
36334         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36335         specially.
36336         (gaih_getanswer_slice): Likewise.
36338 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
36340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36342 2010-05-31  Petr Baudis  <pasky@suse.cz>
36344         [BZ #11149]
36345         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36346         silently even in the chroot mode.
36348 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
36350         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36351         last patch a bit.  Pretty printing
36353 2010-05-31  Petr Baudis <pasky@suse.cz>
36355         [BZ #10085]
36356         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36357         initialization of skip_initgroups_dyn.
36359 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
36361         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36362         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36364 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
36366         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36368 2010-11-11  Andreas Schwab  <schwab@redhat.com>
36370         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36371         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36372         (tst-fnmatch-ENV): Set MALLOC_TRACE.
36373         ($(objpfx)tst-fnmatch-mem): New rule.
36374         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36375         * posix/tst-fnmatch.c (main): Call mtrace.
36377 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
36379         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36380         Support Intel processor model 6 and model 0x2c.
36382 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
36384         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36385           signed comparison.
36387 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
36389         [BZ #12205]
36390         * string/test-strncasecmp.c (check_result): New function.
36391         (do_one_test): Use it.
36392         (check1): New function.
36393         (test_main): Use it.
36394         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36395         Support strcasecmp and strncasecmp.
36397 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
36399         [BZ #12194]
36400         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36401         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36403 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36405         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36406         IFUNC support.
36407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36408         memset-x86-64.
36409         * sysdeps/x86_64/multiarch/bzero.S: New file.
36410         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36411         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36412         * sysdeps/x86_64/multiarch/memset.S: New file.
36413         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36414         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36415         Set bit_Prefer_SSE_for_memop for Intel processors.
36416         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36417         Define.
36418         (index_Prefer_SSE_for_memop): Define.
36419         (HAS_PREFER_SSE_FOR_MEMOP): Define.
36421 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
36423         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36424         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36426 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
36428         [BZ #12191]
36429         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36430         (__x86_64_raw_data_cache_size_half): Likewise.
36431         (__x86_64_raw_shared_cache_size): Likewise.
36432         (__x86_64_raw_shared_cache_size_half): Likewise.
36434         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36435         (__x86_64_raw_data_cache_size_half): Likewise.
36436         (__x86_64_raw_shared_cache_size): Likewise.
36437         (__x86_64_raw_shared_cache_size_half): Likewise.
36438         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36439         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36440         and __x86_64_raw_shared_cache_size_half.  Round
36441         __x86_64_data_cache_size_half, __x86_64_data_cache_size
36442         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36443         to multiple of 256 bytes.
36445 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
36447         [BZ #12167]
36448         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36449         of inacessible symlinks.  Verify result of symlink before returning it.
36450         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36451         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36453 2010-10-28  Erich Ritz  <erichritz@gmail.com>
36455         * math/math.h (isinf): Fix typo in comment.
36457 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
36459         * po/da.po: Update from translation team.
36461 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
36463         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36464         is added to the list.
36466 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36467             Ulrich Drepper  <drepper@gmail.com>
36469         * elf/dl-object.c (_dl_new_object): Don't append the new object to
36470         the global list here.  Move code to...
36471         (_dl_add_to_namespace_list): ...here.  New function.
36472         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36473         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36474         * elf/dl-load.c (lose): Don't remove the element from the list.
36475         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36476         (_dl_map_object): Likewise.
36478 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
36480         [BZ #12159]
36481         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36482         into all bytes of SSE register.
36483         Patch by Richard Li <richardpku@gmail.com>.
36485 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
36487         [BZ #12140]
36488         * malloc/malloc.c (_int_free): Fill correct number of bytes when
36489         perturbing.
36491 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
36493         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36494         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36495         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36496         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36498         submachine.
36499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36501 2010-10-22  Andreas Schwab  <schwab@redhat.com>
36503         * include/dlfcn.h (__RTLD_SECURE): Define.
36504         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
36505         mode & __RTLD_SECURE instead.
36506         (open_path): Rename preloaded parameter to secure.
36507         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36508         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36509         * elf/dl-deps.c (openaux): Likewise.
36510         * elf/rtld.c (struct map_args): Remove is_preloaded.
36511         (map_doit): Don't use it.
36512         (dl_main): Likewise.
36513         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36514         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36516 2010-09-09  Andreas Schwab  <schwab@redhat.com>
36518         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36519         (sysd-rules-targets): Remove duplicates.
36520         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36521         rtld-%.$o dependency.
36523 2010-10-18  Andreas Schwab  <schwab@redhat.com>
36525         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36526         _dl_map_object do it.
36528 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
36530         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36531         fast fma builtins, define the macros in the C99 standard.
36532         (FP_FAST_FMAF): Likewise.
36533         (FP_FAST_FMAL): Likewise.
36534         * sysdeps/x86_64/bits/mathdef.h: Likewise.
36536         * bits/mathdef.h: Update copyright year.
36537         * sysdeps/powerpc/bits/mathdef.h: Likewise.
36539 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
36541         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36542         builtins, define the macros in the C99 standard.
36543         (FP_FAST_FMAF): Likewise.
36544         (FP_FAST_FMAL): Likewise.
36545         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36546         multiply/add.
36547         (FP_FAST_FMAF): Likewise.
36549 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
36551         [BZ #3268]
36552         * math/libm-test.inc (fma_test): Some new testcases.
36553         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36554         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36555         y and infinite z.  Do multiplication by C already in long double.
36556         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36558         y and infinite z.  Do bitwise or of inexact bit into u.d.
36559         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36560         * sysdeps/i386/fpu/s_fmaf.S: Removed.
36561         * sysdeps/i386/fpu/s_fma.S: Removed.
36562         * sysdeps/i386/fpu/s_fmal.S: Removed.
36564 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
36566         [BZ #3268]
36567         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36568         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36569         computation is not scheduled after fetestexcept.  Fix value
36570         of minimum denormal long double.
36572 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
36574         [BZ #3268]
36575         * math/libm-test.inc (fma_test): Add some more tests.
36576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36577         correctly.
36579 2010-10-15  Andreas Schwab  <schwab@redhat.com>
36581         * scripts/data/localplt-s390-linux-gnu.data: New file.
36582         * scripts/data/localplt-s390x-linux-gnu.data: New file.
36584 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
36586         [BZ #3268]
36587         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36588         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36589         instead of dbl-64.
36590         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36591         inlines.
36592         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36594         if one of x and y is very large and the other is subnormal.
36595         * sysdeps/s390/fpu/s_fmaf.c: New file.
36596         * sysdeps/s390/fpu/s_fma.c: New file.
36597         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36598         * sysdeps/powerpc/fpu/s_fma.S: New file.
36599         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36600         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36601         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36603 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
36605         [BZ #3268]
36606         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36607         fma tests.
36608         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36609         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36610         * sysdeps/i386/i686/multiarch/s_fma.c: Include
36611         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36612         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36613         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36614         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36616 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
36618         [BZ #12078]
36619         * posix/regcomp.c (parse_branch): One more memory leak plugged.
36620         * posix/bug-regex31.input: Add test case.
36622 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36624         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36625         * posix/bug-regex31.input: New file.
36627         [BZ #12078]
36628         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36629         (parse_sub_exp): Fix last change, use postorder.
36631         * posix/bug-regex31.c: New file.
36632         * posix/Makefile: Add rules to build and run bug-regex31.
36634         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36636         [BZ #12078]
36637         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36639         [BZ #12108]
36640         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36641         to have entries in sys_siglist.
36643         [BZ #12093]
36644         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36645         be NULL.
36647 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
36649         [BZ #3268]
36650         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36651         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36652         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36653         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36654         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36655         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36656         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36657         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36658         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36659         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36660         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36661         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36662         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36663         * math/ftestexcept.c (fetestexcept): Likewise.
36664         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36665         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36666         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36667         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36668         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36669         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36670         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36672 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36674         [BZ #12107]
36675         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36676         newline.
36678 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
36680         * string/bug-strstr1.c: New file.
36681         * string/Makefile: Add rules to build and run bug-strstr1.
36683 2010-10-05  Eric Blake  <eblake@redhat.com>
36685         [BZ #12092]
36686         * string/str-two-way.h (two_way_long_needle): Always clear memory
36687         when skipping input due to the shift table.
36689 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36691         [BZ #12005]
36692         * malloc/mcheck.c: Handle large requests.
36694         [BZ #12077]
36695         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36696         for strncmp and strncasecmp.
36697         * string/stratcliff.c: Add tests for strcmp and strncmp.
36698         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36700 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36702         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36703         __set_fpscr.
36705 2010-09-30  Andreas Jaeger  <aj@suse.de>
36707         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36708         (CGROUP_SUPER_MAGIC): Define.
36709         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36710         Handle btrfs and cgroup file systems.
36711         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36712         Likewise.
36714 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36716         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36717         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36719 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36721         [BZ #12067]
36722         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36723         trying to locate the ELF header.
36725 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36727         [BZ #11611]
36728         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36729         Mask out sign-bit copies when constructing f_fsid.
36731 2010-09-24  Petr Baudis <pasky@suse.cz>
36733         * debug/stack_chk_fail_local.c: Add missing licence exception.
36734         * debug/warning-nop.c: Likewise.
36736 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36738         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36739         implementing getdents64 using getdents syscall, set d_type if
36740         __ASSUME_GETDENTS32_D_TYPE.
36742 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36744         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36745         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36747 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36749         [BZ #12037]
36750         * posix/unistd.h: Undo change of feature selection for ftruncate from
36751         2010-01-11.
36753 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36755         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36756         detection.
36758 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36760         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36761         fanotify_mark.
36762         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36764 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36766         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36767         variables after CHECK_SP call.
36768         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36770 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36771             Ulrich Drepper  <drepper@redhat.com>
36773         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36774         re-relocationg ld.so.
36775         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36776         _dl_init_paths call.
36777         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36778         here anymore.
36780 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36782         * resolv/res_init.c (__res_vinit): Count the default server we added.
36784 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36785             Ulrich Drepper  <drepper@redhat.com>
36787         [BZ #11968]
36788         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36789         (____longjmp_chk): Use %ebx for saving value across system call.
36790         Add unwind info.
36792 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36794         * manual/Makefile: Don't mix pattern rules with normal rules.
36796 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36798         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36799         operation.
36800         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36801         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36802         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36803         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36804         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36805         Likewise.
36807 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36809         [BZ #11979]
36810         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36811         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36813 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36815         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36816         * sysdeps/x86_64/addmul_1.S: Likewise.
36817         * sysdeps/x86_64/lshift.S: Likewise.
36818         * sysdeps/x86_64/mul_1.S: Likewise.
36819         * sysdeps/x86_64/rshift.S: Likewise.
36820         * sysdeps/x86_64/sub_n.S: Likewise.
36821         * sysdeps/x86_64/submul_1.S: Likewise.
36823 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36825         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36826         Define __sched_param instead of SCHED_* and sched_param when
36827         <bits/sched.h> is included with __need_schedparam defined.
36828         * bits/sched.h [__need_schedparam]
36829         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36830         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36831         (__defined_schedparam): Define to 1.
36832         (__sched_param): New structure, identical to sched_param.
36833         (__need_schedparam): Undefine.
36835 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36837         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36838         (epoll_create1): Declare.
36840         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36842 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36844         [BZ #7066]
36845         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36846         shifting retval into place.
36848 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36850         * nis/rpcsvc/nis.h: Update copyright notice.
36851         * nis/rpcsvc/nis.x: Likewise.
36852         * nis/rpcsvc/nis_callback.h: Likewise.
36853         * nis/rpcsvc/nis_callback.x: Likewise.
36854         * nis/rpcsvc/nis_object.x: Likewise.
36855         * nis/rpcsvc/nis_tags.h: Likewise.
36856         * nis/rpcsvc/yp.h: Likewise.
36857         * nis/rpcsvc/yp.x: Likewise.
36858         * nis/rpcsvc/ypupd.h: Likewise.
36859         * nis/yp_xdr.c: Likewise.
36860         * nis/ypupdate_xdr.c: Likewise.
36862         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36863         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36864         (pmap_getport): Use __libc_rpc_getport.
36865         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36866         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36867         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36869 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36872         fanotify_mark.
36874 2010-08-27  Roland McGrath  <roland@redhat.com>
36876         * sysdeps/i386/i686/multiarch/Makefile
36877         (CFLAGS-varshift.c): New variable.
36879 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36881         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36882         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36884         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36886         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36888 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36890         * sysdeps/x86_64/strlen.S: Unroll the loop.
36891         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36892         strlen-sse2 strlen-sse2-bsf.
36893         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36894         __strlen_no_bsf if bit_Slow_BSF is set.
36895         (__strlen_sse42): Removed.
36896         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36897         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36899 2010-08-25  Roland McGrath  <roland@redhat.com>
36901         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36902         * sysdeps/x86_64/multiarch/varshift.c: New file.
36903         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36904         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36905         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36906         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36908 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36911         strlen-sse2 strlen-sse2-bsf.
36912         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36913         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36914         (__strlen_sse2): Removed.
36915         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36916         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36918         bit_Slow_BSF for Atom.
36919         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36920         (index_Slow_BSF): Define.
36921         (HAS_SLOW_BSF): Define.
36923 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36925         [BZ #10851]
36926         * resolv/res_init.c (__res_vinit): When no server address at all
36927         is given default to loopback.
36929 2010-08-24  Roland McGrath  <roland@redhat.com>
36931         * configure.in: Remove config-name.h generation.
36932         * configure: Regenerated.
36933         * config-name.in: File removed.
36934         * scripts/config-uname.sh: New file.
36935         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36936         ($(objdir)config-name.h): New target.
36938         * sunrpc/rpc_parse.h: Avoid nested comment.
36940 2010-08-24  Richard Henderson  <rth@redhat.com>
36941             Ulrich Drepper  <drepper@redhat.com>
36942             H.J. Lu  <hongjiu.lu@intel.com>
36944         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36946         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36947         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36948         _mm_alignr_epi8 with _mm_loadu_si128.
36949         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36950         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36951         (__m128i_shift_right): Removed.
36952         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36953         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36954         * sysdeps/x86_64/multiarch/varshift.h: New file.
36955         * sysdeps/x86_64/multiarch/varshift.S: New file.
36957 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36959         * configure.in: Move assembler checks to before sysdep dir checking.
36961 2010-08-20  Petr Baudis  <pasky@suse.cz>
36963         * LICENSES: Sync the sunrpc license.
36965 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36967         * sunrpc/auth_des.c: Update copyright notice once again.
36968         * sunrpc/auth_none.c: Likewise.
36969         * sunrpc/auth_unix.c: Likewise.
36970         * sunrpc/authdes_prot.c: Likewise.
36971         * sunrpc/authuxprot.c: Likewise.
36972         * sunrpc/bindrsvprt.c: Likewise.
36973         * sunrpc/clnt_gen.c: Likewise.
36974         * sunrpc/clnt_perr.c: Likewise.
36975         * sunrpc/clnt_raw.c: Likewise.
36976         * sunrpc/clnt_simp.c: Likewise.
36977         * sunrpc/clnt_tcp.c: Likewise.
36978         * sunrpc/clnt_udp.c: Likewise.
36979         * sunrpc/clnt_unix.c: Likewise.
36980         * sunrpc/des_crypt.c: Likewise.
36981         * sunrpc/des_soft.c: Likewise.
36982         * sunrpc/get_myaddr.c: Likewise.
36983         * sunrpc/getrpcport.c: Likewise.
36984         * sunrpc/key_call.c: Likewise.
36985         * sunrpc/key_prot.c: Likewise.
36986         * sunrpc/openchild.c: Likewise.
36987         * sunrpc/pm_getmaps.c: Likewise.
36988         * sunrpc/pm_getport.c: Likewise.
36989         * sunrpc/pmap_clnt.c: Likewise.
36990         * sunrpc/pmap_prot.c: Likewise.
36991         * sunrpc/pmap_prot2.c: Likewise.
36992         * sunrpc/pmap_rmt.c: Likewise.
36993         * sunrpc/rpc/auth.h: Likewise.
36994         * sunrpc/rpc/auth_unix.h: Likewise.
36995         * sunrpc/rpc/clnt.h: Likewise.
36996         * sunrpc/rpc/des_crypt.h: Likewise.
36997         * sunrpc/rpc/key_prot.h: Likewise.
36998         * sunrpc/rpc/netdb.h: Likewise.
36999         * sunrpc/rpc/pmap_clnt.h: Likewise.
37000         * sunrpc/rpc/pmap_prot.h: Likewise.
37001         * sunrpc/rpc/pmap_rmt.h: Likewise.
37002         * sunrpc/rpc/rpc.h: Likewise.
37003         * sunrpc/rpc/rpc_des.h: Likewise.
37004         * sunrpc/rpc/rpc_msg.h: Likewise.
37005         * sunrpc/rpc/svc.h: Likewise.
37006         * sunrpc/rpc/svc_auth.h: Likewise.
37007         * sunrpc/rpc/types.h: Likewise.
37008         * sunrpc/rpc/xdr.h: Likewise.
37009         * sunrpc/rpc_clntout.c: Likewise.
37010         * sunrpc/rpc_cmsg.c: Likewise.
37011         * sunrpc/rpc_common.c: Likewise.
37012         * sunrpc/rpc_cout.c: Likewise.
37013         * sunrpc/rpc_dtable.c: Likewise.
37014         * sunrpc/rpc_hout.c: Likewise.
37015         * sunrpc/rpc_main.c: Likewise.
37016         * sunrpc/rpc_parse.c: Likewise.
37017         * sunrpc/rpc_parse.h: Likewise.
37018         * sunrpc/rpc_prot.c: Likewise.
37019         * sunrpc/rpc_sample.c: Likewise.
37020         * sunrpc/rpc_scan.c: Likewise.
37021         * sunrpc/rpc_scan.h: Likewise.
37022         * sunrpc/rpc_svcout.c: Likewise.
37023         * sunrpc/rpc_tblout.c: Likewise.
37024         * sunrpc/rpc_util.c: Likewise.
37025         * sunrpc/rpc_util.h: Likewise.
37026         * sunrpc/rpcinfo.c: Likewise.
37027         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37028         * sunrpc/rpcsvc/key_prot.x: Likewise.
37029         * sunrpc/rpcsvc/klm_prot.x: Likewise.
37030         * sunrpc/rpcsvc/mount.x: Likewise.
37031         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37032         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37033         * sunrpc/rpcsvc/rex.x: Likewise.
37034         * sunrpc/rpcsvc/rstat.x: Likewise.
37035         * sunrpc/rpcsvc/rusers.x: Likewise.
37036         * sunrpc/rpcsvc/sm_inter.x: Likewise.
37037         * sunrpc/rpcsvc/spray.x: Likewise.
37038         * sunrpc/rpcsvc/yppasswd.x: Likewise.
37039         * sunrpc/rtime.c: Likewise.
37040         * sunrpc/svc.c: Likewise.
37041         * sunrpc/svc_auth.c: Likewise.
37042         * sunrpc/svc_authux.c: Likewise.
37043         * sunrpc/svc_raw.c: Likewise.
37044         * sunrpc/svc_run.c: Likewise.
37045         * sunrpc/svc_simple.c: Likewise.
37046         * sunrpc/svc_tcp.c: Likewise.
37047         * sunrpc/svc_udp.c: Likewise.
37048         * sunrpc/svc_unix.c: Likewise.
37049         * sunrpc/svcauth_des.c: Likewise.
37050         * sunrpc/xcrypt.c: Likewise.
37051         * sunrpc/xdr.c: Likewise.
37052         * sunrpc/xdr_array.c: Likewise.
37053         * sunrpc/xdr_float.c: Likewise.
37054         * sunrpc/xdr_mem.c: Likewise.
37055         * sunrpc/xdr_rec.c: Likewise.
37056         * sunrpc/xdr_ref.c: Likewise.
37057         * sunrpc/xdr_sizeof.c: Likewise.
37058         * sunrpc/xdr_stdio.c: Likewise.
37060         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37061         handling.
37063 2010-08-19  Andreas Schwab  <schwab@redhat.com>
37065         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37067 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
37069         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37070         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37071         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37072         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37073         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37074         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37075         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37076         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37077         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37078         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37079         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37080         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37081         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37082         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37084 2010-07-26  Anton Blanchard  <anton@samba.org>
37086         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37087         * malloc/arena.c (heap_trim): Likewise.
37089 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
37091         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37092         here.  Not...
37093         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37094         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37096 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
37098         * sysdeps/i386/elf/Makefile: New file.
37100 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37102         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37103         from fanotify_init.
37104         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37105         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37107 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
37109         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37110         of strncasecmp_l.
37111         * sysdeps/multiarch/strcmp.S: Likewise.
37113 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
37115         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37116         strncase_l-nonascii.
37117         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37118         Add strncase_l-ssse3.
37119         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37120         * sysdeps/x86_64/strcmp.S: Likewise.
37121         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37122         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37123         * sysdeps/x86_64/strncase.S: New file.
37124         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37125         * sysdeps/x86_64/strncase_l.S: New file.
37126         * string/Makefile (strop-tests): Add strncasecmp.
37127         * string/test-strncasecmp.c: New file.
37129         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37130         warning.
37132         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37133         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37135 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
37137         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37139 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
37141         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37142         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37143         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37145 2010-05-01  Alan Modra  <amodra@gmail.com>
37147         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37148         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37149         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37150         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37151         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37152         tidying.  Don't tail-call __sigjmp_save for static lib.
37153         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37154         save location.
37155         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37156         (CALL_MCOUNT): Add eh info, and nop after bl.
37157         (TAIL_CALL_SYSCALL_ERROR): New macro.
37158         (PSEUDO_RET): Use it.
37159         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37160         Correct save location of integer regs and cr.
37161         (_dl_profile_resolve): Correct cr save location.  Delete nops
37162         after bl when SHARED.  Reduce cfi size a little by better
37163         placement of cfi directives.
37164         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37165         make a stack frame.  Instead use parm save area as a temp.
37166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37167         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
37168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37169         Don't make a stack frame for parent, use parm save area.
37170         Increase child stack frame to 112 bytes.  Don't save unused reg,
37171         and adjust reg usage.  Set up cfi on error recovery and
37172         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37174         (__makecontext): Add dummy nop after jump to exit.
37175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37176         Use correct parm save area and cr save, reduce stack frame.
37177         Correct cfi for possible PSEUDO_RET frame setup.
37178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37179         Branch to local label emitted by PSEUDO_RET rather than
37180         __syscall_error.
37182 2010-08-12  Andreas Schwab  <schwab@redhat.com>
37184         [BZ #11904]
37185         * locale/programs/locale.c (print_assignment): New function.
37186         (show_locale_vars): Use it.
37188 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
37190         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37191         field.
37192         (struct statfs64): Likewise.
37193         (_STATFS_F_FLAGS): Define.
37194         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37195         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37196         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37197         (ST_VALID): Define locally.
37198         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37199         __statvfs_getflags, use the provided value.
37200         * sysdeps/unix/sysv/linux/kernel-features.h: Define
37201         __ASSUME_STATFS_F_FLAGS.
37203         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37205         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37206         Add sys/fanotify.h.
37207         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37208         fanotify_mask for GLIBC_2.13.
37209         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37210         fanotify_init and fanotify_mark.
37211         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37212         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37214         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37215         Add prlimit.
37216         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37217         prlimit64 for GLIBC_2.13.
37218         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37219         prlimit64.
37220         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37221         syscall.
37222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37223         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37224         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37225         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37226         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
37227         add prlimit alias.
37228         * sysdeps/unix/sysv/linux/prlimit.c: New file.
37230         [BZ #11903]
37231         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37232         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37234         * nss/Makefile: Add rules to build and run tst-nss-test1.
37235         * shlib-versions: Add entry for libnss_test1.
37236         * nss/nss_test1.c: New file.
37237         * nss/tst-nss-test1.c: New file.
37239         * nss/nsswitch.c (__nss_database_custom): Define new variable.
37240         (__nss_configure_lookup): Set appropriate entry in
37241         __nss_configure_lookup to true.
37242         * nss/nsswitch.h: Define enum with indeces of databases in
37243         databases and __nss_database_custom arrays.  Declare
37244         __nss_database_custom.
37245         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37246         to avoid using nscd when custom rules are installed.
37247         * nss/getXXbyYY_r.c: Likewise.
37248         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37250         * nss/nss_files/files-parse.c: Whitespace fixes.
37252 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
37254         [BZ #11883]
37255         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37256         * posix/fnmatch_loop.c: Likewise.
37258 2010-07-17  Andi Kleen  <ak@linux.intel.com>
37260         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37261         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37262         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37263         * Versions.def [GLIBC_2.13]: Add.
37265 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
37267         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37268         Also fail if tpwd after pwuid call is NULL.
37270 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37272         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37273         when converting to ms.
37275 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37277         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37278         EOPNOTSUPP errors with ENOTTY.
37279         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37280         EOPNOTSUPP errors with ENOTTY.
37282 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
37284         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37285         Add strcasecmp_l-ssse3.
37286         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37287         strcasecmp.
37288         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37289         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37290         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37292 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
37294         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37296         * string/Makefile (strop-tests): Add strcasecmp.
37297         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37298         strcasecmp_l-nonascii.
37299         (gen-as-const-headers): Add locale-defines.sym.
37300         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37301         * sysdeps/x86_64/strcasecmp.S: New file.
37302         * sysdeps/x86_64/strcasecmp_l.S: New file.
37303         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37304         * sysdeps/x86_64/locale-defines.sym: New file.
37305         * string/test-strcasecmp.c: New file.
37307         * string/test-strcasestr.c: Test both ends of the range of characters.
37308         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37310 2010-07-29  Roland McGrath  <roland@redhat.com>
37312         [BZ #11856]
37313         * manual/locale.texi (Yes-or-No Questions): Fix example code.
37315 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
37317         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37318         for ld.so.
37320 2010-07-27  Andreas Schwab  <schwab@redhat.com>
37322         * manual/memory.texi (Malloc Tunable Parameters): Document
37323         M_PERTURB.
37325 2010-07-26  Roland McGrath  <roland@redhat.com>
37327         [BZ #11840]
37328         * configure.in (-fgnu89-inline check): Set and substitute
37329         gnu89_inline, not libc_cv_gnu89_inline.
37330         * configure: Regenerated.
37331         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37333 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
37335         * string/test-strnlen.c: New file.
37336         * string/Makefile (strop-tests): Add strnlen.
37337         * string/tester.c (test_strnlen): Add a few more test cases.
37338         * string/tst-strlen.c: Better error reporting.
37340         * sysdeps/x86_64/strnlen.S: New file.
37342 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
37344         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37345         lower-latency instructions.
37347 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
37349         * string/test-strcasestr.c: New file.
37350         * string/test-strstr.c: New file.
37351         * string/Makefile (strop-tests): Add strstr and strcasestr.
37352         * string/str-two-way.h: Don't undefine MAX.
37353         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37355 2010-07-21  Andreas Schwab  <schwab@redhat.com>
37357         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37358         strcasestr-nonascii.
37359         (CFLAGS-strcasestr-nonascii.c): Define.
37360         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37361         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37362         Remove unused attribute.
37364 2010-07-20  Roland McGrath  <roland@redhat.com>
37366         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37367         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
37368         ld.so.cache was broken.  With it, there is no way to disable dsocaps
37369         like LD_HWCAP_MASK can disable hwcaps.
37371 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37373         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37375 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
37377         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37378         call in strcasestr.
37379         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37380         __strcasestr_sse42_nonascii.
37381         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37382         strcasestr-nonascii.c.
37383         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37385 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
37387         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37388         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37389         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37390         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37392 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
37394         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37395         fcntl.
37397 2010-07-06  Andreas Schwab  <schwab@redhat.com>
37399         [BZ #11577]
37400         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37401         dl_signal_cerror.
37403 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
37405         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37406         _PC_PIPE_BUF using F_GETPIPE_SZ.
37408 2010-07-05  Roland McGrath  <roland@redhat.com>
37410         * manual/arith.texi (Rounding Functions): Fix rint description
37411         implicit in round description.
37413 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
37415         * elf/Makefile: Fix linking for a few tests to make recent linker
37416         happy.
37418 2010-06-30  Andreas Schwab  <schwab@redhat.com>
37420         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37421         $(common-objpfx)libc_nonshared.a.
37423 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
37425         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37426         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37427         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37428         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37429         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37430         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37431         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37432         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37447         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37448         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37449         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37450         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37451         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37452         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37453         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37454         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37455         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37456         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37457         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37458         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37474 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
37476         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37477         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
37478         * string/memmove.c (memmove): Renamed to ...
37479         (MEMMOVE): ...this.  Default to memmove.
37480         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37481         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37482         (END_CHK): Define.
37483         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37484         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37485         mempcpy-ssse3-back memmove-ssse3-back.
37486         * sysdeps/x86_64/multiarch/bcopy.S: New file .
37487         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37488         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37489         * sysdeps/x86_64/multiarch/memcpy.S: New file.
37490         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37491         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37492         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37493         * sysdeps/x86_64/multiarch/memmove.c: New file.
37494         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37495         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37496         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37497         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37498         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37499         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37500         Define.
37501         (index_Fast_Copy_Backward): Define.
37502         (HAS_ARCH_FEATURE): Define.
37503         (HAS_FAST_REP_STRING): Define.
37504         (HAS_FAST_COPY_BACKWARD): Define.
37506 2010-06-21  Andreas Schwab  <schwab@redhat.com>
37508         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37509         Restore proper fallback handling.
37511 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
37513         [BZ #11701]
37514         * posix/group_member.c (__group_member): Correct checking loop.
37516         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37517         OOM in getpwuid_r correctly.  Return error number when the caller
37518         should return, otherwise -1.
37519         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37520         call returning > 0 value.
37521         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37523 2010-06-07  Andreas Schwab  <schwab@redhat.com>
37525         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37526         libc_nonshared.a from targets in modules-names.
37528 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
37530         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37531         requires it.
37533 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
37535         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37536         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37537         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37538         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37540 2010-06-02  Andreas Schwab  <schwab@redhat.com>
37542         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37544 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
37546         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37547         and F_GETPIPE_SZ.
37548         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37549         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37550         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37552         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37553         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37555 2010-06-14  Roland McGrath  <roland@redhat.com>
37557         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37559 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
37561         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37562         __REDIRECT followed by __THROW.
37563         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37564         * posix/getopt.h (getopt): Likewise.
37566 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
37568         * hurd/lookup-at.c (__file_name_lookup_at): Accept
37569         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
37570         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37571         in AT_FLAGS.
37572         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37573         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37575 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
37577         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37579 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
37581         [BZ #11640]
37582         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37583         Properly check family and model.
37585 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
37587         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37589 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
37591         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37593 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
37595         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37596         symbol reference.
37598 2010-05-19  Andreas Schwab  <schwab@redhat.com>
37600         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37601         symbol reference.
37603 2010-05-21  Andreas Schwab  <schwab@redhat.com>
37605         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37606         and internal_recvmmsg.
37607         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37608         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37609         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37610         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37612         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37613         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37614         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37616 2010-05-20  Andreas Schwab  <schwab@redhat.com>
37618         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37620 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
37622         POWER7 optimizations.
37623         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37624         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37626 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
37628         * version.h: Update for 2.13 development version.
37630 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
37632         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37633         exceptions.  Return 0.
37635 2010-05-07  Roland McGrath  <roland@redhat.com>
37637         * elf/ldconfig.c (main): Add a const.
37639 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
37641         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37642         (args_options): Add no-idn option.
37643         (ahosts_keys_int): Add idn_flags to ai_flags.
37644         (parse_option): Handle 'i' option to clear idn_flags.
37646         * malloc/malloc.c (_int_free): Possible race in the most recently
37647         added check.  Only act on the data if no current modification
37648         happened.
37650 See ChangeLog.17 for earlier changes.