sotruss: drop ksh support and add basic POSIX shell support
[glibc.git] / ChangeLog
blob64b93efed8275a20b809d42321fc6fe1974de1ff
1 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3         * elf/Makefile: Delete $(have-ksh) check.
4         ($(objpfx)sotruss): Change KSH to BASH.
5         * elf/sotruss.ksh: Rename to ...
6         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7         function style to match POSIX.  Drop ksh vim mode setting.
9 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
11         * manual/time.texi (Specifying the Time Zone with TZ): Change
12         Tuesday to Thursday.
14 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16         * debug/tst-longjmp_chk2.c: Update header comment.
17         (stackoverflow_handler): Add comment.  Call assert on pass value.
19 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
21         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22         (HAVE_AVX512_ASM_SUPPORT): Likewise.
23         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
24         (La_x86_64_vector): Add zmm.
25         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
26         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
27         ($(objpfx)tst-audit10): New target.
28         ($(objpfx)tst-audit10.out): Likewise.
29         (tst-audit10-ENV): New.
30         (AVX512-CFLAGS): Likewise.
31         (CFLAGS-tst-audit10.c): Likewise.
32         (CFLAGS-tst-auditmod10a.c): Likewise.
33         (CFLAGS-tst-auditmod10b.c): Likewise.
34         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
35         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36         * sysdeps/x86_64/configure: Regenerated.
37         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38         AVX-512 zmm register support.
39         (_dl_x86_64_save_sse): Likewise.
40         (_dl_x86_64_restore_sse): Likewise.
41         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
42         size vector registers.
43         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44         (ZMM_SIZE): Likewise.
45         * sysdeps/x86_64/tst-audit10.c: New file.
46         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
49 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51         * configure.ac (HAVE_EHDR_START): New check.
52         * configure: Regenerated.
53         * config.h.in (HAVE_EHDR_START): New #undef.
54         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
55         assuming the lowest-addressed segment maps the start of the file.
57 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
59         * INSTALL: Regenerated.
61 2014-03-13  Will Newton  <will.newton@linaro.org>
63         * manual/setjmp.texi (System V contexts): Improve
64         clarity and grammar of documentation.
66 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
68         [BZ #16381]
69         * elf/Makefile (tests): Add tst-pie2.
70         (tests-pie): Add tst-pie2.
71         * elf/tst-pie2.c: New file.
72         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
73         for ET_EXEC.
74         * elf/rtld.c (map_doit): Load executable as lt_executable.
75         (dl_main): Likewise.
77 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
79         [BZ #16642]
80         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
81         (__ASSUME_PSELECT): Undefine.
83 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85         [BZ #16689]
86         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
87         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
88         static build.
89         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
90         selector for static builds.
92 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
94         [BZ #16695]
95         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
96         key in the buffer.
98 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
100         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
101         selector for static builds.
103 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
105         * sysdeps/mips/math_private.h [__mips_hard_float]
106         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
107         libc_feresetround_mips_ctx.
108         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
109         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
110         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
112         [BZ #16677]
113         * math/s_nextafter.c (__nextafter): Do not return value from
114         overflowing computation.
115         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
116         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
117         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
118         Likewise.
119         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
120         Likewise.
121         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
122         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
124 2014-03-11  Roland McGrath  <roland@hack.frob.com>
126         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
127         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
128         Move sfi_sp use from the load-multiple (that no longer sets sp) to
129         the new mov targetting sp.
131 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
133         [BZ #16683]
134         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
135         Define it for static builds as well.
136         (NO_BZERO_IMPL): Likewise.
138 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
140         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
141         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
142         multiarch strspn for PPC64.
143         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
144         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
146         (__libc_ifunc_impl_list): Likewise.
147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
148         multiarch optimizations
149         * string/strspn.c (strspn): Using macro to redefine symbol name.
151 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
152             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
154         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
155         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
156         multiarch strncat for PPC64.
157         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
158         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
160         (__libc_ifunc_impl_list): Likewise.
161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
162         multiarch optimizations
164 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
166         [BZ #16639]
167         * nscd/nscd.service: Make service type forking.
169 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
171         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
172         sign in non default rounding modes.
173         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
175 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
177         * math/libm-test.inc (ALL_RM_TEST): New macro.
178         (ceil_test): Use ALL_RM_TEST.
179         (cimag_test): Likewise.
180         (conj_test): Likewise.
181         (copysign_test): Likewise.
182         (cproj_test): Likewise.
183         (creal_test): Likewise.
184         (fabs_test): Likewise.
185         (floor_test): Likewise.
186         (fmax_test): Likewise.
187         (fmin_test): Likewise.
188         (fmod_test): Likewise.
189         (fpclassify_test): Likewise.
190         (frexp_test): Likewise.
191         (ilogb_test): Likewise.
192         (isfinite_test): Likewise.
193         (finite_test): Likewise.
194         (isgreater_test): Likewise.
195         (isgreaterequal_test): Likewise.
196         (isinf_test): Likewise.
197         (isless_test): Likewise.
198         (islessequal_test): Likewise.
199         (islessgreater_test): Likewise.
200         (isnan_test): Likewise.
201         (isnormal_test): Likewise.
202         (issignaling_test): Likewise.
203         (isunordered_test): Likewise.
204         (logb_test): Likewise.
205         (logb_downward_test_data): Remove.
206         (logb_test_downward): Likewise.
207         (lround_test): Use ALL_RM_TEST.
208         (llround_test): Likewise.
209         (modf_test): Likewise.
210         (nexttoward_test): Likewise.
211         (remainder_test): Likewise.
212         (drem_test): Likewise.
213         (remainder_tonearest_test_data): Likewise.
214         (remainder_test_tonearest): Likewise.
215         (drem_test_tonearest): Likewise.
216         (remainder_towardzero_test_data): Likewise.
217         (remainder_test_towardzero): Likewise.
218         (drem_test_towardzero): Likewise.
219         (remainder_downward_test_data): Likewise.
220         (remainder_test_downward): Likewise.
221         (drem_test_downward): Likewise.
222         (remainder_upward_test_data): Likewise.
223         (remainder_test_upward): Likewise.
224         (drem_test_upward): Likewise.
225         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
226         (round_test): Use ALL_RM_TEST.
227         (signbit_test): Likewise.
228         (trunc_test): Likewise.
229         (significand_test): Likewise.
230         (main): Don't call removed functions.
232 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
234         [BZ #16674]
235         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
236         || __USE_XOPEN2K8].
237         (ILL_ILLOPN): Likewise.
238         (ILL_ILLADR): Likewise.
239         (ILL_ILLTRP): Likewise.
240         (ILL_PRVOPC): Likewise.
241         (ILL_PRVREG): Likewise.
242         (ILL_COPROC): Likewise.
243         (ILL_BADSTK): Likewise.
244         (FPE_INTDIV): Likewise.
245         (FPE_INTOVF): Likewise.
246         (FPE_FLTDIV): Likewise.
247         (FPE_FLTOVF): Likewise.
248         (FPE_FLTUND): Likewise.
249         (FPE_FLTRES): Likewise.
250         (FPE_FLTINV): Likewise.
251         (FPE_FLTSUB): Likewise.
252         (SEGV_MAPERR): Likewise.
253         (SEGV_ACCERR): Likewise.
254         (BUS_ADRALN): Likewise.
255         (BUS_ADRERR): Likewise.
256         (BUS_OBJERR): Likewise.
257         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
258         (TRAP_TRACE): Likewise.
259         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
260         __USE_XOPEN2K8].
261         (CLD_KILLED): Likewise.
262         (CLD_DUMPED): Likewise.
263         (CLD_TRAPPED): Likewise.
264         (CLD_STOPPED): Likewise.
265         (CLD_CONTINUED): Likewise.
266         (POLL_IN): Likewise.
267         (POLL_OUT): Likewise.
268         (POLL_MSG): Likewise.
269         (POLL_ERR): Likewise.
270         (POLL_PRI): Likewise.
271         (POLL_HUP): Likewise.
272         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
273         Likewise.
274         (ILL_ILLOPN): Likewise.
275         (ILL_ILLADR): Likewise.
276         (ILL_ILLTRP): Likewise.
277         (ILL_PRVOPC): Likewise.
278         (ILL_PRVREG): Likewise.
279         (ILL_COPROC): Likewise.
280         (ILL_BADSTK): Likewise.
281         (FPE_INTDIV): Likewise.
282         (FPE_INTOVF): Likewise.
283         (FPE_FLTDIV): Likewise.
284         (FPE_FLTOVF): Likewise.
285         (FPE_FLTUND): Likewise.
286         (FPE_FLTRES): Likewise.
287         (FPE_FLTINV): Likewise.
288         (FPE_FLTSUB): Likewise.
289         (SEGV_MAPERR): Likewise.
290         (SEGV_ACCERR): Likewise.
291         (BUS_ADRALN): Likewise.
292         (BUS_ADRERR): Likewise.
293         (BUS_OBJERR): Likewise.
294         (BUS_MCEERR_AR): Likewise.
295         (BUS_MCEERR_AO): Likewise.
296         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
297         (TRAP_TRACE): Likewise.
298         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
299         __USE_XOPEN2K8].
300         (CLD_KILLED): Likewise.
301         (CLD_DUMPED): Likewise.
302         (CLD_TRAPPED): Likewise.
303         (CLD_STOPPED): Likewise.
304         (CLD_CONTINUED): Likewise.
305         (POLL_IN): Likewise.
306         (POLL_OUT): Likewise.
307         (POLL_MSG): Likewise.
308         (POLL_ERR): Likewise.
309         (POLL_PRI): Likewise.
310         (POLL_HUP): Likewise.
311         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
312         (ILL_ILLOPN): Likewise.
313         (ILL_ILLADR): Likewise.
314         (ILL_ILLTRP): Likewise.
315         (ILL_PRVOPC): Likewise.
316         (ILL_PRVREG): Likewise.
317         (ILL_COPROC): Likewise.
318         (ILL_BADSTK): Likewise.
319         (FPE_INTDIV): Likewise.
320         (FPE_INTOVF): Likewise.
321         (FPE_FLTDIV): Likewise.
322         (FPE_FLTOVF): Likewise.
323         (FPE_FLTUND): Likewise.
324         (FPE_FLTRES): Likewise.
325         (FPE_FLTINV): Likewise.
326         (FPE_FLTSUB): Likewise.
327         (SEGV_MAPERR): Likewise.
328         (SEGV_ACCERR): Likewise.
329         (BUS_ADRALN): Likewise.
330         (BUS_ADRERR): Likewise.
331         (BUS_OBJERR): Likewise.
332         (BUS_MCEERR_AR): Likewise.
333         (BUS_MCEERR_AO): Likewise.
334         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
335         (TRAP_TRACE): Likewise.
336         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
337         __USE_XOPEN2K8].
338         (CLD_KILLED): Likewise.
339         (CLD_DUMPED): Likewise.
340         (CLD_TRAPPED): Likewise.
341         (CLD_STOPPED): Likewise.
342         (CLD_CONTINUED): Likewise.
343         (POLL_IN): Likewise.
344         (POLL_OUT): Likewise.
345         (POLL_MSG): Likewise.
346         (POLL_ERR): Likewise.
347         (POLL_PRI): Likewise.
348         (POLL_HUP): Likewise.
349         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
350         Likewise.
351         (ILL_ILLOPN): Likewise.
352         (ILL_ILLADR): Likewise.
353         (ILL_ILLTRP): Likewise.
354         (ILL_PRVOPC): Likewise.
355         (ILL_PRVREG): Likewise.
356         (ILL_COPROC): Likewise.
357         (ILL_BADSTK): Likewise.
358         (ILL_BADIADDR): Likewise.
359         (ILL_BREAK): Likewise.
360         (FPE_INTDIV): Likewise.
361         (FPE_INTOVF): Likewise.
362         (FPE_FLTDIV): Likewise.
363         (FPE_FLTOVF): Likewise.
364         (FPE_FLTUND): Likewise.
365         (FPE_FLTRES): Likewise.
366         (FPE_FLTINV): Likewise.
367         (FPE_FLTSUB): Likewise.
368         (FPE_DECOVF): Likewise.
369         (FPE_DECDIV): Likewise.
370         (FPE_DECERR): Likewise.
371         (FPE_INVASC): Likewise.
372         (FPE_INVDEC): Likewise.
373         (SEGV_MAPERR): Likewise.
374         (SEGV_ACCERR): Likewise.
375         (SEGV_PSTKOVF): Likewise.
376         (BUS_ADRALN): Likewise.
377         (BUS_ADRERR): Likewise.
378         (BUS_OBJERR): Likewise.
379         (BUS_MCEERR_AR): Likewise.
380         (BUS_MCEERR_AO): Likewise.
381         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
382         (TRAP_TRACE): Likewise.
383         (TRAP_BRANCH): Likewise.
384         (TRAP_HWBKPT): Likewise.
385         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
386         __USE_XOPEN2K8].
387         (CLD_KILLED): Likewise.
388         (CLD_DUMPED): Likewise.
389         (CLD_TRAPPED): Likewise.
390         (CLD_STOPPED): Likewise.
391         (CLD_CONTINUED): Likewise.
392         (POLL_IN): Likewise.
393         (POLL_OUT): Likewise.
394         (POLL_MSG): Likewise.
395         (POLL_ERR): Likewise.
396         (POLL_PRI): Likewise.
397         (POLL_HUP): Likewise.
398         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
399         (ILL_ILLOPN): Likewise.
400         (ILL_ILLADR): Likewise.
401         (ILL_ILLTRP): Likewise.
402         (ILL_PRVOPC): Likewise.
403         (ILL_PRVREG): Likewise.
404         (ILL_COPROC): Likewise.
405         (ILL_BADSTK): Likewise.
406         (FPE_INTDIV): Likewise.
407         (FPE_INTOVF): Likewise.
408         (FPE_FLTDIV): Likewise.
409         (FPE_FLTOVF): Likewise.
410         (FPE_FLTUND): Likewise.
411         (FPE_FLTRES): Likewise.
412         (FPE_FLTINV): Likewise.
413         (FPE_FLTSUB): Likewise.
414         (SEGV_MAPERR): Likewise.
415         (SEGV_ACCERR): Likewise.
416         (BUS_ADRALN): Likewise.
417         (BUS_ADRERR): Likewise.
418         (BUS_OBJERR): Likewise.
419         (BUS_MCEERR_AR): Likewise.
420         (BUS_MCEERR_AO): Likewise.
421         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
422         (TRAP_TRACE): Likewise.
423         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
424         __USE_XOPEN2K8].
425         (CLD_KILLED): Likewise.
426         (CLD_DUMPED): Likewise.
427         (CLD_TRAPPED): Likewise.
428         (CLD_STOPPED): Likewise.
429         (CLD_CONTINUED): Likewise.
430         (POLL_IN): Likewise.
431         (POLL_OUT): Likewise.
432         (POLL_MSG): Likewise.
433         (POLL_ERR): Likewise.
434         (POLL_PRI): Likewise.
435         (POLL_HUP): Likewise.
436         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
437         (ILL_ILLOPN): Likewise.
438         (ILL_ILLADR): Likewise.
439         (ILL_ILLTRP): Likewise.
440         (ILL_PRVOPC): Likewise.
441         (ILL_PRVREG): Likewise.
442         (ILL_COPROC): Likewise.
443         (ILL_BADSTK): Likewise.
444         (FPE_INTDIV): Likewise.
445         (FPE_INTOVF): Likewise.
446         (FPE_FLTDIV): Likewise.
447         (FPE_FLTOVF): Likewise.
448         (FPE_FLTUND): Likewise.
449         (FPE_FLTRES): Likewise.
450         (FPE_FLTINV): Likewise.
451         (FPE_FLTSUB): Likewise.
452         (SEGV_MAPERR): Likewise.
453         (SEGV_ACCERR): Likewise.
454         (BUS_ADRALN): Likewise.
455         (BUS_ADRERR): Likewise.
456         (BUS_OBJERR): Likewise.
457         (BUS_MCEERR_AR): Likewise.
458         (BUS_MCEERR_AO): Likewise.
459         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
460         (TRAP_TRACE): Likewise.
461         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
462         __USE_XOPEN2K8].
463         (CLD_KILLED): Likewise.
464         (CLD_DUMPED): Likewise.
465         (CLD_TRAPPED): Likewise.
466         (CLD_STOPPED): Likewise.
467         (CLD_CONTINUED): Likewise.
468         (POLL_IN): Likewise.
469         (POLL_OUT): Likewise.
470         (POLL_MSG): Likewise.
471         (POLL_ERR): Likewise.
472         (POLL_PRI): Likewise.
473         (POLL_HUP): Likewise.
474         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
475         (ILL_ILLOPN): Likewise.
476         (ILL_ILLADR): Likewise.
477         (ILL_ILLTRP): Likewise.
478         (ILL_PRVOPC): Likewise.
479         (ILL_PRVREG): Likewise.
480         (ILL_COPROC): Likewise.
481         (ILL_BADSTK): Likewise.
482         (FPE_INTDIV): Likewise.
483         (FPE_INTOVF): Likewise.
484         (FPE_FLTDIV): Likewise.
485         (FPE_FLTOVF): Likewise.
486         (FPE_FLTUND): Likewise.
487         (FPE_FLTRES): Likewise.
488         (FPE_FLTINV): Likewise.
489         (FPE_FLTSUB): Likewise.
490         (SEGV_MAPERR): Likewise.
491         (SEGV_ACCERR): Likewise.
492         (BUS_ADRALN): Likewise.
493         (BUS_ADRERR): Likewise.
494         (BUS_OBJERR): Likewise.
495         (BUS_MCEERR_AR): Likewise.
496         (BUS_MCEERR_AO): Likewise.
497         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
498         (TRAP_TRACE): Likewise.
499         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
500         __USE_XOPEN2K8].
501         (CLD_KILLED): Likewise.
502         (CLD_DUMPED): Likewise.
503         (CLD_TRAPPED): Likewise.
504         (CLD_STOPPED): Likewise.
505         (CLD_CONTINUED): Likewise.
506         (POLL_IN): Likewise.
507         (POLL_OUT): Likewise.
508         (POLL_MSG): Likewise.
509         (POLL_ERR): Likewise.
510         (POLL_PRI): Likewise.
511         (POLL_HUP): Likewise.
512         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
513         (ILL_ILLOPN): Likewise.
514         (ILL_ILLADR): Likewise.
515         (ILL_ILLTRP): Likewise.
516         (ILL_PRVOPC): Likewise.
517         (ILL_PRVREG): Likewise.
518         (ILL_COPROC): Likewise.
519         (ILL_BADSTK): Likewise.
520         (ILL_DBLFLT): Likewise.
521         (ILL_HARDWALL): Likewise.
522         (FPE_INTDIV): Likewise.
523         (FPE_INTOVF): Likewise.
524         (FPE_FLTDIV): Likewise.
525         (FPE_FLTOVF): Likewise.
526         (FPE_FLTUND): Likewise.
527         (FPE_FLTRES): Likewise.
528         (FPE_FLTINV): Likewise.
529         (FPE_FLTSUB): Likewise.
530         (SEGV_MAPERR): Likewise.
531         (SEGV_ACCERR): Likewise.
532         (BUS_ADRALN): Likewise.
533         (BUS_ADRERR): Likewise.
534         (BUS_OBJERR): Likewise.
535         (BUS_MCEERR_AR): Likewise.
536         (BUS_MCEERR_AO): Likewise.
537         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
538         (TRAP_TRACE): Likewise.
539         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
540         __USE_XOPEN2K8].
541         (CLD_KILLED): Likewise.
542         (CLD_DUMPED): Likewise.
543         (CLD_TRAPPED): Likewise.
544         (CLD_STOPPED): Likewise.
545         (CLD_CONTINUED): Likewise.
546         (POLL_IN): Likewise.
547         (POLL_OUT): Likewise.
548         (POLL_MSG): Likewise.
549         (POLL_ERR): Likewise.
550         (POLL_PRI): Likewise.
551         (POLL_HUP): Likewise.
552         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
553         (ILL_ILLOPN): Likewise.
554         (ILL_ILLADR): Likewise.
555         (ILL_ILLTRP): Likewise.
556         (ILL_PRVOPC): Likewise.
557         (ILL_PRVREG): Likewise.
558         (ILL_COPROC): Likewise.
559         (ILL_BADSTK): Likewise.
560         (FPE_INTDIV): Likewise.
561         (FPE_INTOVF): Likewise.
562         (FPE_FLTDIV): Likewise.
563         (FPE_FLTOVF): Likewise.
564         (FPE_FLTUND): Likewise.
565         (FPE_FLTRES): Likewise.
566         (FPE_FLTINV): Likewise.
567         (FPE_FLTSUB): Likewise.
568         (SEGV_MAPERR): Likewise.
569         (SEGV_ACCERR): Likewise.
570         (BUS_ADRALN): Likewise.
571         (BUS_ADRERR): Likewise.
572         (BUS_OBJERR): Likewise.
573         (BUS_MCEERR_AR): Likewise.
574         (BUS_MCEERR_AO): Likewise.
575         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
576         (TRAP_TRACE): Likewise.
577         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
578         __USE_XOPEN2K8].
579         (CLD_KILLED): Likewise.
580         (CLD_DUMPED): Likewise.
581         (CLD_TRAPPED): Likewise.
582         (CLD_STOPPED): Likewise.
583         (CLD_CONTINUED): Likewise.
584         (POLL_IN): Likewise.
585         (POLL_OUT): Likewise.
586         (POLL_MSG): Likewise.
587         (POLL_ERR): Likewise.
588         (POLL_PRI): Likewise.
589         (POLL_HUP): Likewise.
590         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
591         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
593         [BZ #16670]
594         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
595         before #include of <time.h>.
596         [!__USE_XOPEN2K] (__need_timespec): Likewise.
597         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
598         (test-xfail-UNIX98/sched.h/conform): Likewise.
600 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
602         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
603         error absence of trapping exception support.
604         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
606 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
608         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
609         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
610         * timezone/Makefile (testdata): Move definition above include of
611         Rules.
612         (test-zones): New variable.
613         (tests-special): Add zone files.
614         (build-testdata): Use $(evaluate-test).
616         * elf/Makefile (tests-special): Rename tests to end with .out.
617         ($(objpfx)noload-mem): Likewise.
618         ($(objpfx)tst-leaks1-mem): Likewise.
619         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
620         * iconv/Makefile (xtests-special): Change test-iconvconfig to
621         $(objpfx)test-iconvconfig.out.
622         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
623         set -e inside subshell and redirect output to file.
624         * iconvdata/Makefile (generated): Rename tests to end with .out.
625         Correct type.
626         (tests-special): Rename tests to end with .out.
627         ($(objpfx)mtrace-tst-loading): Likewise.
628         * intl/Makefile (generated): Likewise.
629         (tests-special): Likewise.
630         ($(objpfx)mtrace-tst-gettext): Likewise.
631         * misc/Makefile (generated): Likewise.
632         (tests-special): Likewise.
633         ($(objpfx)tst-error1-mem): Likewise.
634         * nptl/Makefile (tests-special): Likewise.
635         ($(objpfx)tst-stack3-mem): Likewise.
636         (generated): Likewise.
637         * posix/Makefile (generated): Likewise.
638         (tests-special): Likewise.
639         (xtests-special): Likewise.
640         ($(objpfx)tst-fnmatch-mem): Likewise.
641         ($(objpfx)bug-regex2-mem): Likewise.
642         ($(objpfx)bug-regex14-mem): Likewise.
643         ($(objpfx)bug-regex21-mem): Likewise.
644         ($(objpfx)bug-regex31-mem): Likewise.
645         ($(objpfx)tst-vfork3-mem): Likewise.
646         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
647         ($(objpfx)tst-pcre-mem): Likewise.
648         ($(objpfx)tst-boost-mem): Likewise.
649         ($(objpfx)bug-ga2-mem): Likewise.
650         ($(objpfx)bug-glob2-mem): Likewise.
651         * resolv/Makefile (generate): Likewise.
652         (tests-special): Likewise.
653         (xtests-special): Likewise.
654         (generated): Likewise.
655         ($(objpfx)mtrace-tst-leaks): Likewise.
656         ($(objpfx)mtrace-tst-leaks2): Likewise.
658         * scripts/merge-test-results.sh: New file.
659         * Makefile (tests-special-notdir): New variable.
660         (tests): Run merge-test-results.sh.
661         (xtests): Likewise.
662         * Rules (tests-special-notdir): New variable.
663         (xtests-special-notdir): Likewise.
664         (tests): Run merge-test-results.sh
665         (xtests): Likewise.
667         * Makeconfig (test-xfail-name): New variable.
668         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
669         compute variable name for expected failures.
670         * conform/Makefile (conformtest-headers-data): New variable.
671         (conformtest-standards): Likewise.
672         (conformtest-headers-ISO): Likewise.
673         (conformtest-headers-ISO99): Likewise.
674         (conformtest-headers-ISO11): Likewise.
675         (conformtest-headers-POSIX): Likewise.
676         (conformtest-headers-XPG3): Likewise.
677         (conformtest-headers-XPG4): Likewise.
678         (conformtest-headers-UNIX98): Likewise.
679         (conformtest-headers-XOPEN2K): Likewise.
680         (conformtest-headers-POSIX2008): Likewise.
681         (conformtest-headers-XOPEN2K8): Likewise.
682         (conformtest-header-list-base): Likewise.
683         (conformtest-header-list-tests): Likewise.
684         (conformtest-header-base): Likewise.
685         (conformtest-header-tests): Likewise.
686         (tests-special): Add $(conformtest-header-list-tests).  If
687         [$(fast-check) && !$(cross-compiling)], add
688         $(conformtest-header-tests) instead of
689         $(objpfx)run-conformtest.out.
690         (generated): Add $(conformtest-header-list-base).  If
691         [$(fast-check) && !$(cross-compiling)], add
692         $(conformtest-header-base).  Remove previous setting.
693         ($(conformtest-header-list-tests)): New target.
694         (test-xfail-run-conformtest): Remove variable.
695         ($(objpfx)run-conformtest.out): Remove target.
696         (test-xfail-ISO11/complex.h/conform): New variable.
697         (test-xfail-ISO11/stdalign.h/conform): Likewise.
698         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
699         (test-xfail-XPG3/varargs.h/conform): Likewise.
700         (test-xfail-XPG4/varargs.h/conform): Likewise.
701         (test-xfail-UNIX98/varargs.h/conform): Likewise.
702         (test-xfail-XPG4/ndbm.h/conform): Likewise.
703         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
704         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
705         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
706         (test-xfail-XPG3/fcntl.h/conform): Likewise.
707         (test-xfail-XPG3/ftw.h/conform): Likewise.
708         (test-xfail-XPG3/grp.h/conform): Likewise.
709         (test-xfail-XPG3/langinfo.h/conform): Likewise.
710         (test-xfail-XPG3/limits.h/conform): Likewise.
711         (test-xfail-XPG3/pwd.h/conform): Likewise.
712         (test-xfail-XPG3/search.h/conform): Likewise.
713         (test-xfail-XPG3/signal.h/conform): Likewise.
714         (test-xfail-XPG3/stdio.h/conform): Likewise.
715         (test-xfail-XPG3/stdlib.h/conform): Likewise.
716         (test-xfail-XPG3/string.h/conform): Likewise.
717         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
718         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
719         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
720         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
721         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
722         (test-xfail-XPG3/sys/types.h/conform): Likewise.
723         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
724         (test-xfail-XPG3/termios.h/conform): Likewise.
725         (test-xfail-XPG3/time.h/conform): Likewise.
726         (test-xfail-XPG3/unistd.h/conform): Likewise.
727         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
728         (test-xfail-XPG4/fcntl.h/conform): Likewise.
729         (test-xfail-XPG4/langinfo.h/conform): Likewise.
730         (test-xfail-XPG4/netdb.h/conform): Likewise.
731         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
732         (test-xfail-XPG4/signal.h/conform): Likewise.
733         (test-xfail-XPG4/stdio.h/conform): Likewise.
734         (test-xfail-XPG4/stdlib.h/conform): Likewise.
735         (test-xfail-XPG4/stropts.h/conform): Likewise.
736         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
737         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
738         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
739         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
740         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
741         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
742         (test-xfail-XPG4/sys/time.h/conform): Likewise.
743         (test-xfail-XPG4/sys/types.h/conform): Likewise.
744         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
745         (test-xfail-XPG4/termios.h/conform): Likewise.
746         (test-xfail-XPG4/ucontext.h/conform): Likewise.
747         (test-xfail-XPG4/unistd.h/conform): Likewise.
748         (test-xfail-XPG4/utmpx.h/conform): Likewise.
749         (test-xfail-POSIX/sched.h/conform): Likewise.
750         (test-xfail-POSIX/signal.h/conform): Likewise.
751         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
752         (test-xfail-POSIX/tar.h/conform): Likewise.
753         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
754         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
755         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
756         (test-xfail-UNIX98/netdb.h/conform): Likewise.
757         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
758         (test-xfail-UNIX98/sched.h/conform): Likewise.
759         (test-xfail-UNIX98/signal.h/conform): Likewise.
760         (test-xfail-UNIX98/stdio.h/conform): Likewise.
761         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
762         (test-xfail-UNIX98/stropts.h/conform): Likewise.
763         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
764         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
765         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
766         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
767         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
768         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
769         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
770         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
771         (test-xfail-UNIX98/unistd.h/conform): Likewise.
772         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
773         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
774         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
775         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
776         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
777         (test-xfail-XOPEN2K/math.h/conform): Likewise.
778         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
779         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
780         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
781         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
782         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
783         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
784         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
785         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
786         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
787         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
788         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
789         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
790         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
791         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
792         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
793         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
794         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
795         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
796         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
797         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
798         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
799         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
800         (test-xfail-POSIX2008/signal.h/conform): Likewise.
801         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
802         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
803         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
804         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
805         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
806         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
807         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
808         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
809         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
810         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
811         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
812         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
813         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
814         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
815         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
816         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
817         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
818         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
819         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
820         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
821         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
822         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
823         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
824         (conformtest-cc-flags): Likewise.
825         ($(conformtest-header-tests): New target.
826         * conform/check-header-lists.sh: New file.
827         * conform/run-conformtest.sh: Remove.
829         * conform/conformtest.pl: Allow ' and \ in values given for
830         constants.
831         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
832         inclusion.
833         [POSIX] (sys/types.h): Likewise.
834         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
835         inclusion.
836         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
837         inclusion.
838         * conform/data/signal.h-data (SIGIO): Remove expectation.
839         [XPG3] (SIGBUS): Do not expect.
840         [POSIX || XPG3] (SIGPOLL): Likewise.
841         [POSIX || XPG3] (SIGPROF): Likewise.
842         [POSIX || XPG3] (SIGSYS): Likewise.
843         [XPG3] (SIGTRAP): Likewise.
844         [POSIX || XPG3] (SIGURG): Likewise.
845         [POSIX || XPG3] (SIGVTALRM): Likewise.
846         [POSIX || XPG3] (SIGXCPU): Likewise.
847         [POSIX || XPG3] (SIGXFSZ): Likewise.
848         [POSIX] (SA_SIGINFO): Expect.
849         [XPG3] (siginfo_t): Do not expect type or contents.
850         [POSIX] (si_pid): Do not expect element.
851         [POSIX] (si_uid): Likewise.
852         [POSIX] (si_addr): Likewise.
853         [POSIX] (si_status): Likewise.
854         [POSIX] (si_band): Likewise.
855         [XPG4] (si_value): Likewise.
856         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
857         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
858         [POSIX || XPG3] (ILL_ILLADR): Likewise.
859         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
860         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
861         [POSIX || XPG3] (ILL_PRVREG): Likewise.
862         [POSIX || XPG3] (ILL_COPROC): Likewise.
863         [POSIX || XPG3] (ILL_BADSTK): Likewise.
864         [POSIX || XPG3] (FPE_INTDIV): Likewise.
865         [POSIX || XPG3] (FPE_INTOVF): Likewise.
866         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
867         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
868         [POSIX || XPG3] (FPE_FLTUND): Likewise.
869         [POSIX || XPG3] (FPE_FLTRES): Likewise.
870         [POSIX || XPG3] (FPE_FLTINV): Likewise.
871         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
872         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
873         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
874         [POSIX || XPG3] (BUS_ADRALN): Likewise.
875         [POSIX || XPG3] (BUS_ADRERR): Likewise.
876         [POSIX || XPG3] (BUS_OBJERR): Likewise.
877         [POSIX || XPG3] (CLD_EXITED): Likewise.
878         [POSIX || XPG3] (CLD_KILLED): Likewise.
879         [POSIX || XPG3] (CLD_DUMPED): Likewise.
880         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
881         [POSIX || XPG3] (CLD_STOPPED): Likewise.
882         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
883         [POSIX || XPG3] (POLL_IN): Likewise.
884         [POSIX || XPG3] (POLL_OUT): Likewise.
885         [POSIX || XPG3] (POLL_MSG): Likewise.
886         [POSIX || XPG3] (POLL_ERR): Likewise.
887         [POSIX || XPG3] (POLL_PRI): Likewise.
888         [POSIX || XPG3] (POLL_HUP): Likewise.
889         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
890         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
891         (SIG*): Do not allow.
892         [XPG3] (si_*): Likewise.
893         [XPG3] (SI_*): Likewise.
894         [XPG3 || XPG4] (sigev_*): Likewise.
895         [XPG3 || XPG4] (SIGEV_*): Likewise.
896         [XPG3 || XPG4] (sival_*): Likewise.
897         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
898         [POSIX || XPG3] (BUS_*): Likewise.
899         [POSIX || XPG3] (CLD_*): Likewise.
900         [POSIX || XPG3] (FPE_*): Likewise.
901         [POSIX || XPG3] (ILL_*): Likewise.
902         [POSIX || XPG3] (POLL_*): Likewise.
903         [POSIX || XPG3] (SEGV_*): Likewise.
904         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
905         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
906         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
907         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
908         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
909         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
910         Specify type and value.
911         (TVERSLEN): Likewise.
912         (REGTYPE): Likewise.
913         (AREGTYPE): Likewise.
914         (LNKTYPE): Likewise.
915         (SYMTYPE): Likewise.
916         (CHRTYPE): Likewise.
917         (BLKTYPE): Likewise.
918         (DIRTYPE): Likewise.
919         (FIFOTYPE): Likewise.
920         (CONTTYPE): Likewise.
921         (TSUID): Likewise.
922         (TSGID): Likewise.
923         (TSVTX): Likewise.
924         (TUREAD): Likewise.
925         (TUWRITE): Likewise.
926         (TUEXEC): Likewise.
927         (TGREAD): Likewise.
928         (TGWRITE): Likewise.
929         (TGEXEC): Likewise.
930         (TOREAD): Likewise.
931         (TOWRITE): Likewise.
932         (TOEXEC): Likewise.
933         [POSIX] (TSVTX): Expect constant.
935 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
937         * Makefile (tests): Change dependencies to ....
938         (tests-special): ... additions to this variable.
939         (tests): Depend on $(tests-special).
940         * Makerules (check-abi-list): New variable.
941         (check-abi): Depend on $(check-abi-list).
942         [$(subdir) = elf] (tests-special): Add
943         $(objpfx)check-abi-libc.out.
944         [$(build-shared) = yes && subdir] (tests-special): Add
945         $(check-abi-list).
946         [$(build-shared) = yes && subdir] (tests): Do not depend on
947         check-abi.
948         * Rules (tests): Depend on $(tests-special).
949         (xtests): Depend on $(xtests-special).
950         * catgets/Makefile (tests): Change dependencies to ....
951         (tests-special): ... additions to this variable.
952         * conform/Makefile (tests): Change dependencies to ....
953         (tests-special): ... additions to this variable.
954         * elf/Makefile (tests): Change dependencies to ....
955         (tests-special): ... additions to this variable.
956         * grp/Makefile (tests): Change dependencies to ....
957         (tests-special): ... additions to this variable.
958         * iconv/Makefile (xtests): Change dependencies to ....
959         (xtests-special): ... additions to this variable.
960         * iconvdata/Makefile (tests): Change dependencies to ....
961         (tests-special): ... additions to this variable.
962         * intl/Makefile (tests): Change dependencies to ....
963         (tests-special): ... additions to this variable.  Also add
964         $(objpfx)tst-gettext.out.
965         * io/Makefile (tests): Change dependencies to ....
966         (tests-special): ... additions to this variable.
967         * libio/Makefile (tests): Change dependencies to ....
968         (tests-special): ... additions to this variable.
969         * malloc/Makefile (tests): Change dependencies to ....
970         (tests-special): ... additions to this variable.
971         * misc/Makefile (tests): Change dependencies to ....
972         (tests-special): ... additions to this variable.
973         * nptl/Makefile (tests): Change dependencies to ....
974         (tests-special): ... additions to this variable.
975         * nptl_db/Makefile (tests): Change dependencies to ....
976         (tests-special): ... additions to this variable.
977         * posix/Makefile (tests): Change dependencies to ....
978         (tests-special): ... additions to this variable.
979         (xtests): Change dependencies to ....
980         (xtests-special): ... additions to this variable.
981         * resolv/Makefile (tests): Change dependencies to ....
982         (tests-special): ... additions to this variable.
983         (xtests): Change dependencies to ....
984         (xtests-special): ... additions to this variable.
985         * stdio-common/Makefile (tests): Change dependencies to ....
986         (tests-special): ... additions to this variable.
987         (do-tst-unbputc): Remove target.
988         (do-tst-printf): Likewise.
989         * stdlib/Makefile (tests): Change dependencies to ....
990         (tests-special): ... additions to this variable.
991         * string/Makefile (tests): Change dependencies to ....
992         (tests-special): ... additions to this variable.
993         * sysdeps/x86/Makefile (tests): Change dependencies to ....
994         (tests-special): ... additions to this variable.
996         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
997         whole file.
998         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
999         whole file.
1000         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1001         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1003         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1004         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1005         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1006         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1007         * conform/data/libgen.h-data [XPG3]: Likewise.
1008         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1009         * conform/data/ndbm.h-data [XPG3]: Likewise.
1010         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1011         * conform/data/netdb.h-data [XPG3]: Likewise.
1012         * conform/data/netinet/in.h-data [XPG3]: Likewise.
1013         * conform/data/poll.h-data [XPG3]: Likewise.
1014         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1015         * conform/data/strings.h-data [XPG3]: Likewise.
1016         * conform/data/stropts.h-data [XPG3]: Likewise.
1017         * conform/data/sys/mman.h-data [XPG3]: Likewise.
1018         * conform/data/sys/resource.h-data [XPG3]: Likewise.
1019         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1020         Likewise.
1021         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1022         * conform/data/sys/time.h-data [XPG3]: Likewise.
1023         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1024         * conform/data/sys/uio.h-data [XPG3]: Likewise.
1025         * conform/data/sys/un.h-data [XPG3]: Likewise.
1026         * conform/data/syslog.h-data [XPG3]: Likewise.
1027         * conform/data/ucontext.h-data [XPG3]: Likewise.
1028         * conform/data/utmpx.h-data [XPG3]: Likewise.
1029         * conform/data/varargs.h-data [UNIX98]: Enable file.
1031         * manual/Makefile (INSTALL_INFO): Remove variable setting.
1033         * math/libm-test.inc (struct test_f_f_data): Move expected results
1034         into structure for each rounding mode.
1035         (struct test_ff_f_data): Likewise.
1036         (struct test_ff_f_data_nexttoward): Likewise.
1037         (struct test_fi_f_data): Likewise.
1038         (struct test_fl_f_data): Likewise.
1039         (struct test_if_f_data): Likewise.
1040         (struct test_fff_f_data): Likewise.
1041         (struct test_c_f_data): Likewise.
1042         (struct test_f_f1_data): Likewise.
1043         (struct test_fF_f1_data): Likewise.
1044         (struct test_ffI_f1_data): Likewise.
1045         (struct test_c_c_data): Likewise.
1046         (struct test_cc_c_data): Likewise.
1047         (struct test_f_i_data): Likewise.
1048         (struct test_ff_i_data): Likewise.
1049         (struct test_f_l_data): Likewise.
1050         (struct test_f_L_data): Likewise.
1051         (struct test_fFF_11_data): Likewise.
1052         (RM_): New macro.
1053         (RM_FE_DOWNWARD): Likewise.
1054         (RM_FE_TONEAREST): Likewise.
1055         (RM_FE_TOWARDZERO): Likewise.
1056         (RM_FE_UPWARD): Likewise.
1057         (RUN_TEST_LOOP_f_f): Update references to expected results.
1058         (RUN_TEST_LOOP_2_f): Likewise.
1059         (RUN_TEST_LOOP_fff_f): Likewise.
1060         (RUN_TEST_LOOP_c_f): Likewise.
1061         (RUN_TEST_LOOP_f_f1): Likewise.
1062         (RUN_TEST_LOOP_fF_f1): Likewise.
1063         (RUN_TEST_LOOP_fI_f1): Likewise.
1064         (RUN_TEST_LOOP_ffI_f1): Likewise.
1065         (RUN_TEST_LOOP_c_c): Likewise.
1066         (RUN_TEST_LOOP_cc_c): Likewise.
1067         (RUN_TEST_LOOP_f_i): Likewise.
1068         (RUN_TEST_LOOP_f_i_tg): Likewise.
1069         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1070         (RUN_TEST_LOOP_f_b): Likewise.
1071         (RUN_TEST_LOOP_f_b_tg): Likewise.
1072         (RUN_TEST_LOOP_f_l): Likewise.
1073         (RUN_TEST_LOOP_f_L): Likewise.
1074         (RUN_TEST_LOOP_fFF_11): Likewise.
1075         * math/gen-libm-test.pl (parse_args): Output four copies of
1076         expected results for each test.
1078         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1079         (__ASSUME_UTIMES): Remove.
1080         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1081         (__ASSUME_UTIMES): Likewise.
1083         * math/gen-auto-libm-tests.c: Update comment on output format.
1084         (output_for_one_input_case): Generate before-rounding and
1085         after-rounding information as conditions on output flags not
1086         floating-point format.
1087         * math/auto-libm-test-out: Regenerated.
1088         * math/gen-libm-test.pl (cond_value): New function.
1089         (or_cond_value): Use cond_value.
1090         (generate_testfile): Handle conditional exceptions.
1092 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
1094         * math/libm-test.inc (max_valid_error): New variable.
1095         (init_max_error): Take new argument specifying whether function
1096         results are exactly determined.  Set max_valid_error and bound
1097         other variables for errors based on this argument.
1098         (set_max_error): Do not record results above max_valid_error.
1099         (check_float_internal): Only accept errors of up to 0.5ulps if
1100         also at most max_valid_error.
1101         (START): Take new argument EXACT and pass it to init_max_error.
1102         (acos_test): Update call to START.
1103         (acos_test_tonearest): Likewise.
1104         (acos_test_towardzero): Likewise.
1105         (acos_test_downward): Likewise.
1106         (acos_test_upward): Likewise.
1107         (acosh_test): Likewise.
1108         (asin_test): Likewise.
1109         (asin_test_tonearest): Likewise.
1110         (asin_test_towardzero): Likewise.
1111         (asin_test_downward): Likewise.
1112         (asin_test_upward): Likewise.
1113         (asinh_test): Likewise.
1114         (atan_test): Likewise.
1115         (atanh_test): Likewise.
1116         (atan2_test): Likewise.
1117         (cabs_test): Likewise.
1118         (cacos_test): Likewise.
1119         (cacosh_test): Likewise.
1120         (carg_test): Likewise.
1121         (casin_test): Likewise.
1122         (casinh_test): Likewise.
1123         (catan_test): Likewise.
1124         (catanh_test): Likewise.
1125         (cbrt_test): Likewise.
1126         (ccos_test): Likewise.
1127         (ccosh_test): Likewise.
1128         (ceil_test): Likewise.
1129         (cexp_test): Likewise.
1130         (cimag_test): Likewise.
1131         (clog_test): Likewise.
1132         (clog10_test): Likewise.
1133         (conj_test): Likewise.
1134         (copysign_test): Likewise.
1135         (cos_test): Likewise.
1136         (cos_test_tonearest): Likewise.
1137         (cos_test_towardzero): Likewise.
1138         (cos_test_downward): Likewise.
1139         (cos_test_upward): Likewise.
1140         (cosh_test): Likewise.
1141         (cosh_test_tonearest): Likewise.
1142         (cosh_test_towardzero): Likewise.
1143         (cosh_test_downward): Likewise.
1144         (cosh_test_upward): Likewise.
1145         (cpow_test): Likewise.
1146         (cproj_test): Likewise.
1147         (creal_test): Likewise.
1148         (csin_test): Likewise.
1149         (csinh_test): Likewise.
1150         (csqrt_test): Likewise.
1151         (ctan_test): Likewise.
1152         (ctan_test_tonearest): Likewise.
1153         (ctan_test_towardzero): Likewise.
1154         (ctan_test_downward): Likewise.
1155         (ctan_test_upward): Likewise.
1156         (ctanh_test): Likewise.
1157         (ctanh_test_tonearest): Likewise.
1158         (ctanh_test_towardzero): Likewise.
1159         (ctanh_test_downward): Likewise.
1160         (ctanh_test_upward): Likewise.
1161         (erf_test): Likewise.
1162         (erfc_test): Likewise.
1163         (exp_test): Likewise.
1164         (exp_test_tonearest): Likewise.
1165         (exp_test_towardzero): Likewise.
1166         (exp_test_downward): Likewise.
1167         (exp_test_upward): Likewise.
1168         (exp10_test): Likewise.
1169         (exp10_test_tonearest): Likewise.
1170         (exp10_test_towardzero): Likewise.
1171         (exp10_test_downward): Likewise.
1172         (exp10_test_upward): Likewise.
1173         (pow10_test): Likewise.
1174         (exp2_test): Likewise.
1175         (expm1_test): Likewise.
1176         (expm1_test_tonearest): Likewise.
1177         (expm1_test_towardzero): Likewise.
1178         (expm1_test_downward): Likewise.
1179         (expm1_test_upward): Likewise.
1180         (fabs_test): Likewise.
1181         (fdim_test): Likewise.
1182         (floor_test): Likewise.
1183         (fma_test): Likewise.
1184         (fma_test_towardzero): Likewise.
1185         (fma_test_downward): Likewise.
1186         (fma_test_upward): Likewise.
1187         (fmax_test): Likewise.
1188         (fmin_test): Likewise.
1189         (fmod_test): Likewise.
1190         (fpclassify_test): Likewise.
1191         (frexp_test): Likewise.
1192         (hypot_test): Likewise.
1193         (ilogb_test): Likewise.
1194         (isfinite_test): Likewise.
1195         (finite_test): Likewise.
1196         (isgreater_test): Likewise.
1197         (isgreaterequal_test): Likewise.
1198         (isinf_test): Likewise.
1199         (isless_test): Likewise.
1200         (islessequal_test): Likewise.
1201         (islessgreater_test): Likewise.
1202         (isnan_test): Likewise.
1203         (isnormal_test): Likewise.
1204         (issignaling_test): Likewise.
1205         (isunordered_test): Likewise.
1206         (j0_test): Likewise.
1207         (j1_test): Likewise.
1208         (jn_test): Likewise.
1209         (ldexp_test): Likewise.
1210         (lgamma_test): Likewise.
1211         (gamma_test): Likewise.
1212         (lrint_test): Likewise.
1213         (lrint_test_tonearest): Likewise.
1214         (lrint_test_towardzero): Likewise.
1215         (lrint_test_downward): Likewise.
1216         (lrint_test_upward): Likewise.
1217         (llrint_test): Likewise.
1218         (llrint_test_tonearest): Likewise.
1219         (llrint_test_towardzero): Likewise.
1220         (llrint_test_downward): Likewise.
1221         (llrint_test_upward): Likewise.
1222         (log_test): Likewise.
1223         (log10_test): Likewise.
1224         (log1p_test): Likewise.
1225         (log2_test): Likewise.
1226         (logb_test): Likewise.
1227         (logb_test_downward): Likewise.
1228         (lround_test): Likewise.
1229         (llround_test): Likewise.
1230         (modf_test): Likewise.
1231         (nearbyint_test): Likewise.
1232         (nextafter_test): Likewise.
1233         (nexttoward_test): Likewise.
1234         (pow_test): Likewise.
1235         (pow_test_tonearest): Likewise.
1236         (pow_test_towardzero): Likewise.
1237         (pow_test_downward): Likewise.
1238         (pow_test_upward): Likewise.
1239         (remainder_test): Likewise.
1240         (drem_test): Likewise.
1241         (remainder_test_tonearest): Likewise.
1242         (drem_test_tonearest): Likewise.
1243         (remainder_test_towardzero): Likewise.
1244         (drem_test_towardzero): Likewise.
1245         (remainder_test_downward): Likewise.
1246         (drem_test_downward): Likewise.
1247         (remainder_test_upward): Likewise.
1248         (drem_test_upward): Likewise.
1249         (remquo_test): Likewise.
1250         (rint_test): Likewise.
1251         (rint_test_tonearest): Likewise.
1252         (rint_test_towardzero): Likewise.
1253         (rint_test_downward): Likewise.
1254         (rint_test_upward): Likewise.
1255         (round_test): Likewise.
1256         (scalb_test): Likewise.
1257         (scalbn_test): Likewise.
1258         (scalbln_test): Likewise.
1259         (signbit_test): Likewise.
1260         (sin_test): Likewise.
1261         (sin_test_tonearest): Likewise.
1262         (sin_test_towardzero): Likewise.
1263         (sin_test_downward): Likewise.
1264         (sin_test_upward): Likewise.
1265         (sincos_test): Likewise.
1266         (sinh_test): Likewise.
1267         (sinh_test_tonearest): Likewise.
1268         (sinh_test_towardzero): Likewise.
1269         (sinh_test_downward): Likewise.
1270         (sinh_test_upward): Likewise.
1271         (sqrt_test): Likewise.
1272         (sqrt_test_tonearest): Likewise.
1273         (sqrt_test_towardzero): Likewise.
1274         (sqrt_test_downward): Likewise.
1275         (sqrt_test_upward): Likewise.
1276         (tan_test): Likewise.
1277         (tan_test_tonearest): Likewise.
1278         (tan_test_towardzero): Likewise.
1279         (tan_test_downward): Likewise.
1280         (tan_test_upward): Likewise.
1281         (tanh_test): Likewise.
1282         (tgamma_test): Likewise.
1283         (trunc_test): Likewise.
1284         (y0_test): Likewise.
1285         (y1_test): Likewise.
1286         (yn_test): Likewise.
1287         (significand_test): Likewise.
1289         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1290         individual tests in comment.
1291         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1292         (prev_max_error): New variable.
1293         (prev_real_max_error): Likewise.
1294         (prev_imag_max_error): Likewise.
1295         (compare_ulp_data): Don't refer to test names in comment.
1296         (find_test_ulps): Remove function.
1297         (find_function_ulps): Likewise.
1298         (find_complex_function_ulps): Likewise.
1299         (init_max_error): Take function name as argument.  Look up ulps
1300         for that function.
1301         (print_ulps): Remove function.
1302         (print_max_error): Use prev_max_error instead of calling
1303         find_function_ulps.
1304         (print_complex_max_error): Use prev_real_max_error and
1305         prev_imag_max_error instead of calling find_complex_function_ulps.
1306         (check_float_internal): Take max_ulp parameter instead of calling
1307         find_test_ulps.  Don't call print_ulps.
1308         (check_float): Update call to check_float_internal.
1309         (check_complex): Update calls to check_float_internal.
1310         (START): Pass argument to init_max_error.
1311         * math/gen-libm-test.pl (%results): Don't include "kind"
1312         information.
1313         (parse_ulps): Don't handle ulps of individual tests.
1314         (print_ulps_file): Likewise.
1315         (output_ulps): Likewise.
1316         * math/README.libm-test: Update.
1317         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1318         individual tests.
1319         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1320         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1321         * sysdeps/arm/libm-test-ulps: Likewise.
1322         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1323         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1324         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1325         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1326         * sysdeps/microblaze/libm-test-ulps: Likewise.
1327         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1328         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1329         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1330         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1331         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1332         * sysdeps/sh/libm-test-ulps: Likewise.
1333         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1334         * sysdeps/tile/libm-test-ulps: Likewise.
1335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1337 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
1339         * math/libm-test.inc (print_complex_max_error): Check separately
1340         whether real and imaginary errors are within allowed range and
1341         pass 0 to print_complex_function_ulps instead of value within
1342         allowed range.
1344 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1346         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1347         formatting.
1348         (get_handles_fopen): Likewise.
1349         (do_write_test): Likewise.
1351         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1353         * libio/fileops.c (do_ftell): Use cached offset when
1354         available.
1355         * libio/iofwide.c (do_ftell_wide): Likewise.
1356         * libio/iofdopen.c (_IO_new_fdopen): Don't use
1357         _IO_file_attach.
1358         * libio/wfileops.c (_IO_fwide): Don't cache offset.
1360         [BZ #16532]
1361         * libio/libioP.h (get_file_offset): New function.
1362         * libio/fileops.c (get_file_offset): Likewise.
1363         (do_ftell): Likewise.
1364         (_IO_new_file_seekoff): Split out ftell logic.
1365         * libio/wfileops.c (do_ftell_wide): Likewise.
1366         (_IO_wfile_seekoff): Split out ftell logic.
1367         * libio/tst-ftell-active-handler.c: New test case.
1368         * libio/Makefile (tests): Add it.
1370 2014-03-03  Roland McGrath  <roland@hack.frob.com>
1372         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1373         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1375 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1377         [BZ #16639]
1378         * nscd/connections.c (nscd_init): Call do_exit.
1379         (start_threads): Call do_exit and notify_parent.
1380         (begin_drop_privileges): Call do_exit.
1381         (finish_drop_privileges): Likewise.
1382         * nscd/selinux.c (preserve_capabilities): Likewise.
1383         (install_real_capabilities): Likewise.
1384         (nscd_selinux_enabled): Likewise.
1385         (avc_create_thread): Likewise.
1386         (avc_alloc_lock): Likewise.
1387         (nscd_avc_init): Likewise.
1388         * nscd/nscd.c (parent_fd): New static variable.
1389         (main): Create a pipe between parent and child processes.
1390         Skip closing parent_fd.
1391         (monitor_child): New function.
1392         (do_exit): Likewise.
1393         (notify_parent): Likewise.
1394         * nscd/nscd.h (notify_parent): Likewise.
1395         (do_exit): Likewise.
1397 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
1399         * malloc/malloc.c (__libc_calloc): Revert last change.
1401 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1405 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1407         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1409         implementation.
1410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1411         (__libc_ifunc_impl_list): Likewise.
1412         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1413         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1414         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1415         * string/strrchr.c: Define STRRCHR.
1417 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
1419         * benchtest/bench-strtok.c (simple_strtok): Delete.
1420         (strtok_string): Use as benchmark.
1421         * string/strtok (STRTOK): New macro.
1423 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
1425         * manual/threads.texi: Add header and standard comments to all
1426         functions.
1428         * elf/dl-lookup.c (check_match): New function.
1429         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1430         (do_lookup_x): Remove nested function check_match. Use non-nested
1431         function check_match.
1433 2014-02-28  Roland McGrath  <roland@hack.frob.com>
1435         * csu/Makefile (generated, before-compile): Use += rather than =.
1436         * catgets/Makefile (generated, generated-dirs): Likewise.
1437         * debug/Makefile (generated): Likewise.
1438         * dlfcn/Makefile (generated): Likewise.
1439         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1440         * iconvdata/Makefile (before-compile, generated): Likewise.
1441         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1442         * libio/Makefile (generated): Likewise.
1443         * malloc/Makefile (generated): Likewise.
1444         * manual/Makefile (generated, generated-dirs): Likewise.
1445         * misc/Makefile (generated): Likewise.
1446         * posix/Makefile (generated): Likewise.
1447         * resolv/Makefile (generated): Likewise.
1448         * sunrpc/Makefile (generated, generated-dirs): Likewise.
1449         * timezone/Makefile (generated, generated-dirs): Likewise.
1451         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1453 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1455         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1456         implementation.
1457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1458         POWER8 llround ifunc implementation.
1459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1460         POWER8 implementation.
1461         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1462         POWER8 llround implementation.
1464 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1467         implementation.
1468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1469         POWER8 llrint ifunc implementation.
1470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1471         POWER8 implementation.
1472         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1473         POWER8 llrint implementation.
1475 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1477         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1478         implementation.
1479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1480         POWER8 finite ifunc implementation.
1481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1482         POWER8 implementation.
1483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1484         Likewise.
1485         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1486         POWER8 finite implementation.
1487         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1489 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1492         implementation.
1493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1494         POWER8 isinf ifunc implementation.
1495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1496         POWER8 implementation.
1497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1498         Likewise.
1499         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1500         POWER8 isinf implementation.
1501         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1503 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1505         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1506         Add hwcap2 initialization.
1507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1508         implementation.
1509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1510         POWER8 isnan ifunc implementation.
1511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1512         POWER8 implementation.
1513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1514         Likewise.
1515         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1516         POWER8 isnan implementation.
1517         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1519 2014-02-27  Joey Ye  <joey.ye@arm.com>
1521         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1522         (_FP_NANFRAC_Q): Set to zero.
1524 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1526         [BZ #16623]
1527         * math/auto-libm-test-in: New test inputs.
1528         * math/auto-libm-test-out: Regenerate.
1529         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1530         and DA.
1531         (__cos): Likewise.
1532         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1534 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
1536         * scripts/evaluate-test.sh: Take new argument indicating whether
1537         failure is expected.
1538         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1539         indicating whether failure is expected.
1540         * conform/Makefile (test-xfail-run-conformtest): New variable.
1541         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1542         level.
1543         * posix/Makefile (test-xfail-annexc): New variable.
1544         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1546 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
1548         * argp/Makefile: Include Makeconfig immediately after defining
1549         subdir.
1550         * assert/Makefile: Likewise.
1551         * benchtests/Makefile: Likewise.
1552         * catgets/Makefile: Likewise.
1553         * conform/Makefile: Likewise.
1554         * crypt/Makefile: Likewise.
1555         * csu/Makefile: Likewise.
1556         (all): Remove target.
1557         * ctype/Makefile: Include Makeconfig immediately after defining
1558         subdir.
1559         * debug/Makefile: Likewise.
1560         * dirent/Makefile: Likewise.
1561         * dlfcn/Makefile: Likewise.
1562         * gmon/Makefile: Likewise.
1563         * gnulib/Makefile: Likewise.
1564         * grp/Makefile: Likewise.
1565         * gshadow/Makefile: Likewise.
1566         * hesiod/Makefile: Likewise.
1567         * hurd/Makefile: Likewise.
1568         (all): Remove target.
1569         * iconvdata/Makefile: Include Makeconfig immediately after
1570         defining subdir.
1571         * inet/Makefile: Likewise.
1572         * intl/Makefile: Likewise.
1573         * io/Makefile: Likewise.
1574         * libio/Makefile: Likewise.
1575         (all): Remove target.
1576         * locale/Makefile: Include Makeconfig immediately after defining
1577         subdir.
1578         * login/Makefile: Likewise.
1579         * mach/Makefile: Likewise.
1580         (all): Remove target.
1581         * malloc/Makefile: Include Makeconfig immediately after defining
1582         subdir.
1583         (all): Remove target.
1584         * manual/Makefile: Include Makeconfig immediately after defining
1585         subdir.
1586         * math/Makefile: Likewise.
1587         * misc/Makefile: Likewise.
1588         * nis/Makefile: Likewise.
1589         * nss/Makefile: Likewise.
1590         * po/Makefile: Likewise.
1591         (all): Remove target.
1592         * posix/Makefile: Include Makeconfig immediately after defining
1593         subdir.
1594         * pwd/Makefile: Likewise.
1595         * resolv/Makefile: Likewise.
1596         * resource/Makefile: Likewise.
1597         * rt/Makefile: Likewise.
1598         * setjmp/Makefile: Likewise.
1599         * shadow/Makefile: Likewise.
1600         * signal/Makefile: Likewise.
1601         * socket/Makefile: Likewise.
1602         * soft-fp/Makefile: Likewise.
1603         * stdio-common/Makefile: Likewise.
1604         * stdlib/Makefile: Likewise.
1605         * streams/Makefile: Likewise.
1606         * string/Makefile: Likewise.
1607         * sunrpc/Makefile: Likewise.
1608         (all): Remove target.
1609         * sysvipc/Makefile: Include Makeconfig immediately after defining
1610         subdir.
1611         * termios/Makefile: Likewise.
1612         * time/Makefile: Likewise.
1613         * timezone/Makefile: Likewise.
1614         (all): Remove target.
1615         * wcsmbs/Makefile: Include Makeconfig immediately after defining
1616         subdir.
1617         * wctype/Makefile: Likewise.
1619 2014-02-26  Steve Ellcey  <sellcey@mips.com>
1621         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1622         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1623         (libc_feholdexcept_setround_mips): Ditto.
1624         (libc_feholdsetround): New.
1625         (libc_feholdsetroundf): New.
1626         (libc_feholdsetroundl): New.
1627         (libc_feupdateenv_test_mips): New.
1628         (libc_feupdateenv_test): New.
1629         (libc_feupdateenv_testf): New.
1630         (libc_feupdateenv_testl): New.
1631         (libc_feresetround): New.
1632         (libc_feresetroundf): New.
1633         (libc_feresetroundl): New.
1634         (libc_fetestexcept_mips): New.
1635         (libc_fetestexcept): New.
1636         (libc_fetestexceptf): New.
1637         (libc_fetestexceptl): New.
1638         (HAVE_RM_CTX): New.
1639         (libc_feholdexcept_setround_mips_ctx): New.
1640         (libc_feholdexcept_setround_ctx): New.
1641         (libc_feholdexcept_setroundf_ctx): New.
1642         (libc_feholdexcept_setroundl_ctx): New.
1643         (libc_fesetenv_mips_ctx): New.
1644         (libc_fesetenv_ctx): New.
1645         (libc_fesetenv_ctxf): New.
1646         (libc_fesetenv_ctxl): New.
1647         (libc_feupdateenv_mips_ctx): New.
1648         (libc_feupdateenv_ctx): New.
1649         (libc_feupdateenvf_ctx): New.
1650         (libc_feupdateenvl_ctx): New.
1651         (libc_feholdsetround_mips_ctx): New.
1652         (libc_feholdsetround_ctx): New.
1653         (libc_feholdsetroundf_ctx): New.
1654         (libc_feholdsetroundl_ctx): New.
1655         (libc_feresetround_mips_ctx): New.
1656         (libc_feresetround_ctx): New.
1657         (libc_feresetroundf_ctx): New.
1658         (libc_feresetroundl_ctx): New.
1660 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
1662         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1664         * manual/ipc.texi: New file.
1665         * manual/Makefile (chapters): Add ipc.
1666         * manual/job.texi: Add "Inter-Process Communication" to next.
1667         * manual/process.texi: Add "Inter-Process Communication" to prev.
1669 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1673 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
1675         * malloc/malloc.c (__libc_calloc): Simplify implementation.
1677         * manual/arith.texi: Fix spaces after sentences.
1678         * manual/charset.texi: Likewise.
1679         * manual/errno.texi: Likewise.
1680         * manual/install.texi: Likewise.
1681         * manual/llio.texi: Likewise.
1682         * manual/locale.texi: Likewise.
1683         * manual/maint.texi: Likewise.
1684         * manual/math.texi: Likewise.
1685         * manual/memory.texi: Likewise.
1686         * manual/message.texi: Likewise.
1687         * manual/probes.texi: Likewise.
1688         * manual/resource.texi: Likewise.
1689         * manual/signal.texi: Likewise.
1690         * manual/socket.texi: Likewise.
1691         * manual/stdio.texi: Likewise.
1692         * manual/string.texi: Likewise.
1693         * manual/time.texi: Likewise.
1694         * manual/users.texi: Likewise.
1696 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
1698         [BZ #16632]
1699         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1700         _DEFAULT_SOURCE is defined.
1702 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
1703             Carlos O'Donell  <carlos@redhat.com>
1705         [BZ #16613]
1706         * elf/dl-tls.c (_dl_count_modids): New function.
1707         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1708         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1709         audit library and increment generation counter.
1710         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1711         * elf/tst-audit9.c: New file.
1712         * elf/tst-auditmod9a.c: New file.
1713         * elf/tst-auditmod9b.c: New file.
1714         * elf/Makefile: Add rules to build and run tst-audit9.
1716 2014-02-25  Florian Weimer  <fweimer@redhat.com>
1718         [BZ #15347]
1719         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1721 2014-02-25  Will Newton  <will.newton@linaro.org>
1723         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1724         (__longjmp): Restore sp and lr before restoring callee
1725         saved registers.  Add longjmp and longjmp_target
1726         SystemTap probe point.
1727         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1728         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1729         Define to zero to match jmpbuf layout.
1730         * sysdeps/arm/setjmp.S: Include stap-probe.h.
1731         (__sigsetjmp): Save sp and lr before saving callee
1732         saved registers.  Add setjmp SystemTap probe point.
1734 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1736         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1738 2014-02-24  Andreas Schwab  <schwab@suse.de>
1740         [BZ #15804]
1741         * elf/pldd.c (wait_for_ptrace_stop): New function.
1742         (main): Call it after attaching.
1744 2014-02-22  Roland McGrath  <roland@hack.frob.com>
1746         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1747         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1748         Versions files is now verboten.
1749         * hurd/Versions (libc: GLIBC_2.0):
1750         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1751         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1752         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1753         * mach/Versions: Likewise.
1755         * csu/Versions: Remove unused %include.
1756         * resolv/Versions: Likewise.
1758 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
1760         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1761         ($(objpfx)check-local-headers.out): Likewise.
1762         ($(objpfx)begin-end-check.out): Likewise.
1763         * Makerules (check-abi-%.out): Likewise.
1764         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1765         ($(objpfx)test2.cat): Likewise.
1766         ($(objpfx)de/libc.cat): Likewise.
1767         ($(objpfx)test-gencat.out): Likewise.
1768         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1769         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1770         ($(objpfx)noload-mem): Likewise.
1771         ($(objpfx)tst-pathopt.out): Likewise.
1772         ($(objpfx)tst-rtld-load-self.out): Likewise.
1773         ($(objpfx)tst-array1-cmp.out): Likewise.
1774         ($(objpfx)tst-array1-static-cmp.out): Likewise.
1775         ($(objpfx)tst-array2-cmp.out): Likewise.
1776         ($(objpfx)tst-array3-cmp.out): Likewise.
1777         ($(objpfx)tst-array4-cmp.out): Likewise.
1778         ($(objpfx)tst-array5-cmp.out): Likewise.
1779         ($(objpfx)tst-array5-static-cmp.out): Likewise.
1780         ($(objpfx)check-textrel.out): Likewise.
1781         ($(objpfx)check-execstack.out): Likewise.
1782         ($(objpfx)check-localplt.out): Likewise.
1783         ($(objpfx)order2-cmp.out): Likewise.
1784         ($(objpfx)tst-leaks1-mem): Likewise.
1785         ($(objpfx)tst-leaks1-static-mem): Likewise.
1786         ($(objpfx)tst-initorder-cmp.out): Likewise.
1787         ($(objpfx)tst-initorder2-cmp.out): Likewise.
1788         ($(objpfx)tst-unused-dep.out): Likewise.
1789         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1790         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1791         * iconv/Makefile (test-iconvconfig): Likewise.
1792         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1793         ($(objpfx)iconv-test.out): Likewise.
1794         ($(objpfx)tst-tables.out): Likewise.
1795         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1796         ($(objpfx)tst-gettext.out): Likewise.
1797         ($(objpfx)tst-translit.out): Likewise.
1798         ($(objpfx)tst-gettext2.out): Likewise.
1799         ($(objpfx)tst-gettext4.out): Likewise.
1800         ($(objpfx)tst-gettext6.out): Likewise.
1801         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1802         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1803         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1804         ($(objpfx)tst-fopenloc-mem.out): Likewise.
1805         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1806         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1807         * posix/Makefile ($(objpfx)globtest.out): Likewise.
1808         ($(objpfx)wordexp-tst.out): Likewise.
1809         ($(objpfx)annexc.out): Likewise.
1810         ($(objpfx)tst-fnmatch-mem): Likewise.
1811         ($(objpfx)bug-regex2-mem): Likewise.
1812         ($(objpfx)bug-regex14-mem): Likewise.
1813         ($(objpfx)bug-regex21-mem): Likewise.
1814         ($(objpfx)bug-regex31-mem): Likewise.
1815         ($(objpfx)tst-vfork3-mem): Likewise.
1816         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1817         ($(objpfx)tst-pcre-mem): Likewise.
1818         ($(objpfx)tst-boost-mem): Likewise.
1819         ($(objpfx)tst-getconf.out): Likewise.
1820         ($(objpfx)bug-ga2-mem): Likewise.
1821         ($(objpfx)bug-glob2-mem): Likewise.
1822         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1823         ($(objpfx)mtrace-tst-leaks2): Likewise.
1824         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1825         ($(objpfx)tst-printf.out): Likewise.
1826         ($(objpfx)tst-setvbuf1.out): Likewise.
1827         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1828         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1829         ($(objpfx)tst-fmtmsg.out): Likewise.
1830         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1831         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1833         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1834         * bits/sigaction.h [__USE_MISC]: Likewise.
1835         * bits/waitstatus.h: Update #endif comments.
1836         * ctype/ctype.h: Likewise.
1837         * dirent/dirent.h: Likewise.
1838         [__USE_MISC]: Remove redundant conditionals.
1839         * grp/grp.h: Update #endif comments.
1840         [__USE_GNU]: Remove redundant conditionals.
1841         [__USE_MISC]: Likewise.
1842         * inet/netinet/in.h [__USE_GNU]: Likewise.
1843         * io/sys/stat.h [__USE_MISC]: Likewise.
1844         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1845         * libio/bits/stdio.h: Update #endif comments.
1846         [__USE_MISC]: Remove redundant conditionals.
1847         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1848         * libio/stdio.h: Update #endif comments.
1849         [__USE_MISC]: Remove redundant conditionals.
1850         * math/bits/math-finite.h [__USE_MISC]: Likewise.
1851         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1852         * math/math.h: Update #else and #endif comments.
1853         [__USE_MISC]: Remove redundant conditionals.
1854         * misc/sys/uio.h: Update #endif comments.
1855         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1856         * posix/glob.h [__USE_MISC]: Likewise.
1857         * posix/sys/types.h: Update #endif comments.
1858         [__USE_MISC]: Remove redundant conditionals.
1859         * posix/sys/wait.h: Update #endif comments.
1860         [__USE_MISC]: Remove redundant conditionals.
1861         * posix/unistd.h: Update #endif comments.
1862         [__USE_MISC]: Remove redundant conditionals.
1863         * pwd/pwd.h [__USE_GNU]: Likewise.
1864         [__USE_MISC]: Likewise.
1865         * resolv/netdb.h [__USE_GNU]: Likewise.
1866         * signal/signal.h: Update #endif comments.
1867         [__USE_MISC]: Remove redundant conditionals.
1868         * stdlib/stdlib.h: Update #else and #endif comments.
1869         [__USE_MISC]: Remove redundant conditionals.
1870         [__USE_GNU]: Likewise.
1871         * string/bits/string2.h [__USE_MISC]: Likewise.
1872         * string/string.h: Update #endif comments.
1873         [__USE_MISC]: Remove redundant conditionals.
1874         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1875         Likewise.
1876         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1877         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1878         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1879         Likewise.
1880         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1881         Likewise.
1882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1883         comments.
1884         [__USE_MISC]: Remove redundant conditionals.
1885         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1886         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1887         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1888         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1889         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1890         Likewise.
1891         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1892         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1893         Likewise.
1894         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1895         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1896         Likewise.
1897         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1898         Likewise.
1899         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1900         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1901         Likewise.
1902         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1903         Likewise.
1904         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1905         * sysdeps/x86/bits/string.h: Update #endif comments.
1906         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1907         conditionals.
1908         * time/sys/time.h: Update #endif comments.
1909         * time/time.h: Likewise.
1910         [__USE_MISC]: Remove redundant conditionals.
1912 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
1914         [BZ #16600]
1915         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1917 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
1919         * Versions.def (librt): Add GLIBC_2.17.
1921 2014-02-21  Adam Conrad  <adconrad@0c3.net>
1923         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1924         synonym for _SYS_AUXV_H to allow direct inclusion.
1925         * sysdeps/sparc/bits/hwcap.h: Likewise.
1926         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1927         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1928         * sysdeps/sparc/sysdep.h: Likewise.
1930 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1932         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1934 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1936         * benchtests/bench-strrchr.c: Print length instead of position.
1938 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
1940         [BZ #16611]
1941         * sysdeps/unix/sysv/linux/kernel-features.h
1942         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1943         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1944         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1945         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1946         Likewise.
1947         [__i386__ || __powerpc__ || __sh__ || __sparc__]
1948         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1949         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1950         (__ASSUME_SENDMMSG): Define instead of using previous
1951         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1952         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1953         (__ASSUME_SENDMMSG_SYSCALL): Define.
1954         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1955         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1956         Likewise.
1957         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1958         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1959         Likewise.
1960         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1961         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1962         Likewise.
1963         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1964         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1965         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1966         [__ASSUME_SENDMMSG]: Change conditionals to
1967         [__ASSUME_SENDMMSG_SOCKETCALL].
1968         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1969         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
1970         Define.
1971         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1972         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
1973         Likewise.
1974         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
1975         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1976         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1977         [!__ASSUME_SENDMMSG]: Change conditional to
1978         [!__ASSUME_SENDMMSG_SOCKETCALL].
1979         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1980         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1981         Define.
1983         [BZ #16610]
1984         * sysdeps/unix/sysv/linux/kernel-features.h
1985         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
1986         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
1987         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
1988         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
1989         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1990         [__i386__ || __sparc__]
1991         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1992         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
1993         (__ASSUME_RECVMMSG): Define instead of using previous
1994         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
1995         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1996         (__ASSUME_RECVMMSG_SYSCALL): Define.
1997         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1998         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
1999         Likewise.
2000         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2001         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2002         Likewise.
2003         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2004         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2005         Likewise.
2006         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2007         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2008         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2009         [__ASSUME_RECVMMSG]: Change condition to
2010         [__ASSUME_RECVMMSG_SOCKETCALL].
2011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2012         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2013         Define.
2014         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2015         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2016         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2017         Likewise.
2018         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2019         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2020         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2021         [!__ASSUME_RECVMMSG]: Change condition to
2022         [!__ASSUME_RECVMMSG_SOCKETCALL].
2023         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2024         (__ASSUME_RECVMMSG_SYSCALL): Define.
2026         [BZ #16609]
2027         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2028         __powerpc__ || __s390__ || __sh__ || __sparc__]
2029         (__ASSUME_SOCKETCALL): Define.
2030         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2031         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2032         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2033         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2034         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2035         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2036         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2037         (__ASSUME_ACCEPT4): Define instead of using previous
2038         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2039         __powerpc__ || __sparc__ || __s390__)] condition.
2040         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2041         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2042         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2043         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2044         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2045         [!__ASSUME_ACCEPT4]: Change condition to
2046         [!__ASSUME_ACCEPT4_SOCKETCALL].
2047         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2048         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
2049         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2050         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2051         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2052         __ASSUME_ACCEPT4_SYSCALL.
2053         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2054         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2055         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2056         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2057         __ASSUME_ACCEPT4_SYSCALL.
2058         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2059         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2060         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2061         [__ASSUME_ACCEPT4]: Change condition to
2062         [__ASSUME_ACCEPT4_SOCKETCALL].
2063         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2064         (__ASSUME_SOCKETCALL): Define.
2065         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2066         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2067         (__ASSUME_SOCKETCALL): Define.
2068         (__ASSUME_ACCEPT4): Remove.
2069         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2070         Define.
2071         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2072         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2073         Likewise.
2074         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2075         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2077         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2078         macro.
2079         (HWCAP_ARM_LPAE): Likewise.
2080         (HWCAP_ARM_EVTSTRM): Likewise.
2081         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2082         Add vpfd32, lpae and evtstrm.
2083         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2084         Increase to 22.
2086 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
2088         * math/auto-libm-test-in: Add tests of clog10.
2089         * math/auto-libm-test-out: Regenerated.
2090         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2091         * sysdeps/i386/fpu/libm-test-ulps: Update.
2092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2094 2014-02-18  Andreas Schwab  <schwab@suse.de>
2096         [BZ #16574]
2097         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2098         Store non-zero if the second buffer was newly allocated.
2099         (send_dg): Likewise.
2100         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2101         to send_vc and send_dg.
2102         (res_nsend): Pass NULL for ansp2_malloced.
2103         * resolv/res_query.c (__libc_res_nquery): Add parameter
2104         answerp2_malloced and pass it down to __libc_res_nsend.
2105         (res_nquery): Pass additional NULL to __libc_res_nquery.
2106         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2107         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
2108         second answer buffer if answerp2_malloced was set.
2109         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2110         (__libc_res_nquerydomain): Add parameter
2111         answerp2_malloced and pass it down to __libc_res_nquery.
2112         (res_nquerydomain): Pass additional NULL to
2113         __libc_res_nquerydomain.
2114         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2115         additional NULL to __libc_res_nsend and __libc_res_nquery.
2116         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2117         additional NULL to __libc_res_nsearch.
2118         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
2119         parameter of __libc_res_nsearch to check for separately allocated
2120         second buffer.
2121         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2122         __libc_res_nquery.
2123         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2124         additional NULL to __libc_res_nquery.
2125         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2126         __libc_res_nsearch.
2127         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2128         * include/resolv.h: Update prototypes of __libc_res_nquery,
2129         __libc_res_nsearch, __libc_res_nsend.
2131 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
2133         * math/auto-libm-test-in: Add tests of fma.
2134         * math/auto-libm-test-out: Regenerated.
2135         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2136         (fma_towardzero_test_data): Likewise.
2137         (fma_downward_test_data): Likewise.
2138         (fma_upward_test_data): Likewise.
2139         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2140         mpc_mode.
2141         (rounding_modes): Add values for new field.
2142         (func_calc_method): Add value mpfr_fff_f.
2143         (func_calc_desc): Add mpfr_fff_f union field.
2144         (test_function): Add field exact_args.
2145         (FUNC): Add macro argument EXACT_ARGS.
2146         (FUNC_mpfr_f_f): Update call to FUNC.
2147         (FUNC_mpfr_f_f): Likewise.
2148         (FUNC_mpfr_ff_f): Likewise.
2149         (FUNC_mpfr_if_f): Likewise.
2150         (FUNC_mpc_c_f): Likewise.
2151         (FUNC_mpc_c_c): Likewise.
2152         (test_functions): Add fma.  Update calls to FUNC.
2153         (handle_input_arg): Add argument exact_args.
2154         (add_test): Update call to handle_input_arg.
2155         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
2156         (output_for_one_input_case): Update call to calc_generic_results.
2157         Recalculate exact zero results in each rounding mode.
2159         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2160         non-negative before setting low bit.
2161         * math/auto-libm-test-in: Mark one asin test possibly having
2162         spurious underflow.
2163         * math/auto-libm-test-out: Regenerated.
2164         * sysdeps/i386/fpu/libm-test-ulps: Update.
2165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2167 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
2169         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2170         * sysdeps/unix/sysv/linux/microblaze: Move directory from
2171         ports/sysdeps/unix/sysv/linux/microblaze.
2172         * README: Add missing listing for microblaze*-*-linux-gnu.
2174 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
2176         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2177         * sysdeps/unix/sysv/linux/ia64: Move directory from
2178         ports/sysdeps/unix/sysv/linux/ia64.
2179         * README: Update listing for ia64-*-linux-gnu.
2181 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
2182             Joseph Myers  <joseph@codesourcery.com>
2184         * Makeconfig (test-name): New variable.
2185         (evaluate-test): Likewise.
2186         * Makerules (do-test-clean): Remove .test-result files.
2187         (common-mostlyclean): Likewise.
2188         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2189         * scripts/evaluate-test.sh: New file.
2191 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
2193         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2194         separate $(objpfx)tst-fopenloc-cmp.out and
2195         $(objpfx)tst-fopenloc-mem.out targets.
2196         (tests): Update dependencies.
2197         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2198         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2199         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2200         (tst-rxspencer-no-utf8-ARGS): New variable.
2201         (tst-rxspencer-no-utf8-ENV): Likewise.
2202         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2203         instead of $(objpfx)tst-rxspencer-mem.
2204         ($(objpfx)tst-rxspencer-mem): Change target to
2205         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
2206         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2207         * posix/tst-rxspencer-no-utf8.c: New file.
2209         * elf/Makefile ($(objpfx)order.out): Remove rule.
2210         [$(run-built-tests) = yes] (tests): Depend on
2211         $(objpfx)order-cmp.out.
2212         ($(objpfx)order-cmp.out): New rule.
2213         [$(run-built-tests) = yes] (tests): Depend on
2214         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2215         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2216         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2217         $(objpfx)tst-array5-static-cmp.out.
2218         ($(objpfx)tst-array1.out): Remove rule.
2219         ($(objpfx)tst-array1-cmp.out): New rule.
2220         ($(objpfx)tst-array1-static.out): Remove rule.
2221         ($(objpfx)tst-array1-static-cmp.out): New rule.
2222         ($(objpfx)tst-array2.out): Remove rule.
2223         ($(objpfx)tst-array2-cmp.out): New rule.
2224         ($(objpfx)tst-array3.out): Remove rule.
2225         ($(objpfx)tst-array3-cmp.out): New rule.
2226         ($(objpfx)tst-array4.out): Remove rule.
2227         ($(objpfx)tst-array4-cmp.out): New rule.
2228         ($(objpfx)tst-array5.out): Remove rule.
2229         ($(objpfx)tst-array5-cmp.out): New rule.
2230         ($(objpfx)tst-array5-static.out): Remove rule.
2231         ($(objpfx)tst-array5-static-cmp.out): New rule.
2232         [$(run-built-tests) = yes] (tests): Depend on
2233         $(objpfx)order2-cmp.out.
2234         ($(objpfx)order2.out): Remove rule.
2235         ($(objpfx)order2-cmp.out): New rule.
2236         ($(objpfx)tst-initorder.out): Remove rule.
2237         [$(run-built-tests) = yes] (tests): Depend on
2238         $(objpfx)tst-initorder-cmp.out.
2239         ($(objpfx)tst-initorder-cmp.out): New rule.
2240         ($(objpfx)tst-initorder2.out): Remove rule.
2241         [$(run-built-tests) = yes] (tests): Depend on
2242         $(objpfx)tst-initorder2-cmp.out.
2243         ($(objpfx)tst-initorder2-cmp.out): New rule.
2244         [$(run-built-tests) = yes] (tests): Depend on
2245         $(objpfx)tst-unused-dep-cmp.out.
2246         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2247         ($(objpfx)tst-unused-dep-cmp.out): New rule.
2248         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2249         on $(objpfx)tst-setvbuf1-cmp.out.
2250         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2251         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2252         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2253         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2254         ($(objpfx)tst-svc.out): Remove rule.
2255         ($(objpfx)tst-svc-cmp.out): New rule.
2257 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
2259         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2260         * ctype/ctype.h [__USE_MISC]: Likewise.
2261         * dirent/dirent.h [__USE_MISC]: Likewise.
2262         * grp/grp.h [__USE_MISC]: Likewise.
2263         * io/fcntl.h [__USE_MISC]: Likewise.
2264         * io/sys/stat.h [__USE_MISC]: Likewise.
2265         * libio/stdio.h [__USE_MISC]: Likewise.
2266         * posix/unistd.h [__USE_MISC]: Likewise.
2267         * pwd/pwd.h [__USE_MISC]: Likewise.
2268         * stdlib.h [__USE_MISC]: Likewise.
2269         * string/bits/string2.h [__USE_MISC]: Likewise.
2270         * string/string.h [__USE_MISC]: Likewise.
2271         * time/time.h [__USE_MISC]: Likewise.
2273 2014-02-13  Andreas Schwab  <schwab@suse.de>
2275         [BZ #16574]
2276         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2277         second answer buffer if it was separately allocated.
2279 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2281         * sysdeps/mips/math-tests.h: Include <features.h>.
2282         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2283         (ROUNDING_TESTS_long_double): Do not define.
2284         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2285         (EXCEPTION_TESTS_long_double): Likewise.
2286         * sysdeps/mips/mips64/libm-test-ulps: Update.
2288         * include/features.h (__USE_BSD): Remove macro definitions.
2289         (__USE_SVID): Likewise.
2290         (_BSD_SOURCE): Likewise.
2291         (_SVID_SOURCE): Likewise.
2292         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2293         from definition of _DEFAULT_SOURCE.
2294         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2295         [_DEFAULT_SOURCE].
2296         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2297         * bits/mman.h [__USE_BSD]: Likewise.
2298         * bits/termios.h [__USE_BSD]: Likewise.
2299         * bits/waitstatus.h [__USE_BSD]: Likewise.
2300         * ctype/ctype.h [__USE_SVID]: Likewise.
2301         * dirent/dirent.h [__USE_BSD]: Likewise.
2302         * grp/grp.h [__USE_SVID]: Likewise.
2303         [__USE_BSD]: Likewise.
2304         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2305         * io/fcntl.h [__USE_BSD]: Likewise.
2306         * io/ftw.h [__USE_BSD]: Likewise.
2307         * io/sys/stat.h [__USE_BSD]: Likewise.
2308         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2309         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2310         * libio/stdio.h [__USE_SVID]: Likewise.
2311         [__USE_BSD]: Likewise.
2312         * math/math.h [__USE_SVID]: Likewise.
2313         [__USE_BSD]: Likewise.
2314         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2315         * misc/bits/syslog.h [__USE_BSD]: Likewise.
2316         * misc/search.h [__USE_SVID]: Likewise.
2317         * misc/sys/mman.h [__USE_BSD]: Likewise.
2318         * misc/sys/syslog.h [__USE_BSD]: Likewise.
2319         * misc/sys/uio.h [__USE_BSD]: Likewise.
2320         * posix/bits/unistd.h [__USE_BSD]: Likewise.
2321         * posix/glob.h [__USE_BSD]: Likewise.
2322         * posix/regex.h [__USE_BSD]: Likewise.
2323         * posix/sys/types.h [__USE_BSD]: Likewise.
2324         [__USE_SVID]: Likewise.
2325         * posix/sys/utsname.h [__USE_SVID]: Likewise.
2326         * posix/sys/wait.h [__USE_BSD]: Likewise.
2327         [__USE_SVID]: Likewise.
2328         * posix/unistd.h [__USE_BSD]: Likewise.
2329         [__USE_SVID]: Likewise.
2330         * pwd/pwd.h [__USE_SVID]: Likewise.
2331         * resolv/netdb.h [__USE_BSD]: Likewise.
2332         * setjmp/setjmp.h [__USE_BSD]: Likewise.
2333         * signal/signal.h [__USE_BSD]: Likewise.
2334         [__USE_SVID]: Likewise.
2335         * socket/sys/socket.h [__USE_BSD]: Likewise.
2336         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2337         * stdlib/stdlib.h [__USE_BSD]: Likewise.
2338         [__USE_SVID]: Likewise.
2339         * string/bits/string2.h [__USE_BSD]: Likewise.
2340         [__USE_SVID]: Likewise.
2341         * string/bits/string3.h [__USE_BSD]: Likewise.
2342         * string/endian.h [__USE_BSD]: Likewise.
2343         * string/string.h [__USE_SVID]: Likewise.
2344         [__USE_BSD]: Likewise.
2345         * string/strings.h [__USE_BSD]: Likewise.
2346         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2347         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2348         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2349         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2350         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2351         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2352         Likewise.
2353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2354         Likewise.
2355         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2356         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2357         Likewise.
2358         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2359         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2360         Likewise.
2361         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2362         Likewise.
2363         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2364         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2365         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2366         Likewise.
2367         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2368         Likewise.
2369         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2370         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2371         * termios/termios.h [__USE_BSD]: Likewise.
2372         * time/sys/time.h [__USE_BSD]: Likewise.
2373         * time/time.h [__USE_BSD]: Likewise.
2374         [__USE_SVID]: Likewise.
2376         * Makefile (subdir_targets): Remove subdir_lint.out.
2378         * stdio-common/Makefile (do-tst-unbputc): Remove target.
2379         (do-tst-printf): Likewise.
2380         (tests): Depend directly on $(objpfx)tst-unbputc.out and
2381         $(objpfx)tst-printf.out.
2383         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2385         * Makerules (check-abi-%): Change target to
2386         $(objpfx)check-abi-%.out.
2387         (check-abi target): Update dependencies.
2388         (check-abi-pattern variable): Redirect output of diff to $@.
2389         (check-abi variable): Likewise.
2390         * elf/Makefile (check-abi): Update dependencies.
2392         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2393         unused.
2394         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2395         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2396         subnormal range.
2397         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2398         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2399         value has largest subnormal exponent.
2400         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2401         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2402         * sysdeps/aarch64/soft-fp/sfp-machine.h
2403         (_FP_TININESS_AFTER_ROUNDING): New macro.
2404         * sysdeps/alpha/soft-fp/sfp-machine.h
2405         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2406         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2407         Likewise.
2408         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2409         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2410         * sysdeps/mips/soft-fp/sfp-machine.h
2411         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2412         * sysdeps/powerpc/soft-fp/sfp-machine.h
2413         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2414         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2415         Likewise.
2416         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2417         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2418         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2419         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2420         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2421         Likewise.
2423 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
2425         [BZ #16545]
2426         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2427         model 1.
2429 2014-02-12  Richard Henderson  <rth@redhat.com>
2431         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2432         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2433         * sysdeps/unix/sysv/linux/alpha: Move directory from
2434         ports/sysdeps/unix/sysv/linux/alpha.
2435         * README: Update listing for alpha-*-linux-gnu.
2437 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
2439         * include/features.h: Update comment documenting feature test
2440         macros.
2441         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
2442         _DEFAULT_SOURCE.
2443         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2444         (_SVID_SOURCE): Likewise.
2445         (_DEFAULT_SOURCE): Update description of default features.
2446         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2447         with _GNU_SOURCE.
2448         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2449         (S_ISVTX): Likewise.
2450         * manual/math.texi (Mathematical Constants): Likewise.
2451         * manual/signal.texi (Interrupted Primitives): Likewise.
2452         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2453         * math/test-matherr.c (_SVID_SOURCE): Do not define.
2454         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2455         Don't refer to _SVID_SOURCE in warning text.
2457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2459         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2460         already defined.
2461         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2462         * sysdeps/mips/dl-lookup.c: Remove.
2463         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2465 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2467         [BZ #16447]
2468         * math/auto-libm-test-in: Add testcase for expl.
2469         * math/auto-libm-test-out: Regenerate.
2470         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2471         calculation of unsafe.
2472         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2474 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2476         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2477         * sysdeps/unix/sysv/linux/aarch64: Move directory from
2478         ports/sysdeps/unix/sysv/linux/aarch64.
2479         * README: Update listing for aarch64*-*-linux-gnu.
2481 2014-02-11  Will Newton  <will.newton@linaro.org>
2483         * manual/probes.texi (Mathematical Function Probes): Use
2484         "triggered" instead of "hit".
2486 2014-02-11  Will Newton  <will.newton@linaro.org>
2488         * manual/probes.texi (Internal Probes): Add documentation
2489         of setjmp, longjmp and longjmp_target probes.
2491 2014-02-11  Will Newton  <will.newton@linaro.org>
2493         * include/stap-probe.h: Add comment about probe argument
2494         format.
2496 2014-02-11  Will Newton  <will.newton@linaro.org>
2498         * malloc/mtrace.c (attribute_hidden): Remove unused macro
2499         definition.  (tr_where, tr_freehook, tr_mallochook,
2500         tr_reallochook, tr_memalignhook): Use ANSI protoype.
2502 2014-02-11  David S. Miller  <davem@davemloft.net>
2504         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2505         processing int_tests.
2507 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
2509         * sysdeps/mips: Move directory from ports/sysdeps/mips.
2510         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2511         * sysdeps/unix/sysv/linux/mips: Move directory from
2512         ports/sysdeps/unix/sysv/linux/mips.
2513         * README: Update listing for mips-*-linux-gnu and
2514         mips64-*-linux-gnu.
2516 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
2518         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2519         * sysdeps/unix/sysv/linux/m68k: Move directory from
2520         ports/sysdeps/unix/sysv/linux/m68k.
2521         * README: Update listing for m68k-*-linux-gnu.
2523 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
2525         * sysdeps/tile: Move directory from ports/sysdeps/tile.
2526         * sysdeps/unix/sysv/linux/generic: Move directory from
2527         ports/sysdeps/unix/sysv/linux/generic.
2528         * sysdeps/unix/sysv/linux/tile: Move directory from
2529         ports/sysdeps/unix/sysv/linux/tile.
2530         * README: Update listing for tile*-*-linux-gnu.
2532 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2534         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2535         * benchtests/bench-memmem.c (simple_memmem): Likewise.
2536         * catgets/open_catalog.c (__open_catalog): Likewise.
2537         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2538         * debug/confstr_chk.c: Likewise.
2539         * debug/fread_chk.c (__fread_chk): Likewise.
2540         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2541         * debug/getgroups_chk.c: Likewise.
2542         * debug/mbsnrtowcs_chk.c: Likewise.
2543         * debug/mbsrtowcs_chk.c: Likewise.
2544         * debug/mbstowcs_chk.c: Likewise.
2545         * debug/memcpy_chk.c: Likewise.
2546         * debug/memmove_chk.c: Likewise.
2547         * debug/mempcpy_chk.c: Likewise.
2548         * debug/memset_chk.c: Likewise.
2549         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2550         * debug/strcat_chk.c (__strcat_chk): Likewise.
2551         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2552         * debug/strncat_chk.c (__strncat_chk): Likewise.
2553         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2554         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2555         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2556         * debug/wcpncpy_chk.c: Likewise.
2557         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2558         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2559         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2560         * debug/wcsncpy_chk.c: Likewise.
2561         * debug/wcsnrtombs_chk.c: Likewise.
2562         * debug/wcsrtombs_chk.c: Likewise.
2563         * debug/wcstombs_chk.c: Likewise.
2564         * debug/wmemcpy_chk.c: Likewise.
2565         * debug/wmemmove_chk.c: Likewise.
2566         * debug/wmempcpy_chk.c: Likewise.
2567         * debug/wmemset_chk.c: Likewise.
2568         * dirent/scandirat.c (SCANDIRAT): Likewise.
2569         * dlfcn/dladdr1.c (dladdr1): Likewise.
2570         * dlfcn/dladdr.c (dladdr): Likewise.
2571         * dlfcn/dlclose.c (dlclose_doit): Likewise.
2572         * dlfcn/dlerror.c (__dlerror): Likewise.
2573         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2574         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2575         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2576         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2577         * dlfcn/dlsym.c (dlsym_doit): Likewise.
2578         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2579         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2580         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2581         Likewise.
2582         * elf/dl-conflict.c: Likewise.
2583         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2584         * elf/dl-dst.h: Likewise.
2585         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2586         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2587         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2588         * elf/dl-init.c (call_init, _dl_init): Likewise.
2589         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2590         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2591         _dl_map_object_from_fd, open_verify, open_path,
2592         _dl_map_object): Likewise.
2593         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2594         Likewise.
2595         * elf/dl-minimal.c (__libc_memalign): Likewise.
2596         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2597         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2598         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2599         * elf/dl-sym.c (do_sym): Likewise.
2600         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2601         _dl_tls_get_addr_soft): Likewise.
2602         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2603         * elf/dl-writev.h (_dl_writev): Likewise.
2604         * elf/ldconfig.c (search_dir): Likewise.
2605         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2606         dl_main): Likewise.
2607         * elf/setup-vdso.h (setup_vdso): Likewise.
2608         * grp/compat-initgroups.c (compat_call): Likewise.
2609         * grp/fgetgrent.c (fgetgrent): Likewise.
2610         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2611         * grp/putgrent.c (putgrent): Likewise.
2612         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2613         Likewise.
2614         * hurd/hurdinit.c: Likewise.
2615         * iconvdata/8bit-gap.c (struct): Likewise.
2616         * iconvdata/ansi_x3.110.c : Likewise.
2617         * iconvdata/big5.c : Likewise.
2618         * iconvdata/big5hkscs.c : Likewise.
2619         * iconvdata/cp1255.c: Likewise.
2620         * iconvdata/cp1258.c : Likewise.
2621         * iconvdata/cp932.c : Likewise.
2622         * iconvdata/euc-cn.c: Likewise.
2623         * iconvdata/euc-jisx0213.c : Likewise.
2624         * iconvdata/euc-jp.c: Likewise.
2625         * iconvdata/euc-jp-ms.c : Likewise.
2626         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2627         * iconvdata/gb18030.c : Likewise.
2628         * iconvdata/gbbig5.c (const): Likewise.
2629         * iconvdata/gbgbk.c: Likewise.
2630         * iconvdata/gbk.c : Likewise.
2631         * iconvdata/ibm1364.c : Likewise.
2632         * iconvdata/ibm930.c : Likewise.
2633         * iconvdata/ibm932.c: Likewise.
2634         * iconvdata/ibm933.c : Likewise.
2635         * iconvdata/ibm935.c : Likewise.
2636         * iconvdata/ibm937.c : Likewise.
2637         * iconvdata/ibm939.c : Likewise.
2638         * iconvdata/ibm943.c: Likewise.
2639         * iconvdata/iso_11548-1.c: Likewise.
2640         * iconvdata/iso-2022-cn.c : Likewise.
2641         * iconvdata/iso-2022-cn-ext.c : Likewise.
2642         * iconvdata/iso-2022-jp-3.c: Likewise.
2643         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2644         * iconvdata/iso-2022-kr.c : Likewise.
2645         * iconvdata/iso646.c (gconv_end): Likewise.
2646         * iconvdata/iso_6937-2.c : Likewise.
2647         * iconvdata/iso_6937.c : Likewise.
2648         * iconvdata/iso8859-1.c: Likewise.
2649         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2650         * iconvdata/shift_jisx0213.c : Likewise.
2651         * iconvdata/sjis.c : Likewise.
2652         * iconvdata/t.61.c : Likewise.
2653         * iconvdata/tcvn5712-1.c : Likewise.
2654         * iconvdata/tscii.c: Likewise.
2655         * iconvdata/uhc.c : Likewise.
2656         * iconvdata/unicode.c (gconv_end): Likewise.
2657         * iconvdata/utf-16.c (gconv_end): Likewise.
2658         * iconvdata/utf-32.c (gconv_end): Likewise.
2659         * iconvdata/utf-7.c (base64): Likewise.
2660         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2661         * iconv/gconv_close.c (__gconv_close): Likewise.
2662         * iconv/gconv_open.c (__gconv_open): Likewise.
2663         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2664         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2665         internal_ucs4le_loop_single, ucs4le_internal_loop,
2666         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2667         * iconv/iconv.c (iconv): Likewise.
2668         * iconv/iconv_close.c: Likewise.
2669         * iconv/loop.c (SINGLE): Likewise.
2670         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2671         * include/atomic.h: Likewise.
2672         * inet/inet6_option.c (option_alloc): Likewise.
2673         * intl/bindtextdom.c (set_binding_values): Likewise.
2674         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2675         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2676         * intl/localealias.c (read_alias_file): Likewise.
2677         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2678         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2679         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2680         * libio/fmemopen.c (fmemopen): Likewise.
2681         * libio/iofgets.c (_IO_fgets): Likewise.
2682         * libio/iofgets_u.c (fgets_unlocked): Likewise.
2683         * libio/iofgetws.c (fgetws): Likewise.
2684         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2685         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2686         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2687         adjust_wide_data, _IO_wfile_seekoff): Likewise.
2688         * locale/findlocale.c (_nl_find_locale): Likewise.
2689         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2690         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2691         Likewise.
2692         * locale/setlocale.c (setlocale): Likewise.
2693         * login/programs/pt_chown.c (main): Likewise.
2694         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2695         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2696         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2697         mmap, mmap64, mremap, munmap): Likewise.
2698         * math/e_exp2l.c: Likewise.
2699         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2700         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2701         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2702         * math/s_catan.c (__catan): Likewise.
2703         * math/s_catanf.c (__catanf): Likewise.
2704         * math/s_catanh.c (__catanh): Likewise.
2705         * math/s_catanhf.c (__catanhf): Likewise.
2706         * math/s_catanhl.c (__catanhl): Likewise.
2707         * math/s_catanl.c (__catanl): Likewise.
2708         * math/s_ccosh.c (__ccosh): Likewise.
2709         * math/s_ccoshf.c (__ccoshf): Likewise.
2710         * math/s_ccoshl.c (__ccoshl): Likewise.
2711         * math/s_cexp.c (__cexp): Likewise.
2712         * math/s_cexpf.c (__cexpf): Likewise.
2713         * math/s_cexpl.c (__cexpl): Likewise.
2714         * math/s_clog10.c (__clog10): Likewise.
2715         * math/s_clog10f.c (__clog10f): Likewise.
2716         * math/s_clog10l.c (__clog10l): Likewise.
2717         * math/s_clog.c (__clog): Likewise.
2718         * math/s_clogf.c (__clogf): Likewise.
2719         * math/s_clogl.c (__clogl): Likewise.
2720         * math/s_csin.c (__csin): Likewise.
2721         * math/s_csinf.c (__csinf): Likewise.
2722         * math/s_csinh.c (__csinh): Likewise.
2723         * math/s_csinhf.c (__csinhf): Likewise.
2724         * math/s_csinhl.c (__csinhl): Likewise.
2725         * math/s_csinl.c (__csinl): Likewise.
2726         * math/s_csqrt.c (__csqrt): Likewise.
2727         * math/s_csqrtf.c (__csqrtf): Likewise.
2728         * math/s_csqrtl.c (__csqrtl): Likewise.
2729         * math/s_ctan.c (__ctan): Likewise.
2730         * math/s_ctanf.c (__ctanf): Likewise.
2731         * math/s_ctanh.c (__ctanh): Likewise.
2732         * math/s_ctanhf.c (__ctanhf): Likewise.
2733         * math/s_ctanhl.c (__ctanhl): Likewise.
2734         * math/s_ctanl.c (__ctanl): Likewise.
2735         * math/w_pow.c: Likewise.
2736         * math/w_powf.c: Likewise.
2737         * math/w_powl.c: Likewise.
2738         * math/w_scalb.c (sysv_scalb): Likewise.
2739         * math/w_scalbf.c (sysv_scalbf): Likewise.
2740         * math/w_scalbl.c (sysv_scalbl): Likewise.
2741         * misc/error.c (error_tail): Likewise.
2742         * misc/pselect.c (__pselect): Likewise.
2743         * nis/nis_callback.c (__nis_create_callback): Likewise.
2744         * nis/nis_call.c (__nisfind_server): Likewise.
2745         * nis/nis_creategroup.c (nis_creategroup): Likewise.
2746         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2747         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2748         * nis/nis_getservlist.c (nis_getservlist): Likewise.
2749         * nis/nis_lookup.c (nis_lookup): Likewise.
2750         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2751         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2752         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2753         * nis/nis_xdr.c (xdr_endpoint): Likewise.
2754         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2755         internal_getgrgid_r): Likewise.
2756         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2757         Likewise.
2758         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2759         internal_getpwuid_r): Likewise.
2760         * nis/nss_compat/compat-spwd.c (getspent_next_file,
2761         internal_getspnam_r): Likewise.
2762         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2763         _nss_nis_getaliasbyname_r): Likewise.
2764         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2765         _nss_nis_getntohost_r): Likewise.
2766         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2767         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2768         Likewise.
2769         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2770         internal_nis_gethostent_r, internal_gethostbyname2_r,
2771         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2772         _nss_nis_gethostbyname4_r): Likewise.
2773         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2774         initgroups_netid): Likewise.
2775         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2776         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2777         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2778         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2779         _nss_nis_getprotobynumber_r): Likewise.
2780         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2781         _nss_nis_getsecretkey): Likewise.
2782         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2783         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2784         Likewise.
2785         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2786         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2787         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2788         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2789         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2790         _nss_nis_getspnam_r): Likewise.
2791         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2792         Likewise.
2793         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2794         _nss_nisplus_getntohost_r): Likewise.
2795         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2796         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2797         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2798         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2799         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2800         Likewise.
2801         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2802         _nss_nisplus_getnetbyaddr_r): Likewise.
2803         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2804         _nss_nisplus_getprotobynumber_r): Likewise.
2805         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2806         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2807         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2808         Likewise.
2809         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2810         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2811         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2812         _nss_nisplus_getspnam_r): Likewise.
2813         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2814         * nscd/aicache.c (addhstaiX): Likewise.
2815         * nscd/cache.c (cache_search, prune_cache): Likewise.
2816         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2817         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2818         * nscd/grpcache.c (addgrbyX): Likewise.
2819         * nscd/hstcache.c (addhstbyX): Likewise.
2820         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2821         * nscd/mem.c (gc, mempool_alloc): Likewise.
2822         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2823         Likewise.
2824         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2825         Likewise.
2826         * nscd/nscd_getai.c (__nscd_getai): Likewise.
2827         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2828         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2829         Likewise.
2830         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2831         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2832         * nscd/nscd_helper.c (__readvall, open_socket,
2833         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2834         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2835         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2836         * nscd/pwdcache.c (addpwbyX): Likewise.
2837         * nscd/selinux.c (preserve_capabilities): Likewise.
2838         * nscd/servicescache.c (addservbyX): Likewise.
2839         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2840         * posix/fnmatch.c (fnmatch): Likewise.
2841         * posix/getopt.c (_getopt_internal_r): Likewise.
2842         * posix/glob.c (glob, glob_in_dir): Likewise.
2843         * posix/wordexp.c (exec_comm_child): Likewise.
2844         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2845         gaih_getanswer_slice): Likewise.
2846         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2847         * resolv/res_init.c: Likewise.
2848         * resolv/res_mkquery.c (res_nmkquery): Likewise.
2849         * resolv/res_query.c (__libc_res_nquery): Likewise.
2850         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2851         Likewise.
2852         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2853         * stdio-common/perror.c (perror): Likewise.
2854         * stdio-common/printf_fp.c (___printf_fp): Likewise.
2855         * stdio-common/tmpnam.c (tmpnam): Likewise.
2856         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2857         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2858         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2859         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2860         * stdlib/putenv.c (putenv): Likewise.
2861         * stdlib/setenv.c (__add_to_environ): Likewise.
2862         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2863         * stdlib/strtol_l.c (INTERNAL): Likewise.
2864         * string/memmem.c (memmem): Likewise.
2865         * string/strerror.c (strerror): Likewise.
2866         * string/strnlen.c (__strnlen): Likewise.
2867         * string/test-memmem.c (simple_memmem): Likewise.
2868         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2869         * sunrpc/pm_getport.c (__get_socket): Likewise.
2870         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2871         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2872         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2873         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2874         Likewise.
2875         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2876         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2877         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2878         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2879         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2880         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2881         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2882         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2883         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2884         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2885         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2886         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2888         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2889         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2890         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2891         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2892         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2893         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2894         Likewise.
2895         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2896         Likewise.
2897         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2898         Likewise.
2899         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2900         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2901         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2902         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2903         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2904         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2905         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2906         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2907         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2908         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2909         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2910         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2911         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2912         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2913         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2914         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2915         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2916         Likewise.
2917         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2918         Likewise.
2919         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2920         Likewise.
2921         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2923         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2924         Likewise.
2925         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2926         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2927         * sysdeps/posix/opendir.c (__opendirat): Likewise.
2928         * sysdeps/posix/sleep.c: Likewise.
2929         * sysdeps/posix/tempname.c: Likewise.
2930         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2931         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2932         Likewise.
2933         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2934         elf_machine_rela): Likewise.
2935         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2936         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2937         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2938         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2939         Likewise.
2940         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2941         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2942         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2943         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2944         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2945         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2946         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2947         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2948         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2949         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2950         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2951         elf_machine_lazy_rel): Likewise.
2952         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2953         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2954         elf_machine_lazy_rel): Likewise.
2955         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2956         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2957         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2958         * sysdeps/unix/grantpt.c (grantpt): Likewise.
2959         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2960         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2961         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2962         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2963         Likewise.
2964         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2965         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2966         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
2967         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
2968         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2969         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2970         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
2971         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
2972         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
2973         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2974         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2975         Likewise.
2976         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
2977         (__posix_fallocate64_l64): Likewise.
2978         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
2979         (posix_fallocate): Likewise.
2980         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
2981         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2982         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
2983         getifaddrs_internal): Likewise.
2984         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
2985         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
2986         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2987         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2988         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2989         (__posix_fallocate64_l64): Likewise.
2990         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2991         Likewise.
2992         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
2993         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2994         Likewise.
2995         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
2996         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2997         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
2998         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3000         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3001         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3002         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3003         Likewise.
3004         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3005         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3006         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3007         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3008         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3009         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3010         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3011         Likewise.
3012         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3013         (posix_fallocate): Likewise.
3014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3015         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3016         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3017         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3018         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3019         Likewise.
3020         * time/asctime.c (asctime_internal): Likewise.
3021         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3022         * time/tzset.c (__tzset_parse_tz): Likewise.
3023         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3024         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3025         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3026         * wcsmbs/wcsmbsload.h: Likewise.
3028 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3030         [BZ #15894]
3031         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3033 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3035         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3036         arena_get2): Remove THREAD_STATS conditionals.
3037         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3038         __malloc_stats, int): Likewise.
3040 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3042         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3043         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
3045 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3047         * manual/setjmp.texi: Fix typos/grammar errors.
3049 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3051         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3052         Only return early when n is <= 0.  Delete unused return statement.
3054 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3056         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3057         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3058         * debug/tst-longjmp_chk3.c: New file.
3060 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3062         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3063         (test_main): Replace code with set_fortify_handler call.
3064         * debug/test-strcpy_chk.c: Likewise.
3065         * debug/tst-chk1.c: Likewise.
3066         * debug/tst-longjmp_chk.c: Likewise.
3067         * test-skeleton.c: Include fcntl.h & paths.h
3068         (set_fortify_handler): Define.
3070 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3072         * debug/tst-longjmp_chk.c: Add header comment and include
3073         ../test-skeleton.c.
3074         (do_test): Mark static.
3075         (TEST_FUNCTION): Define.
3077 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3079         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3080         (IP_PMTUDISC_INTERFACE): Likewise.
3081         (IP_MULTICAST_IF): Likewise.
3082         (IP_MULTICAST_TTL): Likewise.
3083         (IP_MULTICAST_LOOP): Likewise.
3084         (IP_ADD_MEMBERSHIP): Likewise.
3085         (IP_DROP_MEMBERSHIP): Likewise.
3086         (IP_UNBLOCK_SOURCE): Likewise.
3087         (IP_BLOCK_SOURCE): Likewise.
3088         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3089         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3090         (IP_MSFILTER): Likewise.
3091         (MCAST_JOIN_GROUP): Likewise.
3092         (MCAST_BLOCK_SOURCE): Likewise.
3093         (MCAST_UNBLOCK_SOURCE): Likewise.
3094         (MCAST_LEAVE_GROUP): Likewise.
3095         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3096         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3097         (MCAST_MSFILTER): Likewise.
3098         (IP_MULTICAST_ALL): Likewise.
3099         (IP_UNICAST_IF): Likewise.
3101 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3103         * timezone/Makefile: Delete $(have-ksh) check.
3104         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3105         * timezone/tzselect.ksh: Add +x mode bits.
3107 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3109         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3110         (ANON_INODE_FS_MAGIC): Likewise.
3111         (BDEVFS_MAGIC): Likewise.
3112         (BINFMTFS_MAGIC): Likewise.
3113         (BTRFS_TEST_MAGIC): Likewise.
3114         (CRAMFS_MAGIC_WEND): Likewise.
3115         (DEBUGFS_MAGIC): Likewise.
3116         (ECRYPTFS_SUPER_MAGIC): Likewise.
3117         (EXT3_SUPER_MAGIC): Likewise.
3118         (EXT4_SUPER_MAGIC): Likewise.
3119         (FUTEXFS_SUPER_MAGIC): Likewise.
3120         (HOSTFS_SUPER_MAGIC): Likewise.
3121         (HUGETLBFS_MAGIC): Likewise.
3122         (MINIX3_SUPER_MAGIC): Likewise.
3123         (MTD_INODE_FS_MAGIC): Likewise.
3124         (NILFS_SUPER_MAGIC): Likewise.
3125         (OPENPROM_SUPER_MAGIC): Likewise.
3126         (PIPEFS_MAGIC): Likewise.
3127         (PSTOREFS_MAGIC): Likewise.
3128         (QNX6_SUPER_MAGIC): Likewise.
3129         (RAMFS_MAGIC): Likewise.
3130         (REISERFS_SUPER_MAGIC_STRING): Likewise.
3131         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3132         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3133         (SECURITYFS_MAGIC): Likewise.
3134         (SELINUX_MAGIC): Likewise.
3135         (SMACK_MAGIC): Likewise.
3136         (SOCKFS_MAGIC): Likewise.
3137         (SQUASHFS_MAGIC): Likewise.
3138         (STACK_END_MAGIC): Likewise.
3139         (TMPFS_MAGIC): Likewise.
3140         (USBDEVICE_SUPER_MAGIC): Likewise.
3141         (V9FS_MAGIC): Likewise.
3142         (XENFS_SUPER_MAGIC): Likewise.
3143         (CRAMFS_MAGIC): Fix typo in comment.
3144         (EXT2_SUPER_MAGIC): Update comment.
3145         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3147 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
3149         * sysdeps/arm: Move directory from ports/sysdeps/arm.
3150         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3151         * sysdeps/unix/sysv/linux/arm: Move directory from
3152         ports/sysdeps/unix/sysv/linux/arm.
3153         * README: Update listing for arm-*-linux-gnueabi.
3155         * README: Remove mention of am33.
3157 2014-02-07  Roland McGrath  <roland@hack.frob.com>
3159         * bits/sigset.h (__sigemptyset): Use a statement expression rather
3160         than the comma operator, to avoid "rhs of comma has no effect"
3161         compiler warnings.
3162         (__sigfillset, __sigandset, __sigorset): Likewise.
3163         * include/signal.h (__sigemptyset): Likewise.
3164         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3166 2014-02-07  Allan McRae  <allan@archlinux.org>
3168         * version.h (RELEASE): Set to "development".
3169         (VERSION): Set to "2.19.90"
3170         * NEWS: Add 2.20 section.
3172 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
3174         [BZ #16529]
3175         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3177 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3179         * manual/contrib.texi: Update entry for Carlos O'Donell,
3180         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3182 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3184         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3186         * sysdeps/unix/sysv/linux/kernel-features.h
3187         [__LINUX_KERNEL_VERSION >= 0x020621]
3188         (__ASSUME_PROC_PID_TASK_COMM): Define.
3190 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3192         [BZ #16398]
3193         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3194         conversion when destination buffer does not have enough space.
3195         * libio/tst-ftell-partial-wide.c: New test case.
3196         * libio/Makefile (tests): Add tst-ftell-partial-wide.
3198         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3199         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
3200         Leonard and Allan McRae.
3202 2014-02-04  David S. Miller  <davem@davemloft.net>
3204         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3205         32-bit.
3207 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3210         file
3211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3212         New file
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3214         file.
3215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3216         file.
3217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3218         New file.
3219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3220         file.
3221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3222         file.
3223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3224         New file.
3225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3226         New file.
3227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3228         New file.
3229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3230         New file.
3231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3232         New file.
3233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3234         New file.
3236 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3238         * nptl/shlib-versions: Change powerpc*le start to 2.17.
3239         * shlib-versions: Likewise.
3241 2014-02-04  Roland McGrath  <roland@hack.frob.com>
3242             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3244         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3245         (abilist-pattern): New variable, set to %-le.abilist.
3247         * Makerules (abilist-pattern): New variable.
3248         (vpath): Use $(abilist-pattern) in place of %.abilist.
3249         (check-abi-% pattern rule): Likewise.
3250         (check-abi, update-abi): Likewise.
3252 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3256 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3260 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
3262         * manual/startup.texi: Add next, previous, and top entries for
3263         the `Program Arguments' and `Environment Variables' nodes.
3265 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
3267         * manual/macros.texi: Add comments before MTASC-safety macros.
3269         * manual/users.texi: Document MTASC-safety properties.
3271         * manual/threads.texi (pthread_key_create, pthread_key_delete,
3272         pthread_getspecific, pthread_setspecific): Format with
3273         @deftypefun, and add @safety note.
3274         * manual/signal.texi: Move comments that analyze the above
3275         functions to their home place.
3277 2014-02-03  Allan McRae  <allan@archlinux.org>
3279         * po/sl.po: Update Slovenian translation from translation project.
3281 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
3283         * manual/time.texi (timegm): Add missing blank after @c.
3284         Reported by Joseph Myers <joseph@codesourcery.com>.
3286 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
3288         * manual/check-safety.sh: New.
3289         * manual/Makefile ($(objpfx)stamp-summary): Run it.
3291         * manual/terminal.texi: Document MTASC-safety properties.
3293         * manual/filesys.texi: Document MTASC-safety properties.
3295         * manual/errno.texi: Document MTASC-safety properties.
3297         * manual/intro.texi: Document safety identifiers and
3298         conditionals.
3300         * manual/string.texi (wcstok): Fix prototype.
3301         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3303         * manual/time.texi: Document MTASC-safety properties.
3305         * manual/string.texi: Document MTASC-safety properties.
3307         * manual/threads.texi: Document MTASC-safety properties.
3309         * manual/stdio.texi: Document MTASC-safety properties.
3311         * manual/syslog.texi: Document MTASC-safety properties.
3313         * manual/sysinfo.texi: Document MTASC-safety properties.
3315         * manual/startup.texi: Document MTASC-safety properties.
3317         * manual/socket.texi: Document MTASC-safety properties.
3319         * manual/signal.texi: Document MTASC-safety properties.
3321 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
3323         * manual/setjmp.texi: Document MTASC-safety properties.
3325         * manual/search.texi: Document MTASC-safety properties.
3327         * manual/resource.texi: Document MTASC-safety properties.
3329         * manual/process.texi: Document MTASC-safety properties.
3331         * manual/platform.texi: Document MTASC-safety properties.
3333         * manual/pipe.texi: Document MTASC-safety properties.
3335         * manual/pattern.texi: Document MTASC-safety properties.
3337         * manual/message.texi: Document MTASC-safety properties.
3339         [BZ #12751]
3340         * manual/memory.texi: Document MTASC-safety properties.
3342         * manual/math.texi: Document MTASC-safety properties.
3344         * manual/locale.texi: Document MTASC-safety properties.
3346         * manual/llio.texi: Document MTASC-safety properties.
3348         * manual/libdl.texi: New.
3350         * manual/lang.texi: Document MTASC-safety properties.
3352         * manual/job.texi: Document MTASC-safety properties.
3354         * manual/getopt.texi: Document MTASC-safety properties.
3356         * manual/ctype.texi: Document MTASC-safety properties.
3358 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
3360         [BZ #16046]
3361         * csu/libc-tls.c (static_map): Remove variable.
3362         (__libc_setup_tls): Use main executable's link map for TLS data.
3363         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3364         casing for LM_ID_BASE and GL(dl_nns).
3365         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3366         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
3367         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3368         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3369         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3370         member.
3371         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3372         l_phnum members.
3374 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
3376         * manual/debug.texi: Document MTASC-safety properties.
3378 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
3380         [BZ #16510]
3381         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3382         of __x86_64__ when disabling x87 inline functions.
3384 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
3386         * manual/charset.texi: Document MTASC-safety properties.
3388         * manual/crypt.texi: Document MTASC-safety properties.
3390         * manual/conf.texi: Document MTASC-safety properties.
3392         * manual/arith.texi: Document MTASC-safety properties.
3394         * manual/argp.texi: Document MTASC-safety properties.
3396         * manual/macros.texi: Introduce macros to document multi
3397         thread, asynchronous signal and asynchronous cancellation
3398         safety properties.
3399         * manual/intro.texi: Introduce the properties themselves.
3401 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3403         * sysdeps/sh/sh4/Makefile: New file.
3405 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
3407         * math/gen-libm-test.pl ($srcdir): New variable.
3408         ($auto_input): Use it.
3410 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3412         [BZ #16506]
3413         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3414         access beyond array bounds when parsing netgroups file.
3416         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3417         the old buffer before realloc.
3419 2014-01-27  Allan McRae  <allan@archlinux.org>
3421         * po/fr.po: Update French translation from translation project.
3423 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3425         * sysdeps/sh/libm-test-ulps: Regenerate.
3427 2014-01-24  David S. Miller  <davem@davemloft.net>
3429         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3431 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3433         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3434         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3436 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3438         [BZ #16474]
3439         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3440         string pointers after reallocation.
3442 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3444         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3445         __SH4A__ instead of __SH_FPU_ANY__.
3447 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3449         * sysdeps/sh/fpu_control.h: New file.
3450         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3451         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3452         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3453         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3454         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3455         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3456         * sysdeps/sh/sys/ucontext.h: Remove.
3457         * sysdeps/sh/sys: Remove directory.
3459 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3461         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3462         s390/sys/ucontext.h.
3463         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3464         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3466 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
3468         [BZ #15605]
3469         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3471 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3473         [BZ#16431]
3474         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3475         Adjust the vDSO correctly for internal calls.
3476         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3478 2014-01-20  Allan McRae  <allan@archlinux.org>
3480         * po/ca.po: Update Catalan translation from translation project.
3482 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
3484         * sysdeps/s390/sotruss-lib.c: New file.
3486 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3488         [BZ#16430]
3489         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3490         (__GI___gettimeofday): Alias for a different internal symbol to avoid
3491         local calls issues by not having a PLT stub required for IFUNC calls.
3492         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3494 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
3496         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3497         * math/test-fpucw-static.c: Likewise.
3499 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3501         [BZ #16453]
3502         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3504 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3506         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3507         implementation for powerpc.
3509 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
3511         [BZ #14782]
3512         * sysdeps/posix/system.c (__libc_system): Do not enable
3513         asynchronous cancellation.
3515 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3517         [BZ #16427]
3518         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3519         handling only for numbers special also in the IEEE case.
3521 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3523         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3525 2014-01-11  Allan McRae  <allan@archlinux.org>
3527         * po/bg.po: Update Bulgarian translation from translation project.
3529         * po/de.po: Update German translation from translation project.
3531 2014-01-10  Roland McGrath  <roland@hack.frob.com>
3533         * sysdeps/generic/gcc-compat.h: New file.
3535 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3537         * benchtests/asin-inputs: Correct slow inputs.
3538         * benchtests/acos-inputs: Likewise.
3540 2014-01-10  Allan McRae  <allan@archlinux.org>
3542         * po:sv.po: Update Swedish translation from translation project.
3544         * po/vi.po: Update Vietnamese translation from translation project.
3546         * po/eo.po: Update Esperanto translation from translation project.
3548         * po/cs.po: Update Czech translation from translation project.
3550         * po/nl.po: Update Dutch translation from translation project.
3552         * po/pl.po: Update Polish translation from translation project.
3554         * po/ru.po: Update Russian translation from translation project.
3556         * po/uk.po: Update Ukrainian translation from translation project.
3558 2014-01-08  Brooks Moses  <bmoses@google.com>
3560         * elf/dl-load.c: Fix comment typo.
3562 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
3564         * po/header.pot: Rename to...
3565         * po/pot.header: ... this.
3566         * po/Makefile: Use pot.header.
3568 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
3569             Maxim Kuvyrkov  <maxim@kugelworks.com>
3571         [BZ #16394]
3572         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3573         SRC and DEST against LEN.
3575 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3577         [BZ #16414]
3578         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3579         implementation.
3580         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3582 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3586 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
3588         [BZ #16408]
3589         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3590         for large positive arguments.
3592 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
3594         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3596         * math/auto-libm-test-in: Mark various tests with
3597         xfail-rounding:ldbl-128ibm.
3598         * math/auto-libm-test-out: Regenerated.
3600         [BZ #16407]
3601         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3602         Increase overflow threshold.
3604 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
3606         [BZ #14286]
3607         * stdio-common/vfprintf.c: Check for integer overflow.
3609 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3611         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3612         the first argument and return value of __tls_get_addr_internal.
3614 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3616         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3617         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3619 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3621         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3622         * sysdeps/s390/rtld-global-offsets.sym: New file.
3623         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3624         GLIBC_2.19 symbol.
3625         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3626         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3627         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3628         ... this.
3629         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3630         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3631         ... this.
3632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3633         Regenerate.
3634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3635         Regenerate.
3636         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3637         halfs of GPRs for high_gprs contexts.
3638         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3639         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
3640         field.
3641         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3642         uc_flags field.
3643         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3644         64 bit versions:
3645         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3646         for high GPRs (uc_high_gprs) and for future extensions
3647         (__reserved).
3648         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3649         for future extensions (__reserved).
3650         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3651         64 bit versions:
3652         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3653         SC_HIGHGPRS offset definition.
3654         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3655         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3657 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3659         * Versions.def: Add GLIBC_2.19 for libpthread.
3660         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3661         siglongjmp for libpthread with GLIBC_2.19 symver.
3662         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3663         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3664         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3665         * sysdeps/s390/__longjmp.c: New file.
3666         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3667         * sysdeps/s390/longjmp.c: New file.
3668         * sysdeps/s390/setjmp.S: New file.
3669         * sysdeps/s390/sigjmp.S: New file.
3670         * sysdeps/s390/v1-longjmp.c: New file.
3671         * sysdeps/s390/v1-setjmp.h: New file.
3672         * sysdeps/s390/v1-sigjmp.c: New file.
3673         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3674         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3675         GLIBC_2.19 version.
3676         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3677         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3678         versioned symbols for ____longjmp_chk.
3679         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3680         Likewise.
3681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3682         Regenerate.
3683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3684         Regenerate.
3685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3686         Regenerate.
3687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3688         Regenerate.
3689         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3690         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3691         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3692         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3693         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3694         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3695         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3696         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3697         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3698         * sysdeps/s390/rtld-__longjmp.c: New file.
3699         * sysdeps/s390/rtld-setjmp.S: New file.
3701 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
3703         [BZ #16400]
3704         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3705         Return -__logl (x) for small positive arguments without evaluating
3706         a polynomial.
3708 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
3710         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3711         Rename to ...
3712         (__ptrace_peeksiginfo_args): ... this.
3713         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3714         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3715         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3717 2014-01-06  Allan McRae  <allan@archlinux.org>
3719         * inet/netinet/in.h: Fix typo in comment.
3721 2014-01-05  Andreas Jaeger  <aj@suse.de>
3723         * sysdeps/i386/fpu/libm-test-ulps: Update.
3725 2014-01-05  Allan McRae  <allan@archlinux.org>
3727         * po/libc.pot: Regenerated.
3729         * malloc/memusagestat.c: Fix gettext call formatting.
3731 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
3733         * nscd/nscd.c: Improve usage() output.
3735 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
3737         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3738         * sysdeps/unix/sysv/linux/configure: Regenerated.
3739         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3740         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3742 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3744         [BZ #16390]
3745         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3746         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3748 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3750         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3751         extra tokens at end of #undef directive.
3752         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3753         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3754         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3756 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3758         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3760         * math/auto-libm-test-in: Mark various tests with
3761         xfail-rounding:ldbl-128ibm.
3762         * math/auto-libm-test-out: Regenerated.
3764 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3766         [BZ #16386]
3767         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3768         numbers with subnormal high part when calculating exponent.
3770         [BZ #16385]
3771         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3772         fabs.
3774         [BZ #16384]
3775         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3776         M_LN2l.
3777         (__ieee754_acoshl): Use __log1pl not __log1p.
3779 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
3781         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3782         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3783         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3784         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3785         Convert to GNU style.
3786         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3787         mem2mem_check, mem2chunk_check, top_check, realloc_check,
3788         memalign_check, __malloc_set_state): Likewise.
3789         * malloc/mallocbug.c (main): Likewise.
3790         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3791         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3792         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3793         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3794         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3795         * malloc/malloc.h: Likewise.
3796         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3797         memalignhook, reallochook, mabort): Likewise.
3798         * malloc/mcheck.h: Likewise.
3799         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3800         mmap64, mremap, munmap, dest): Likewise.
3801         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3802         * malloc/morecore.c (__default_morecore): Likewise.
3803         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3804         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3805         _obstack_allocated_p, obstack_free, _obstack_memory_used,
3806         print_and_abort): Likewise.
3807         * malloc/obstack.h: Likewise.
3808         * malloc/set-freeres.c (__libc_freeres): Likewise.
3809         * malloc/tst-mallocstate.c (main): Likewise.
3810         * malloc/tst-mtrace.c (main): Likewise.
3811         * malloc/tst-realloc.c (do_test): Likewise.
3813 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3815         [BZ #16366]
3816         * nscd/netgroupcache.c (do_notfound): New function.
3817         (addgetnetgrentX): Use it.
3819         [BZ # 16365]
3820         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3821         NSS_STATUS_NOTFOUND.
3823 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
3825         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3828 2014-01-01  Allan McRae  <allan@archlinux.org>
3830         * scripts/update-copyrights: Update configure input file suffix.
3832         * NEWS: Update copyright year.
3833         * catgets/gencat.c: Likewise.
3834         * csu/version.c: Likewise.
3835         * debug/catchsegv.sh: Likewise.
3836         * debug/pcprofiledump.c: Likewise.
3837         * debug/xtrace.sh: Likewise.
3838         * elf/ldconfig.c: Likewise.
3839         * elf/ldd.bash.in: Likewise.
3840         * elf/pldd.c: Likewise.
3841         * elf/sotruss.ksh: Likewise.
3842         * elf/sprof.c: Likewise.
3843         * iconv/iconv_prog.c: Likewise.
3844         * iconv/iconvconfig.c: Likewise.
3845         * locale/programs/locale.c: Likewise.
3846         * locale/programs/localedef.c: Likewise.
3847         * login/programs/pt_chown.c: Likewise.
3848         * malloc/memusage.sh: Likewise.
3849         * malloc/memusagestat.c: Likewise.
3850         * malloc/mtrace.pl: Likewise.
3851         * manual/libc.texinfo: Likewise.
3852         * nscd/nscd.c: Likewise.
3853         * nss/getent.c: Likewise.
3854         * nss/makedb.c: Likewise.
3855         * posix/getconf.c: Likewise.
3856         * scripts/test-installation.pl: Likewise.
3858         * All files with FSF copyright notices: Update copyright dates
3859         using scripts/update-copyrights.
3860         * intl/plural.c: Regenerated.
3861         * locale/programs/charmap-kw.h: Likewise.
3862         * locale/programs/locfile-kw.h: Likewise.
3864 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
3866         * sysdeps/unix/sysv/linux/configure: Regenerated.
3867         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3868         the linux/fanotify.h header.
3869         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3870         HAVE_LINUX_FANOTIFY_H is defined.
3872 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3874         * benchtests/cos-inputs: New inputs.
3875         * benchtests/sin-inputs: Likewise.
3877         * benchtests/atan-inputs: New inputs. Fix name of multiple
3878         precision fallback inputs.
3880         * benchtests/atanh-inputs: New inputs.
3881         * benchtests/tanh-inputs: Likewise.
3883         * benchtests/acosh-inputs: New inputs.
3884         * benchtests/asinh-inputs: Likewise.
3886         * benchtests/cosh-inputs: New inputs.
3887         * benchtests/sinh-inputs: Likewise.
3889         * benchtests/acos-inputs: Add more inputs.
3890         * benchtests/asin-inputs: Likewise.
3892 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
3894         [BZ #16375]
3895         * manual/arith.texi: Fix spelling.
3896         * manual/charset.texi: Likewise.
3897         * manual/errno.texi: Likewise.
3898         * manual/filesys.texi: Likewise.
3899         * manual/lang.texi: Likewise.
3900         * manual/llio.texi: Likewise.
3901         * manual/locale.texi: Likewise.
3902         * manual/message.texi: Likewise.
3903         * manual/resource.texi: Likewise.
3904         * manual/search.texi: Likewise.
3905         * manual/setjmp.texi: Likewise.
3906         * manual/stdio.texi: Likewise.
3907         * manual/string.texi: Likewise.
3908         * manual/sysinfo.texi: Likewise.
3909         * manual/time.texi: Likewise.
3911 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
3913         * po/sl.po: New file.
3915 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
3917         * .gitignore: Add core/.gdbinit/.gdb_history.
3919 2013-12-27  Allan McRae  <allan@archlinux.org>
3921         [BZ #16369]
3922         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3923         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3925 2013-12-24  Brooks Moses  <bmoses@google.com>
3927         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3928         all compilers that claim C++98 compliance, not just GCC.
3929         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3930         Likewise.
3932 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3934         * NEWS: Restore accidentally deleted bug-fix entries.
3936 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3937             Ondřej Bílka  <neleai@seznam.cz>
3939         [BZ #15073]
3940         * malloc/malloc.c (_int_free): Perform sanity check only if we
3941         have_lock.
3943 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
3945         [BZ #12986]
3946         * manual/stdio.texi (String Input Conversions): Clarify that character
3947         classes are not supported.
3949 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3953 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
3955         [BZ #16337]
3956         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3957         Calculate results for small negative arguments directly rather
3958         than using reflection formula with special underflow handling.
3960         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3961         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3962         sysdeps/unix/bsd/bsd4.4/syscalls.list.
3963         (fchflags): Likewise.
3964         (revoke): Likewise.
3965         (setlogin): Likewise.
3966         (sigaltstack): Likewise.
3967         (wait4): Likewise.
3968         (sigblock): Remove.
3969         (sigsetmask): Likewise.
3970         (wait3): Likewise.
3971         (waitpid): Likewise.
3972         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
3973         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
3974         file.
3975         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
3976         * sysdeps/unix/bsd/Makefile: ... here.
3977         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
3978         * sysdeps/unix/bsd/Versions: ... here.
3979         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
3980         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
3981         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
3982         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
3983         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
3984         * sysdeps/unix/bsd/sigblock.c: ... here.
3985         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
3986         * sysdeps/unix/bsd/sigsetmask.c: ... here.
3987         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
3988         * sysdeps/unix/bsd/sigvec.c: ... here.
3989         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
3990         * sysdeps/unix/bsd/tcdrain.c: ... here.
3991         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
3992         * sysdeps/unix/bsd/tcgetattr.c: ... here.
3993         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
3994         * sysdeps/unix/bsd/tcsetattr.c: ... here.
3995         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
3996         * sysdeps/unix/bsd/wait.c: ... here.
3997         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
3998         * sysdeps/unix/bsd/wait3.c: ... here.
3999         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4000         * sysdeps/unix/bsd/waitpid.c: ... here.
4002 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
4004         [BZ #16356]
4005         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4006         round-to-nearest for [!USE_AS_EXPM1L].
4007         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4008         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
4009         more tests of exp and exp10.  Expect some exp10 tests to miss
4010         exceptions or fail in directed rounding modes.
4011         * math/auto-libm-test-out: Regenerated.
4012         * math/libm-test.inc (exp10_tonearest_test_data): New array.
4013         (exp10_test_tonearest): New function.
4014         (exp10_towardzero_test_data): New array.
4015         (exp10_test_towardzero): New function.
4016         (exp10_downward_test_data): New array.
4017         (exp10_test_downward): New function.
4018         (exp10_upward_test_data): New array.
4019         (exp10_test_upward): New function.
4020         (main): Call the new functions.
4021         * sysdeps/i386/fpu/libm-test-ulps: Update.
4022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4024 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
4026         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4027         asinh, atan, atan2, atanh, cbrt, cos and cosh.
4028         * math/auto-libm-test-out: Regenerated.
4029         * math/libm-test.inc (acosh_test_data): Add more tests.
4030         (atanh_test_data): Likewise.
4031         (ceil_test_data): Likewise.
4032         (copysign_test_data): Likewise.
4033         * sysdeps/i386/fpu/libm-test-ulps: Update.
4034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4036         * timezone/checktab.awk: Update from tzcode 2013i.
4037         * timezone/private.h: Likewise.
4038         * timezone/scheck.c: Likewise.
4039         * timezone/tzfile.h: Likewise.
4040         * timezone/tzselect.ksh: Likewise.
4041         * timezone/zdump.c: Likewise.
4042         * timezone/zic.c: Likewise.
4044         * math/auto-libm-test-in: Add tests of cpow.
4045         * math/auto-libm-test-out: Regenerated.
4046         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4047         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4048         mpc_cc_c.
4049         (func_calc_desc): Add mpc_cc_c union field.
4050         (test_functions): Add cpow.
4051         (special_fill_2pi): New function.
4052         (special_real_inputs): Add 2pi.
4053         (calc_generic_results): Handle mpc_cc_c.
4054         * sysdeps/i386/fpu/libm-test-ulps: Update.
4055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4057         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4058         csqrt, ctan and ctanh.
4059         * math/auto-libm-test-out: Regenerated.
4060         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4061         (TEST_COND_x86): Likewise.
4062         (ccos_test_data): Use AUTO_TESTS_c_c.
4063         (ccosh_test_data): Likewise.
4064         (cexp_test_data): Likewise.
4065         (clog_test_data): Likewise.
4066         (csqrt_test_data): Likewise.
4067         (ctan_test_data): Likewise.
4068         (ctan_tonearest_test_data): Likewise.
4069         (ctan_towardzero_test_data): Likewise.
4070         (ctan_downward_test_data): Likewise.
4071         (ctan_upward_test_data): Likewise.
4072         (ctanh_test_data): Likewise.
4073         (ctanh_tonearest_test_data): Likewise.
4074         (ctanh_towardzero_test_data): Likewise.
4075         (ctanh_downward_test_data): Likewise.
4076         (ctanh_upward_test_data): Likewise.
4077         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4078         mpc_c_c.
4079         (func_calc_desc): Add mpc_c_c union field.
4080         (FUNC_mpc_c_c): New macro.
4081         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4082         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4083         ctanh.
4084         (special_fill_min_subnorm_p120): New function.
4085         (special_real_inputs): Add min_subnorm_p120.
4086         (calc_generic_results): Handle mpc_c_c.
4087         * sysdeps/i386/fpu/libm-test-ulps: Update.
4088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4090 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4092         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4093         do_sin_slow): New functions.
4094         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4095         cslow2, csloww1, csloww2): Use the new functions.
4097         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4098         Use M to change sign of result instead of X.  Assume X is
4099         positive.
4100         (csloww1): Likewise.
4101         (__sin): Adjust.
4102         (__cos): Adjust.
4104         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4105         arguments A and DA.
4106         (__sin): Adjust.
4107         (__cos): Likewise.
4109         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4110         (__cos): Likewise.
4111         (sloww1): Don't adjust sign of DX.
4112         (csloww1): Likewise.
4113         (sloww2): Use X directly and don't adjust sign of DX.
4114         (csloww2): Likewise.
4116 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4118         * math/auto-libm-test-in: Add tests of cabs and carg.
4119         * math/auto-libm-test-out: Regenerated.
4120         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4121         (carg_test_data): Likewise.
4122         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4123         mpc_c_f.
4124         (func_calc_desc): Add mpc_c_f union field.
4125         (test_functions): Add cabs and carg.
4126         (calc_generic_results): Handle mpc_c_f.
4128         * sysdeps/powerpc/powerpc32/libgcc-compat.S
4129         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4130         as a macro and a compat symbol.
4131         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4132         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4133         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4134         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4135         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4136         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4137         not use .hidden.
4138         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4139         Likewise.
4140         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4141         Likewise.
4142         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4143         Likewise.
4144         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4145         Likewise.
4146         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4147         Likewise.
4148         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4149         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4150         from GLIBC_2.3.2.
4152 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4156 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4158         * manual/texinfo.tex: Update to version 2013-11-26.10 with
4159         trailing whitespace removed.
4160         * scripts/config.guess: Update to version 2013-11-29.
4161         * scripts/config.sub: Update to version 2013-10-01.
4163         * math/auto-libm-test-in: Add tests of sincos.
4164         * math/auto-libm-test-out: Regenerated.
4165         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4166         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4167         mpfr_f_11.
4168         (func_calc_desc): Add mpfr_f_11 union field.
4169         (test_functions): Add sincos.
4170         (calc_generic_results): Handle mpfr_f_11.
4171         * sysdeps/i386/fpu/libm-test-ulps: Update.
4172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4174 2013-12-19  Andreas Schwab  <schwab@suse.de>
4176         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4177         CALL_MCOUNT.
4178         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4179         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4180         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4182 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4184         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4185         * sysdeps/i386/fpu/libm-test-ulps: Update.
4186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4188         [BZ #16293]
4189         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4190         round-to-nearest mode when using frndint.
4191         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4192         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4193         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4194         Likewise.
4195         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
4196         sinh test to fail.
4197         * math/auto-libm-test-out: Regenerated.
4198         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4199         (TEST_COND_x86): Likewise.
4200         (expm1_tonearest_test_data): New array.
4201         (expm1_test_tonearest): New function.
4202         (expm1_towardzero_test_data): New array.
4203         (expm1_test_towardzero): New function.
4204         (expm1_downward_test_data): New array.
4205         (expm1_test_downward): New function.
4206         (expm1_upward_test_data): New array.
4207         (expm1_test_upward): New function.
4208         (main): Run the new test functions.
4209         * sysdeps/i386/fpu/libm-test-ulps: Update.
4210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4212         * include/features.h: Update comment documenting feature test
4213         macros.  Mention _DEFAULT_SOURCE in comment.
4214         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4215         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4216         _BSD_SOURCE and _SVID_SOURCE.
4217         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4218         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4219         !_SVID_SOURCE]: Likewise.
4220         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4221         (__USE_POSIX_IMPLICITLY): Define.
4222         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4223         (_POSIX_SOURCE): Undefine and redefine.
4224         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4225         (_POSIX_C_SOURCE): Likewise.
4226         * manual/creature.texi (_DEFAULT_SOURCE): Document.
4227         (Feature Test Macros): Update documentation of default features.
4229 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4231         * benchtests/Makefile: Add bench-strtok.
4232         * benchtests/bench-strtok.c: New file: strtok benchtest.
4234 2013-12-19  Allan McRae  <allan@archlinux.org>
4236         * manual/install.texi: Suppress menu for plain text output.
4237         * INSTALL: Regenerated.
4239 2013-12-18  Brooks Moses  <bmoses@google.com>
4241         [BZ #15846]
4242         * misc/getauxval.c: Include errno.h.
4243         (__getauxval): Set errno to ENOENT if the requested type is not
4244         found.
4245         * misc/sys/auxv.h (getauxval): Document that it may set errno;
4246         don't declare with __attribute_const__.
4247         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4248         * manual/startup.texi: Document that getauxval sets errno.
4250 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4252         * math/auto-libm-test-in: Add tests of jn and yn.
4253         * math/auto-libm-test-out: Regenerated.
4254         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4255         (yn_test_data): Likewise.
4256         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4257         mpfr_if_f.
4258         (func_calc_desc): Add mpfr_if_f union field.
4259         (FUNC_mpfr_if_f): New macro.
4260         (test_functions): Add jn and yn.
4261         (calc_generic_results): Assert type of second input for
4262         mpfr_ff_f.  Handle mpfr_if_f.
4263         (output_for_one_input_case): Disable all checking for arguments
4264         fitting floating-point types in case of an integer argument.
4265         * sysdeps/i386/fpu/libm-test-ulps: Update.
4266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4269         Don't expect fegetround reference in libm.so.
4271 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4273         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4274         $(config-cflags-nofma).
4276 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4278         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4279         * math/auto-libm-test-out: Regenerated.
4281         [BZ #16338]
4282         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4283         to determine exponent and adjust argument to have exponent of -1.
4284         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4285         log2.
4286         * math/auto-libm-test-out: Regenerated.
4287         * sysdeps/i386/fpu/libm-test-ulps: Update.
4288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4290 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
4292         * manual/probes.texi: Remove cases when per-thread arenas are
4293         disabled.
4295 2013-12-18  Andreas Schwab  <schwab@suse.de>
4297         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4298         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4299         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4300         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4301         * sysdeps/i386/i686/multiarch/Makefile: Update.
4302         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4304 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4306         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4307         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4309 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
4311         [BZ #15968]
4312         Support TZ transition times < 00:00:00.
4313         This is needed for version-3 tz-format files; it supports time
4314         stamps past 2037 for America/Godthab (the only entry in the tz
4315         database for which this change is relevant).
4316         * manual/time.texi (TZ Variable): Document transition times
4317         from -167:59:59 through -00:00:01.
4318         * time/tzset.c (tz_rule): Time of day is now signed.
4319         (__tzset_parse_tz): Parse negative time of day.
4321         Document TZ transition times >= 25:00:00.
4322         * manual/time.texi (TZ Variable): Document transition times from
4323         25:00:00 through 167:59:59.  These are already supported, and this
4324         support will help with version-3 tz-format files.
4326         * manual/time.texi (TZ Variable): Modernize North America example
4327         to reflect current (i.e., 2007-and-later) daylight saving rules.
4329         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4331 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4333         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4334         * sysdeps/unix/bsd/bits/stat.h: Likewise.
4335         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4336         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4337         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4338         * sysdeps/unix/bsd/bsdstat.h: Likewise.
4339         * sysdeps/unix/bsd/clock.c: Likewise.
4340         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4341         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4342         * sysdeps/unix/bsd/init-posix.c: Likewise.
4343         * sysdeps/unix/bsd/poll.c: Likewise.
4344         * sysdeps/unix/bsd/ptsname.c: Likewise.
4345         * sysdeps/unix/bsd/seekdir.c: Likewise.
4346         * sysdeps/unix/bsd/setegid.c: Likewise.
4347         * sysdeps/unix/bsd/seteuid.c: Likewise.
4348         * sysdeps/unix/bsd/setgid.c: Likewise.
4349         * sysdeps/unix/bsd/setrgid.c: Likewise.
4350         * sysdeps/unix/bsd/setruid.c: Likewise.
4351         * sysdeps/unix/bsd/setsid.c: Likewise.
4352         * sysdeps/unix/bsd/setuid.c: Likewise.
4353         * sysdeps/unix/bsd/sigaction.c: Likewise.
4354         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4355         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4356         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4357         * sysdeps/unix/bsd/telldir.c: Likewise.
4358         * sysdeps/unix/bsd/times.c: Likewise.
4359         * sysdeps/unix/bsd/usleep.c: Likewise.
4361         * misc/Makefile (install-lib): Remove libbsd-compat.a.
4362         ($(objpfx)libbsd-compat.a): Remove rule.
4364         * include/features.h (__FAVOR_BSD): Do not define.
4365         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4366         features conflicting with POSIX.
4367         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4368         (_BSD_SOURCE): Remove description of not being a subset of other
4369         feature test macros.
4370         * manual/job.texi (getpgrp): Do not document BSD version.
4371         (getpgid): Do not document by reference to BSD getpgrp.
4372         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4373         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4374         * signal/signal.h [__FAVOR_BSD]: Likewise.
4375         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4376         instead of making contents conditional on [__FAVOR_BSD].
4377         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4379 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4383 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4385         [BZ #16314]
4386         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4387         values below 2**-450, not 2**-500.
4388         * math/auto-libm-test-in: Don't allow spurious underflow from
4389         hypot.
4390         * math/auto-libm-test-out: Regenerated.
4392         [BZ #16316]
4393         [BZ #16330]
4394         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4395         values of ha and hb and sort them after adjusting subnormal
4396         arguments.
4397         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4398         Likewise.
4399         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4400         values of ea and eb and sort them after adjusting subnormal
4401         arguments.
4402         * math/auto-libm-test-in: Do not expect some hypot tests of
4403         subnormals to fail.  Add more hypot tests.
4404         * math/auto-libm-test-out: Regenerated.
4406 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4408         [BZ #13304]
4409         * sysdeps/sh/s_fma.c: New file.
4410         * sysdeps/sh/s_fmaf.c: New file.
4411         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
4412         version.
4413         * sysdeps/sh/Implies: Add sh/soft-fp.
4415 2013-12-16  Roland McGrath  <roland@hack.frob.com>
4417         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
4418         level of indirection to members `objname', `errstring', `malloced'.
4419         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4420         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
4421         it as the __longjmp argument (just pass 1 instead).
4422         (_dl_catch_error): Initialize C with argument pointers and address of
4423         volatile local ERRCODE rather than copying values out of C at return.
4425 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
4427         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4428         * math/auto-libm-test-out: Regenerated.
4429         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4430         (hypot_test_data): Likewise.
4431         (pow_test_data): Likewise.
4432         (pow_tonearest_test_data): Likewise.
4433         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4434         mpfr_ff_f.
4435         (func_calc_desc): Add mpfr_ff_f union field.
4436         (FUNC_mpfr_ff_f): New macro.
4437         (test_functions): Add atan2, hypot and pow.
4438         (special_fill_min): New function.
4439         (special_fill_minus_min): Likewise.
4440         (special_fill_min_subnorm): Likewise.
4441         (special_fill_minus_min_subnorm): Likewise.
4442         (special_real_inputs): Add min, -min, min_subnorm and
4443         -min_subnorm.
4444         (calc_generic_results): Handle mpfr_ff_f.
4445         * sysdeps/i386/fpu/libm-test-ulps: Update.
4446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4448 2013-12-16  Will Newton  <will.newton@linaro.org>
4450         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4451         (Aligned Memory Blocks): Add documentation for aligned_alloc
4452         and suggest it as an alternative to posix_memalign.
4453         (Hooks for Malloc): Document __memalign_hook is also called
4454         for aligned_alloc.  (Summary of Malloc): Add summary for
4455         aligned alloc.  Document __memalign_hook is also called
4456         for aligned_alloc.
4458 2013-12-16  Will Newton  <will.newton@linaro.org>
4460         * manual/memory.texi (Malloc Examples): Clarify default
4461         alignment documentation.  Suggest posix_memalign rather
4462         than memalign or valloc.
4463         (Aligned Memory Blocks): Remove suggestion to use memalign
4464         or valloc.  Remove obsolete comment about BSD.
4465         Document memalign errno values and mark the function obsolete.
4466         Document posix_memalign returned error codes.  Mark valloc
4467         as obsolete.  (Hooks for Malloc): __memalign_hook is also
4468         called for posix_memalign and valloc.
4469         (Summary of Malloc): Add posix_memalign to function summary.
4470         __memalign_hook is also called for posix_memalign and valloc.
4472 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4474         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4475         TAYLOR_SIN.
4476         (__sin): Adjust.
4477         (__cos): Likewise.
4478         (sloww): Use mynumber union.  Expand ternary operator into
4479         if-else statements.
4480         (cslow): use mynumber union.
4482 2013-12-16  Allan McRae  <allan@archlinux.org>
4484         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4485         * configure: Regenerated.
4487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4489         [BZ #14120]
4490         * configure.ac: Added --enable-maintainer-mode. Check for
4491         autoconf when enabled.
4492         * configure: Regenerated.
4494         * nscd/nscd.service: New file.
4495         * nscd/nscd.tmpfiles: New file.
4497 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
4499         [BZ #12100]
4500         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4501         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4502         * sysdeps/x86_64/multiarch/strstr.c: ... here.
4503         (strstr): Add __strstr_sse2_unaligned ifunc.
4504         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4505         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4506         (strcasestr): Remove __strcasestr_sse42 ifunc.
4507         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4511 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4513         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4514         * sysdeps/sh/bits/fenv.h: ... here.
4515         * sysdeps/sh/sh4/fpu/bits: Remove directory.
4517 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4519         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4521 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4524         hypotf multiarch implementations.
4525         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4526         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4527         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4528         multiarch hypot for PPC64.
4529         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4530         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4531         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4532         multiarch hypotf for PPC64.
4534 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4536         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4537         modff multiarch implementations.
4538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4541         multiarch modf for PPC64.
4542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4545         multiarch modff for PPC64.
4547 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4550         and logl multiarch implementations.
4551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4554         multiarch logb for PPC64.
4555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4558         multiarch logb for PPC64.
4559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4562         multiarch logb for PPC64.
4564 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4567         isinff multiarch implementation.
4568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4569         file.
4570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4572         multiarch isinf for PPC64.
4573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4574         file.
4575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4576         multiarch isinff for PPC64.
4578 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4581         finitef multiarch implementation.
4582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4583         file.
4584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4586         multiarch finite for PPC64.
4587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4588         file.
4589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4590         multiarch finitef for PPC64.
4592 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4595         lrint multiarch implementation.
4596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4597         file.
4598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4600         multiarch llrint for PPC64.
4601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4602         multiarch lrint for PPC64.
4604 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4606         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4607         copysignf multiarch implementation.
4608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4609         file.
4610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4611         file.
4612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4613         multiarch copysign for PPC64.
4614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4615         multiarch copysignf for PPC64.
4617 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4619         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4620         multiarch implementation.
4621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4622         file.
4623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4624         file.
4625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4626         file.
4627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4628         file.
4629         multiarch llround for PPC64.
4630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4631         multiarch trunc for PPC64.
4632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4633         multiarch truncf for PPC64.
4635 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4638         multiarch implementation.
4639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4640         file.
4641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4642         file.
4643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4644         file.
4645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4646         file.
4647         multiarch llround for PPC64.
4648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4649         multiarch round for PPC64.
4650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4651         multiarch roundf for PPC64.
4653 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4655         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4656         multiarch implementation.
4657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4658         file.
4659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4660         file.
4661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4662         file.
4663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4664         file.
4665         multiarch llround for PPC64.
4666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4667         multiarch floor for PPC64.
4668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4669         multiarch floorf for PPC64.
4671 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4674         multiarch implementation.
4675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4676         file.
4677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4678         file.
4679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4680         file.
4681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4682         file.
4683         multiarch llround for PPC64.
4684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4685         multiarch ceil for PPC64.
4686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4687         multiarch ceilf for PPC64.
4689 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4692         multiarch implementation.
4693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4694         file.
4695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4696         file.
4697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4698         file.
4699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4700         multiarch llround for PPC64.
4701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4702         multiarch lround for PPC64.
4704 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4707         multiarch implementation.
4708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4711         file.
4712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4715         multiarch isnan for PPC64.
4716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4717         multiarch isnanf for PPC64.
4719 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4721         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4722         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4723         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4724         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4725         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4728 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4730         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4731         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4735 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4738         multiarch implementations.
4739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4740         (__libc_ifunc_impl_list): Likewise.
4741         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4742         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4743         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4744         multiarch stpcpy for PPC64.
4746 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4749         multiarch implementations.
4750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4751         (__libc_ifunc_impl_list): Likewise.
4752         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4753         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4754         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4755         multiarch strcpy for PPC64.
4757 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4759         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4760         redefine function name.
4761         (_wordcopy_fwd_dest_aligned): Likewise.
4762         (_wordcopy_bwd_aligned): Likewise.
4763         (_wordcopy_bwd_dest_aligned): Likewise.
4764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4765         multiarch implementations.
4766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4767         (__libc_ifunc_impl_list): Likewise.
4768         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4769         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4770         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4771         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4772         multiarch wcscpy for PPC64.
4774 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4777         multiarch implementations.
4778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4779         (__libc_ifunc_impl_list): Likewise.
4780         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4781         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4782         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4783         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4784         multiarch wcscpy for PPC64.
4786 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4789         multiarch implementations.
4790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4791         (__libc_ifunc_impl_list): Likewise.
4792         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4793         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4794         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4795         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4796         multiarch wcsrchr for PPC64.
4798 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4801         multiarch implementations.
4802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4803         (__libc_ifunc_impl_list): Likewise.
4804         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4805         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4806         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4807         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4808         multiarch wcschr for PPC64.
4810 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4813         multiarch implementations.
4814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4815         (__libc_ifunc_impl_list): Likewise.
4816         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4817         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4818         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4819         multiarch strchrnul for PPC64.
4821 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4824         implementations.
4825         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4826         (__libc_ifunc_impl_list): Likewise.
4827         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4828         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4829         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4830         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4831         strchr for PPC64.
4833 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4836         implementations.
4837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4838         (__libc_ifunc_impl_list): Likewise.
4839         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4840         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4841         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4842         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4843         strncmp for PPC64.
4845 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4848         multiarch implementations.
4849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4850         (__libc_ifunc_impl_list): Likewise.
4851         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4852         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4853         strncasecmp for PPC64.
4854         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4855         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4856         multiarch strncasecmp_l for PPC64.
4858 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4861         multiarch implementations.
4862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4863         (__libc_ifunc_impl_list): Likewise.
4864         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4865         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4866         multiarch strcasecmp for PPC64.
4867         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4868         file.
4869         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4870         multiarch strcasecmp_l for PPC64.
4872 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4875         implementations.
4876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4877         (__libc_ifunc_impl_list): Likewise.
4878         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4879         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4880         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4881         strnlen for PPC64.
4883 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4886         implementations.
4887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4888         (__libc_ifunc_impl_list): Likewise.
4889         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4890         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4891         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4892         strlen for PPC64.
4894 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4897         implementations.
4898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4899         (__libc_ifunc_impl_list): Likewise.
4900         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4901         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4902         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4903         rawmemrchr for PPC64.
4905 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4908         implementation.
4909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4910         (__libc_ifunc_impl_list): Likewise.
4911         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4912         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4913         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4914         memrchr for PPC64.
4916 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4919         implementation.
4920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4921         (__libc_ifunc_impl_list): Likewise.
4922         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4923         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4924         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4925         memchr for PPC64.
4927 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4930         implementation.
4931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4932         (__libc_ifunc_impl_list): Likewise.
4933         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4934         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4935         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4936         mempcpy for PPC64.
4938 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4940         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4941         avoid cretion of __bzero symbol.
4942         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4943         Likewise.
4944         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4945         Likewise.
4946         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4947         Likewise.
4948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4949         multiarch implementations.
4950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4951         (__libc_ifunc_impl_list): Likewise.
4952         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4953         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4954         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4955         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4956         bzero for PPC32.
4957         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4958         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4959         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4960         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4961         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4962         memset for PPC64.
4963         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4965 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4967         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
4968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
4969         implementations.
4970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4971         (__libc_ifunc_impl_list): Likewise.
4972         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
4973         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
4974         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
4975         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
4976         memcmp for PPC64.
4978 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
4981         multiarch for POWER/PPC64.
4982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4983         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
4984         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
4985         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
4986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
4987         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
4988         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
4989         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
4990         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
4991         memcpy for PPC64.
4993 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4995         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
4996         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
4997         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
4998         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
4999         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5000         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5001         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5002         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5003         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5004         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5005         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5006         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5007         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5008         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5009         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5018 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5020         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5022 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5024         * benchtests/Makefile (bench): Add exp2 and log2.
5025         (LDLIBS-bench-exp2): Add -lm.
5026         (LDLIBS-bench-log2): Likewise.
5027         * benchtests/exp2-inputs: New inputs file.
5028         * benchtests/log2-inputs: New inputs file.
5029         * benchtests/log-inputs: Add new inputs.
5030         * benchtests/tan-inputs: Likewise.
5032 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5034         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5035         definition...
5036         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5037         csloww1, csloww2): ... from here.
5039         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5040         instead of structures.
5041         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5042         (POLYNOMIAL): Likewise.
5043         (TAYLOR_SLOW): Likewise.
5044         (__sin): Likewise.
5045         (__cos): Likewise.
5046         (slow1): Likewise.
5047         (slow2): Likewise.
5048         (sloww): Likewise.
5049         (sloww1); Likewise.
5050         (sloww2): Likewise.
5051         (bsloww1): Likewise.
5052         (bsloww2): Likewise.
5053         (cslow2): Likewise.
5054         (csloww): Likewise.
5055         (csloww1): Likewise.
5056         (csloww2): Likewise.
5058 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5060         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5061         (__malloc_assert, __libc_realloc, __libc_calloc,
5062         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5063         memcpy and memset.
5064         * malloc/hooks.c (realloc_check): Likewise.
5066 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5068         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5069         * malloc/arena.c: Remove PER_THREAD conditional.
5070         [!PER_THREAD]: Remove code.
5071         (ptmalloc_unlock_all2): Likewise.
5072         (ptmalloc_init): Likewise.
5073         (_int_new_arena): Likewise.
5074         (arena_get2): Likewise.
5075         * malloc/hooks.c (__malloc_get_state): Likewise.
5076         (__malloc_set_state): Likewise.
5077         * malloc/malloc.c: Likewise.
5078         (struct malloc_state): Likewise.
5079         (struct malloc_par): Likewise.
5080         (__libc_realloc): Likewise.
5081         (__libc_mallopt): Likewise.
5083 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5085         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5087 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5089         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5090         macro to a function.  Check for zero perturb_byte.
5091         (_int_malloc, _int_free): Remove zero perturb_byte checks.
5093 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5095         * malloc/malloc.c: (force_reg): Remove.
5096         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5097         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5098         force_reg by atomic_forced_read.
5099         * malloc/arena.c (ptmalloc_init): Likewise.
5100         * malloc/hooks.c (top_check): Likewise.
5102 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5106 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
5108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5110 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
5112         * math/auto-libm-test-in: Add tests of lgamma.
5113         * math/auto-libm-test-out: Regenerated.
5114         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5115         (M_LOG_2_SQRT_PIl): Likewise.
5116         (lgamma_test_data): Use AUTO_TESTS_f_f1.
5117         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5118         mpfr_f_f1.
5119         (func_calc_desc): Add mpfr_f_f1 union field.
5120         (ARGS1): New macro.
5121         (ARGS2): Likewise.
5122         (ARGS3): Likewise.
5123         (ARGS4): Likewise.
5124         (RET1): Likewise.
5125         (RET2): Likewise.
5126         (CALC): Likewise.
5127         (FUNC): Likewise.
5128         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5129         (test_functions): Add lgamma.
5130         (calc_generic_results): Handle mpfr_f_f1.
5131         * sysdeps/i386/fpu/libm-test-ulps: Update.
5132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5134 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5136         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5137         __mpn_add_n for PowerPC64/POWER7.
5138         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5139         __mpn_sub_n for PowerPC64/POWER7.
5141 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5143         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5144         __mpn_addmul_1 for PowerPC64.
5145         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5146         __mpn_submul_1 for PowerPC64.
5147         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5148         for PowerPC64.
5149         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5150         for PowerPC64.
5152 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
5154         [BZ #15089]
5155         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5157 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5159         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5161 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5163         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5164         add multiarch folders.
5165         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5166         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5167         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5168         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5169         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5170         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5171         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5172         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5173         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5174         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5175         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5183 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5186         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5188         New file.
5189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5190         New file.
5191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5192         multiarch __ieee754_hypot for PowerPC32.
5193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5194         New file.
5195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5196         New file.
5197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5198         multiarch __ieee754_hypotf for PowerPC32.
5200 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5202         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5203         long_double_symbol only if __logbl is defined.
5204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5205         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5206         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5207         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5208         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5209         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5210         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5211         path for implementation.
5212         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5213         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5215         logb, and logbl multiarch implementations for PowerPC32.
5216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5217         file.
5218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5219         file.
5220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5221         multiarch logb for PowerPC32.
5222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5223         file.
5224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5225         file.
5226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5227         multiarch logbf for PowerPC32.
5228         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5230         file.
5231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5232         multiarch logbl implementation for PowerPC32.
5234 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5237         and modff multiarch implementations.
5238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5239         New file.
5240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5241         New file.
5242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5243         multiarch modf for PowerPC32.
5244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5245         New file.
5246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5247         New file.
5248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5249         multiarch modff for PowerPC32.
5251 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5254         and lrintf multiarch implementations.
5255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5256         New file.
5257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5258         New file.
5259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5260         multiarch lrint for PowerPC32.
5261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5262         file: multiarch lrintf for PowerPC32.
5264 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5267         and lroundf multiarch implementations.
5268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5269         New file.
5270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5271         New file.
5272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5273         New file.
5274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5275         multiarch lround for PowerPC32.
5276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5277         file: multiarch lroundf for PowerPC32.
5279 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5282         copysign and copysignf multiarch implementations.
5283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5284         New file.
5285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5286         New file.
5287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5288         file: multiarch copysign for PowerPC32.
5289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5290         file: multiarch copysignf for PowerPC32.
5292 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5295         and truncf multiarch implementations.
5296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5297         New file.
5298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5299         file.
5300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5301         multiarch trunc for PowerPC32.
5302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5303         New file.
5304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5305         New file.
5306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5307         multiarch truncf for PowerPC32.
5309 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5312         and roundf multiarch implementations.
5313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5314         New file.
5315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5316         file.
5317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5318         multiarch round for PowerPC32.
5319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5320         New file.
5321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5322         New file.
5323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5324         multiarch roundf for PowerPC32.
5326 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5329         and floorf multiarch implementations.
5330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5331         New file.
5332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5333         file.
5334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5335         multiarch floor for PowerPC32.
5336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5337         New file.
5338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5339         New file.
5340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5341         multiarch floorf for PowerPC32.
5343 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5346         and ceilf multiarch implementations.
5347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5348         New file.
5349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5350         file.
5351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5352         multiarch ceil for PowerPC32.
5353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5354         New file.
5355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5356         file.
5357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5358         multiarch ceilf for PowerPC32.
5360 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5362         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5363         is defined.
5364         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5365         FINITEF is defined.
5366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5367         and finitef multiarch implementations.
5368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5369         New file.
5370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5371         file.
5372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5373         multiarch finite for PowerPC32.
5374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5375         New file.
5376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5377         file: multiarch finitef for PowerPC32.
5379 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5382         and isinff multiarch implementations.
5383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5384         file.
5385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5386         file.
5387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5388         multiarch isinf for PowerPC32.
5389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5390         New file.
5391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5392         multiarch isinff for PowerPC32.
5394 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5396         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5397         alias when __isnan is defined.
5398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5399         and isnanf multiarch implementations.
5400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5401         file.
5402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5403         file.
5404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5405         file.
5406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5407         file.
5408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5409         multiarch isnan for PowerPC32.
5410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5411         New file.
5412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5413         New file.
5414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5415         multiarch isnanf for PowerPC32.
5417 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5420         and sqrtf multiarch implementations.
5421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5422         file.
5423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5424         file.
5425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5426         multiarch sqrt for PowerPC32.
5427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5428         file.
5429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5430         file.
5431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5432         multiarch sqrtf for PowerPC32.
5434 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5437         and llroundf multiarch implementations.
5438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5439         New file.
5440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5441         New file.
5442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5443         New file.
5444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5445         file: multiarch llround for PowerPC32.
5446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5447         file: multiarch llroundf for PowerPC32.
5449 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5452         multiarch PowerPC32 fpu implementations.
5453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5454         New file.
5455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5456         New file.
5457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5458         multiarch llrint for PowerPC32.
5459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5460         New file.
5461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5462         New file.
5463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5464         file.
5466 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5470 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5472         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5473         file.
5474         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5475         file.
5476         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5477         file.
5478         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5479         multiarch wordcopy for PPC32.
5480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5481         wordcopy objects.
5482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5483         (__libc_ifunc_impl_list): Likewise.
5484         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5485         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5486         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5487         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5488         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5489         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5491 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5493         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5494         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5495         file.
5496         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5497         file.
5498         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5499         file.
5500         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5501         multiarch wcscpy for PPC32.
5502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5503         multiarch objects.
5504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5505         (__libc_ifunc_impl_list): Likewise.
5506         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5507         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5508         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5509         sysdeps/powerpc/power6/wcscpy.c.
5511 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5513         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5515         file.
5516         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5517         file.
5518         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5519         file.
5520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5521         multiarch wcsrchr for PPC32.
5522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5523         multiarch objects.
5524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5525         (__libc_ifunc_impl_list): Likewise.
5526         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5527         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5528         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5529         sysdeps/powerpc/power6/wcsrchr.c.
5531 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5534         file.
5535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5536         file.
5537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5539         multiarch wcschr for PPc32.
5540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5541         multiarch objects.
5542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5543         (__libc_ifunc_impl_list): Likewise.
5544         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5545         * sysdeps/powerpc/power6/wcschr.c: ... to here.
5546         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5547         sysdeps/powerpc/power6/wcschr.c.
5549 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5551         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5552         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5553         file.
5554         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5555         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5556         file: multiarch strchr for PPC32.
5557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5558         multiarch objects.
5559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5560         (__libc_ifunc_impl_list): Likewise.
5562 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5564         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5565         name.
5566         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5567         file.
5568         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5569         file.
5570         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5571         multiarch strchrnul for PPC32.
5572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5573         multiarch objects.
5574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5575         (__libc_ifunc_impl_list): Likewise.
5577 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5579         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5580         file.
5581         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5582         multiarch strncasecmp for PPC32.
5583         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5584         file.
5585         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5586         multiarch strncasecmp_l for PPC32.
5587         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5588         strncasecmp multiarch objects.
5589         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5590         (__libc_ifunc_impl_list): Likewise.
5592 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5594         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5595         file.
5596         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5597         multiarch strncasecmp for PPC32.
5598         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5599         New file.
5600         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5601         multiarch strcasecmp_l for PPC32.
5602         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5603         multiarch objects.
5604         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5605         (__libc_ifunc_impl_list): Likewise.
5607 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5609         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5610         file.
5611         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5612         file.
5613         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5614         multiarch strncmp for PPC32.
5615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5616         multiarch objects.
5617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5618         (__libc_ifunc_impl_list): Likewise.
5620 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5622         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5623         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5624         file.
5625         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5626         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5628         multiarch objects.
5629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5630         (__libc_ifunc_impl_list): Likewise.
5632 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5634         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5635         file.
5636         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5637         file.
5638         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5640         multiarch objects.
5641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5642         (__libc_ifunc_impl_list): Likewise.
5644 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5646         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5647         file.
5648         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5649         file.
5650         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5651         multiarch rawmemchr for PPC32.
5652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5653         multiarch objects.
5654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5655         (__libc_ifunc_impl_list): Likewise.
5657 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5659         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5660         file.
5661         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5662         file.
5663         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5664         file: memrchr multiarch for PPC32.
5665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5666         multiarch objects.
5667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5668         (__libc_ifunc_impl_list): Likewise.
5670 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5672         * string/memchr.c (__memchr): Using macro to redefine symbol name.
5673         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5674         file.
5675         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5676         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5677         multiarch memchr for PPC32.
5678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5679         multiarch objects.
5680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5681         (__libc_ifunc_impl_list): Likewise.
5683 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5685         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5686         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5687         file.
5688         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5689         file.
5690         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5691         file: multiarch mempcpy for PPC32.
5692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5693         multiarch objects.
5694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5695         (__libc_ifunc_impl_list): Likewise.
5697 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5699         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5700         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5701         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5702         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5703         multiarch bzero for PPC32.
5704         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5705         file.
5706         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5707         file.
5708         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5709         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5710         file: multiarch memset for PPC32.
5711         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5713         memset multiarch objects.
5714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5715         (__libc_ifunc_impl_list): Likewise.
5717 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5719         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5720         file.
5721         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5723         memcmp for PPC32.
5724         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5726         multiarch objects.
5727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5728         (__libc_ifunc_impl_list): Likewise.
5730 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5732         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5733         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5734         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5735         file.
5736         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5737         file.
5738         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5739         file.
5740         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5741         multiarch memcpy for PPC32.
5742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5743         multiarch objects.
5744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5745         (__libc_ifunc_impl_list): Likewise.
5747 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5750         support multiarch for POWER/PPC32.
5751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5752         Likewise.
5753         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5755         Implies file to make multiarch folder appers before the fpu and
5756         default folder for power4 configuration.
5758 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5760         * scripts/bench.pl: Append volatile keyword to type.
5762 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5764         * sysdeps/sh/sotruss-lib.c: New file.
5765         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5767 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5771 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
5773         [BZ #6810]
5774         * math/w_tgamma.c: Include <errno.h>.
5775         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
5776         * math/w_tgammaf.c: Include <errno.h>.
5777         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
5778         * math/w_tgammal.c: Include <errno.h>.
5779         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
5780         * math/auto-libm-test-in: Do not allow missing errno on tgamma
5781         underflow.  Add more tgamma tests.
5782         * math/auto-libm-test-out: Regenerated.
5783         * sysdeps/i386/fpu/libm-test-ulps: Update.
5784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5786         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5787         sin, sinh, tan, tanh, tgamma, y0 and y1.
5788         * math/auto-libm-test-out: Regenerated.
5789         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5790         (TEST_COND_x86): Likewise.
5791         (M_E2l): Remove macro.
5792         (M_E3l): Likewise.
5793         (M_2_SQRT_PIl): Likewise.
5794         (M_SQRT_PIl): Likewise.
5795         (M_1_DIV_El): Likewise.
5796         (log_test_data): Use AUTO_TESTS_f_f.
5797         (log10_test_data): Likewise.
5798         (log1p_test_data): Likewise.
5799         (log2_test_data): Likewise.
5800         (sin_test_data): Likewise.
5801         (sin_tonearest_test_data): Likewise.
5802         (sin_towardzero_test_data): Likewise.
5803         (sin_downward_test_data): Likewise.
5804         (sin_upward_test_data): Likewise.
5805         (sinh_test_data): Likewise.
5806         (sinh_tonearest_test_data): Likewise.
5807         (sinh_towardzero_test_data): Likewise.
5808         (sinh_downward_test_data): Likewise.
5809         (sinh_upward_test_data): Likewise.
5810         (tan_test_data): Likewise.
5811         (tan_tonearest_test_data): Likewise.
5812         (tan_towardzero_test_data): Likewise.
5813         (tan_downward_test_data): Likewise.
5814         (tan_upward_test_data): Likewise.
5815         (tanh_test_data): Likewise.
5816         (tgamma_test_data): Likewise.
5817         (y0_test_data): Likewise.
5818         (y1_test_data): Likewise.
5819         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5820         (special_real_inputs): Add pi/4.
5821         * sysdeps/i386/fpu/libm-test-ulps: Update.
5822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5824 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5826         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5827         "longjmp_target" static probes.
5828         (__longjmp): Rename to __longjmp_symbol.
5829         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5830         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5831         on which longjmp to generate.
5832         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5833         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5834         probe.
5835         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5836         (__sigjmp_save): Rename to __sigjmp_save_symbol.
5837         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5838         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5839         and __sigjmp_save_symbol based on which sigsetjmp to generated.
5840         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5842         __longjmp_symbol based on which __longjmp to generate.
5843         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5844         probe.
5845         (setjmp): Rename to setjmp_symbol.
5846         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5847         (_setjmp): Rename to _setjmp_symbol.
5848         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5849         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5850         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5851         which setjmp to generate.
5852         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5853         "longjmp_target" static probes.
5855 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5857         * benchtests/README: Add note about output arguments.
5858         * benchtests/bench-sincos.c: Remove file.
5859         * benchtests/sincos-inputs: New file.
5860         * scripts/bench.pl: Identify output arguments and define
5861         static variables for them.
5863         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5865         [BZ #15941]
5866         * Makefile (INSTALL): Add install-plain.texi as the primary
5867         dependency.
5868         * manual/install-plain.texi: New file.
5869         * manual/install.texi: Include node directive only for
5870         non-plaintext output.
5872 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
5874         * stdlib/longlong.h: Update from GCC.
5876         [BZ #6807]
5877         [BZ #15901]
5878         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5879         * math/w_j0f.c (y0f): Likewise.
5880         * math/w_j0l.c (__y0l): Likewise.
5881         * math/w_j1.c (y1): Likewise.
5882         * math/w_j1f.c (y1f): Likewise.
5883         * math/w_j1l.c (__y1l): Likewise
5884         * math/w_jn.c (yn): Likewise.
5885         * math/w_jnf.c (ynf): Likewise.
5886         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5887         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
5888         value for Bessel function domain errors outside _SVID_ mode.
5889         Adjust sign of return value for yn (negative integer, 0).
5890         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5891         by zero in return for negative x and set sign appropriately for
5892         negative n.
5893         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5894         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5895         * math/libm-test.inc (y0_test_data): Add more tests and adjust
5896         expectations in error cases.
5897         (y1_test_data): Likewise.
5898         (yn_test_data): Likewise.
5899         * sysdeps/i386/fpu/libm-test-ulps: Update.
5900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5902 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5904         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5905         "64" to "64-v1".  Add "64-v2".
5906         (abi-64-options): Rename to ...
5907         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
5908         (abi-64-condition): Rename to ...
5909         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
5910         (abi-64-ld-soname): Rename to ...
5911         (abi-64-v1-ld-soname): ... this.
5912         (abi-64-v2-options): Define.
5913         (abi-64-v2-condition): Likewise.
5914         (abi-64-v2-ld-soname): Likewise.
5915         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5916         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5921 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5922             Alan Modra  <amodra@gmail.com>
5924         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5925         New versions for use with the ELFv2 ABI.
5926         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5927         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5928         declaration.
5929         (struct La_ppc64v2_retval): Likewise.
5930         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5931         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5932         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5933         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5934         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5935         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5936         Do not save or restore CR.
5937         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5938         (_dl_profile_resolve): Do no save or restore CR.  Support extended
5939         return values for ELFv2 ABI.  Fix location of FPR return registers.
5940         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5941         updated values for _CALL_ELF == 2.
5942         (La_regs, La_retval, int_retval): Likewise.
5944 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5946         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5947         (FRAME_MIN_SIZE_PARM): Likewise.
5948         (FRAME_BACKCHAIN): Likewise.
5949         (FRAME_CR_SAVE): Likewise.
5950         (FRAME_LR_SAVE): Likewise.
5951         (FRAME_TOC_SAVE): Likewise.
5952         (FRAME_PARM_SAVE): Likewise.
5953         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5954         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5955         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5956         (call_mcount_parm_offset): New macro.
5957         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5958         (PROF): Use symbolic stack frame offsets.
5959         (TAIL_CALL_SYSCALL_ERROR): Likewise.
5960         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5961         Redefine in terms of FRAME_MIN_SIZE.
5962         (_dl_runtime_resolve): Use symbolic stack frame offsets.
5963         (_dl_profile_resolve): Likewise.  Update comment.
5964         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5965         symbols stack frame offsets.
5966         (__sigsetjmp): Likewise.
5967         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
5968         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
5969         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
5970         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
5972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
5973         (FRAME_BACKCHAIN): Remove.
5974         (FRAME_CR_SAVE): Likewise.
5975         (FRAME_LR_SAVE): Likewise.
5976         (FRAME_COMPILER_DW): Likewise.
5977         (FRAME_LINKER_DW): Likewise.
5978         (FRAME_TOC_SAVE): Likewise.
5979         (FRAME_PARM_SAVE): Likewise.
5980         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5981         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5982         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
5984         (CHECK_SP): Use symbolic stack frame offsets.
5985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
5986         zone" instead of caller's parameter save area for temp storage.
5987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5988         Likewise.  Also, use symbolic stack frame offsets.
5989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
5990         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
5991         our own stack frame instead of the caller's.
5992         (__socket): Use symbolic stack frame offsets.
5994 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5995             Alan Modra  <amodra@gmail.com>
5997         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
5998         Define.
5999         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6000         PPC64_LOCAL_ENTRY_OFFSET): Define.
6001         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6002         New function.
6003         (elf_machine_fixup_plt): Call it.
6004         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
6005         reloc arguments.
6006         (elf_machine_rela): Update call to elf_machine_plt_conflict.
6007         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6008         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6009         r2 before calling target.
6011 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6012             Alan Modra  <amodra@gmail.com>
6014         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6015         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6016         versions of macros to support ELFv2 ABI.
6017         (LOCALENTRY): New macro.
6018         (ENTRY, EALIGN): Use it.
6019         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6020         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6021         fall through into ENTRY entry point.
6022         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6023         Only define if _CALL_ELF != 2.
6025         (elf_machine_matches_host): Verify ABI version matches.
6026         (RTLD_START): Use LOCALENTRY.
6027         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6028         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6029         (PLT_ENTRY_WORDS): New macro.
6030         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6031         (elf_machine_runtime_setup): Support ELFv2 ABI.
6032         (elf_machine_fixup_plt): Likewise.
6033         (elf_machine_plt_conflict): Likewise.
6034         (resolve_ifunc): Likewise.
6035         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6036         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6039         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6041         (makecontext): Support ELFv2 ABI.
6042         * elf/elf.h (EF_PPC64_ABI): Define.
6044 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6046         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6047         New assembler macro.
6048         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6049         [ASSEMBLER] (ENTRY): ... but instead here ...
6050         [ASSEMBLER] (EALIGN): ... and here.
6051         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6052         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6053         [!ASSEMBLER] (ENTRY_2): Use it.
6054         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6055         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
6056         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6057         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6058         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6060         Use PPC64_LOAD_FUNCPTR.
6062 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6064         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6066 2013-12-04  Alan Modra  <amodra@gmail.com>
6068         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6069         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6070         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6071         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6073         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6074         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6075         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6076         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6077         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6078         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6080 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6083         (__makecontext): Fix incorrect CFI when backtracing out of
6084         context created via makecontext.
6085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6086         (__setcontext): Fix incorrect CFI during switch to new context.
6087         (__novec_setcontext): Likewise.
6089 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6091         [BZ #4772]
6092         * time/strptime_l.c (__strptime_internal): Allow modifiers
6093         in strptime.
6094         * time/tst-strptime.c (day_tests): Add testcase.
6097 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6099         * scripts/bench.pl: Skip over blank lines.
6101 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6103         [BZ #926]
6104         * manual/time.texi (Calendar Time): Clarify what timezone functions
6105         use.
6107 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6111 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6113         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6114         implementation.
6115         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6116         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6117         * debug/memset_chk.c (__memset_chk): Likewise.
6118         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6119         * debug/strncpy_chk.c: Likewise.
6121 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6123         [BZ #15268]
6124         [BZ #15425]
6125         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6126         (__ieee754_exp): For possibly underflowing results, check size of
6127         result and force underflow exception if required.
6128         * math/auto-libm-test-in: Add more tests of exp.
6129         * math/auto-libm-test-out: Regenerated.
6130         * sysdeps/i386/fpu/libm-test-ulps: Update.
6131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6133         [BZ #16283]
6134         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6135         * math/w_exp2f.c (__exp2f): Likewise.
6136         * math/w_exp2l.c (__exp2l): Likewise.
6137         * math/auto-libm-test-in: Do not allow missing errno on exp2
6138         underflow.
6139         * math/auto-libm-test-out: Regenerated.
6141 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
6143         [BZ #16274]
6144         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6145         handle filename validation.
6146         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6147         (do_open): Delete.
6149 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6151         [BZ #6786]
6152         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6153         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6154         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6155         <float.h>.
6156         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6157         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6158         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6160         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6161         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6162         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6163         * math/auto-libm-test-in: Don't allow missing errno from erfc.
6164         Add more erfc tests.
6165         * math/auto-libm-test-out: Regenerated.
6166         * sysdeps/i386/fpu/libm-test-ulps: Update.
6167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6169         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6170         exp2, expm1, j0 and j1.
6171         * math/auto-libm-test-out: Regenerated.
6172         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6173         (erfc_test_data): Likewise.
6174         (exp_test_data): Likewise.
6175         (exp_tonearest_test_data): Likewise.
6176         (exp_towardzero_test_data): Likewise.
6177         (exp_downward_test_data): Likewise.
6178         (exp_upward_test_data): Likewise.
6179         (exp10_test_data): Likewise.
6180         (exp2_test_data): Likewise.
6181         (expm1_test_data): Likewise.
6182         (j0_test_data): Likewise.
6183         (j1_test_data): Likewise.
6184         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6185         (input_flag_type): Add flag_xfail_rounding.
6186         (input_flags): Add xfail-rounding.
6187         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6188         (output_for_one_input_case): Handle flag_xfail_rounding.
6189         * sysdeps/i386/fpu/libm-test-ulps: Update.
6190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6192 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
6194         [BZ #16289]
6195         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6196         division by 0.
6198 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6200         [BZ #16195]
6201         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6202         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6203         (STAP_PROBE0): New macro.
6204         (STAP_PROBE1): Likewise.
6205         (STAP_PROBE2): Likewise.
6206         (STAP_PROBE3): Likewise.
6207         (STAP_PROBE4): Likewise.
6209 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
6211         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6213 2013-12-02  Steve Ellcey  <sellcey@mips.com>
6215         * benchtests/Makefile (bench): Add sqrt.
6216         (LDLIBS-bench-sqrt): New.
6217         * benchtests/sqrt-input: New.
6219 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
6221         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6222         (GAIH_EAI): Likewise.
6223         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6224         (gaih_inet): Likewise.
6225         (getaddrinfo): Don't use GAIH_EAI.
6227         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6228         (struct gaih): Remove definition.
6230 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6232         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6233         Use HERRNOP directly.
6235 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6239 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
6241         * math/gen-auto-libm-tests.c (test_functions): Add more
6242         single-argument functions.
6243         (special_fill_pi_2): New function.
6244         (special_fill_minus_pi_2): Likewise.
6245         (special_fill_pi_6): Likewise.
6246         (special_fill_minus_pi_6): Likewise.
6247         (special_fill_pi_3): Likewise.
6248         (special_fill_2pi_3): Likewise.
6249         (special_fill_e): Likewise.
6250         (special_fill_1_e): Likewise.
6251         (special_fill_e_minus_1): Likewise.
6252         (special_real_inputs): Add more special inputs.
6253         (output_for_one_input_case): Do not require ERANGE on underflow to
6254         zero if round-to-nearest result does not underflow to zero, unless
6255         exact results required.
6256         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6257         atan, atanh, cbrt, cos and cosh.
6258         * math/auto-libm-test-out: Regenerated.
6259         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6260         (acos_tonearest_test_data): Likewise.
6261         (acos_towardzero_test_data): Likewise.
6262         (acos_downward_test_data): Likewise.
6263         (acos_upward_test_data): Likewise.
6264         (acosh_test_data): Likewise.
6265         (asin_test_data): Likewise.
6266         (asin_tonearest_test_data): Likewise.
6267         (asin_towardzero_test_data): Likewise.
6268         (asin_upward_test_data): Likewise.
6269         (asinh_test_data): Likewise.
6270         (atan_test_data): Likewise.
6271         (atanh_test_data): Likewise.
6272         (cbrt_test_data): Likewise.
6273         (cos_test_data): Likewise.
6274         (cos_tonearest_test_data): Likewise.
6275         (cos_towardzero_test_data): Likewise.
6276         (cos_downward_test_data): Likewise.
6277         (cos_upward_test_data): Likewise.
6278         (cosh_test_data): Likewise.
6279         (cosh_tonearest_test_data): Likewise.
6280         (cosh_towardzero_test_data): Likewise.
6281         (cosh_downward_test_data): Likewise.
6282         (cosh_upward_test_data): Likewise.
6283         * sysdeps/i386/fpu/libm-test-ulps: Update.
6284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6286 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
6288         [BZ #6787]
6289         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6290         * math/w_exp10f.c (__exp10f): Likewise.
6291         * math/w_exp10l.c (__exp10l): Likewise.
6292         * math/libm-test.inc (exp10_test_data): Add more tests and expect
6293         errno settings in existing tests.
6295         [BZ #14032]
6296         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6297         precision control set to double precision.
6298         * sysdeps/i386/fpu/w_sqrt.c: New file.
6299         * math/auto-libm-test-in: Add more tests.
6300         * math/auto-libm-test-out: Update.
6302         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6303         (sqrt_test_tonearest): New function.
6304         (sqrt_towardzero_test_data): New variable.
6305         (sqrt_test_towardzero): New function.
6306         (sqrt_downward_test_data): New variable.
6307         (sqrt_test_downward): New function.
6308         (sqrt_upward_test_data): New variable.
6309         (sqrt_test_upward): New function.
6310         (main): Call the new functions.
6312         * math/gen-auto-libm-tests.c: New file.
6313         * math/auto-libm-test-in: Likewise.
6314         * math/auto-libm-test-out: New generated file.
6315         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6316         variables.
6317         (%beautify): Add generated representations of zero.
6318         (top level): Set $auto_input and call parse_auto_input.
6319         (beautify): Remove trailing "f" from hex float constants.
6320         (parse_args): Handle XFAIL_TEST.
6321         (convert_condition): New function.
6322         (or_value): Likewise.
6323         (or_cond_value): Likewise.
6324         (generate_testfile): Handle AUTO_TESTS_* lines.
6325         (parse_auto_input): New function.
6326         * math/libm-test.inc (XFAIL_TEST): New macro.
6327         (ERRNO_UNCHANGED): Update value.
6328         (ERRNO_EDOM): Likewise.
6329         (ERRNO_ERANGE): Likewise.
6330         (IGNORE_RESULT): Likewise.
6331         (TEST_COND_flt_32): New macro.
6332         (TEST_COND_dbl_64): Likewise.
6333         (TEST_COND_ldbl_96_intel): Likewise.
6334         (TEST_COND_ldbl_96_m68k): Likewise.
6335         (TEST_COND_ldbl_128): Likewise.
6336         (TEST_COND_ldbl_128ibm): Likewise.
6337         (TEST_COND_long32): Likewise.
6338         (TEST_COND_long64): Likewise.
6339         (TEST_COND_before_rounding): Likewise.
6340         (TEST_COND_after_rounding): Likewise.
6341         (enable_test): Handle XFAIL_TEST flag.
6342         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6343         with finite results.
6344         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6345         auto-libm-test-out.
6347 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6348             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6350         [BZ #16214]
6351         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6352         __tls_get_addr_internal instead of __tls_get_offset in order to
6353         avoid GOT pointer dependency.  Make rtld export
6354         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6355         __tls_get_addr since we are a __tls_get_offset platform.
6356         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6357         GOT pointer being set up before.
6358         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6360 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
6362         * manual/math.texi (Errors in Math Functions): Document accuracy
6363         goals.
6365         [BZ #15004]
6366         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6367         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6368         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6369         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6370         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6371         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6372         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6373         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6374         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6375         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6376         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6377         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6378         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6379         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6380         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6381         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6383         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6384         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6385         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6386         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6387         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6388         Likewise.
6389         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6390         Likewise.
6391         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6392         Likewise.
6393         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6394         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6395         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6396         atomic-feupdateenv and flt-rounds.
6397         * sysdeps/powerpc/nofpu/Versions (libc): Add
6398         __atomic_feholdexcept, __atomic_feclearexcept,
6399         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6400         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6401         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6402         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6403         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6404         here.
6405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6406         Update.
6408         * manual/arith.texi (FP Exceptions): Document that exceptions may
6409         not be raised when matherr is used.
6410         (Math Error Reporting): Document overflow in directed rounding
6411         modes.  Document that errno may not be set when finite values are
6412         returned on overflow.  Document intent to set errno on underflow
6413         only for underflow to zero.
6415         [BZ #16271]
6416         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6417         round-to-nearest then adjust result for other rounding modes.
6418         * include/fenv.h (fegetround): Use libm_hidden_proto.
6419         * math/fegetround.c (fegetround): Use libm_hidden_def.
6420         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6421         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6422         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6423         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6424         Likewise.
6425         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6426         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6427         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6428         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6430 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6432         [BZ #16077]
6433         * nss/Versions (libnss_files): Add
6434         _nss_files_gethostbyname3_r.
6435         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6436         New function.
6437         (HOST_DB_LOOKUP): Remove macro.
6438         (_nss_files_gethostbyname_r): Implement function without the
6439         HOST_DB_LOOKUP macro.
6440         (_nss_files_gethostbyname2_r): Likewise.
6442 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
6444         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6446 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
6448         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6449         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6450         warning.
6452 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6454         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6455         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6456         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6457         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6458         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6459         __fe_nomask_env_priv and attribute_hidden.
6460         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6461         (libc_feupdateenv_test_ppc): Likewise.
6462         (libc_feresetround_ppc): Likewise.
6463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6464         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6465         compat_symbol macro.
6466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6467         (__fe_nomask_env): Likewise.
6468         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6470 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6472         * string/Makefile: Remove ifunc tests.
6473         * string/test-string.h: Define TEST_IFUNC.
6474         * string/test-bcopy-ifunc.c: Remove.
6475         * string/test-bzero-ifunc.c: Likewise.
6476         * string/test-memccpy-ifunc.c: Likewise.
6477         * string/test-memchr-ifunc.c: Likewise.
6478         * string/test-memcmp-ifunc.c: Likewise.
6479         * string/test-memcpy-ifunc.c: Likewise.
6480         * string/test-memmem-ifunc.c: Likewise.
6481         * string/test-memmove-ifunc.c: Likewise.
6482         * string/test-mempcpy-ifunc.c: Likewise.
6483         * string/test-memrchr-ifunc.c: Likewise.
6484         * string/test-memset-ifunc.c: Likewise.
6485         * string/test-rawmemchr-ifunc.c: Likewise.
6486         * string/test-stpcpy-ifunc.c: Likewise.
6487         * string/test-stpncpy-ifunc.c: Likewise.
6488         * string/test-strcasecmp-ifunc.c: Likewise.
6489         * string/test-strcasestr-ifunc.c: Likewise.
6490         * string/test-strcat-ifunc.c: Likewise.
6491         * string/test-strchr-ifunc.c: Likewise.
6492         * string/test-strchrnul-ifunc.c: Likewise.
6493         * string/test-strcmp-ifunc.c: Likewise.
6494         * string/test-strcpy-ifunc.c: Likewise.
6495         * string/test-strcspn-ifunc.c: Likewise.
6496         * string/test-strlen-ifunc.c: Likewise.
6497         * string/test-strncasecmp-ifunc.c: Likewise.
6498         * string/test-strncat-ifunc.c: Likewise.
6499         * string/test-strncmp-ifunc.c: Likewise.
6500         * string/test-strncpy-ifunc.c: Likewise.
6501         * string/test-strnlen-ifunc.c: Likewise.
6502         * string/test-strpbrk-ifunc.c: Likewise.
6503         * string/test-strrchr-ifunc.c: Likewise.
6504         * string/test-strspn-ifunc.c: Likewise.
6505         * string/test-strstr-ifunc.c: Likewise.
6507 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6509         * benchtests/Makefile: Remove ifunc tests.
6510         * benchtests/bench-string.h: Define TEST_IFUNC.
6511         * benchtests/bench-bcopy-ifunc.c: Remove.
6512         * benchtests/bench-bzero-ifunc.c: Likewise.
6513         * benchtests/bench-memccpy-ifunc.c: Likewise.
6514         * benchtests/bench-memchr-ifunc.c: Likewise.
6515         * benchtests/bench-memcmp-ifunc.c: Likewise.
6516         * benchtests/bench-memcpy-ifunc.c: Likewise.
6517         * benchtests/bench-memmem-ifunc.c: Likewise.
6518         * benchtests/bench-memmove-ifunc.c: Likewise.
6519         * benchtests/bench-mempcpy-ifunc.c: Likewise.
6520         * benchtests/bench-memrchr-ifunc.c: Likewise.
6521         * benchtests/bench-memset-ifunc.c: Likewise.
6522         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6523         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6524         * benchtests/bench-stpcpy-ifunc.c: Likewise.
6525         * benchtests/bench-stpncpy-ifunc.c: Likewise.
6526         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6527         * benchtests/bench-strcasestr-ifunc.c: Likewise.
6528         * benchtests/bench-strcat-ifunc.c: Likewise.
6529         * benchtests/bench-strchr-ifunc.c: Likewise.
6530         * benchtests/bench-strchrnul-ifunc.c: Likewise.
6531         * benchtests/bench-strcmp-ifunc.c: Likewise.
6532         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6533         * benchtests/bench-strcpy-ifunc.c: Likewise.
6534         * benchtests/bench-strcspn-ifunc.c: Likewise.
6535         * benchtests/bench-strlen-ifunc.c: Likewise.
6536         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6537         * benchtests/bench-strncat-ifunc.c: Likewise.
6538         * benchtests/bench-strncmp-ifunc.c: Likewise.
6539         * benchtests/bench-strncpy-ifunc.c: Likewise.
6540         * benchtests/bench-strnlen-ifunc.c: Likewise.
6541         * benchtests/bench-strpbrk-ifunc.c: Likewise.
6542         * benchtests/bench-strrchr-ifunc.c: Likewise.
6543         * benchtests/bench-strsep-ifunc.c: Likewise.
6544         * benchtests/bench-strspn-ifunc.c: Likewise.
6545         * benchtests/bench-strstr-ifunc.c: Likewise.
6547 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6549         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6551 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6553         * resolv/netdb.h: Use __glibc_reserved instead __unused.
6554         * rt/aio.h: Likewise.
6555         * sysdeps/gnu/bits/utmp.h: Likewise.
6556         * sysdeps/gnu/bits/utmpx.h: Likewise.
6557         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6558         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6559         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6560         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6561         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6562         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6563         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6564         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6565         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6566         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6567         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6568         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6569         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6571         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6572         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6573         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6574         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6575         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6576         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6577         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6578         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6579         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6580         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6581         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6583         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6584         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6585         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6586         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6587         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6588         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6589         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6590         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6591         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6592         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6593         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6594         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6595         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6596         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6597         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6598         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6600 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
6602         [BZ #16245]
6603         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6604         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6606 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
6608         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6609         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6610         Likewise.
6612 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6615         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6616         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6617         (__fesetround): Remove define.
6618         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6619         rounding and exceptions handling.
6620         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6621         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6622         (__fe_nomask_env): Likewise.
6623         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6624         __fegetround instead of fegetround.
6625         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6626         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6628 2013-11-21  Roland McGrath  <roland@hack.frob.com>
6630         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6631         it's there.
6633         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6635 2013-11-21  Meador Inge  <meadori@codesourcery.com>
6637         [BZ #11157]
6638         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6639         (encrypt_r): Likewise.
6640         * malloc/obstack.h (obstack_free): Likewise.
6641         * posix/unistd.h (encrypt): Likewise.
6643 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6645         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6646         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6647         DL_CALL_DT_FINI() that call the functions directly.
6648         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6649         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6650         * elf/dl-fini.c: Likewise.
6652 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
6654         * malloc/hooks.c (memalign_check): Add alignment rounding.
6655         * malloc/malloc.c (_mid_memalign): New function.
6656         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6657         Implement by calling _mid_memalign.
6658         * manual/probes.texi (Memory Allocation Probes): Remove
6659         memory_valloc_retry and memory_pvalloc_retry.
6661 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6663         * locale/programs/locarchive.c (open_archive): Add const
6664         qualifier to ARCHIVEFNAME and copy default fname to
6665         DEFAULT_FNAME.
6667         [BZ #15601]
6668         * libio/tst-widetext.input: Rename Oriya to Odia.
6669         * locale/iso-639.def: Likewise.
6671         * manual/probes.texi (Mathematical Function Probes): Add
6672         documentation for sin, cos, asin and acos probes.
6673         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6674         (__sin32): Add slowasin probe.
6675         (__cos32): Add slowacos probe.
6676         (__mpsin): Add slowsin probe.
6677         (__mpcos): Add slowcos probe.
6679 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
6681         [BZ #15483]
6682         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6683         thread-local __sim_exceptions_thread and global
6684         __sim_exceptions_global.
6685         (__sim_disabled_exceptions): Change to thread-local
6686         __sim_disabled_exceptions_thread and global
6687         __sim_disabled_exceptions_global.
6688         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6689         and global __sim_round_mode_global.
6690         (__simulate_exceptions): Use thread-local floating-point state and
6691         set global state from it as needed.
6692         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6693         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6694         __sim_round_mode_thread.
6695         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6696         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6697         and global __sim_exceptions_global.
6698         (__sim_disabled_exceptions): Change to thread-local
6699         __sim_disabled_exceptions_thread and global
6700         __sim_disabled_exceptions_global.
6701         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6702         and global __sim_round_mode_global.
6703         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6704         (SIM_SET_GLOBAL): Likewise.
6705         * sysdeps/powerpc/soft-fp/sfp-machine.h
6706         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6707         __sim_round_mode_thread.
6708         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6709         __sim_disabled_exceptions_thread.
6710         (__sim_exceptions): Change to __sim_exceptions_thread.
6711         (__sim_disabled_exceptions): Change to
6712         __sim_disabled_exceptions_thread.
6713         (__sim_round_mode): Change to __sim_round_mode_thread.
6714         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6715         thread-local floating-point state and set global state from it as
6716         needed.
6717         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6718         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6719         (__sim_disabled_exceptions): Remove extern declaration.
6720         (feenableexcept): Use thread-local floating-point state and set
6721         global state from it as needed.
6722         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6723         extern declaration.
6724         (__sim_disabled_exceptions): Likewise.
6725         (__sim_round_mode): Likewise.
6726         (__fegetenv): Use thread-local floating-point state.
6727         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6728         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6729         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6730         floating-point state and set global state from it as needed.
6731         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6732         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6733         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6734         Likewise.
6735         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6736         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6737         Likewise.
6738         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6739         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6740         Use __sim_round_mode_thread.
6741         * math/test-fenv-tls.c: New file.
6742         * math/Makefile (tests): Add test-fenv-tls.
6743         ($(objpfx)test-fenv-tls): Depend on
6744         $(common-objpfx)nptl/libpthread.so.
6746 2013-11-19  Andreas Schwab  <schwab@suse.de>
6748         * locale/programs/locale.c (show_info): Decode wordarray elements.
6749         * locale/categories.def (LC_MONETARY): Add element for
6750         _NL_MONETARY_CRNCYSTR.
6751         * locale/C-monetary.c (conversion_rate): New variable.
6752         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6753         element.
6755 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
6757         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6758         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6760 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6762         * elf/Makefile (tst-auxv): New test.
6763         * elf/tst-auxv.c: New
6764         * elf/rtld.c (dl_main): Adjust AT_EXECFN
6766 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
6768         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6769         (hidden_proto): Caller changed.
6770         (hidden_tls_proto): New macro.
6771         (libc_hidden_tls_proto): Likewise.
6772         (rtld_hidden_tls_proto): Likewise.
6773         (libm_hidden_tls_proto): Likewise.
6774         (libresolv_hidden_tls_proto): Likewise.
6775         (librt_hidden_tls_proto): Likewise.
6776         (libdl_hidden_tls_proto): Likewise.
6777         (libnss_files_hidden_tls_proto): Likewise.
6778         (libnsl_hidden_tls_proto): Likewise.
6779         (libnss_nisplus_hidden_tls_proto): Likewise.
6780         (libutil_hidden_tls_proto): Likewise.
6782 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
6784         [BZ #10253]
6785         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6786         (decompose_rpath): Defer expansion to fillin_rpath.
6787         (_dl_init_paths): Pass linkmap to fillin_rpath.
6789 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6791         * benchtests/Makefile: Add strsep.
6792         * benchtests/bench-strsep.c: New file: strsep benchtest.
6793         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6795 2013-11-18  Andreas Schwab  <schwab@suse.de>
6797         * locale/programs/locale.c (show_info) [case byte]: Check for
6798         '\377' instead of '\177'.
6799         * locale/C-monetary.c (not_available): Always use "\377".
6800         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6801         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
6802         detect unavailable sign_posn locale elements.
6803         * locale/localeconv.c (__localeconv): For grouping and
6804         mon_grouping handle "\177" and "\377" like no grouping.
6805         (INT_ELEM): New macro.  Use it to set all numeric members.
6806         * locale/programs/ld-monetary.c (monetary_read)
6807         <tok_mon_grouping>: Normalize single -1 to the empty string.
6808         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6809         Likewise.
6811 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6813         [BZ #16055]
6814         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6815         when we match (nil).
6816         * stdio-common/tst-sscanf.c (struct test): Add testcase.
6818 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
6820         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6821         (NO_TEST_INLINE): Update value.
6822         (ERRNO_UNCHANGED): Likewise.
6823         (ERRNO_EDOM): Likewise.
6824         (ERRNO_ERANGE): Likewise.
6825         (IGNORE_RESULT): Likewise.
6826         (check_float_internal): Check signs of NaN results if
6827         TEST_NAN_SIGN used.
6828         (check_complex): Pass TEST_NAN_SIGN flag through to second
6829         check_float_internal call.
6830         (copysign_test_data): Add tests with quiet NaNs as second
6831         argument.  Use TEST_NAN_SIGN.
6832         (fabs_test_data): Add test of negative quiet NaN argument.  Use
6833         TEST_NAN_SIGN.
6834         (signbit_test_data): Add tests of quiet NaN argument.
6835         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6837         * math/gen-libm-test.pl (show_exceptions): Take extra argument
6838         $ignore_result.
6839         (parse_args): Handle function results specified as IGNORE.
6840         * math/libm-test.inc (IGNORE_RESULT): New macro.
6841         (check_float_internal): Do not check numerical result if flag
6842         IGNORE_RESULT set.
6843         (check_complex): Pass through IGNORE_RESULT to second
6844         check_float_internal call.
6845         (check_int): Do not check numerical result if flag IGNORE_RESULT
6846         set.
6847         (check_long): Likewise.
6848         (check_bool): Likewise.
6849         (check_longlong): Likewise.
6850         (lrint_test_data): Add tests of infinite and NaN arguments.
6851         (lrint_tonearest_test_data): Likewise.
6852         (lrint_towardzero_test_data): Likewise.
6853         (lrint_downward_test_data): Likewise.
6854         (lrint_upward_test_data): Likewise.
6855         (llrint_test_data): Likewise.
6856         (llrint_tonearest_test_data): Likewise.
6857         (llrint_towardzero_test_data): Likewise.
6858         (llrint_downward_test_data): Likewise.
6859         (llrint_upward_test_data): Likewise.
6860         (lround_test_data): Likewise.
6861         (llround_test_data): Likewise.
6863         * math/libm-test.inc (NO_TEST_INLINE): New macro.
6864         (ERRNO_UNCHANGED): Update value.
6865         (ERRNO_EDOM): Likewise.
6866         (ERRNO_ERANGE): Likewise.
6867         (NO_TEST_INLINE_FLOAT): New macro.
6868         (NO_TEST_INLINE_DOUBLE): Likewise.
6869         (enable_test): New function.
6870         (RUN_TEST_f_f): Check enable_test before running test.
6871         (RUN_TEST_2_f): Likewise.
6872         (RUN_TEST_fff_f): Likewise.
6873         (RUN_TEST_c_f): Likewise.
6874         (RUN_TEST_f_f1): Likewise.
6875         (RUN_TEST_fF_f1): Likewise.
6876         (RUN_TEST_fI_f1): Likewise.
6877         (RUN_TEST_ffI_f1): Likewise.
6878         (RUN_TEST_c_c): Likewise.
6879         (RUN_TEST_cc_c): Likewise.
6880         (RUN_TEST_f_i): Likewise.
6881         (RUN_TEST_f_i_tg): Likewise.
6882         (RUN_TEST_ff_i_tg): Likewise.
6883         (RUN_TEST_f_b): Likewise.
6884         (RUN_TEST_f_b_tg): Likewise.
6885         (RUN_TEST_f_l): Likewise.
6886         (RUN_TEST_f_L): Likewise.
6887         (RUN_TEST_fFF_11): Likewise.
6888         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6889         conditionals.
6890         (cosh_test_data): Likewise.
6891         (exp_test_data): Likewise.
6892         (expm1_test_data): Likewise.
6893         (hypot_test_data): Likewise.
6894         (pow_test_data): Likewise.
6895         (sinh_test_data): Likewise.
6896         (tanh_test_data): Likewise.
6897         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6898         flags argument.
6900         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6901         tests with quiet NaN input and output.
6902         (acosh_test_data): Likewise.
6903         (asin_test_data): Likewise.
6904         (asinh_test_data): Likewise.
6905         (atan_test_data): Likewise.
6906         (atanh_test_data): Likewise.
6907         (atan2_test_data): Likewise.
6908         (cbrt_test_data): Likewise.
6909         (cos_test_data): Likewise.
6910         (cosh_test_data): Likewise.
6911         (erf_test_data): Likewise.
6912         (erfc_test_data): Likewise.
6913         (exp_test_data): Likewise.
6914         (exp10_test_data): Likewise.
6915         (exp2_test_data): Likewise.
6916         (expm1_test_data): Likewise.
6917         (hypot_test_data): Likewise.
6918         (j0_test_data): Likewise.
6919         (j1_test_data): Likewise.
6920         (jn_test_data): Likewise.
6921         (lgamma_test_data): Likewise.
6922         (log_test_data): Likewise.
6923         (log10_test_data): Likewise.
6924         (log1p_test_data): Likewise.
6925         (log2_test_data): Likewise.
6926         (pow_test_data): Likewise.
6927         (scalb_test_data): Likewise.
6928         (sin_test_data): Likewise.
6929         (sincos_test_data): Likewise.
6930         (sinh_test_data): Likewise.
6931         (tan_test_data): Likewise.
6932         (tanh_test_data): Likewise.
6933         (tgamma_test_data): Likewise.
6934         (y0_test_data): Likewise.
6935         (y1_test_data): Likewise.
6936         (yn_test_data): Likewise.
6938         [BZ #16167]
6939         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6940         argument being NaN and avoid computations with second argument in
6941         that case.
6942         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6943         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6944         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6946 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
6948         * locale/iso-639.def: Add Chitwani Tharu (the).
6950 2013-11-14  Andreas Schwab  <schwab@suse.de>
6952         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6953         word instead of empty string.
6955 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6958         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6960         (__fe_nomask_env): Likewise.
6962 2013-11-13  Steve Ellcey  <sellcey@mips.com>
6964         * benchtests/bench-timing.h: Include time.h.
6966 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
6968         [BZ #15997]
6969         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
6970         to 3.4.0 for x32.
6971         * sysdeps/unix/sysv/linux/configure: Regenerated.
6973 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
6975         [BZ #16151]
6976         * stdlib/strtod_l.c (round_and_return): Do not consider
6977         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
6978         exponent one less than half the least subnormal exponent.
6979         * stdlib/test-strtod-round-data: Add more tests.
6980         * stdlib/tst-strtod-round.c (tests): Regenerated.
6982 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6984         [BZ #14143]
6985         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
6986         (__fe_mask_env): Likewise.
6987         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
6988         libm_hidden_proto and add function prototype.
6989         (__fe_mask_env): Add function prototype.
6990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6991         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
6992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6993         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
6994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6995         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
6997 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6999         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7000         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7002 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7004         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7005         of htab_find_slot().
7007 2013-11-11  David S. Miller  <davem@davemloft.net>
7009         [BZ #16150]
7010         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7011         symbol in the non-vis3 case in static builds.
7012         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7013         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7014         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7015         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7017 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7019         [BZ #387]
7020         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7021         it is empty.
7023 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7025         * benchtests/Makefile: Add bench-strtod.
7026         * benchtests/bench-strtod.c: New file: strtod benchtest
7028 2013-11-11  Andreas Schwab  <schwab@suse.de>
7030         [BZ #16153]
7031         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7032         terminating NUL in key length.
7034 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7036         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7037         Add artificial ODP entry for vDSO symbol for PPC64.
7038         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7039         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7041 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7043         [BZ #15374]
7044         * nss/getent.c (services_keys): Recognize services starting with digit.
7046 2013-11-06  David S. Miller  <davem@davemloft.net>
7048         [BZ #15985]
7049         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7050         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7052 2013-11-06  Will Newton  <will.newton@linaro.org>
7054         * manual/memory.texi (Malloc Examples): Remove register
7055         keyword from examples.
7057 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
7059         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7061 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
7063         [BZ #6981]
7064         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7065         depending on [__GCC_IEC_559 > 0].
7066         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7067         depending on [__GCC_IEC_559_COMPLEX > 0].
7069 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
7071         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7072         to iso-639.def.
7074 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
7076         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7078 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
7080         [BZ #16112]
7081         * malloc/malloc (malloc_info): Do not handle first bin as
7082         special case.
7084 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
7086         * locale/iso-639.def: Add Central Nahuatl (nhn).
7088 2013-11-01  Bruno Haible  <bruno@clisp.org>
7090         [BZ #7003]
7091         * manual/math.texi (BSD Random): Specify range upper bound as
7092         in POSIX.
7094 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
7096         * locale/iso-639.def: Add Meadow Mari (mhr).
7098 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
7100         [BZ #14752], [BZ #15763]
7101         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7102         Validate name.
7103         * rt/tst_shm.c: Add test for escaping directory.
7105 2013-10-31  Andreas Schwab  <schwab@suse.de>
7107         [BZ #15917]
7108         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7109         followed by 'x' as part of digit sequence.
7110         * stdio-common/tst-sscanf.c (double_tests2): New tests.
7112 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7114         [BZ #16037]
7115         * configure.ac: allow GNU Make 4.0 and greater.
7116         * configure: Regenerated.
7118 2013-10-30  Will Newton  <will.newton@linaro.org>
7120         [BZ #16038]
7121         * malloc/hooks.c (memalign_check): Limit alignment to the
7122         maximum representable power of two.
7123         * malloc/malloc.c (__libc_memalign): Likewise.
7124         * malloc/tst-memalign.c (do_test): Add test for very
7125         large alignment values.
7126         * malloc/tst-posix_memalign.c (do_test): Likewise.
7128 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7130         [BZ #11087]
7131         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7132         (munmap_chunk): Likewise.
7133         (mremap_chunk): Likewise.
7135 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7137         [BZ #15799]
7138         * stdlib/div.c (div): Remove obsolete code.
7139         * stdlib/ldiv.c (ldiv): Likewise.
7140         * stdlib/lldiv.c (lldiv): Likewise.
7142 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7144         [BZ #16071]
7145         * nss/nss_files/files-XXX.c (get_contents_ret): New
7146         enumerator.
7147         (get_contents): New function.
7148         (internal_getent): Use it.  Expand size of LINEBUFLEN.
7150 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
7152         * configure.in: Moved to ...
7153         * configure.ac: ... here. Change reference to configure.in
7154         to configure.ac.
7155         * sysdeps/arm/preconfigure.ac: ... here.
7156         configure.in to configure.ac.
7157         * sysdeps/gnu/configure.in: Moved to ...
7158         * sysdeps/gnu/configure.ac: ... here.
7159         * sysdeps/i386/configure.in: Moved to ...
7160         * sysdeps/i386/configure.ac: ... here.
7161         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7162         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7163         * sysdeps/mach/configure.in: Moved to ...
7164         * sysdeps/mach/configure.ac: ... here.
7165         * sysdeps/mach/hurd/configure.in: Moved to ...
7166         * sysdeps/mach/hurd/configure.ac: ... here.
7167         * sysdeps/powerpc/configure.in: Moved to ...
7168         * sysdeps/powerpc/configure.ac: ... here.
7169         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7170         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7171         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7172         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7173         * sysdeps/s390/s390-32/configure.in: Moved to ...
7174         * sysdeps/s390/s390-32/configure.ac: ... here.
7175         * sysdeps/s390/s390-64/configure.in: Moved to ...
7176         * sysdeps/s390/s390-64/configure.ac: ... here.
7177         * sysdeps/sh/configure.in: Moved to ...
7178         * sysdeps/sh/configure.ac: ... here.
7179         * sysdeps/sparc/configure.in: Moved to ...
7180         * sysdeps/sparc/configure.ac: ... here.
7181         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7182         * sysdeps/unix/sysv/linux/configure.ac: ... here.
7183         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7184         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7185         * sysdeps/x86_64/configure.in: Moved to ...
7186         * sysdeps/x86_64/configure.ac: ... here.
7187         * sysdeps/x86_64/preconfigure.in: Moved to ...
7188         * sysdeps/x86_64/preconfigure.ac: ... here.
7189         * aclocal.m4: Change reference to configure.in to configure.ac.
7190         * config.h.in: Likewise.
7191         * manual/install.texi: Likewise.
7192         * manual/maint.texi: Likewise.
7193         * Makefile: Likewise.
7194         * malloc/Makefile: Likewise.
7195         * nscd/Makefile: Likewise.
7196         * Makeconfig: Change reference to configure.in and
7197         preconfigure.in to configure.ac and preconfigure.ac
7198         respectively.
7199         * INSTALL: Regenerated.
7200         * configure: Likewise.
7201         * sysdeps/gnu/configure: Likewise.
7202         * sysdeps/i386/configure: Likewise.
7203         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7204         * sysdeps/mach/configure: Likewise.
7205         * sysdeps/mach/hurd/configure: Likewise.
7206         * sysdeps/powerpc/configure: Likewise.
7207         * sysdeps/powerpc/powerpc32/configure: Likewise.
7208         * sysdeps/powerpc/powerpc64/configure: Likewise.
7209         * sysdeps/s390/s390-32/configure: Likewise.
7210         * sysdeps/s390/s390-64/configure: Likewise.
7211         * sysdeps/sh/configure: Likewise.
7212         * sysdeps/sparc/configure: Likewise.
7213         * sysdeps/unix/sysv/linux/configure: Likewise.
7214         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7215         * sysdeps/x86_64/configure: Likewise.
7216         * sysdeps/x86_64/preconfigure: Likewise.
7218 2013-10-29  Andreas Schwab  <schwab@suse.de>
7220         * stdio-common/Makefile (tst-swscanf-ENV): Define.
7222 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7224         * benchtests/pow-inputs: Add new inputs.
7226         * benchtests/exp-inputs: Add new inputs.
7228         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7229         conditional check for return value.
7230         (__cos32): Likewise.
7232 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7234         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7235         to provide a boost for large inputs with word alignment.
7236         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7237         implementation based on optimized PPC64 strcpy.
7238         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7239         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7240         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7241         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7243 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7245         [BZ #2801]
7246         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7248 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7250         [BZ #14876]
7251         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7252         * time/tst-strptime.c (day_tests): Add testcase.
7254 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7256         [BZ #14029]
7257         * manual/pattern.texi: Acknowledge that fnmatch can fail.
7259 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
7261         [BZ #16074]
7262         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7263         MAP_FAILED on error.
7265 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7267         [BZ #16072]
7268         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7269         heap for large requests.
7271 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
7273         [BZ #9954]
7274         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7275         result if the result has no associated interface.
7276         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7277         interface for all 127.X.Y.Z addresses.
7279 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
7281         * locale/iso-639.def: Add Ligurian (lij)
7283 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
7285         [BZ #15825]
7286         * sunrpc/rpc_main.c: Document rpcgen -5.
7288 2013-10-19  Michael Stahl  <mstahl@redhat.com>
7290         * elf/rtld.c (do_preload): Print the reason why preloading failed.
7292 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7294         [BZ #10278]
7295         * posix/glob.c: Match only directories when trailing slash is present.
7296         * posix/tst-gnuglob.c (my_opendir): Do not open files.
7297         (main): Add testcase.
7299 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7301         [BZ #15670]
7302         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7304 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
7306         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7307         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7308         AUTH_DES and cindex for FIPS 140-2.
7309         (DES Encryption): Add cindex FIPS 46-3.
7311         * locale/locarchive.h (struct locarhandle): Add fname.
7312         * locale/programs/localedef.c (main): Pass ARGV[remaining]
7313         if an optional argument was specified to --list-archive,
7314         otherwise NULL.
7315         * locale/programs/locarchive.c (show_archive_content): Take new
7316         argument fname and pass it via ah.fname to open_archive.
7317         * locale/programs/localedef.h: Update decl.
7318         (open_archive): If AH->fname is non-null, open that file
7319         rather than the default file name, and don't ignore ENOENT.
7320         (create_archive): Set AH.fname to NULL.
7321         (delete_locales_from_archive): Likewise.
7322         (add_locales_to_archive): Likewise.
7323         * locale/programs/locfile.c (write_all_categories): Likewise.
7325 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
7326             Aldy Hernandez  <aldyh@redhat.com>
7328         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7329         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7330         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7331         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7332         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7333         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7334         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7335         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7336         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7337         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7338         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7339         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7340         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7341         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7342         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7343         Likewise.
7344         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7345         Likewise.
7346         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7347         Likewise.
7348         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7349         Likewise.
7350         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7351         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7352         Likewise.
7353         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7354         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7355         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7356         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7357         Likewise.
7358         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7359         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7360         * sysdeps/powerpc/preconfigure: Likewise.
7361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7362         Likewise.
7363         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7364         Replace contents of file by #include of <fenv_libc.h>.
7365         * sysdeps/powerpc/soft-fp/sfp-machine.h
7366         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7367         and <sys/prctl.h>.
7368         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7369         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7370         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7371         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7372         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7373         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7375         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7376         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7377         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7378         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7379         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7381         Allow copysignl PLT reference to be missing.
7383 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
7384             Joseph Myers  <joseph@codesourcery.com
7386         [BZ #15948]
7387         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7388         single character.
7389         (add_to_tablewc): Assert sequence of wide characters is nonempty.
7391 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7393         * elf/tst-tls-dlinfo.c: Don't include tls.h.
7394         * elf/tst-tls1.c: Likewise.
7395         * elf/tst-tls10.h: Likewise.
7396         * elf/tst-tls14.c: Likewise.
7397         * elf/tst-tls2.c: Likewise.
7398         * elf/tst-tls3.c: Likewise.
7399         * elf/tst-tls4.c: Likewise.
7400         * elf/tst-tls5.c: Likewise.
7401         * elf/tst-tls6.c: Likewise.
7402         * elf/tst-tls7.c: Likewise.
7403         * elf/tst-tls8.c: Likewise.
7404         * elf/tst-tls9.c: Likewise.
7405         * elf/tst-tlsmod1.c: Likewise.
7406         * elf/tst-tlsmod13.c: Likewise.
7407         * elf/tst-tlsmod13a.c: Likewise.
7408         * elf/tst-tlsmod14a.c: Likewise.
7409         * elf/tst-tlsmod16a.c: Likewise.
7410         * elf/tst-tlsmod16b.c: Likewise.
7411         * elf/tst-tlsmod2.c: Likewise.
7412         * elf/tst-tlsmod3.c: Likewise.
7413         * elf/tst-tlsmod4.c: Likewise.
7414         * elf/tst-tlsmod5.c: Likewise.
7415         * elf/tst-tlsmod6.c: Likewise.
7417 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
7419         [BZ #12486]
7420         * malloc/malloc.c: remove checks for statistics.
7422 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7424         [BZ #15277]
7425         * inet/inet_net.c (inet_network): Detect additional invalid strings.
7426         * inet/tst-network.c: Add testcase.
7428 2013-10-17  Andreas Schwab  <schwab@suse.de>
7430         [BZ #15218]
7431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7432         to determine canonical name.
7434 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7436         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7437         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7439         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7440         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7441         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7442         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7443         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7444         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7445         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7446         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7447         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7448         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7449         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7450         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7451         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7452         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7453         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7454         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7455         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7456         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7457         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7459         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7460         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7461         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7462         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7463         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7464         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7465         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7466         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7468         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7469         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7470         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7471         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7472         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7473         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7474         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7475         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7476         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7477         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7478         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7479         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7480         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7481         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7482         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7483         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7484         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7485         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7486         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7487         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7488         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7489         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7490         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7491         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7492         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7493         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7495 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
7497         [BZ #16041]
7498         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7499         make result into a quiet NaN.
7501 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
7503         * soft-fp/adddf3.c: Fix horizontal whitespace.
7504         * soft-fp/addsf3.c: Likewise.
7505         * soft-fp/addtf3.c: Likewise.
7506         * soft-fp/divdf3.c: Likewise.
7507         * soft-fp/divsf3.c: Likewise.
7508         * soft-fp/divtf3.c: Likewise.
7509         * soft-fp/double.h: Likewise.
7510         * soft-fp/eqdf2.c: Likewise.
7511         * soft-fp/eqsf2.c: Likewise.
7512         * soft-fp/eqtf2.c: Likewise.
7513         * soft-fp/extenddftf2.c: Likewise.
7514         * soft-fp/extended.h: Likewise.
7515         * soft-fp/extendsfdf2.c: Likewise.
7516         * soft-fp/extendsftf2.c: Likewise.
7517         * soft-fp/extendxftf2.c: Likewise.
7518         * soft-fp/fixdfdi.c: Likewise.
7519         * soft-fp/fixdfsi.c: Likewise.
7520         * soft-fp/fixdfti.c: Likewise.
7521         * soft-fp/fixsfdi.c: Likewise.
7522         * soft-fp/fixsfsi.c: Likewise.
7523         * soft-fp/fixsfti.c: Likewise.
7524         * soft-fp/fixtfdi.c: Likewise.
7525         * soft-fp/fixtfsi.c: Likewise.
7526         * soft-fp/fixtfti.c: Likewise.
7527         * soft-fp/fixunsdfdi.c: Likewise.
7528         * soft-fp/fixunsdfsi.c: Likewise.
7529         * soft-fp/fixunsdfti.c: Likewise.
7530         * soft-fp/fixunssfdi.c: Likewise.
7531         * soft-fp/fixunssfsi.c: Likewise.
7532         * soft-fp/fixunssfti.c: Likewise.
7533         * soft-fp/fixunstfdi.c: Likewise.
7534         * soft-fp/fixunstfsi.c: Likewise.
7535         * soft-fp/fixunstfti.c: Likewise.
7536         * soft-fp/floatdidf.c: Likewise.
7537         * soft-fp/floatdisf.c: Likewise.
7538         * soft-fp/floatditf.c: Likewise.
7539         * soft-fp/floatsidf.c: Likewise.
7540         * soft-fp/floatsisf.c: Likewise.
7541         * soft-fp/floatsitf.c: Likewise.
7542         * soft-fp/floattidf.c: Likewise.
7543         * soft-fp/floattisf.c: Likewise.
7544         * soft-fp/floattitf.c: Likewise.
7545         * soft-fp/floatundidf.c: Likewise.
7546         * soft-fp/floatundisf.c: Likewise.
7547         * soft-fp/floatunditf.c: Likewise.
7548         * soft-fp/floatunsidf.c: Likewise.
7549         * soft-fp/floatunsisf.c: Likewise.
7550         * soft-fp/floatunsitf.c: Likewise.
7551         * soft-fp/floatuntidf.c: Likewise.
7552         * soft-fp/floatuntisf.c: Likewise.
7553         * soft-fp/floatuntitf.c: Likewise.
7554         * soft-fp/fmadf4.c: Likewise.
7555         * soft-fp/fmasf4.c: Likewise.
7556         * soft-fp/fmatf4.c: Likewise.
7557         * soft-fp/gedf2.c: Likewise.
7558         * soft-fp/gesf2.c: Likewise.
7559         * soft-fp/getf2.c: Likewise.
7560         * soft-fp/ledf2.c: Likewise.
7561         * soft-fp/lesf2.c: Likewise.
7562         * soft-fp/letf2.c: Likewise.
7563         * soft-fp/muldf3.c: Likewise.
7564         * soft-fp/mulsf3.c: Likewise.
7565         * soft-fp/multf3.c: Likewise.
7566         * soft-fp/negdf2.c: Likewise.
7567         * soft-fp/negsf2.c: Likewise.
7568         * soft-fp/negtf2.c: Likewise.
7569         * soft-fp/op-1.h: Likewise.
7570         * soft-fp/op-2.h: Likewise.
7571         * soft-fp/op-4.h: Likewise.
7572         * soft-fp/op-8.h: Likewise.
7573         * soft-fp/op-common.h: Likewise.
7574         * soft-fp/quad.h: Likewise.
7575         * soft-fp/single.h: Likewise.
7576         * soft-fp/soft-fp.h: Likewise.
7577         * soft-fp/sqrtdf2.c: Likewise.
7578         * soft-fp/sqrtsf2.c: Likewise.
7579         * soft-fp/sqrttf2.c: Likewise.
7580         * soft-fp/subdf3.c: Likewise.
7581         * soft-fp/subsf3.c: Likewise.
7582         * soft-fp/subtf3.c: Likewise.
7583         * soft-fp/truncdfsf2.c: Likewise.
7584         * soft-fp/trunctfdf2.c: Likewise.
7585         * soft-fp/trunctfsf2.c: Likewise.
7586         * soft-fp/trunctfxf2.c: Likewise.
7587         * soft-fp/unorddf2.c: Likewise.
7588         * soft-fp/unordsf2.c: Likewise.
7589         * soft-fp/unordtf2.c: Likewise.
7591 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
7593         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7594         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7596 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
7598         * elf/dl-libc.c: Clear initfini list after freeing.
7600 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
7602         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7603         * soft-fp/addsf3.c: Likewise.
7604         * soft-fp/addtf3.c: Likewise.
7605         * soft-fp/divdf3.c: Likewise.
7606         * soft-fp/divsf3.c: Likewise.
7607         * soft-fp/divtf3.c: Likewise.
7608         * soft-fp/double.h: Likewise.
7609         * soft-fp/eqdf2.c: Likewise.
7610         * soft-fp/eqsf2.c: Likewise.
7611         * soft-fp/eqtf2.c: Likewise.
7612         * soft-fp/extenddftf2.c: Likewise.
7613         * soft-fp/extended.h: Likewise.
7614         * soft-fp/extendsfdf2.c: Likewise.
7615         * soft-fp/extendsftf2.c: Likewise.
7616         * soft-fp/extendxftf2.c: Likewise.
7617         * soft-fp/fixdfdi.c: Likewise.
7618         * soft-fp/fixdfsi.c: Likewise.
7619         * soft-fp/fixdfti.c: Likewise.
7620         * soft-fp/fixsfdi.c: Likewise.
7621         * soft-fp/fixsfsi.c: Likewise.
7622         * soft-fp/fixsfti.c: Likewise.
7623         * soft-fp/fixtfdi.c: Likewise.
7624         * soft-fp/fixtfsi.c: Likewise.
7625         * soft-fp/fixtfti.c: Likewise.
7626         * soft-fp/fixunsdfdi.c: Likewise.
7627         * soft-fp/fixunsdfsi.c: Likewise.
7628         * soft-fp/fixunsdfti.c: Likewise.
7629         * soft-fp/fixunssfdi.c: Likewise.
7630         * soft-fp/fixunssfsi.c: Likewise.
7631         * soft-fp/fixunssfti.c: Likewise.
7632         * soft-fp/fixunstfdi.c: Likewise.
7633         * soft-fp/fixunstfsi.c: Likewise.
7634         * soft-fp/fixunstfti.c: Likewise.
7635         * soft-fp/floatdidf.c: Likewise.
7636         * soft-fp/floatdisf.c: Likewise.
7637         * soft-fp/floatditf.c: Likewise.
7638         * soft-fp/floatsidf.c: Likewise.
7639         * soft-fp/floatsisf.c: Likewise.
7640         * soft-fp/floatsitf.c: Likewise.
7641         * soft-fp/floattidf.c: Likewise.
7642         * soft-fp/floattisf.c: Likewise.
7643         * soft-fp/floattitf.c: Likewise.
7644         * soft-fp/floatundidf.c: Likewise.
7645         * soft-fp/floatundisf.c: Likewise.
7646         * soft-fp/floatunsidf.c: Likewise.
7647         * soft-fp/floatunsisf.c: Likewise.
7648         * soft-fp/floatuntidf.c: Likewise.
7649         * soft-fp/floatuntisf.c: Likewise.
7650         * soft-fp/floatuntitf.c: Likewise.
7651         * soft-fp/fmadf4.c: Likewise.
7652         * soft-fp/fmasf4.c: Likewise.
7653         * soft-fp/fmatf4.c: Likewise.
7654         * soft-fp/gedf2.c: Likewise.
7655         * soft-fp/gesf2.c: Likewise.
7656         * soft-fp/getf2.c: Likewise.
7657         * soft-fp/ledf2.c: Likewise.
7658         * soft-fp/lesf2.c: Likewise.
7659         * soft-fp/letf2.c: Likewise.
7660         * soft-fp/muldf3.c: Likewise.
7661         * soft-fp/mulsf3.c: Likewise.
7662         * soft-fp/multf3.c: Likewise.
7663         * soft-fp/negdf2.c: Likewise.
7664         * soft-fp/negsf2.c: Likewise.
7665         * soft-fp/negtf2.c: Likewise.
7666         * soft-fp/op-1.h: Likewise.
7667         * soft-fp/op-2.h: Likewise.
7668         * soft-fp/op-4.h: Likewise.
7669         * soft-fp/op-8.h: Likewise.
7670         * soft-fp/op-common.h: Likewise.
7671         * soft-fp/quad.h: Likewise.
7672         * soft-fp/single.h: Likewise.
7673         * soft-fp/soft-fp.h: Likewise.
7674         * soft-fp/sqrtdf2.c: Likewise.
7675         * soft-fp/sqrtsf2.c: Likewise.
7676         * soft-fp/sqrttf2.c: Likewise.
7677         * soft-fp/subdf3.c: Likewise.
7678         * soft-fp/subsf3.c: Likewise.
7679         * soft-fp/subtf3.c: Likewise.
7680         * soft-fp/truncdfsf2.c: Likewise.
7681         * soft-fp/trunctfdf2.c: Likewise.
7682         * soft-fp/trunctfsf2.c: Likewise.
7683         * soft-fp/trunctfxf2.c: Likewise.
7684         * soft-fp/unorddf2.c: Likewise.
7685         * soft-fp/unordsf2.c: Likewise.
7686         * soft-fp/unordtf2.c: Likewise.
7688 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
7690         [BZ #15672]
7691         * misc/error.c (error_tail): Fix possible buffer overflow.
7693 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
7695         [BZ #13028]
7696         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7697         address.
7699 2013-10-14  P. J. McDermott  <pj@pehjota.net>
7701         [BZ #832]
7702         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
7703         testing pipefail option.
7705 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7707         * soft-fp/double.h: Indent preprocessor directives inside #if.
7708         * soft-fp/extended.h: Likewise.
7709         * soft-fp/op-2.h: Likewise.
7710         * soft-fp/op-4.h: Likewise.
7711         * soft-fp/op-common.h: Likewise.
7712         * soft-fp/quad.h: Likewise.
7713         * soft-fp/single.h: Likewise.
7714         * soft-fp/soft-fp.h: Likewise.
7716 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
7718         * iconv/iconv_prog.c: Fix typos.
7719         * stdio-common/psiginfo-data.h: Likewise.
7721 2013-10-12   Reuben Thomas <rrt@sc3d.org>
7723         [BZ #15764]
7724         * locale/setlocale.c: Fix typo.
7726 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7728         [BZ #16036]
7729         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7730         signaling NaN arguments.
7731         * soft-fp/unordsf2.c (__unordsf2): Likewise.
7732         * soft-fp/unordtf2.c (__unordtf2): Likewise.
7734         [BZ #14910]
7735         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7736         unordered operands.
7737         * soft-fp/gesf2.c (__gesf2): Likewise.
7738         * soft-fp/getf2.c (__getf2): Likewise.
7739         * soft-fp/ledf2.c (__ledf2): Likewise.
7740         * soft-fp/lesf2.c (__lesf2): Likewise.
7741         * soft-fp/letf2.c (__letf2): Likewise.
7743         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7744         * soft-fp/eqsf2.c (__eqsf2): Likewise.
7745         * soft-fp/eqtf2.c (__eqtf2): Likewise.
7746         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7747         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7748         * soft-fp/fixdfti.c (__fixdfti): Likewise.
7749         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7750         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7751         * soft-fp/fixsfti.c (__fixsfti): Likewise.
7752         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7753         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7754         * soft-fp/fixtfti.c (__fixtfti): Likewise.
7755         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7756         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7757         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7758         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7759         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7760         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7761         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7762         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7763         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7764         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7765         * soft-fp/floatdisf.c (__floatdisf): Likewise.
7766         * soft-fp/floatsisf.c (__floatsisf): Likewise.
7767         * soft-fp/floattidf.c (__floattidf): Likewise.
7768         * soft-fp/floattisf.c (__floattisf): Likewise.
7769         * soft-fp/floattitf.c (__floattitf): Likewise.
7770         * soft-fp/floatundidf.c (__floatundidf): Likewise.
7771         * soft-fp/floatundisf.c (__floatundisf): Likewise.
7772         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7773         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7774         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7775         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7776         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7777         * soft-fp/gesf2.c (__gesf2): Likewise.
7778         * soft-fp/getf2.c (__getf2): Likewise.
7779         * soft-fp/ledf2.c (__ledf2): Likewise.
7780         * soft-fp/lesf2.c (__lesf2): Likewise.
7781         * soft-fp/letf2.c (__letf2): Likewise.
7783         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7784         Undefine and redefine.
7785         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7786         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7787         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7788         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7789         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7790         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7791         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7792         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7793         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7794         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7795         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7796         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7797         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7798         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7799         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7801         [BZ #16032]
7802         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7803         without decrementing exponent if mantissa >= that for the
7804         denominator, not >.
7805         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7806         denominator, not >.  Decrement exponent in < case instead of
7807         incrementing in >= case.
7808         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7809         without decrementing exponent if mantissa >= that for the
7810         denominator, not >.
7812         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7813         computing saturated result for unsigned overflow.
7815 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7816             Jeff Law  <law@redhat.com>
7818         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7819         (atan2Mp): Add systemtap probe marker.
7820         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7821         (__ieee754_log): Add systemtap probe marker.
7822         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7823         (atanMp): Add systemtap probe marker.
7824         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7825         (tanMp): Add systemtap probe marker.
7826         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7827         (__slowexp): Add systemtap probe marker.
7828         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7829         (__slowpow): Add systemtap probe marker.
7830         * manual/probes.texi: Document probes.
7832 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
7834         [BZ #15362]
7835         * libio/fileops.c (_IO_new_file_write): Return count of bytes
7836         written.
7837         (_IO_new_file_xsputn): Don't return EOF if nothing has been
7838         written.
7839         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7840         written to buffer but not flushed.
7841         * libio/iofwrite_u.c:  Likewise.
7842         * libio/iopadn.c:  Return bytes returned even if EOF was
7843         encountered.
7844         * libio/iowpadn.c:  Likewise.
7845         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7846         if _IO_padn does not write the whole buffer.
7847         [!COMPILE_WPRINTF] (PAD): Likewise.
7849 2013-10-10  David S. Miller  <davem@davemloft.net>
7851         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7852         directory block.
7854 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7856         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
7857         instead of FSF address.
7858         * soft-fp/fixdfti.c: Likewise.
7859         * soft-fp/fixsfti.c: Likewise.
7860         * soft-fp/fixtfti.c: Likewise.
7861         * soft-fp/fixunsdfti.c: Likewise.
7862         * soft-fp/fixunssfti.c: Likewise.
7863         * soft-fp/fixunstfti.c: Likewise.
7864         * soft-fp/floattidf.c: Likewise.
7865         * soft-fp/floattisf.c: Likewise.
7866         * soft-fp/floattitf.c: Likewise.
7867         * soft-fp/floatuntidf.c: Likewise.
7868         * soft-fp/floatuntisf.c: Likewise.
7869         * soft-fp/floatuntitf.c: Likewise.
7870         * soft-fp/trunctfxf2.c: Likewise.
7872         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
7873         * soft-fp/fixdfti.c: Likewise.
7874         * soft-fp/fixsfti.c: Likewise.
7875         * soft-fp/fixtfti.c: Likewise.
7876         * soft-fp/fixunsdfti.c: Likewise.
7877         * soft-fp/fixunssfti.c: Likewise.
7878         * soft-fp/fixunstfti.c: Likewise.
7879         * soft-fp/floattidf.c: Likewise.
7880         * soft-fp/floattisf.c: Likewise.
7881         * soft-fp/floattitf.c: Likewise.
7882         * soft-fp/floatuntidf.c: Likewise.
7883         * soft-fp/floatuntisf.c: Likewise.
7884         * soft-fp/floatuntitf.c: Likewise.
7885         * soft-fp/trunctfxf2.c: Likewise.
7887 2013-10-10  David S. Miller  <davem@davemloft.net>
7889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7891 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
7893         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7894         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7895         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7896         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7897         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7898         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7899         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7901         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7902         for NaNs before doing comparisons on argument.
7903         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7904         Likewise.
7906 2013-10-10  Will Newton  <will.newton@linaro.org>
7908         * malloc/hooks.c (memalign_check): Ensure the value of bytes
7909         passed to _int_memalign does not overflow.
7911 2013-10-10  Torvald Riegel  <triegel@redhat.com>
7913         * scripts/bench.pl: Add include-sources directive.
7914         * benchtests/README: Update documentation.
7916 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7918         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7919         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7920         instead of FP_INIT_ROUNDMODE.
7921         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7922         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7924         [BZ #16034]
7925         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
7926         copy class of input value.
7927         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
7928         not handle exceptions.
7929         * soft-fp/negsf2.c (__negsf2): Likewise.
7930         * soft-fp/negtf2.c (__negtf2): Likewise.
7931         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7933 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
7935         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7936         semicolon.  From Linux kernel.
7938 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
7940         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7942 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
7944         [BZ #156]
7945         * manual/socket.texi: Added statement about buffer
7946         for gethostbyname2_r.
7948 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
7950         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7951         Use .p2align directive instead, throughout.
7952         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7953         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7954         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7955         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7956         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7957         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7958         * sysdeps/x86_64/strchr.S: Likewise.
7959         * sysdeps/x86_64/strrchr.S: Likewise.
7961 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7963         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7965         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
7967         * sysdeps/generic/math_private.h (__mpsin1): Remove
7968         declaration.
7969         (__mpcos1): Likewise.
7970         (__mpsin): New argument __range_reduce.
7971         (__mpcos): Likewise.
7972         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7973         (slow): Use __mpsin and __mpcos.
7974         (slow1): Likewise.
7975         (slow2): Likewise.
7976         (sloww): Likewise.
7977         (sloww1): Likewise.
7978         (sloww2): Likewise.
7979         (bsloww): Likewise.
7980         (bsloww1): Likewise.
7981         (bsloww2): Likewise.
7982         (cslow2): Likewise.
7983         (csloww): Likewise.
7984         (csloww1): Likewise.
7985         (csloww2): Likewise.
7986         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
7987         range_reduce.  Merge in __mpsin1.
7988         (__mpcos): Likewise.
7989         (__mpsin1): Remove.
7990         (__mpcos1): Likewise.
7992 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
7994         * locale/loadlocale.c (_nl_intern_locale_data): Use
7995         LOCFILE_ALIGNED_P.
7996         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
7997         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
7998         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
7999         obstack data is appropriately aligned.
8000         (obstack_int32_grow_fast): Likewise.
8001         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8002         * locale/programs/locfile.c (add_locale_uint32): Likewise.
8003         (add_locale_uint32_array): Likewise.
8005 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8007         * benchtests/Makefile: Remove ARGLIST and RET variables.
8008         ($(objpfx)bench-%.c): Pass only function name to the script.
8009         * benchtests/README: Update documentation.
8010         * benchtests/acos-inputs: Add new directives.
8011         * benchtests/acosh-inputs: Likewise.
8012         * benchtests/asin-inputs: Likewise.
8013         * benchtests/asinh-inputs: Likewise.
8014         * benchtests/atan-inputs: Likewise.
8015         * benchtests/atanh-inputs: Likewise.
8016         * benchtests/cos-inputs: Likewise.
8017         * benchtests/cosh-inputs: Likewise.
8018         * benchtests/exp-inputs: Likewise.
8019         * benchtests/log-inputs: Likewise.
8020         * benchtests/pow-inputs: Likewise.
8021         * benchtests/rint-inputs: Likewise.
8022         * benchtests/sin-inputs: Likewise.
8023         * benchtests/sinh-inputs: Likewise.
8024         * benchtests/tan-inputs: Likewise.
8025         * benchtests/tanh-inputs: Likewise.
8026         * scripts/bench.pl: Add support for new directives.
8028 2013-10-07  Alan Modra  <amodra@gmail.com>
8030         * README: Fix careless merge.
8032 2013-10-05  Alan Modra  <amodra@gmail.com>
8034         * NEWS: Mention powerpc64le support and bugs fixed.
8035         * README: Both big-endian and little-endian powerpc64 supported.
8037 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8039         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8040         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8041         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8042         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8044 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
8046         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8047         match prototype.
8049 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
8051         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8052         Move -mhard-float appending from
8053         ports/sysdeps/powerpc/powerpc32/Makefile.
8054         [$(with-fp) = yes] (ASFLAGS): Likewise.
8055         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8056         * sysdeps/powerpc/nofpu: Move directory from
8057         ports/sysdeps/powerpc/nofpu.
8058         * sysdeps/powerpc/soft-fp: Move directory from
8059         ports/sysdeps/powerpc/soft-fp.
8060         * sysdeps/powerpc/powerpc32/405: Move directory from
8061         ports/sysdeps/powerpc/powerpc32/405.
8062         * sysdeps/powerpc/powerpc32/440: Move directory from
8063         ports/sysdeps/powerpc/powerpc32/440.
8064         * sysdeps/powerpc/powerpc32/464: Move directory from
8065         ports/sysdeps/powerpc/powerpc32/464.
8066         * sysdeps/powerpc/powerpc32/476: Move directory from
8067         ports/sysdeps/powerpc/powerpc32/476.
8068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8069         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8071         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8073         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8075         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8077         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8078         * README: Update for powerpc-*-linux-gnu software floating point
8079         support in libc.
8081         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8082         case to powerpc/powerpc32*.
8083         * sysdeps/unix/sysv/linux/configure: Regenerated.
8085         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8086         (_FPU_MASK_OM): Define as 0x04.
8087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8089         0x00c10080.
8090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8091         0x0000003c.
8092         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8095         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8096         getcontext_e500.
8097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8098         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8099         setcontext_e500.
8100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8101         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8102         and setcontext_e500.
8104 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
8106         * locale/iso-3166.def: Update iso-1366.def and related occurrences
8108 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8110         * manual/threads.texi (Default Thread Attributes): Fix typo.
8112 2013-10-04  Will Newton  <will.newton@linaro.org>
8114         * malloc/Makefile: Add tst-memalign.
8115         * malloc/tst-memalign.c: New file.
8117         * malloc/tst-posix_memalign.c: Add comments.
8118         (do_test): Add comments and call free on all potentially
8119         allocated pointers. Add space after cast.
8121         * malloc/tst-pvalloc.c: Add comments.
8122         (do_test): Add comments and call free on all potentially
8123         allocated pointers. Remove duplicate check for NULL pointer.
8124         Add space after cast.
8126         * malloc/tst-valloc.c: Add comments.
8127         (do_test): Add comments and call free on all potentially
8128         allocated pointers. Remove duplicate check for NULL pointer.
8129         Add space after cast.
8131 2013-10-04  Alan Modra  <amodra@gmail.com>
8133         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8134         Use stdint types in rather than __attribute__((mode())).
8135         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8137 2013-10-04  Alan Modra  <amodra@gmail.com>
8139         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8140         Correct handling of unaligned relocs for little-endian.
8141         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8143 2013-10-04  Alan Modra  <amodra@gmail.com>
8145         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8146         * configure: Regenerate.
8147         * nptl/shlib-versions: Powerpc*le starts at 2.18.
8148         * shlib-versions: Likewise.
8150 2013-10-04  Alan Modra  <amodra@gmail.com>
8152         * string/tester.c (test_memrchr): Increment reported test cycle.
8154 2013-10-04  Alan Modra  <amodra@gmail.com>
8156         * string/test-memcpy.c (do_one_test): When reporting errors, print
8157         string address and don't overrun end of string.
8159 2013-10-04  Alan Modra  <amodra@gmail.com>
8161         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8162         insrdi.  Make better use of reg selection to speed exit slightly.
8163         Schedule entry path a little better.  Remove useless "are we done"
8164         checks on entry to main loop.  Handle wrapping around zero address.
8165         Correct main loop count.  Handle single left-over word from main
8166         loop inline rather than by using loop_small.  Remove extra word
8167         case in loop_small caused by wrong loop count.  Add little-endian
8168         support.
8169         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8170         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
8171         cache hint.
8172         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8173         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8174         support.  Avoid rlwimi.
8175         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8177 2013-10-04  Alan Modra  <amodra@gmail.com>
8179         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8180         insrdi.  Formatting.
8181         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8182         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8183         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8184         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8185         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8186         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8188 2013-10-04  Alan Modra  <amodra@gmail.com>
8190         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8191         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8192         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8193         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8194         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8195         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8196         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8197         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8198         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
8199         use of regs.  Use power7 mtocrf.  Tidy function tails.
8201 2013-10-04  Alan Modra  <amodra@gmail.com>
8203         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8204         Formatting.  Consistently use rXXX register defines or rN defines.
8205         Use early exit labels that avoid restoring unused non-volatile regs.
8206         Make cr field use more consistent with rWORDn compares.  Rename
8207         regs used as shift registers for unaligned loop, using rN defines
8208         for short lifetime/multiple use regs.
8209         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8210         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
8211         addi 1,1,64 to pop stack frame.  Simplify return value code.
8212         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8214 2013-10-04  Alan Modra  <amodra@gmail.com>
8216         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8217         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
8218         rather than rlwimi.
8219         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8220         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8221         little-endian support.  Correct typos.
8222         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
8223         rather than rlwimi.
8224         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
8225         in loop and entry code to keep "and." results.
8226         (strchr): Add little-endian support.  Comment.  Move cntlzd
8227         earlier in tail.
8228         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8230 2013-10-04  Alan Modra  <amodra@gmail.com>
8232         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8233         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8234         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8235         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8237 2013-10-04  Alan Modra  <amodra@gmail.com>
8239         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8240         (rTMP): Define as r11.
8241         (strcmp): Add little-endian support.  Optimise tail.
8242         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8243         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8244         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8245         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8246         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8247         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8248         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8250 2013-10-04  Alan Modra  <amodra@gmail.com>
8252         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8253         little-endian support.  Remove unnecessary "are we done" tests.
8254         Handle "s" wrapping around zero and extremely large "size".
8255         Correct main loop count.  Handle single left-over word from main
8256         loop inline rather than by using small_loop.  Correct comments.
8257         Delete "zero" tail, use "end_max" instead.
8258         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8260 2013-10-04  Alan Modra  <amodra@gmail.com>
8262         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8263         support.  Don't branch over align.
8264         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8265         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8266         support.  Rearrange tmp reg use to suit.  Comment.
8267         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8269 2013-10-04  Alan Modra  <amodra@gmail.com>
8271         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8273 2013-10-04  Alan Modra  <amodra@gmail.com>
8275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8276         conditional form of branch and link when obtaining pc.
8277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8279 2013-10-04  Alan Modra  <amodra@gmail.com>
8281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8282         HIWORD/LOWORD.
8283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8286 2013-10-04  Alan Modra  <amodra@gmail.com>
8288         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8289         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8290         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8291         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8292         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8293         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8294         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8295         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8296         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8297         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8299 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8300             Alistair Popple <alistair@ozlabs.au.ibm.com>
8301             Alan Modra <amodra@gmail.com>
8303         [BZ #15723]
8304         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8305         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8306         _dl_hwcap access for little-endian.
8307         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
8308         destroy vmx regs when saving unaligned.
8309         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8310         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
8311         destroy vmx regs when saving unaligned.
8313 2013-10-04  Alan Modra  <amodra@gmail.com>
8315         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8316         Don't use a union to pack hi/low value.
8318 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8320         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8321         for little-endian.
8322         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8323         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8324         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8325         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8326         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8328 2013-10-04  Alan Modra  <amodra@gmail.com>
8330         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8331         constants to usual value for .cst8 section, and remove redundant
8332         high address load.
8333         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8334         constant for 0x1p52.  Load little-endian words of double from
8335         correct stack offsets.
8337 2013-10-04  Alan Modra  <amodra@gmail.com>
8339         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8340         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8341         words of double from correct stack offsets.
8342         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8343         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8344         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8345         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8346         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8347         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8348         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8349         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8350         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8351         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8352         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8353         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8354         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8355         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8356         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8357         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8358         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8360 2013-10-04  Alan Modra  <amodra@gmail.com>
8362         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8363         64-bit int/double union.
8364         (_FPU_SETCW): Likewise.
8365         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8366         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8368 2013-10-04  Alan Modra  <amodra@gmail.com>
8370         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8371         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8373 2013-10-04  Alan Modra  <amodra@gmail.com>
8375         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8376         use vector int constants.
8377         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8379 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8381         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8382         array with long long.
8383         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8384         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8385         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8386         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8387         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8388         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8389         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8390         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8391         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8392         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8393         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8394         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8395         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8397 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8399         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8400         (__signbit): Likewise.  Correct for little-endian.
8401         (__signbitl): Call __signbit.
8402         (lrint): Correct for little-endian.
8403         (lrintf): Call lrint.
8405 2013-10-04  Alan Modra  <amodra@gmail.com>
8407         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8408         union 32-bit int array member with 64-bit int array.
8409         (t515, tm256): Double rather than long double.
8410         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8412 2013-10-04  Alan Modra  <amodra@gmail.com>
8414         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8415         Delete.
8416         (IEEE854_LONG_DOUBLE_BIAS): Delete.
8417         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8418         version of math_ldbl.h.
8420 2013-10-04  Alan Modra  <amodra@gmail.com>
8422         [BZ #15734], [BZ #15735]
8423         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8424         all uses of ieee875 long double macros and unions.  Simplify test
8425         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
8426         ldbl_extract_mantissa value for ix,iy exponents.  Properly
8427         normalize after ldbl_extract_mantissa, and don't add hidden bit
8428         already handled.  Don't treat low word of ieee854 mantissa like
8429         low word of IBM long double and mask off bit when testing for
8430         zero.
8431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8432         all uses of ieee875 long double macros and unions.  Simplify tests
8433         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
8434         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
8435         two1022, instead use their values.  Recognise that tests for large
8436         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
8437         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8438         Rewrite all uses of ieee875 long double macros and unions.  Simplify
8439         test for 0.0L and nan.  Correct negation.
8440         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8441         ieee875 long double macros and unions.  Correct output for large
8442         magnitude x.  Correct absolute value calculation.
8443         (__erfcl): Likewise.
8444         * math/libm-test.inc: Add tests for errors discovered in IBM long
8445         double versions of fmodl, remainderl, erfl and erfcl.
8447 2013-10-04  Alan Modra  <amodra@gmail.com>
8449         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8450         all uses of ieee854 long double macros and unions.  Simplify tests
8451         for long doubles that are fully specified by the high double.
8452         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8453         Likewise.
8454         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8455         Remove dead code too.
8456         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8457         (__ieee754_ynl): Likewise.
8458         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8459         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8460         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8461         Remove dead code too.
8462         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8463         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8464         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8465         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8466         Simplify.
8467         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8468         Simplify.
8469         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8470         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8471         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8472         Comment on variable precision.
8473         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8474         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8475         Likewise.
8476         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8479         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8480         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8482 2013-10-04  Alan Modra  <amodra@gmail.com>
8484         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8485         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8486         all uses of ieee854 long double macros and unions.
8487         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8488         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8489         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8490         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8491         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8492         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8493         Likewise.
8494         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8495         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8496         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8497         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8498         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8499         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8500         Simplify sign and nan test too.
8501         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8502         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8503         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8504         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8505         Likewise.
8506         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8507         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8508         Likewise.
8509         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8510         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8511         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8512         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8513         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8516 2013-10-04  Alan Modra  <amodra@gmail.com>
8518         * stdio-common/printf_size.c (__printf_size): Don't use
8519         union ieee854_long_double in fpnum union.
8520         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
8521         signbit macro to retrieve sign from long double.
8522         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8523         retrieve sign from long double.
8524         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8525         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8526         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8527         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8528         * math/test-misc.c (main): Don't use union ieee854_long_double.
8530 2013-10-04  Alan Modra  <amodra@gmail.com>
8532         [BZ #15680]
8533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8534         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8535         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8536         calculation.  Remove unnecessary test for denormal exponent.
8537         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8538         Correct handling of denormals.  Avoid undefined shift behaviour.
8539         Correct normalisation of low mantissa when low double is denormal.
8540         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8541         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
8542         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8543         Correct normalisation of low mantissa.  Test for overflow of high
8544         mantissa and normalise.
8545         (ldbl_nearbyint): Use more readable constant for two52.
8546         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8547         (__mpn_construct_long_double): Fix test for overflow of high
8548         mantissa and correct normalisation.  Avoid undefined shift.
8550 2013-10-04  Alan Modra  <amodra@gmail.com>
8552         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8553         (union ibm_extended_long_double): Define as an array of ieee754_double.
8554         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8555         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8556         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8557         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8558         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8559         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8560         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8561         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8562         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8563         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8564         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8566 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
8568         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8569         page size instead of calling getpagesize.
8571         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8572         (LOCFILE_ALIGN_MASK): Likewise.
8573         (LOCFILE_ALIGN_UP): Likewise.
8574         (LOCFILE_ALIGNED_P): Likewise.
8575         * locale/programs/ld-collate.c (collate_output): Use the new
8576         macros instead of __alignof__ (int32_t).
8577         * locale/weight.h (findidx): Likewise.
8579 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
8581         [BZ #431]
8582         * manual/string.texi: Fix strncat and wcsncat.
8584 2013-10-03  Brooks Moses  <bmoses@google.com>
8586         [BZ #15915]
8587         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8588         * Makerules: ...here, and adjust associated comments.
8590 2013-10-02  Will Newton  <will.newton@linaro.org>
8592         * malloc/Makefile: Add tst-pvalloc.
8593         * malloc/tst-pvalloc.c: New file.
8595 2013-10-02  Will Newton  <will.newton@linaro.org>
8597         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8598         improve test coverage.
8600 2013-10-02  Will Newton  <will.newton@linaro.org>
8602         * malloc/Makefile: Add tst-posix_memalign.
8603         * malloc/tst-posix_memalign.c: New file.
8605 2013-10-01  Eric Blake  <eblake@redhat.com>
8607         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8608         Use __THROWNL rather than __THROW on static functions.
8610 2013-09-30  Petr Machata  <pmachata@redhat.com>
8612         * elf/elf.h (R_AARCH64_ABS16): New macro.
8613         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8614         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8615         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8616         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8617         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8618         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8619         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8620         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8621         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8622         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8623         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8624         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8625         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8626         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8627         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8628         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8629         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8630         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8631         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8632         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8633         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8634         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8635         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8636         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8637         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8638         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8639         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8640         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8641         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8642         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8643         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8644         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8645         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8646         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8647         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8648         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8649         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8650         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8651         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8652         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8653         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8654         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8655         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8656         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8657         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8658         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8659         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8660         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8661         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8662         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8663         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8664         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8665         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8666         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8667         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8668         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8669         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8670         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8671         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8672         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8673         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8674         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8675         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8676         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8677         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8678         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8679         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8680         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8681         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8682         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8683         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8684         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8685         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8686         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8687         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8688         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8689         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8690         (R_AARCH64_TLSDESC_LDR): Likewise.
8691         (R_AARCH64_TLSDESC_ADD): Likewise.
8692         (R_AARCH64_TLSDESC_CALL): Likewise.
8694 2013-09-30  Andreas Schwab  <schwab@suse.de>
8696         [BZ #15048]
8697         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8698         the nss database lookup.
8699         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8702 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
8704         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8706 2013-09-28  P. J. McDermott  <pj@pehjota.net>
8708         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8709         ${Bash-specific parameter/pattern/string} parameter expansion.
8710         * sysdeps/unix/make-syscalls.sh: Likewise.
8712 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8714         * sysdeps/sh/stackguard-macros.h: New file.
8716 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
8718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8720         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8721         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8722         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8723         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8725 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8727         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8728         Fix thread ID register.
8730 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
8732         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8733         [POSIX || UNIX98]: Require rather than permitting all symbols from
8734         <time.h>.
8735         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8736         element of struct sched_param.
8737         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8738         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8739         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8740         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8741         constant.
8743 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
8745         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8746         argument calculation.
8748 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8750         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8751         Expect macro.
8752         [POSIX] (pthread_attr_t): Do not require type.
8753         [POSIX] (pthread_cond_t): Likewise.
8754         [POSIX] (pthread_condattr_t): Likewise.
8755         [POSIX] (pthread_key_t): Likewise.
8756         [POSIX] (pthread_mutex_t): Likewise.
8757         [POSIX] (pthread_mutexattr_t): Likewise.
8758         [POSIX] (pthread_once_t): Likewise.
8759         [POSIX] (pthread_t): Likewise.
8760         [POSIX-based standards] (pthread_atfork): Expect function.
8762 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8763             Richard Sandiford  <richard@codesourcery.com>
8765         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8766         (swap_endianness_p): New extern variable.
8767         (set_big_endian): New inline function.
8768         (maybe_swap_uint32): Likewise.
8769         (maybe_swap_uint32_array): Likewise.
8770         (maybe_swap_uint32_obstack): Likewise.
8771         * locale/programs/locfile.c: Include <stdbool.h>.
8772         (swap_endianness_p): New variable.
8773         (add_locale_uint32): Call maybe_swap_uint32.
8774         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8775         (write_locale_data): Call maybe_swap_uint32_array.
8776         * locale/programs/ld-collate.c (obstack_int32_grow): Call
8777         maybe_swap_uint32.
8778         (obstack_int32_grow_fast): Likewise.
8779         (output_weightwc): Call maybe_swap_uint32_obstack.
8780         (collate_output): Likewise.
8781         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8782         (OPT_LITTLE_ENDIAN): Likewise.
8783         (options): Add --little-endian and --big-endian options.
8784         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8785         * locale/programs/locarchive.c: Include "locfile.h".
8786         (GET): New macro.
8787         (SET): Likewise.
8788         (INC): Likewise.
8789         (create_archive): Use the new macros to access fields of
8790         structures directly mapped from or written to locale archives.
8791         (oldlocrecentcmp): Likewise.
8792         (enlarge_archive): Likewise.
8793         (insert_name): Likewise.
8794         (add_alias): Likewise.
8795         (add_locale): Likewise.
8796         (delete_locales_from_archive): Likewise.
8797         (show_archive_content): Likewise.
8798         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
8799         locale data.
8801 2013-09-24  Roland McGrath  <roland@hack.frob.com>
8803         * manual/freemanuals.texi: Updated from (newly) canonical copy at
8804         http://www.gnu.org/doc/freemanuals.texi.
8805         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8807 2013-09-24  Will Newton  <will.newton@linaro.org>
8809         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8810         macro.
8812 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
8814         * locale/hashval.h (compute_hashval): Interpret bytes of key as
8815         unsigned char.
8817 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
8819         * manual/threads.texi (POSIX Threads): Fix a typo.
8821 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8823         [BZ #14547]
8824         * string/tst-strcoll-overflow.c: New test case.
8825         * string/Makefile (xtests): Add tst-strcoll-overflow.
8826         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8827         cache if string sizes may cause integer overflow.
8829         [BZ #14547]
8830         * string/strcoll_l.c (coll_seq): New members rule, idx,
8831         save_idx and back_us.
8832         (get_next_seq_nocache): New function.
8833         (do_compare_nocache): New function.
8834         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8835         when malloc fails.
8837 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
8839         [BZ #15754]
8840         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8841         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8842         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8844         [BZ #15754]
8845         * elf/Makefile (tests): Add tst-ptrguard1.
8846         (tests-static): Add tst-ptrguard1-static.
8847         (tst-ptrguard1-ARGS): Define.
8848         (tst-ptrguard1-static-ARGS): Define.
8849         * elf/tst-ptrguard1.c: New file.
8850         * elf/tst-ptrguard1-static.c: New file.
8851         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8852         * sysdeps/i386/stackguard-macros.h: Likewise.
8853         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8854         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8855         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8856         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8857         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8858         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8860 2013-09-23  Hector Marco  <hecmargi@upv.es>
8861             Ismael Ripoll  <iripoll@disca.upv.es>
8862             Carlos O'Donell  <carlos@redhat.com>
8864         [BZ #15754]
8865         * sysdeps/generic/stackguard-macros.h: Define
8866         __pointer_chk_guard_local and POINTER_CHK_GUARD.
8867         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8868         Define __pointer_chk_guard_local.
8869         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8870         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8872 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
8874         [BZ #15859]
8875         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8877 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
8879         * include/string.h (__ffs): Declare as hidden.
8880         * string/ffs.c (__ffs): Define as hidden.
8881         * sysdeps/i386/ffs.c (__ffs): Likewise.
8882         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8883         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8884         * sysdeps/s390/ffs.c (__ffs): Likewise.
8885         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8887 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
8889         * NEWS: Mention malloc probes.
8891         * malloc/arena.c (new_heap): New memory_heap_new probe.
8892         (grow_heap): New memory_heap_more probe.
8893         (shrink_heap): New memory_heap_less probe.
8894         (heap_trim): New memory_heap_free probe.
8895         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8896         (systrim): New memory_sbrk_less probe.
8897         * manual/probes.texi: Document them.
8899         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8900         * manual/probes.texi: Document it.
8902         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8903         (__libc_realloc): Add memory_realloc_retry probe.
8904         (__libc_memalign): Add memory_memalign_retry probe.
8905         (__libc_valloc): Add memory_valloc_retry probe.
8906         (__libc_pvalloc): Add memory_pvalloc_retry probe.
8907         (__libc_calloc): Add memory_calloc_retry probe.
8908         * manual/probes.texi: Document them.
8910         * malloc/arena.c (get_free_list): Add probe
8911         memory_arena_reuse_free_list.
8912         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8913         and memory_arena_reuse.
8914         (arena_get2) [!PER_THREAD]: Likewise.
8915         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8916         memory_arena_reuse_realloc.
8917         * manual/probes.texi: Document them.
8919         * malloc/malloc.c (__libc_free): Add
8920         memory_mallopt_free_dyn_thresholds probe.
8921         (__libc_mallopt): Add multiple memory_mallopt probes.
8922         * manual/probes.texi: Document them.
8924         * malloc/malloc.c: Include stap-probe.h.
8925         (__libc_mallopt): Add memory_mallopt probe.
8926         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8927         * manual/probes.texi: New.
8928         * manual/Makefile (chapters): Add probes.
8929         * manual/threads.texi: Set next node.
8931 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
8933         [BZ #15963, #13985]
8934         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8935         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8936         Add `Chinese' to `nan' entry name.
8938 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8940         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8941         (POLYNOMIAL): Likewise.
8942         (TAYLOR_SINCOS): Likewise.
8943         (TAYLOR_SLOW): Likewise.
8944         (__sin): Use TAYLOR_SINCOS.
8945         (__cos): Likewise.
8946         (slow): Use TAYLOR_SLOW.
8947         (sloww): Likewise.
8948         (bsloww): Likewise.
8949         (csloww): Likewise.
8951 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8953         * stdlib/strtod_l.c: Fix buffer overrun.
8955 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8957         * benchtests/Makefile (bench): Add sincos.
8958         * benchtests/bench-sincos.c: New file.
8960         * math/libm-test.inc (cos_test_data): New test inputs.
8961         (sin_test_data): Likewise.
8963         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8964         macro.
8965         (__sin): Use it.
8966         (__cos): Likewise.
8967         (slow1): Likewise.
8968         (slow2): Likewise.
8969         (sloww1): Likewise.
8970         (sloww2): Likewise.
8971         (bsloww1): Likewise.
8972         (bsloww2): Likewise.
8973         (cslow2): Likewise.
8974         (csloww1): Likewise.
8975         (csloww2): Likewise.
8977         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
8978         function.
8979         (__sin): Use it.
8980         (__cos): Likewise.
8982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
8983         gotos.
8984         (__cos): Likewise.
8986 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
8988         * config.h.in (HAVE_MIPS_NAN2008): New macro.
8989         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
8990         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
8991         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
8992         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
8993         * elf/cache.c (print_entry): Handle the new cache flags.
8995 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
8996             Aldy Hernandez  <aldyh@redhat.com>
8998         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
8999         Change condition to [_SOFT_FLOAT].
9000         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9012         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9015         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9016         declaration.
9018 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9020         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9021         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9022         (__longjmp): Use LOAD_GP to load saved GPRs.
9023         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9024         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9025         (__sigsetjmp): Use SAVE_GP to save GPRs.
9027         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9028         Do not append -msoft-float.
9029         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9031 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9033         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9035 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
9037         [BZ #15966]
9038         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9039         (_FPU_GETCW): Use initial "__" on variable and field names but not
9040         on macro parameter name.
9041         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
9042         parentheses around reference to macro parameter.
9044 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
9046         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9047         prototype.
9048         (ctype_startup): Use uint32_t in cast and sizeof for
9049         ctype->charnames.
9051 2013-09-11  Jia Liu  <proljc@gmail.com>
9053         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9054         __daddr_t_defined.
9055         [__FreeBSD__]: Likewise.
9057 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9059         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9060         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9061         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9062         (strchr): Remove __strchr_sse42 ifunc selection.
9063         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9064         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9066 2013-09-11  Will Newton  <will.newton@linaro.org>
9068         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9069         parameter to RES. Remove hardcoded 1000 value.
9070         * benchtests/bench-skeleton.c (main): Pass RES parameter
9071         to TIMING_INIT and multiply result by 1000.
9073 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9077 2013-09-11  Andreas Schwab  <schwab@suse.de>
9079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9080         if not defined.
9081         (O_TMPFILE) [__USE_GNU]: Define.
9082         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9083         Define.
9085 2013-09-11  Will Newton  <will.newton@linaro.org>
9087         [BZ #15857]
9088         * malloc/malloc.c (__libc_memalign): Check the value of bytes
9089         does not overflow.
9091 2013-09-11  Will Newton  <will.newton@linaro.org>
9093         [BZ #15856]
9094         * malloc/malloc.c (__libc_valloc): Check the value of bytes
9095         does not overflow.
9097 2013-09-11  Will Newton  <will.newton@linaro.org>
9099         [BZ #15855]
9100         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9101         does not overflow.
9103 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
9105         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9106         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9107         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9108         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9109         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9111 2013-09-10  Allan McRae  <allan@archlinux.org>
9113         [BZ #15748]
9114         * manual/arith.texi (Parsing of Floats): Clarify
9115         cross-reference.
9117         [BZ #15849]
9118         * manual/install.texi (Running make install): Mention
9119         --enable-pt-chown.
9120         * INSTALL: Regenerated.
9122 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
9124         * csu/init-first.c (_init): Remove the !SHARED condition around
9125         FPU control word initialization.
9126         * elf/dl-support.c (_dl_fpu_control): New variable.
9127         (_dl_aux_init) <AT_FPUCW>: Initialize it.
9128         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9129         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9130         * math/test-fpucw-static.c: New file.
9131         * math/test-fpucw-ieee.c: New file.
9132         * math/test-fpucw-ieee-static.c: New file.
9133         * math/Makefile (tests): Add `test-fpucw-ieee' and
9134         `$(tests-static)'.
9135         (tests-static): New variable.
9136         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9137         dependency to...
9138         [($(build-shared),yes)]
9139         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9140         ... this.
9141         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9142         New dependency.
9144 2013-09-09  Allan McRae  <allan@archlinux.org>
9146         [BZ #15939]
9147         * manual/string.texi (Collation Functions): Fix typo in
9148         strcoll example.
9149         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9151         [BZ #15893]
9152         * stdlib/isomac.c (get_null_defines): Fix memory leak.
9154         [BZ #15892]
9155         * libio/memstream.c (open_memstream): Fix memory leak.
9156         * libio/wmemstream.c (open_wmemstream): Likewise.
9158         [BZ #15895]
9159         * nscd/netgroupcache.c: Fix nesting of ifdefs.
9161 2013-09-09  Will Newton  <will.newton@linaro.org>
9163         * malloc/Makefile: Add tst-realloc to tests.
9164         * malloc/tst-realloc.c: New file.
9166 2013-09-09  Allan McRae  <allan@archlinux.org>
9168         [BZ #15844]
9169         * COPYING: Update from GNU website to fix FSF address.
9170         * COPYING.LIB: Likewise.
9172 2013-09-06  David S. Miller  <davem@davemloft.net>
9174         * po/zh_TW.po: Update Chinese (traditional) translation from
9175         translation project.
9177 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
9178             Joseph Myers  <joseph@codesourcery.com>
9180         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9181         "localeinfo.h".
9182         (obstack_chunk_alloc): New macro.
9183         (obstack_chunk_free): Likewise.
9184         (record_offset): New function.
9185         (init_locale_data): Likewise.
9186         (align_locale_data): Likewise.
9187         (add_locale_empty): Likewise.
9188         (add_locale_raw_data): Likewise.
9189         (add_locale_raw_obstack): Likewise.
9190         (add_locale_string): Likewise.
9191         (add_locale_wstring): Likewise.
9192         (add_locale_uint32): Likewise.
9193         (add_locale_uint32_array): Likewise.
9194         (add_locale_char): Likewise.
9195         (start_locale_structure): Likewise.
9196         (end_locale_structure): Likewise.
9197         (start_locale_prelude): Likewise.
9198         (end_locale_prelude): Likewise.
9199         (write_locale_data): Take locale_file structure rather than an
9200         iovec.
9201         * locale/programs/locfile.h: Include "obstack.h".
9202         (struct locale_file): Change to store locale file contents instead
9203         of header.
9204         (init_locale_data): New prototype.
9205         (align_locale_data): Likewise.
9206         (add_locale_empty): Likewise.
9207         (add_locale_raw_data): Likewise.
9208         (add_locale_raw_obstack): Likewise.
9209         (add_locale_string): Likewise.
9210         (add_locale_wstring): Likewise.
9211         (add_locale_uint32): Likewise.
9212         (add_locale_uint32_array): Likewise.
9213         (add_locale_char): Likewise.
9214         (start_locale_structure): Likewise.
9215         (end_locale_structure): Likewise.
9216         (start_locale_prelude): Likewise.
9217         (end_locale_prelude): Likewise.
9218         (write_locale_data): Update prototype.
9219         * locale/programs/3level.h (struct TABLE): Remove result field.
9220         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9221         Use new locale_file interface.
9222         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9223         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9224         * locale/programs/ld-address.c (address_output): Use new
9225         locale_file interface.
9226         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9227         NO_ADD_LOCALE.
9228         (collate_finish): Don't call collseq_table_finalize.
9229         (collate_output): Use new locale_file interface.
9230         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9231         in file.
9232         (NO_FINALIZE): Change to NO_ADD_LOCALE.
9233         (TABLE): Move defines earlier in file.
9234         (ELEMENT): Likewise.
9235         (DEFAULT): Likewise.
9236         (wctrans_table_add): Move macro and inline function earlier in
9237         file.
9238         (struct wctype_table): Move type earlier in file.
9239         (add_locale_wctype_table): New static prototype.
9240         (struct locale_ctype_t): Use logical types instead of struct iovec
9241         pointers for members.
9242         (ctype_output): Use new locale_file interface.
9243         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
9244         new locale_file interface.
9245         (allocate_arrays): Update for use of new locale_file interface.
9246         * locale/programs/ld-identification.c (identification_output): Use
9247         new locale_file interface.
9248         * locale/programs/ld-measurement.c (measurement_output): Likewise.
9249         * locale/programs/ld-messages.c (messages_output): Likewise.
9250         * locale/programs/ld-monetary.c (monetary_output): Likewise.
9251         * locale/programs/ld-name.c (name_output): Likewise.
9252         * locale/programs/ld-numeric.c (numeric_output): Likewise.
9253         * locale/programs/ld-paper.c (paper_output): Likewise.
9254         * locale/programs/ld-telephone.c (telephone_output): Likewise.
9255         * locale/programs/ld-time.c (time_output): Likewise.
9257 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9259         * benchtests/Makefile: Add memrchr benchmark.
9260         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9261         benchmark as memrchr.
9262         * benchtests/bench-memrchr-ifunc.c: New file.
9263         * benchtests/bench-memrchr.c: New file.
9265 2013-09-06   Will Newton  <will.newton@linaro.org>
9267         * benchtests/Makefile (string-bench): Add memcpy.
9269 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
9270             Cong Wang  <amwang@redhat.com>
9272         [BZ #15850]
9273         * sysdeps/unix/sysv/linux/bits/in.h
9274         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9275         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9276         before __USE_KERNEL_IPV6_DEFS uses.
9277         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9278         IPPROTO_BEETPH.
9279         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9280         sockaddr_in6, or ipv6_mreq.
9282 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9284         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9285         memory access for final bytes in some large inputs.
9286         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9288 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9290         * string/test-memrchr.c: New file.
9291         * string/test-memrchr-ifunc.c: New file.
9292         * string/Makefile: Add new memrchr testcase.
9294 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
9296         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9297         fanotify_init returns EPERM.
9299 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9301         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9302         errors.
9303         (top level): Treat second token from macro or constant entries for
9304         allowed headers as allowed.
9305         * include/complex.h: Condition internal declarations on
9306         [!_ISOMAC].
9307         * include/fenv.h: Condition include of <stdbool.h> and internal
9308         declarations on [!_ISOMAC].
9310 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
9312         [BZ #15923]
9313         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9315 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9317         * configure.in (--enable-versioning): Remove configure option.
9318         (libc_cv_asm_symver_directive): Remove configure test.
9319         (libc_cv_ld_version_script_option): Likewise.
9320         (VERSIONING): Remove variable and AC_SUBST.
9321         (DO_VERSIONING): Remove AC_DEFINE.
9322         * configure: Regenerated.
9323         * config.h.in (DO_VERSIONING): Remove macro.
9324         * Makerules [$(versioning) = yes]: Change conditionals to
9325         [$(build-shared) = yes].
9326         * config.make.in (versioning): Remove variable.
9327         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9328         [$(build-shared) = yes].
9329         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9330         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9331         * elf/Makefile [$(versioning) = yes]: Change conditionals to
9332         [$(build-shared) = yes].
9333         * extra-lib.mk [$(versioning) = yes]: Likewise.
9334         * hurd/Makefile [$(versioning) = yes]: Likewise.
9335         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9336         [SHARED].
9337         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9338         [SHARED].
9339         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9340         [SHARED && !NO_HIDDEN].
9341         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9342         [SHARED].
9343         [SHARED && DO_VERSIONING]: Likewise..
9344         * libio/Makefile [$(versioning) = yes]: Change conditionals to
9345         [$(build-shared) = yes].
9346         * manual/install.texi (--disable-versioning): Remove
9347         documentation.
9348         * INSTALL: Regenerated.
9349         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9350         to [SHARED].
9351         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9352         [$(build-shared) = yes].
9353         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9354         * sysdeps/i386/i686/multiarch/strstr-c.c
9355         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9356         [SHARED && !NO_HIDDEN].
9357         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9358         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9359         * sysdeps/powerpc/powerpc32/dl-machine.c
9360         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9361         * sysdeps/powerpc/powerpc32/sysdep.h
9362         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9363         to [SHARED && PIC && !NO_HIDDEN].
9364         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9365         conditional to [SHARED].
9367 2013-09-04   Will Newton  <will.newton@linaro.org>
9369         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9370         * benchtests/bench-string.h: Include bench-timing.h instead
9371         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9372         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9373         call to HP_TIMING_DIFF_INIT.
9374         * benchtests/bench-memccpy.c: Use bench-timing.h macros
9375         instead of hp-timing.h macros.
9376         * benchtests/bench-memchr.c: Likewise.
9377         * benchtests/bench-memcmp.c: Likewise.
9378         * benchtests/bench-memcpy.c: Likewise.
9379         * benchtests/bench-memmem.c: Likewise.
9380         * benchtests/bench-memmove.c: Likewise.
9381         * benchtests/bench-memset.c: Likewise.
9382         * benchtests/bench-rawmemchr.c: Likewise.
9383         * benchtests/bench-strcasecmp.c: Likewise.
9384         * benchtests/bench-strcasestr.c: Likewise.
9385         * benchtests/bench-strcat.c: Likewise.
9386         * benchtests/bench-strchr.c: Likewise.
9387         * benchtests/bench-strcmp.c: Likewise.
9388         * benchtests/bench-strcpy.c: Likewise.
9389         * benchtests/bench-strcpy_chk.c: Likewise.
9390         * benchtests/bench-strlen.c: Likewise.
9391         * benchtests/bench-strncasecmp.c: Likewise.
9392         * benchtests/bench-strncat.c: Likewise.
9393         * benchtests/bench-strncmp.c: Likewise.
9394         * benchtests/bench-strncpy.c: Likewise.
9395         * benchtests/bench-strnlen.c: Likewise.
9396         * benchtests/bench-strpbrk.c: Likewise.
9397         * benchtests/bench-strrchr.c: Likewise.
9398         * benchtests/bench-strspn.c: Likewise.
9399         * benchtests/bench-strstr.c: Likewise.
9401 2013-09-04  Will Newton  <will.newton@linaro.org>
9403         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9405 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
9407         [BZ #15427]
9408         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9409         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9410         * math/libm-test.inc (lgamma_test_data): Add more tests.
9411         * sysdeps/i386/fpu/libm-test-ulps: Update.
9412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9414 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
9416         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9418         Add ifunc.
9419         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9420         Add strcmp-sse2-unaligned
9421         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9423 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9425         * Versions.def (libc): Add GLIBC_2.19.
9427 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9429         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9430         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9432 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
9434         [BZ #14155]
9435         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9436         intermediate calculations in recurrence.
9437         (__ieee754_ynf): Likewise.
9438         * math/libm-test.inc (jn_test_data): Do not allow spurious
9439         underflow exception.  Add more tests.
9440         (yn_test_data): Add more tests.
9441         * sysdeps/i386/fpu/libm-test-ulps: Update.
9442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9444 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
9446         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9448 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9450         * csu/init-first.c: Fix then/than typos.
9451         * locale/programs/ld-collate.c: Likewise.
9452         * locale/programs/linereader.h: Likewise.
9453         * manual/charset.texi: Likewise.
9454         * manual/filesys.texi: Likewise.
9455         * manual/stdio.texi: Likewise.
9456         * manual/string.texi: Likewise.
9457         * stdlib/fmtmsg.c: Likewise.
9458         * sysdeps/i386/stpncpy.S: Likewise.
9459         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9460         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9461         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9462         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9464 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9466         * elf/dl-open.c: Fix typos.
9467         * iconvdata/gbbig5.c: Likewise.
9468         * iconvdata/iso-2022-jp.c: Likewise.
9469         * iconv/gconv_int.h: Likewise.
9470         * iconv/loop.c: Likewise.
9471         * nis/rpcsvc/nis.h: Likewise.
9472         * resolv/ns_name.c: Likewise.
9473         * stdio-common/vfscanf.c: Likewise.
9474         * streams/stropts.h: Likewise.
9475         * sunrpc/rpc_thread.c: Likewise.
9476         * sysdeps/i386/strpbrk.S: Likewise.
9477         * sysdeps/ieee754/k_standard.c: Likewise.
9478         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9479         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9480         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9481         * sysdeps/mach/hurd/profil.c: Likewise.
9482         * sysdeps/s390/dl-procinfo.h: Likewise.
9483         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9484         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9485         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9486         * sysdeps/x86_64/dl-trampoline.S: Likewise.
9487         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9489 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
9491         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9494 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
9496         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9497         aix specific files.
9498         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9499         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9500         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9501         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9502         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9503         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9504         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9505         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9507 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
9508             Roland McGrath  <roland@hack.frob.com>
9510         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9511         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9513 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9515         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9516         __executable_start symbol instead of _start.
9518 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
9520         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9521         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9522         Move macros to...
9523         * sysdeps/gnu/ldsodefs.h: ... this new file.
9525         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9526         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9527         instead of ELFOSABI_LINUX.
9529         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9530         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9531         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9532         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9533         Likewise.
9534         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9535         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9536         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9537         Likewise.
9538         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9539         (ibm_extended_long_double): Add ieee_nan member.
9540         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9541         (do_test): New function.
9543         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9544         TEST_TRUNC.
9545         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9546         functions, renamed from truncdfsf_test, trunctfsf_test,
9547         trunctfdf_test.
9548         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9549         functions.
9550         (do_test): Run all these.
9552 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
9554         * argp/argp-help.c: Fix typos.
9555         * argp/argp-parse.c: Likewise.
9556         * debug/backtracesyms.c: Likewise.
9557         * elf/elf.h: Likewise.
9558         * malloc/malloc.c: Likewise.
9559         * nis/nis_print.c: Likewise.
9560         * resolv/res_comp.c: Likewise.
9561         * stdlib/stdlib.h: Likewise.
9562         * sunrpc/clnt_tcp.c: Likewise.
9563         * sunrpc/clnt_udp.c: Likewise.
9564         * sunrpc/clnt_unix.c: Likewise.
9565         * sysdeps/unix/bsd/ptsname.c: Likewise.
9566         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9567         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9569         Likewise.
9570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9571         Likewise.
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9573         Likewise.
9574         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9576 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9578         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9581 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
9583         [BZ #15897]
9584         * dlfcn/Makefile (tests): Add bug-dl-leaf.
9585         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9586         ($(objpfx)bug-dl-leaf): New rule.
9587         ($(objpfx)bug-dl-leaf.so): Likewise.
9588         ($(objpfx)bug-dl-leaf.out): Likewise.
9589         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9590         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9591         * dlfcn/bug-dl-leaf.c: New test.
9592         * dlfcn/bug-dl-leaf-lib.c: Likewise.
9593         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9594         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9595         (dlclose): Likewise.
9596         (dlmopen): Likewise.
9598 2013-08-27  Roland McGrath  <roland@hack.frob.com>
9600         * include/netdb.h [!_ISOMAC]:
9601         Don't include <tls.h>.
9602         (h_errno, __libc_h_errno): Move declaration and macros out of
9603         [_LIBC_REENTRANT].
9605         * include/resolv.h [_RESOLV_H_]:
9606         Don't include <tls.h>.
9607         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9608         * resolv/res_libc.c: Don't include <tls.h>.
9609         (_res): Use __attribute__ ((nocommon)) in place of
9610         __attribute__ ((section (".bss"))).
9612         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9613         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9615         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9617         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9618         only under [SIOCGIFCONF && SIOCGIFNETMASK].
9620         * resolv/res_mkquery.c: Include <sys/time.h>.
9622         * inet/ifreq.c: Moved to ...
9623         * sysdeps/unix/ifreq.c: ... here.
9624         * inet/ifreq.c: New file, true stub version.
9626         * socket/sa_len.c: New file.
9627         * socket/Makefile (aux): Add it.
9628         * sysdeps/unix/sysv/linux/Makefile
9629         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9630         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9631         and #include <socket/sa_len.c>.
9632         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9633         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9635         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9636         * bits/socket.h: ... here.
9638         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9639         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9640         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9642 2013-08-27  Andreas Schwab  <schwab@suse.de>
9644         [BZ #15736]
9645         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9646         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9647         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9648         * string/test-strcasecmp.c (test_main): Run tests in several
9649         locales.
9650         * string/test-strncasecmp.c (test_main): Likewise.
9652         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9653         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9654         to __strcasecmp_nonascii and __strncasecmp_nonascii.
9655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9656         (__strncasecmp_ssse3) [PIC]: Likewise.
9658 2013-08-26  Roland McGrath  <roland@hack.frob.com>
9660         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9662         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9663         instead of explicitly declaring xdecrypt.
9664         * nis/nss_nis/nis-publickey.c: Likewise.
9666 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9668         [BZ #15890]
9669         * nscd/aicache.c: Include res_hconf.h.
9670         (addhstaiX): Initialize res_hconf.
9672 2013-08-26  Andreas Schwab  <schwab@suse.de>
9674         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9675         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9677 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9679         * nscd/aicache.c (addhstaiX): Fix indentation.
9681 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
9683         * configure.ac: Quote $build_pt_chown test.
9684         * configure: Regenerated.
9686 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
9688         [BZ #15532]
9689         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9690         * math/s_cexpf.c (__cexpf): Likewise.
9691         * math/s_cexpl.c (__cexpl): Likewise.
9692         * math/libm-test.inc (cexp_test_data): Correct expected return
9693         value for NaN + i0.  Add another test.
9695 2013-08-22  David S. Miller  <davem@davemloft.net>
9697         * po/ca.po: Update Catalan translation from translation project.
9698         * po/uk.po: Add Ukrainian translations from translation project.
9700 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
9702         [BZ #15797]
9703         * math/s_fdim.c (__fdim): Check for infinite arguments if result
9704         is infinite, not alongside NaN test.
9705         * math/s_fdimf.c (__fdimf): Likewise.
9706         * math/s_fdiml.c (__fdiml): Likewise.
9707         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
9708         errno is unchanged.
9710 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
9712         * argp/argp-help.c: Fix typos.
9713         * crypt/speeds.c: Likewise.
9714         * csu/check_fds.c: Likewise.
9715         * elf/dl-load.c: Likewise.
9716         * elf/dl-open.c: Likewise.
9717         * elf/reldep3.c: Likewise.
9718         * elf/reldep.c: Likewise.
9719         * elf/sprof.c: Likewise.
9720         * iconv/iconv_charmap.c: Likewise.
9721         * iconv/skeleton.c: Likewise.
9722         * iconv/strtab.c: Likewise.
9723         * io/lockf64.c: Likewise.
9724         * libio/libioP.h: Likewise.
9725         * resolv/gai_notify.c: Likewise.
9726         * resolv/ns_name.c: Likewise.
9727         * resolv/ns_samedomain.c: Likewise.
9728         * resolv/res_send.c: Likewise.
9729         * stdlib/random.c: Likewise.
9730         * sunrpc/rpc/xdr.h: Likewise.
9731         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9732         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9733         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9734         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9735         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9736         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9737         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9738         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9739         * sysdeps/mach/hurd/check_fds.c: Likewise.
9740         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9741         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9742         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9743         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9744         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9745         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9746         * sysdeps/pthread/aio_notify.c: Likewise.
9747         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9748         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9749         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9750         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9751         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9753 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9755         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9756         version if bit_Slow_SSE4_2 is set.
9757         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9758         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9760 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9762         [BZ #15867]
9763         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9764         trampoline stack frame information.
9765         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9766         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9767         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9768         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9769         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9770         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9771         (_libc_vdso_platform_setup): Initialize the signal trampolines.
9772         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9773         sa_flags value.
9774         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9775         interrupting a syscall and set with option SA_SIGINFO.
9777 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9779         [BZ #15531]
9780         * math/s_cproj.c (__cproj): Only return an infinity if one part of
9781         argument is infinite.
9782         * math/s_cprojf.c (__cprojf): Likewise.
9783         * math/s_cprojl.c (__cprojl): Likewise.
9784         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9785         * math/libm-test.inc (cproj_test_data): Add more tests.
9787         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9789         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9790         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9791         size.  Use __ffs to determine corresponding shift.
9793 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9794             Roland McGrath  <roland@hack.frob.com>
9796         * Makefile (INSTALL): Remove trailing blank lines from output of
9797         makeinfo.
9799 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9801         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9802         Align 32 bit compat elf_greg to 8 bytes.
9804 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9806         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9808 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9810         * string/strcoll_l.c (coll_seq): New structure.
9811         (get_next_seq_cached): New function.
9812         (get_next_seq): New function.
9813         (do_compare): New function.
9814         (STRCOLL): Use GNU style definition.  Simplify implementation
9815         by using get_next_seq, get_next_seq_cached and do_compare.
9817 2013-08-16  Florian Weimer  <fweimer@redhat.com>
9819         [BZ #14699]
9820         CVE-2013-4237
9821         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9822         member.
9823         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9824         member.
9825         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9826         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9827         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
9828         conditional.
9829         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9830         GETDENTS_64BIT_ALIGNED.
9831         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9832         * manual/filesys.texi (Reading/Closing Directory): Document
9833         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
9834         strongly.
9835         * manual/conf.texi (Limits for Files): Add portability note to
9836         NAME_MAX, PATH_MAX.
9837         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9839 2013-08-13  Andreas Schwab  <schwab@suse.de>
9841         [BZ #15749]
9842         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9843         of fabs.
9844         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9845         LDBL_MAX_EXP >= 16384]: Add tests for it.
9847 2013-08-12  David S. Miller  <davem@davemloft.net>
9849         * version.h (RELEASE): Set to "development".
9850         (VERSION): Set to "2.18.90".
9851         * NEWS: Add 2.19 section.
9853 2013-08-03  David S. Miller  <davem@davemloft.net>
9855         * po/ko.po: Update Korean translation from translation project.
9857 2013-08-01  David S. Miller  <davem@davemloft.net>
9859         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
9860         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9861         Bilka.
9863 2013-07-30  David S. Miller  <davem@davemloft.net>
9865         * po/fr.po: Update French translation from translation project.
9867 2013-07-28  David S. Miller  <davem@davemloft.net>
9869         * po/cs.po: Update Czech translation from translation project.
9871         * po/sv.po: Update Swedish translation from translation project.
9873 2013-07-27  David S. Miller  <davem@davemloft.net>
9875         * po/eo.po: Update Esperanto translation from translation project.
9877         * po/vi.po: Update Vietnamese translation from translation project.
9879         * po/de.po: Update German translation from translation project.
9881 2013-07-26  David S. Miller  <davem@davemloft.net>
9883         * po/bg.po: Update Bulgarian translation from translation project.
9885         * po/nl.po: Update Dutch translation from translation project.
9886         * po/pl.po: Update Polish translation from translation project.
9887         * po/ru.po: Update Russian translation from translation project.
9889 2013-07-24  David S. Miller  <davem@davemloft.net>
9891         * po/libc.pot: Update.
9893 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9895         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9896         variable page size.
9897         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9898         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9899         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9901 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9903         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9905 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9906             Andreas Schwab  <schwab@suse.de>
9907             Roland McGrath  <roland@hack.frob.com>
9908             Joseph Myers  <joseph@codesourcery.com>
9909             Carlos O'Donell  <carlos@redhat.com>
9911         [BZ #15755]
9912         * config.h.in: Define HAVE_PT_CHOWN.
9913         * config.make.in (build-pt-chown): New variable.
9914         * configure.in (--enable-pt_chown): New configure option.
9915         * configure: Regenerate.
9916         * login/Makefile: Include Makeconfig.  Build pt_chown only if
9917         build-pt-chown is enabled.
9918         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9919         pt_chown to fix pty ownership.
9920         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9921         CLOSE_ALL_FDS.
9922         * manual/install.texi (Configuring and compiling): Mention
9923         --enable-pt_chown. Add @findex for grantpt.
9924         * INSTALL: Regenerate.
9926 2013-07-20  David S. Miller  <davem@davemloft.net>
9928         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9929         difference between 32-bit and 64-bit.
9931 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
9933         [BZ #15711]
9934         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9935         Avoid system header dependency with -ffreestanding.
9936         ($(objpfx)bits/syscall%d): Likewise.
9938 2013-07-13  David S. Miller  <davem@davemloft.net>
9940         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9941         underflows from atanl/atan2l due to bug 15319.
9942         (casinh_test_data): Likewise.
9944 2013-07-07  David S. Miller  <davem@davemloft.net>
9946         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9948 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
9950         * sysdeps/i386/fpu/libm-test-ulps: Update.
9951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9953 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9955         * configure.in (--enable-lock-elision): Fix message text.
9956         * INSTALL: Regenerate.
9957         * configure: Regenerate.
9959 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9963 2013-07-03  Andreas Jaeger  <aj@suse.de>
9965         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
9966         define.
9967         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
9968         (ptrace_peeksiginfo_args): Add.
9969         (__ptrace_peeksiginfo_flags): Add.
9970         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9971         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9972         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9974 2013-07-03  Allan McRae  <allan@archlinux.org>
9976         * sysdeps/i386/fpu/libm-test-ulps: Update.
9978 2013-07-02  David S. Miller  <davem@davemloft.net>
9980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9982 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
9984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9986 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
9988         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9991 2013-07-02  Andi Kleen <ak@linux.intel.com>
9993         * config.h.in (ENABLE_LOCK_ELISION): Add.
9994         * configure.in (--enable-lock-elision): Add option.
9995         * manual/install.texi: Document --enable lock elision.
9996         * configure: Regenerate
9997         * INSTALL: Regenerate.
9999 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10001         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10002         SSE4.2 strcasecmp for libc.a.
10003         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10005 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10007         [BZ #13304]
10008         * soft-fp/op-common.h (_FP_FMA): New macro.
10009         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10010         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
10011         (_FP_MUL_MEAT_1_imm): ... here.
10012         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
10013         (_FP_MUL_MEAT_1_wide): ... here.
10014         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
10015         (_FP_MUL_MEAT_1_hard): ... here.
10016         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10017         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
10018         (_FP_MUL_MEAT_2_wide): ... here.
10019         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
10020         (_FP_MUL_MEAT_2_wide_3mul): ... here.
10021         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
10022         (_FP_MUL_MEAT_2_gmp): ... here.
10023         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10024         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
10025         (_FP_MUL_MEAT_4_wide): ... here.
10026         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
10027         (_FP_MUL_MEAT_4_gmp): ... here.
10028         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10029         (_FP_WFRACBITS_DW_S): Likewise.
10030         (_FP_WFRACXBITS_DW_S): Likewise.
10031         (_FP_HIGHBIT_DW_S): Likewise.
10032         (FP_FMA_S): Likewise.
10033         (_FP_FRAC_HIGH_DW_S): Likewise.
10034         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10035         (_FP_WFRACBITS_DW_D): Likewise.
10036         (_FP_WFRACXBITS_DW_D): Likewise.
10037         (_FP_HIGHBIT_DW_D): Likewise.
10038         (FP_FMA_D): Likewise.
10039         (_FP_FRAC_HIGH_DW_D): Likewise.
10040         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10041         (_FP_WFRACBITS_DW_E): Likewise.
10042         (_FP_WFRACXBITS_DW_E): Likewise.
10043         (_FP_HIGHBIT_DW_E): Likewise.
10044         (FP_FMA_E): Likewise.
10045         (_FP_FRAC_HIGH_DW_E): Likewise.
10046         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10047         (_FP_WFRACBITS_DW_Q): Likewise.
10048         (_FP_WFRACXBITS_DW_Q): Likewise.
10049         (_FP_HIGHBIT_DW_Q): Likewise.
10050         (FP_FMA_Q): Likewise.
10051         (_FP_FRAC_HIGH_DW_Q): Likewise.
10052         * soft-fp/fmasf4.c: New file.
10053         * soft-fp/fmadf4.c: Likewise.
10054         * soft-fp/fmatf4.c: Likewise.
10056 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10059         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10060         Silvermont.
10061         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10062         macro.
10063         (index_Slow_SSE4_2): Likewise.
10064         (index_Prefer_PMINUB_for_stringop): Likewise.
10065         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10066         bit_Slow_SSE4_2 is set.
10067         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10068         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10070 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10072         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10073         rtld_global._dl_hwcap2.
10074         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10075         POWER8.
10076         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10077         POWER8 feature descriptions defined in _dl_hwcap2.
10078         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10079         string handling for POWER8 feature bits.
10080         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10081         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10082         _dl_powerpc_cap_flags.
10083         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10084         * sysdeps/powerpc/rtld-global-offsets.sym
10085         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10086         _dl_hwcap2 in the rtld_global_ro structure.
10088 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10090         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10091         hardware capabilities in support of AT_HWCAP2.
10092         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10093         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10094         GLRO(dl_hwcap2).
10095         (_dl_show_auxv): Add support for calling _dl_procinfo to display
10096         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10097         explicitly the unknown a_type display mechanism is used.
10098         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10099         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10100         struct member.
10101         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10102         to macro prototype for AT_HWCAP2 support.
10103         * sysdeps/i386/dl-procinfo.h: Likewise.
10104         * sysdeps/s390/dl-procinfo.h: Likewise.
10105         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10106         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
10107         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
10108         return -1 for unknown a_type display fallback.
10109         * sysdeps/sparc/dl-procinfo.h: Likewise.
10110         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10111         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10113 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
10115         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10116         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10118 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
10120         [BZ #12492]
10121         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10122         mprotect making __stack_prot writable.
10124 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
10125             Joseph Myers  <joseph@codesourcery.com>
10127         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10128         as being properly aligned.
10130 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
10132         * dlfcn/modstatic5.c: New file.
10133         * dlfcn/tststatic5.c: New file.
10134         * dlfcn/Makefile (tests): Add tststatic5.
10135         (tests-static): Likewise.
10136         (modules-names): Add modstatic5.
10137         (tststatic5-ENV): New variable.
10138         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10140         [BZ #15022]
10141         * elf/dl-support.c (_dl_main_map): New variable.
10142         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10143         (_dl_nns, _dl_load_adds): Set to 1.
10144         (_dl_initial_searchlist): Refer to _dl_main_map.
10145         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10146         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10147         call to _dl_get_origin.
10148         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10149         around call_map.
10150         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10151         * dlfcn/modstatic3.c: New file.
10152         * dlfcn/tststatic3.c: New file.
10153         * dlfcn/tststatic4.c: New file.
10154         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10155         (tests-static): Likewise.
10156         (modules-names): Add modstatic3.
10157         (tststatic3-ENV, tststatic4-ENV): New variables.
10158         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10159         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10161 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
10163         * configure.in (CC): Require GCC version 4.4 or later.
10164         * configure: Regenerated.
10165         * manual/install.texi (Tools for Compilation): Update GCC version
10166         requirement.
10167         * INSTALL: Regenerated.
10169 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10171         [BZ #15674]
10172         * string/test-memcmp.c (check2): New.
10173         (main): Call check2.
10175         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10177 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
10179         [BZ #15022]
10180         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10181         over to...
10182         (dl_open_worker) [!SHARED]: ... here.
10184 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10186         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10188 2013-06-25  Richard Henderson  <rth@redhat.com>
10190         * locale/programs/locarchive.c: Include <libc-internal.h>
10192 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
10194         * manual/texinfo.tex: Update to version 2013-06-21.17, with
10195         trailing whitespace removed.
10197 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10199         [BZ #10283]
10200         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10201         * locale/programs/locarchive.c: Include libc-mmap.h.
10202         (prepare_address_space): Take two new outputs (the mmap base and len).
10203         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
10204         values.
10205         (create_archive): Declare new mmap base and len values for
10206         prepare_address_space, and store the result in ah.
10207         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10208         (enlarge_archive): If ah->mmap_base is not NULL, use that and
10209         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10210         Declare new mmap base and len values for
10211         prepare_address_space, and store the result in new_ah.
10212         (open_archive): Declare new mmap base and len values for
10213         prepare_address_space, and store the result in ah.
10214         (close_archive): If ah->mmap_base is not NULL, use that and
10215         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10216         * sysdeps/generic/libc-mmap.h: New file.
10218 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10220         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10221         (ALIGN_UP): Likewise.
10222         (PTR_ALIGN_DOWN): Likewise.
10223         (PTR_ALIGN_UP): Likewise.
10225 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10227         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10228         entry mapped to PPC_PLATFORM_POWER8.
10229         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10230         POWER8.
10231         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10232         (_dl_string_platform): Add case for exporting platform position for
10233         POWER8.
10234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10235         search path to sysdeps/powerpc/powerpc32/power8 directory.
10236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10237         search path to sysdeps/powerpc/powerpc64/power8 directory.
10238         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10239         power7 directories.
10240         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10241         power7 directories.
10243 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10245         * INSTALL: Regenerate.
10247         * nscd/connections.c (nscd_init): Fix comment.
10249 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
10251         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10253         [BZ #15667]
10254         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10255         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10257 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10259         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10260         DL_DST_REQ_STATIC.
10261         (DL_DST_REQ_STATIC): Remove macro.
10263 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
10265         [BZ #7006]
10266         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10267         with a shift of 0 bits.
10269 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10271         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10272         $(tststatic-ENV).
10274 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10276         [BZ #15655]
10277         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10279 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10281         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10282         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10283         accepts -fno-tree-loop-distribute-patterns.
10284         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10285         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10286         recursive call.
10287         * string/memset.c (memset): Likewise.
10288         * string/test-memmove.c (simple_memmove): Disable loop transformation
10289         to library calls.
10290         * string/test-memset.c (simple_memset): Likewise.
10291         * benchtests/bench-memmove.c (simple_memmove): Likewise.
10292         * benchtests/bench-memset.c (simple_memset): Likewise.
10293         * configure: Regenerated.
10295 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
10297         * math/test-misc.c (main): Ignore fesetround failure when failures
10298         of subsequent rounding tests would be ignored.
10300         [BZ #15654]
10301         * math/fedisblxcpt.c (fedisableexcept): Return 0.
10302         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10303         * math/fegetenv.c (__fegetenv): Return 0.
10304         * math/fegetexcept.c (fegetexcept): Return 0.
10305         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10306         FE_TONEAREST.
10307         * math/feholdexcpt.c (feholdexcept): Return 0.
10308         * math/fesetenv.c (__fesetenv): Return 0.
10309         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10310         argument FE_TONEAREST.
10311         * math/feupdateenv.c (__feupdateenv): Return 0.
10312         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10314 2013-06-18  Roland McGrath  <roland@hack.frob.com>
10316         * elf/rtld-Rules (rtld-compile-command.S): New variable.
10317         (rtld-compile-command.s, rtld-compile-command.c): New variables.
10318         ($(objpfx)rtld-%.os rules): Use them.
10320 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10322         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10323         fields.
10325 2013-06-17  Roland McGrath  <roland@hack.frob.com>
10327         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10328         length of target pattern, then descending length of dependency pattern.
10329         * configure.in (AWK): Require gawk 3.1.2 or newer.
10330         * manual/install.texi (Tools for Compilation): Say that we do.
10331         * configure: Regenerated.
10333         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10334         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10335         * scripts/sysd-rules.awk: ... this new script.
10336         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10337         than a glob-style pattern.
10339 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
10341         * math/test-misc.c (main): Do not treat incorrectly rounded
10342         conversions as failure unless ROUNDING_TESTS passes.
10344 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
10346         [BZ #15631]
10347         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10348         restore exception state around main square root computation, then
10349         check for inexactness explicitly.
10351         * math/libm-test.inc (fma_test_data): Add another test.
10353 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10355         * manual/threads.texi (Non-POSIX Extensions): New document
10356         node.  Document pthread_getattr_default_np and
10357         pthread_setattr_default_np.
10359         * Versions.def (libpthread): Add GLIBC_2.18.
10360         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10362         Likewise.
10363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10364         Likewise.
10365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10366         Likewise.
10367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10368         Likewise.
10369         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10370         Likewise.
10371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10372         Likewise.
10373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10374         Likewise.
10375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10376         Likewise.
10377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10378         Likewise.
10380 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10383         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10385 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10386             H.J. Lu  <hjl.tools@gmail.com>
10388         [BZ #15627]
10389         * sysdeps/x86_64/rtld-memset.c: Remove file.
10390         * sysdeps/x86_64/rtld-memset.S: New file.
10392 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
10394         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10395         (test_in_one_mode): Take arguments for whether the rounding mode
10396         is supported for each floating-point type.
10397         (do_test): Pass new arguments to test_in_one_mode using
10398         ROUNDING_TESTS.
10400 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10402         * posix/tst-waitid.c (do_test): Distinguish different instances of
10403         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
10404         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10405         before entering the kernel for waitpid.
10407 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10409         * NEWS: Fix note on clock function precision.  Text by Roland
10410         McGrath.
10412 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10414         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10415         it into place only when and if the sanity check passes.
10417 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
10419         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10420         output for whether conversion result is exact.  Take argument
10421         indicating whether type is IBM long double.
10422         (round_for_all): Change need_exact field to ibm_ld.
10423         * stdlib/tst-strtod-round.c (struct exactness): New type.
10424         (struct test): Change bool ld_ok field to struct exactness exact.
10425         (TEST): Update all definitions for change to field.
10426         (tests): Regenerate array contents.
10427         (test_in_one_mode): Take pointer to new field instead of old ld_ok
10428         field value.  Check for IBM long double here.
10429         (do_test): Update calls to test_in_one_mode.
10431 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10433         [BZ #12515]
10434         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10435         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10437 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10439         [BZ #15605]
10440         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10441         generated by the compiler on loop optimizations.
10442         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10443         general definitions.
10445 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
10447         * math/bug-nextafter.c: Include <math-tests.h>.
10448         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10449         the relevant type.
10450         * math/bug-nexttoward.c: Include <math-tests.h>.
10451         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10452         the relevant type.
10453         * math/test-misc.c: Include <math-tests.h>.
10454         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10455         the relevant type.
10457 2013-06-12  Andreas Jaeger  <aj@suse.de>
10459         * po/ia.po: Update Interlingua translation from translation
10460         project.
10462 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10464         * include/fenv.h: Include stdbool.h.
10465         (struct rm_ctx): New structure.
10466         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10467         Define macro.
10468         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10469         (SET_RESTORE_ROUNDF): Likewise.
10470         (SET_RESTORE_ROUNDL): Likewise.
10471         (SET_RESTORE_ROUND_NOEX): Likewise.
10472         (SET_RESTORE_ROUND_NOEXF): Likewise.
10473         (SET_RESTORE_ROUND_NOEXL): Likewise.
10474         (SET_RESTORE_ROUND_53BIT): Likewise.
10475         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10476         (libc_feresetround_noexf_ctx): Likewise.
10477         (libc_feresetround_noexl_ctx): Likewise.
10478         (libc_feholdsetround_53bit_ctx): Likewise.
10479         (libc_feresetround_53bit_ctx): Likewise.
10480         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10481         (libc_feholdexcept_setround_sse_ctx): New function.
10482         (libc_fesetenv_sse_ctx): Likewise.
10483         (libc_feupdateenv_sse_ctx): Likewise.
10484         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10485         (libc_feholdexcept_setround_387_ctx): Likewise.
10486         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10487         (libc_feholdsetround_387_prec_ctx): Likewise.
10488         (libc_feholdsetround_387_ctx): Likewise.
10489         (libc_feholdsetround_387_53bit_ctx): Likewise.
10490         (libc_feholdsetround_sse_ctx): Likewise.
10491         (libc_feresetround_sse_ctx): Likewise.
10492         (libc_feresetround_387_ctx): Likewise.
10493         (libc_feupdateenv_387_ctx): Likewise.
10494         (libc_feholdexcept_setroundf_ctx): Define macro.
10495         (libc_fesetenvf_ctx): Likewise.
10496         (libc_feupdateenvf_ctx): Likewise.
10497         (libc_feholdsetroundf_ctx): Likewise.
10498         (libc_feresetroundf_ctx): Likewise.
10499         (libc_feholdexcept_setround_ctx): Likewise.
10500         (libc_fesetenv_ctx): Likewise.
10501         (libc_feupdateenv_ctx): Likewise.
10502         (libc_feholdsetround_ctx): Likewise.
10503         (libc_feresetround_ctx): Likewise.
10504         (libc_feholdexcept_setroundl_ctx): Likewise.
10505         (libc_feupdateenvl_ctx): Likewise.
10506         (libc_feholdsetroundl_ctx): Likewise.
10507         (libc_feresetroundl_ctx): Likewise.
10508         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10509         (libc_feresetround_53bit_ctx): Likewise.
10511 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10513         * locale/iso-639.def: Convert to UTF-8.
10515 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
10517         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10518         (EXCEPTION_TESTS_double): Likewise.
10519         (EXCEPTION_TESTS_long_double): Likewise.
10520         (EXCEPTION_TESTS): Likewise.
10521         * math/libm-test.inc (test_exceptions): Only test exceptions if
10522         EXCEPTION_TESTS (FLOAT).
10524 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10526         * benchtests/Makefile (string-bench): Add strcpy_chk and
10527         stpcpy_chk.
10528         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10529         * benchtests/bench-stpcpy_chk.c: New file.
10530         * benchtests/bench-strcpy_chk-ifunc.c: New file.
10531         * benchtests/bench-strcpy_chk.c: New file.
10532         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10533         code.
10534         (do_test): Likewise.
10536 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10538         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10539         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10540         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10541         with tabs where appropriate.
10542         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10543         dl-procinfo.h.
10544         [PPC_PLATFORM_PPC440]: Likewise.
10545         [PPC_PLATFORM_PPC464]: Likewise.
10546         [PPC_PLATFORM_PPC476]: Likewise.
10547         (_dl_string_platform): Add support for detecting ppc405, ppc440,
10548         ppc464, and ppc476 platform strings merging from ports/
10549         dl-procinfo.h.
10551 2013-06-11  Andreas Schwab  <schwab@suse.de>
10553         [BZ #14991]
10554         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10555         (from_ucs4_idx): Regenerate.
10556         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10557         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10558         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10559         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10560         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10561         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10562         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10563         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10564         from FROM_LOOP and TO_LOOP specific macros.
10565         (BODY): Handle combining characters.
10566         * iconvdata/BIG5HKSCS.irreversible: Update.
10567         * iconvdata/BIG5HKSCS.precomposed: New file.
10568         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10569         characters.
10570         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10572 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10574         * include/sys/time.h: Fix indentation and add copyright header.
10576         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10577         (do_test): Likewise.
10578         * string/test-memchr.c (do_one_test): Likewise.
10579         (do_test): Likewise.
10580         * string/test-memcmp.c (do_one_test): Likewise.
10581         (do_test): Likewise.
10582         * string/test-memcpy.c (do_one_test): Likewise.
10583         (do_test): Likewise.
10584         * string/test-memmem.c (do_one_test): Likewise.
10585         (do_test): Likewise.
10586         (do_random_tests): Likewise.
10587         * string/test-memmove.c (do_one_test): Likewise.
10588         (do_test): Likewise.
10589         * string/test-memset.c (do_one_test): Likewise.
10590         (do_test): Likewise.
10591         * string/test-rawmemchr.c (do_one_test): Likewise.
10592         (do_test): Likewise.
10593         * string/test-strcasecmp.c (do_one_test): Likewise.
10594         (do_test): Likewise.
10595         * string/test-strcasestr.c (do_one_test): Likewise.
10596         (do_test): Likewise.
10597         * string/test-strcat.c (do_one_test): Likewise.
10598         (do_test): Likewise.
10599         * string/test-strchr.c (do_one_test): Likewise.
10600         (do_test): Likewise.
10601         * string/test-strcmp.c (do_one_test): Likewise.
10602         (do_test): Likewise.
10603         * string/test-strcpy.c (do_one_test): Likewise.
10604         (do_test): Likewise.
10605         * string/test-string.h: Likewise.
10606         (test_init): Likewise.
10607         * string/test-strlen.c (do_one_test): Likewise.
10608         (do_test): Likewise.
10609         * string/test-strncasecmp.c (do_one_test): Likewise.
10610         (do_test): Likewise.
10611         * string/test-strncat.c (do_one_test): Likewise.
10612         (do_test): Likewise.
10613         * string/test-strncmp.c (do_one_test): Likewise.
10614         (do_test_limit): Likewise.
10615         (do_test): Likewise.
10616         * string/test-strncpy.c (do_one_test): Likewise.
10617         (do_test): Likewise.
10618         * string/test-strnlen.c (do_one_test): Likewise.
10619         (do_test): Likewise.
10620         * string/test-strpbrk.c (do_one_test): Likewise.
10621         (do_test): Likewise.
10622         * string/test-strrchr.c (do_one_test): Likewise.
10623         (do_test): Likewise.
10624         * string/test-strspn.c (do_one_test): Likewise.
10625         (do_test): Likewise.
10626         * string/test-strstr.c (do_one_test): Likewise.
10627         (do_test): Likewise.
10629         * benchtests/Makefile (string-bench): Add string benchmarks.
10630         * benchtests/bench-bcopy-ifunc.c: New file.
10631         * benchtests/bench-bcopy.c: New file.
10632         * benchtests/bench-bzero-ifunc.c: New file.
10633         * benchtests/bench-bzero.c: New file.
10634         * benchtests/bench-memccpy-ifunc.c: New file.
10635         * benchtests/bench-memccpy.c: New file.
10636         * benchtests/bench-memchr-ifunc.c: New file.
10637         * benchtests/bench-memchr.c: New file.
10638         * benchtests/bench-memcmp-ifunc.c: New file.
10639         * benchtests/bench-memcmp.c: New file.
10640         * benchtests/bench-memmem-ifunc.c: New file.
10641         * benchtests/bench-memmem.c: New file.
10642         * benchtests/bench-memmove-ifunc.c: New file.
10643         * benchtests/bench-memmove.c: New file.
10644         * benchtests/bench-mempcpy-ifunc.c: New file.
10645         * benchtests/bench-mempcpy.c: New file.
10646         * benchtests/bench-memset-ifunc.c: New file.
10647         * benchtests/bench-memset.c: New file.
10648         * benchtests/bench-rawmemchr-ifunc.c: New file.
10649         * benchtests/bench-rawmemchr.c: New file.
10650         * benchtests/bench-stpcpy-ifunc.c: New file.
10651         * benchtests/bench-stpcpy.c: New file.
10652         * benchtests/bench-stpncpy-ifunc.c: New file.
10653         * benchtests/bench-stpncpy.c: New file.
10654         * benchtests/bench-strcasecmp-ifunc.c: New file.
10655         * benchtests/bench-strcasecmp.c: New file.
10656         * benchtests/bench-strcasestr-ifunc.c: New file.
10657         * benchtests/bench-strcasestr.c: New file.
10658         * benchtests/bench-strcat-ifunc.c: New file.
10659         * benchtests/bench-strcat.c: New file.
10660         * benchtests/bench-strchr-ifunc.c: New file.
10661         * benchtests/bench-strchr.c: New file.
10662         * benchtests/bench-strchrnul-ifunc.c: New file.
10663         * benchtests/bench-strchrnul.c: New file.
10664         * benchtests/bench-strcmp-ifunc.c: New file.
10665         * benchtests/bench-strcmp.c: New file.
10666         * benchtests/bench-strcpy-ifunc.c: New file.
10667         * benchtests/bench-strcpy.c: New file.
10668         * benchtests/bench-strcspn-ifunc.c: New file.
10669         * benchtests/bench-strcspn.c: New file.
10670         * benchtests/bench-strlen-ifunc.c: New file.
10671         * benchtests/bench-strlen.c: New file.
10672         * benchtests/bench-strncasecmp-ifunc.c: New file.
10673         * benchtests/bench-strncasecmp.c: New file.
10674         * benchtests/bench-strncat-ifunc.c: New file.
10675         * benchtests/bench-strncat.c: New file.
10676         * benchtests/bench-strncmp-ifunc.c: New file.
10677         * benchtests/bench-strncmp.c: New file.
10678         * benchtests/bench-strncpy-ifunc.c: New file.
10679         * benchtests/bench-strncpy.c: New file.
10680         * benchtests/bench-strnlen-ifunc.c: New file.
10681         * benchtests/bench-strnlen.c: New file.
10682         * benchtests/bench-strpbrk-ifunc.c: New file.
10683         * benchtests/bench-strpbrk.c: New file.
10684         * benchtests/bench-strrchr-ifunc.c: New file.
10685         * benchtests/bench-strrchr.c: New file.
10686         * benchtests/bench-strspn-ifunc.c: New file.
10687         * benchtests/bench-strspn.c: New file.
10688         * benchtests/bench-strstr-ifunc.c: New file.
10689         * benchtests/bench-strstr.c: New file.
10691         * benchtests/Makefile: Disable parallel execution of targets.
10692         (string-bench): Add memcpy.
10693         (benchset): New variable to store a list of benchmark sets.
10694         (bench-func): Renamed from bench.
10695         (bench-set): New target.
10696         (bench): Depend on bench-func and bench-set.
10697         * benchtests/README: Add section on benchmark sets.
10698         * benchtests/bench-memcpy-ifunc.c: New file.
10699         * benchtests/bench-memcpy.c: New file.
10700         * benchtests/bench-string.h: New file.
10702 2013-06-11  Andreas Schwab  <schwab@suse.de>
10704         [BZ #15577]
10705         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10706         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10707         values in the triple.
10708         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10709         terminator in the group key.
10711 2013-06-11  Andreas Jaeger  <aj@suse.de>
10713         * po/zh_TW.po: Update Chinese (traditional) translation from
10714         translation project.
10716 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10718         * include/time.h (__clock_gettime): Add libc_hidden_proto.
10719         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10720         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
10721         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10722         (clock_getcpuclockid): Likewise.
10723         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10724         Add weak_alias and libc_hidden_def.
10725         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10726         * rt/clock_gettime.c (clock_gettime): Rename to
10727         __clock_gettime.  Add weak_alias and libc_hidden_def.
10728         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10729         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10730         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
10731         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10732         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10733         Likewise.
10734         * rt/clock_settime.c (clock_settime): Rename to
10735         __clock_settime.  Add weak_alias and libc_hidden_def.
10736         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10738 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
10740         * mach/err_boot.sub: Remove trailing whitespace.
10741         * mach/err_ipc.sub: Likewise.
10742         * mach/err_mach.sub: Likewise.
10744         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10745         (ROUNDING_TESTS_double): Likewise.
10746         (ROUNDING_TESTS_long_double): Likewise.
10747         (ROUNDING_TESTS): Likewise.
10748         * math/libm-test.inc: Include <math-tests.h>.
10749         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10750         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10751         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10752         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10754 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10756         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10757         of assigning.
10759 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
10761         * sysdeps/gnu/errlist.awk: Do not generate space at end of
10762         otherwise empty TRANS lines.
10763         * sysdeps/gnu/errlist.c: Regenerated.
10765         * catgets/gencat.c (error_print): Use (void) in function
10766         definition.
10767         * crypt/crypt_util.c (__init_des): Likewise.
10768         * crypt/speeds.c (Stop): Likewise.
10769         (main): Likewise.
10770         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10771         * inet/ruserpass.c (token): Likewise.
10772         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10773         * intl/localealias.c (extend_alias_table): Likewise.
10774         * intl/plural-exp.c (init_germanic_plural): Likewise.
10775         * libio/fcloseall.c (__fcloseall): Likewise.
10776         * libio/genops.c (_IO_flush_all): Likewise.
10777         (_IO_flush_all_linebuffered): Likewise.
10778         (_IO_cleanup): Likewise.
10779         (_IO_iter_begin): Likewise.
10780         (_IO_iter_end): Likewise.
10781         (_IO_list_lock): Likewise.
10782         (_IO_list_unlock): Likewise.
10783         (_IO_list_resetlock): Likewise.
10784         * libio/getchar.c (getchar): Likewise.
10785         * libio/getchar_u.c (getchar_unlocked): Likewise.
10786         * libio/getwchar.c (getwchar): Likewise.
10787         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10788         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10789         * login/getpt.c (__getpt): Likewise.
10790         * login/tst-utmp.c (main): Likewise.
10791         * malloc/hooks.c (__malloc_check_init): Likewise.
10792         * malloc/malloc.c (__malloc_stats): Likewise.
10793         * malloc/mtrace.c (tr_break): Likewise.
10794         (mtrace): Likewise.
10795         (muntrace): Likewise.
10796         * misc/fstab.c (endfsent): Likewise.
10797         * misc/getclktck.c (__getclktck): Likewise.
10798         * misc/getdtsz.c (__getdtablesize): Likewise.
10799         * misc/gethostid.c (gethostid): Likewise.
10800         * misc/getpagesize.c (__getpagesize): Likewise.
10801         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10802         (__get_nprocs): Likewise.
10803         (__get_phys_pages): Likewise.
10804         (__get_avphys_pages): Likewise.
10805         * misc/getttyent.c (getttyent): Likewise.
10806         (setttyent): Likewise.
10807         (endttyent): Likewise.
10808         * misc/getusershell.c (getusershell): Likewise.
10809         (endusershell): Likewise.
10810         (setusershell): Likewise.
10811         (initshells): Likewise.
10812         * misc/hsearch.c (__hdestroy): Likewise.
10813         * misc/sync.c (sync): Likewise.
10814         * misc/syslog.c (closelog_internal): Likewise.
10815         (closelog): Likewise.
10816         * misc/ttyslot.c (ttyslot): Likewise.
10817         * misc/vhangup.c (vhangup): Likewise.
10818         * posix/fork.c (__fork): Likewise.
10819         * posix/getegid.c (__getegid): Likewise.
10820         * posix/geteuid.c (__geteuid): Likewise.
10821         * posix/getgid.c (__getgid): Likewise.
10822         * posix/getpid.c (__getpid): Likewise.
10823         * posix/getppid.c (__getppid): Likewise.
10824         * posix/getuid.c (__getuid): Likewise.
10825         * posix/pause.c (pause): Likewise.
10826         * posix/setpgrp.c (setpgrp): Likewise.
10827         * posix/setsid.c (__setsid): Likewise.
10828         * posix/test-vfork.c (noop): Likewise.
10829         * resolv/gethnamaddr.c (_endhtent): Likewise.
10830         (_gethtent): Likewise.
10831         (ht_endhostent): Likewise.
10832         (gethostent): Likewise.
10833         (dns_service): Likewise.
10834         * stdlib/drand48.c (drand48): Likewise.
10835         * stdlib/lrand48.c (lrand48): Likewise.
10836         * stdlib/mrand48.c (mrand48): Likewise.
10837         * stdlib/rand.c (rand): Likewise.
10838         * stdlib/random.c (__random): Likewise.
10839         * stdlib/setenv.c (clearenv): Likewise.
10840         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10841         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10842         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10843         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10844         (__get_nprocs): Likewise.
10845         (__get_phys_pages): Likewise.
10846         (__get_avphys_pages): Likewise.
10847         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10848         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10849         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10850         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10851         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10852         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10853         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10854         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10855         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10856         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10857         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10858         * sysdeps/mach/hurd/sync.c (sync): Likewise.
10859         * sysdeps/posix/clock.c (clock): Likewise.
10860         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10861         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10862         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10863         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10864         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10865         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10866         (__get_nprocs_conf): Likewise.
10867         (__get_phys_pages): Likewise.
10868         (__get_avphys_pages): Likewise.
10869         * time/clock.c (clock): Likewise.
10870         * time/tzset.c (__tzname_max): Likewise.
10872 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
10874         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10875         (__bswap_32): Do not use "register".
10876         * crypt/crypt.c (_ufc_doit_r): Likewise.
10877         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10878         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10879         * gmon/gmon.c (__monstartup): Likewise.
10880         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10881         * hurd/hurdmalloc.c (more_memory): Likewise.
10882         (malloc): Likewise.
10883         (free): Likewise.
10884         (realloc): Likewise.
10885         (malloc_fork_prepare): Likewise.
10886         (malloc_fork_parent): Likewise.
10887         (malloc_fork_child): Likewise.
10888         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10889         (_svcauth_des): Likewise.
10890         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10891         * inet/inet_net.c (inet_network): Likewise.
10892         * inet/inet_netof.c (inet_netof): Likewise.
10893         * inet/rcmd.c (__validuser2_sa): Likewise.
10894         * io/fts.c (fts_open): Likewise.
10895         (fts_load): Likewise.
10896         (fts_close): Likewise.
10897         (fts_read): Likewise.
10898         (fts_children): Likewise.
10899         (fts_build): Likewise.
10900         (fts_stat): Likewise.
10901         (fts_sort): Likewise.
10902         (fts_alloc): Likewise.
10903         (fts_lfree): Likewise.
10904         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10905         (_IO_file_xsgetn): Likewise.
10906         (_IO_file_xsgetn_mmap): Likewise.
10907         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10908         (_IO_cookie_write): Likewise.
10909         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10910         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10911         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10912         * malloc/obstack.c (_obstack_begin): Likewise.
10913         (_obstack_begin_1): Likewise.
10914         (_obstack_newchunk): Likewise.
10915         (_obstack_allocated_p): Likewise.
10916         (obstack_free): Likewise.
10917         (_obstack_memory_used): Likewise.
10918         * misc/getttyent.c (getttynam): Likewise.
10919         (getttyent): Likewise.
10920         (skip): Likewise.
10921         (value): Likewise.
10922         * misc/getusershell.c (initshells): Likewise.
10923         * misc/syslog.c (__vsyslog_chk): Likewise.
10924         * misc/ttyslot.c (ttyslot): Likewise.
10925         * nis/nis_hash.c (__nis_hash): Likewise.
10926         * posix/fnmatch_loop.c (FCT): Likewise.
10927         * posix/getconf.c (print_all): Likewise.
10928         (main): Likewise.
10929         * posix/getopt.c (exchange): Likewise.
10930         * posix/glob.c (globfree): Likewise.
10931         (prefix_array): Likewise.
10932         (__glob_pattern_type): Likewise.
10933         * resolv/arpa/nameser.h (NS_GET16): Likewise.
10934         (NS_GET32): Likewise.
10935         (NS_PUT16): Likewise.
10936         (NS_PUT32): Likewise.
10937         * resolv/gethnamaddr.c (getanswer): Likewise.
10938         (gethostbyname2): Likewise.
10939         (gethostbyaddr): Likewise.
10940         (_gethtent): Likewise.
10941         (_gethtbyname2): Likewise.
10942         (_gethtbyaddr): Likewise.
10943         * resolv/ns_print.c (dst_s_get_int16): Likewise.
10944         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10945         * resolv/res_init.c (__res_vinit): Likewise.
10946         (net_mask): Likewise.
10947         * resolv/res_mkquery.c (outchar): Likewise.
10948         (PRINT): Likewise.
10949         * stdio-common/printf_fp.c (outchar): Likewise.
10950         (PRINT): Likewise.
10951         * stdio-common/printf_fphex.c (outchar): Likewise.
10952         (PRINT): Likewise.
10953         * stdio-common/printf_size.c (outchar): Likewise.
10954         (PRINT): Likewise.
10955         * stdio-common/test_rdwr.c (main): Likewise.
10956         * stdio-common/tfformat.c (matches): Likewise.
10957         * stdio-common/vfprintf.c (outchar): Likewise.
10958         (printf_unknown): Likewise.
10959         (buffered_vfprintf): Likewise.
10960         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10961         * stdio-common/xbug.c (AppendToBuffer): Likewise.
10962         (ReadFile): Likewise.
10963         * stdlib/qsort.c (SWAP): Likewise.
10964         (_quicksort): Likewise.
10965         * stdlib/setenv.c (__add_to_environ): Likewise.
10966         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10967         * stdlib/strtol_l.c (__strtol_l): Likewise.
10968         * stdlib/tst-strtod.c (main): Likewise.
10969         * stdlib/tst-strtol.c (main): Likewise.
10970         * stdlib/tst-strtoll.c (main): Likewise.
10971         * string/bits/string2.h (__strcmp_cc): Likewise.
10972         (__strcmp_cg): Likewise.
10973         (__strcspn_c1): Likewise.
10974         (__strcspn_c2): Likewise.
10975         (__strcspn_c3): Likewise.
10976         (__strspn_c1): Likewise.
10977         (__strspn_c2): Likewise.
10978         (__strspn_c3): Likewise.
10979         (__strsep_1c): Likewise.
10980         (__strsep_2c): Likewise.
10981         (__strsep_3c): Likewise.
10982         * string/memccpy.c (__memccpy): Likewise.
10983         * string/stpcpy.c (__stpcpy): Likewise.
10984         * string/strcmp.c (strcmp): Likewise.
10985         * string/strrchr.c (strrchr): Likewise.
10986         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
10987         Likewise.
10988         * sysdeps/mach/hurd/getcwd.c
10989         (_hurd_canonicalize_directory_name_internal): Likewise.
10990         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
10991         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
10992         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
10993         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
10994         Likewise, in both definitions.
10995         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
10996         definitions.
10997         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
10998         64] (__bswap_64): Likewise.
10999         * time/test_time.c (main): Likewise.
11000         * time/tzfile.c (__tzfile_read): Likewise.
11001         (__tzfile_compute): Likewise.
11002         * time/tzset.c (__tzset_parse_tz): Likewise.
11003         (tzset_internal): Likewise.
11004         (compute_change): Likewise.
11005         * wcsmbs/wcscat.c (__wcscat): Likewise.
11006         * wcsmbs/wcschr.c (wcschr): Likewise.
11007         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11008         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11009         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11010         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11011         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11012         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11013         * wcsmbs/wmemchr.c (wmemchr): Likewise.
11014         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11015         * wcsmbs/wmemset.c (wmemset): Likewise.
11017 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
11019         * scripts/config.guess: Update to version 2013-05-16.
11020         * scripts/config.sub: Update to version 2013-04-24.
11021         * scripts/install-sh: Update to version 2011-11-20.07.
11022         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11023         * scripts/move-if-change: Update to version 2012-01-06 07:23.
11025 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
11027         * debug/fgetws_u_chk.c: Fix leading whitespaces.
11028         * elf/sln.c: Likewise.
11029         * hurd/hurd/ioctl.h: Likewise.
11030         * hurd/hurdmalloc.c: Likewise.
11031         * hurd/xattr.c: Likewise.
11032         * include/shlib-compat.h: Likewise.
11033         * inet/ruserpass.c: Likewise.
11034         * libio/iofgets_u.c: Likewise.
11035         * libio/iofgetws_u.c: Likewise.
11036         * locale/programs/ld-identification.c: Likewise.
11037         * locale/programs/ld-time.c: Likewise.
11038         * mach/msg-destroy.c: Likewise.
11039         * nss/nss_files/files-netgrp.c: Likewise.
11040         * resolv/res_data.c: Likewise.
11041         * soft-fp/op-1.h: Likewise.
11042         * soft-fp/op-2.h: Likewise.
11043         * soft-fp/op-4.h: Likewise.
11044         * soft-fp/op-common.h: Likewise.
11045         * stdio-common/printf_fphex.c: Likewise.
11046         * stdlib/strtod_l.c: Likewise.
11047         * sunrpc/rpc/clnt.h: Likewise.
11048         * sysdeps/generic/framestate.c: Likewise.
11049         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11050         * sysdeps/i386/bsd-setjmp.S: Likewise.
11051         * sysdeps/i386/__longjmp.S: Likewise.
11052         * sysdeps/i386/setjmp.S: Likewise.
11053         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11054         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11055         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11056         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11057         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11058         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11059         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11060         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11061         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11062         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11063         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11064         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11065         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11066         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11067         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11068         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11069         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11070         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11071         * sysdeps/ieee754/support.c: Likewise.
11072         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11073         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11074         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11075         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11076         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11077         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11078         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11079         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11080         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11081         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11082         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11083         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11084         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11085         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11086         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11087         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11088         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11091 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
11093         * posix/transbug.c: Remove executable mode.
11095 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
11097         * crypt/speeds.c: Remove trailing whitespace.
11098         * dlfcn/default.c: Likewise.
11099         * elf/ifuncdep2.c: Likewise.
11100         * elf/ifuncmain1.c: Likewise.
11101         * elf/ifuncmain1vis.c: Likewise.
11102         * elf/testobj.h: Likewise.
11103         * elf/tst-stackguard1.c: Likewise.
11104         * gmon/sys/gmon.h: Likewise.
11105         * hurd/hurdmsg.c: Likewise.
11106         * hurd/new-fd.c: Likewise.
11107         * hurd/ports-get.c: Likewise.
11108         * iconvdata/ibm1008_420.c: Likewise.
11109         * inet/tst-getni1.c: Likewise.
11110         * inet/tst-getni2.c: Likewise.
11111         * libio/ioungetc.c: Likewise.
11112         * libio/wfiledoalloc.c: Likewise.
11113         * manual/libm-err-tab.pl: Likewise.
11114         * math/w_dremf.c: Likewise.
11115         * misc/ftruncate.c: Likewise.
11116         * posix/bug-glob2.c: Likewise.
11117         * posix/tst-pcre.c: Likewise.
11118         * posix/wait4.c: Likewise.
11119         * resolv/README: Likewise.
11120         * resolv/res_debug.h: Likewise.
11121         * resolv/tst-inet_ntop.c: Likewise.
11122         * setjmp/bug269-setjmp.c: Likewise.
11123         * soft-fp/extended.h: Likewise.
11124         * soft-fp/op-1.h: Likewise.
11125         * soft-fp/op-2.h: Likewise.
11126         * soft-fp/op-4.h: Likewise.
11127         * soft-fp/op-8.h: Likewise.
11128         * soft-fp/testit.c: Likewise.
11129         * stdio-common/bug16.c: Likewise.
11130         * stdlib/random.c: Likewise.
11131         * sunrpc/rpcsvc/rquota.x: Likewise.
11132         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11133         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11134         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11135         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11136         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11137         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11138         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11139         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11140         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11141         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11142         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11143         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11144         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11145         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11146         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11147         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11148         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11149         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11150         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11151         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11152         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11153         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11154         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11155         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11156         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11157         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11159         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11160         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11161         * sysdeps/ieee754/s_lib_version.c: Likewise.
11162         * sysdeps/mach/hurd/check_fds.c: Likewise.
11163         * sysdeps/mach/hurd/getsockname.c: Likewise.
11164         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11165         * sysdeps/mach/hurd/recvfrom.c: Likewise.
11166         * sysdeps/powerpc/bits/link.h: Likewise.
11167         * sysdeps/powerpc/dl-procinfo.c: Likewise.
11168         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11169         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11170         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11171         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11172         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11173         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11174         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11175         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11176         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11177         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11178         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11179         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11180         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11181         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11182         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11183         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11184         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11185         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11186         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11187         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11188         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11189         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11190         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11191         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11192         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11193         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11194         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11195         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11196         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11197         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11198         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11199         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11200         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11201         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11202         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11203         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11204         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11205         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11206         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11207         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11208         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11209         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11210         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11211         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11212         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11213         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11214         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11215         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11216         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11217         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11218         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11219         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11220         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11221         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11222         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11223         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11224         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11225         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11226         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11227         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11228         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11229         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11230         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11231         * sysdeps/powerpc/sysdep.h: Likewise.
11232         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11233         * sysdeps/s390/s390-64/sub_n.S: Likewise.
11234         * sysdeps/sh/dl-trampoline.S: Likewise.
11235         * sysdeps/sh/memset.S: Likewise.
11236         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11237         * sysdeps/sh/strlen.S: Likewise.
11238         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11239         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11240         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11241         * sysdeps/sparc/sparc32/rem.S: Likewise.
11242         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11243         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11244         * sysdeps/sparc/sparc32/strchr.S: Likewise.
11245         * sysdeps/sparc/sparc32/udiv.S: Likewise.
11246         * sysdeps/sparc/sparc32/urem.S: Likewise.
11247         * sysdeps/sparc/sparc64/add_n.S: Likewise.
11248         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11249         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11250         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11251         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11252         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11253         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11254         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11255         * sysdeps/unix/bsd/times.c: Likewise.
11256         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11257         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11261         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11262         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11263         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11264         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11265         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11266         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11267         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11268         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11269         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11270         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11271         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11272         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11273         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11274         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11275         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11276         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11277         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11278         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11279         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11280         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11281         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11282         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11283         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11284         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11285         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11286         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11287         * sysdeps/x86_64/strcspn.S: Likewise.
11289 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11291         * locale/C-translit.h: Revert #include <stdint.h> because this is a
11292         generated file.  Regenerate properly from gen-translit.pl.
11293         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
11294         locale/C-translit.h.
11296 2013-06-05  Andreas Schwab  <schwab@suse.de>
11298         [BZ #15100]
11299         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11300         week as 6 instead of -1.
11301         * time/tst-strptime.c (day_tests): Add test case.
11303 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11305         * sysdeps/generic/math_private.h
11306         (libc_feholdexcept_setround_53bit): Replace with
11307         libc_feholdsetround_53bit.
11308         (libc_feupdateenv_53bit): Replace with
11309         libc_feresetround_53bit.
11310         (SET_RESTORE_ROUND_53BIT): Adjust.
11312 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11314         * string/test-strchrnul.c: Add copyright header.
11316         * posix/tst-getaddrinfo4.c: Increase test timeout.
11318 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
11320         [BZ #15536]
11321         * math/libm-test.inc (MAX_EXP): Remove
11322         (MIN_EXP): Define.
11323         (ulp): Use MIN_EXP - MANT_DIG.
11324         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11326 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
11328         * po/be.po: Revert last change.
11329         * po/zh_CN.po: Likewise.
11330         * po/header.pot: Likewise.
11332 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
11334         * Makefile ($(common-objpfx)linkobj/libc.so): Define
11335         link-libc-deps to empty as target-specific variable.
11336         * Makerules (link-libc-args): New variable.
11337         (libc-for-link): Likewise.
11338         (link-libc-deps): Likewise.
11339         (lib%.so): Depend on $(link-libc-deps).  Link with
11340         $(link-libc-args).
11341         (build-module): Link with $(link-libc-args).
11342         (build-module-asneeded): Likewise.
11343         (build-module-helper-objlist): Filter out $(link-libc-deps) from
11344         list of objects.
11345         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11346         target-specific variable.
11347         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11348         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11349         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11350         libc.
11351         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11352         libc and ld.so.
11353         ($(objpfx)libpcprofile.so): Likewise.
11354         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11355         libc_nonshared.a.
11356         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11357         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11358         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11359         $(link-libc-deps).
11360         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11361         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11362         * login/Makefile ($(objpfx)libutil.so): Likewise.
11363         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11364         * math/Makefile ($(objpfx)libm.so): Likewise.
11365         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11366         $(objpfx)libnsl.so): Define libc-for-link as target-specific
11367         variable instead of depending directly on libc.
11368         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11369         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11370         $(link-libc-deps).
11371         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11372         libc.
11373         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11374         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11375         ($(objpfx)libanl.so): Likewise.
11376         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11377         ld.so.
11378         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11379         $(link-libc-deps).
11380         * sysdeps/i386/fpu/Makefile: Remove file.
11381         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11382         ($(objpfx)libm.so): Remove dependency on ld.so.
11384 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
11386         [BZ # 15553]
11387         * nis/yp_xdr.c (XDRMAXNAME): Define.
11388         (XDRMAXRECORD): Define.
11389         (xdr_domainname): Use XDRMAXNAME.
11390         (xdr_mapname): Likewise.
11391         (xdr_peername): Likewise.
11392         (xdr_keydat): Use XDRMAXRECORD.
11393         (xdr_valdat): Likewise.
11395 2013-05-30  Jeff Law  <law@redhat.com>
11397         [BZ #14256]
11398         * manual/errno.texi (ESTALE): Update to account for more than
11399         just NFS file systems.
11400         * sysdeps/gnu/errlist.c: Regenerated.
11402 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11404         [BZ #15465]
11405         * elf/Makefile (tests): Add tst-null-argv.
11406         (modules-names):  Add tst-null-argv-lib.
11407         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11408         (tst-null-argv-ENV): Set environment for tst-null-argv.
11409         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11410         (RTLD_PROGNAME): New macro.
11411         * elf/tst-null-argv.c: New test case.
11412         * elf/tst-null-argv-lib.c: Library for test case.
11413         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11414         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11415         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11416         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11417         * elf/dl-init.c (call_init): Likewise.
11418         (_dl_init): Likewise.
11419         * elf/dl-load.c (print_search_path): Likewise.
11420         (_dl_map_object): Likewise.
11421         * elf/dl-lookup.c (do_lookup_x): Likewise.
11422         (add_dependency): Likewise.
11423         (_dl_lookup_symbol_x): Likewise.
11424         (_dl_debug_bindings): Likewise.
11425         * elf/dl-open.c (_dl_show_scope): Likewise.
11426         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11427         * elf/dl-version.c (match_symbol): Likewise.
11428         (_dl_check_map_versions): Likewise.
11429         * elf/rtld.c (dl_main): Likewise.
11430         (print_unresolved): Use RTLD_PROGNAME.
11431         (print_missing_version): Likewise.
11432         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11433         (elf_machine_rela): Likewise.
11434         * sysdeps/powerpc/powerpc32/dl-machine.c
11435         (__process_machine_rela): Likewise.
11436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11437         Likewise.
11438         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11439         Likewise.
11440         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11441         Likewise.
11442         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11443         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11444         Likewise.
11445         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11446         Likewise.
11447         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11449 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
11451         * po/be.po: Add descriptive title.
11452         * po/zh_CN.po: Likewise.
11453         * po/header.pot: Likewise.
11455 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
11457         * locale/programs/locarchive.c (create_archive): Inlucde fname in
11458         error message.
11459         (enlarge_archive): Likewise.
11461 2013-05-28  Ben North  <ben@redfrontdoor.org>
11463         * manual/arith.texi (frexp): It is the magnitude of the return
11464         value which lies in [0.5, 1), not the return value itself.
11466 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11470 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
11472         * stdio-common/bug26.c (main): Correct fscanf template.
11474         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11475         declare _dl_skip_args.
11477         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11478         Don't declare.
11480         * manual/platform.texi: Add missing @end deftypefun.
11482 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
11484         [BZ #15529]
11485         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11486         bit of mantissa of 2^16382.
11487         * math/libm-test.inc (hypot_test_data): Add more tests.
11489         * math/libm-test.inc: Add drem and pow10 to list of tested
11490         functions.
11491         (pow10_test): New function.
11492         (drem_test): Likewise.
11493         (drem_test_tonearest): Likewise.
11494         (drem_test_towardzero): Likewise.
11495         (drem_test_downward): Likewise.
11496         (drem_test_upward): Likewise.
11497         (main): Call the new functions.
11499         * math/libm-test.inc (finite_test_data): Remove.
11500         (finite_test): Run tests from isfinite_test_data.
11501         (gamma_test_data): Remove.
11502         (gamma_test): Run tests from lgamma_test_data.
11503         * sysdeps/i386/fpu/libm-test-ulps: Update.
11504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11506 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11508         * manual/platform.texi: Add PowerPC PPR function set documentation.
11509         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11510         implementation.
11512 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
11514         * math/libm-test.inc (MAX_EXP): Define.
11515         (ULPDIFF): Define.
11516         (ulp): New function.
11517         (check_float_internal): Use ULPDIFF.
11518         (cpow_test): Disable failing test.
11519         (check_ulp): Test ulp() implemetnation.
11520         (main): Call check_ulp before starting tests.
11522 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
11524         * math/gen-libm-test.pl (generate_testfile): Do not handle
11525         START_DATA and END_DATA.
11526         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11527         END_DATA.
11528         (acos_tonearest_test_data): Likewise.
11529         (acos_towardzero_test_data): Likewise.
11530         (acos_downward_test_data): Likewise.
11531         (acos_upward_test_data): Likewise.
11532         (acosh_test_data): Likewise.
11533         (asin_test_data): Likewise.
11534         (asin_tonearest_test_data): Likewise.
11535         (asin_towardzero_test_data): Likewise.
11536         (asin_downward_test_data): Likewise.
11537         (asin_upward_test_data): Likewise.
11538         (asinh_test_data): Likewise.
11539         (atan_test_data): Likewise.
11540         (atanh_test_data): Likewise.
11541         (atan2_test_data): Likewise.
11542         (cabs_test_data): Likewise.
11543         (cacos_test_data): Likewise.
11544         (cacosh_test_data): Likewise.
11545         (carg_test_data): Likewise.
11546         (casin_test_data): Likewise.
11547         (casinh_test_data): Likewise.
11548         (catan_test_data): Likewise.
11549         (catanh_test_data): Likewise.
11550         (cbrt_test_data): Likewise.
11551         (ccos_test_data): Likewise.
11552         (ccosh_test_data): Likewise.
11553         (ceil_test_data): Likewise.
11554         (cexp_test_data): Likewise.
11555         (cimag_test_data): Likewise.
11556         (clog_test_data): Likewise.
11557         (clog10_test_data): Likewise.
11558         (conj_test_data): Likewise.
11559         (copysign_test_data): Likewise.
11560         (cos_test_data): Likewise.
11561         (cos_tonearest_test_data): Likewise.
11562         (cos_towardzero_test_data): Likewise.
11563         (cos_downward_test_data): Likewise.
11564         (cos_upward_test_data): Likewise.
11565         (cosh_test_data): Likewise.
11566         (cosh_tonearest_test_data): Likewise.
11567         (cosh_towardzero_test_data): Likewise.
11568         (cosh_downward_test_data): Likewise.
11569         (cosh_upward_test_data): Likewise.
11570         (cpow_test_data): Likewise.
11571         (cproj_test_data): Likewise.
11572         (creal_test_data): Likewise.
11573         (csin_test_data): Likewise.
11574         (csinh_test_data): Likewise.
11575         (csqrt_test_data): Likewise.
11576         (ctan_test_data): Likewise.
11577         (ctan_tonearest_test_data): Likewise.
11578         (ctan_towardzero_test_data): Likewise.
11579         (ctan_downward_test_data): Likewise.
11580         (ctan_upward_test_data): Likewise.
11581         (ctanh_test_data): Likewise.
11582         (ctanh_tonearest_test_data): Likewise.
11583         (ctanh_towardzero_test_data): Likewise.
11584         (ctanh_downward_test_data): Likewise.
11585         (ctanh_upward_test_data): Likewise.
11586         (erf_test_data): Likewise.
11587         (erfc_test_data): Likewise.
11588         (exp_test_data): Likewise.
11589         (exp_tonearest_test_data): Likewise.
11590         (exp_towardzero_test_data): Likewise.
11591         (exp_downward_test_data): Likewise.
11592         (exp_upward_test_data): Likewise.
11593         (exp10_test_data): Likewise.
11594         (exp2_test_data): Likewise.
11595         (expm1_test_data): Likewise.
11596         (fabs_test_data): Likewise.
11597         (fdim_test_data): Likewise.
11598         (finite_test_data): Likewise.
11599         (floor_test_data): Likewise.
11600         (fma_test_data): Likewise.
11601         (fma_towardzero_test_data): Likewise.
11602         (fma_downward_test_data): Likewise.
11603         (fma_upward_test_data): Likewise.
11604         (fmax_test_data): Likewise.
11605         (fmin_test_data): Likewise.
11606         (fmod_test_data): Likewise.
11607         (fpclassify_test_data): Likewise.
11608         (frexp_test_data): Likewise.
11609         (gamma_test_data): Likewise.
11610         (hypot_test_data): Likewise.
11611         (ilogb_test_data): Likewise.
11612         (isfinite_test_data): Likewise.
11613         (isgreater_test_data): Likewise.
11614         (isgreaterequal_test_data): Likewise.
11615         (isinf_test_data): Likewise.
11616         (isless_test_data): Likewise.
11617         (islessequal_test_data): Likewise.
11618         (islessgreater_test_data): Likewise.
11619         (isnan_test_data): Likewise.
11620         (isnormal_test_data): Likewise.
11621         (issignaling_test_data): Likewise.
11622         (isunordered_test_data): Likewise.
11623         (j0_test_data): Likewise.
11624         (j1_test_data): Likewise.
11625         (jn_test_data): Likewise.
11626         (ldexp_test_data): Likewise.
11627         (lgamma_test_data): Likewise.
11628         (lrint_test_data): Likewise.
11629         (lrint_tonearest_test_data): Likewise.
11630         (lrint_towardzero_test_data): Likewise.
11631         (lrint_downward_test_data): Likewise.
11632         (lrint_upward_test_data): Likewise.
11633         (llrint_test_data): Likewise.
11634         (llrint_tonearest_test_data): Likewise.
11635         (llrint_towardzero_test_data): Likewise.
11636         (llrint_downward_test_data): Likewise.
11637         (llrint_upward_test_data): Likewise.
11638         (log_test_data): Likewise.
11639         (log10_test_data): Likewise.
11640         (log1p_test_data): Likewise.
11641         (log2_test_data): Likewise.
11642         (logb_test_data): Likewise.
11643         (logb_downward_test_data): Likewise.
11644         (lround_test_data): Likewise.
11645         (llround_test_data): Likewise.
11646         (modf_test_data): Likewise.
11647         (nearbyint_test_data): Likewise.
11648         (nextafter_test_data): Likewise.
11649         (nexttoward_test_data): Likewise.
11650         (pow_test_data): Likewise.
11651         (pow_tonearest_test_data): Likewise.
11652         (pow_towardzero_test_data): Likewise.
11653         (pow_downward_test_data): Likewise.
11654         (pow_upward_test_data): Likewise.
11655         (remainder_test_data): Likewise.
11656         (remainder_tonearest_test_data): Likewise.
11657         (remainder_towardzero_test_data): Likewise.
11658         (remainder_downward_test_data): Likewise.
11659         (remainder_upward_test_data): Likewise.
11660         (remquo_test_data): Likewise.
11661         (rint_test_data): Likewise.
11662         (rint_tonearest_test_data): Likewise.
11663         (rint_towardzero_test_data): Likewise.
11664         (rint_downward_test_data): Likewise.
11665         (rint_upward_test_data): Likewise.
11666         (round_test_data): Likewise.
11667         (scalb_test_data): Likewise.
11668         (scalbn_test_data): Likewise.
11669         (scalbln_test_data): Likewise.
11670         (signbit_test_data): Likewise.
11671         (sin_test_data): Likewise.
11672         (sin_tonearest_test_data): Likewise.
11673         (sin_towardzero_test_data): Likewise.
11674         (sin_downward_test_data): Likewise.
11675         (sin_upward_test_data): Likewise.
11676         (sincos_test_data): Likewise.
11677         (sinh_test_data): Likewise.
11678         (sinh_tonearest_test_data): Likewise.
11679         (sinh_towardzero_test_data): Likewise.
11680         (sinh_downward_test_data): Likewise.
11681         (sinh_upward_test_data): Likewise.
11682         (sqrt_test_data): Likewise.
11683         (tan_test_data): Likewise.
11684         (tan_tonearest_test_data): Likewise.
11685         (tan_towardzero_test_data): Likewise.
11686         (tan_downward_test_data): Likewise.
11687         (tan_upward_test_data): Likewise.
11688         (tanh_test_data): Likewise.
11689         (tgamma_test_data): Likewise.
11690         (trunc_test_data): Likewise.
11691         (y0_test_data): Likewise.
11692         (y1_test_data): Likewise.
11693         (yn_test_data): Likewise.
11694         (significand_test_data): Likewise.
11696         * math/gen-libm-test.pl (@functions): Remove variable.
11697         (generate_testfile): Don't handle START and END lines.
11698         * math/libm-test.inc (START): New macro.
11699         (END): Likewise.
11700         (END_COMPLEX): Likewise.
11701         (acos_test): Use END macro without arguments.
11702         (acos_test_tonearest): Likewise.
11703         (acos_test_towardzero): Likewise.
11704         (acos_test_downward): Likewise.
11705         (acos_test_upward): Likewise.
11706         (acosh_test): Likewise.
11707         (asin_test): Likewise.
11708         (asin_test_tonearest): Likewise.
11709         (asin_test_towardzero): Likewise.
11710         (asin_test_downward): Likewise.
11711         (asin_test_upward): Likewise.
11712         (asinh_test): Likewise.
11713         (atan_test): Likewise.
11714         (atanh_test): Likewise.
11715         (atan2_test): Likewise.
11716         (cabs_test): Likewise.
11717         (cacos_test): Use END_COMPLEX macro without arguments.
11718         (cacosh_test): Likewise.
11719         (carg_test): Use END macro without arguments.
11720         (casin_test): Use END_COMPLEX macro without arguments.
11721         (casinh_test): Likewise.
11722         (catan_test): Likewise.
11723         (catanh_test): Likewise.
11724         (cbrt_test): Use END macro without arguments.
11725         (ccos_test): Use END_COMPLEX macro without arguments.
11726         (ccosh_test): Likewise.
11727         (ceil_test): Use END macro without arguments.
11728         (cexp_test): Use END_COMPLEX macro without arguments.
11729         (cimag_test): Use END macro without arguments.
11730         (clog_test): Use END_COMPLEX macro without arguments.
11731         (clog10_test): Likewise.
11732         (conj_test): Likewise.
11733         (copysign_test): Use END macro without arguments.
11734         (cos_test): Likewise.
11735         (cos_test_tonearest): Likewise.
11736         (cos_test_towardzero): Likewise.
11737         (cos_test_downward): Likewise.
11738         (cos_test_upward): Likewise.
11739         (cosh_test): Likewise.
11740         (cosh_test_tonearest): Likewise.
11741         (cosh_test_towardzero): Likewise.
11742         (cosh_test_downward): Likewise.
11743         (cosh_test_upward): Likewise.
11744         (cpow_test): Use END_COMPLEX macro without arguments.
11745         (cproj_test): Likewise.
11746         (creal_test): Use END macro without arguments.
11747         (csin_test): Use END_COMPLEX macro without arguments.
11748         (csinh_test): Likewise.
11749         (csqrt_test): Likewise.
11750         (ctan_test): Likewise.
11751         (ctan_test_tonearest): Likewise.
11752         (ctan_test_towardzero): Likewise.
11753         (ctan_test_downward): Likewise.
11754         (ctan_test_upward): Likewise.
11755         (ctanh_test): Likewise.
11756         (ctanh_test_tonearest): Likewise.
11757         (ctanh_test_towardzero): Likewise.
11758         (ctanh_test_downward): Likewise.
11759         (ctanh_test_upward): Likewise.
11760         (erf_test): Use END macro without arguments.
11761         (erfc_test): Likewise.
11762         (exp_test): Likewise.
11763         (exp_test_tonearest): Likewise.
11764         (exp_test_towardzero): Likewise.
11765         (exp_test_downward): Likewise.
11766         (exp_test_upward): Likewise.
11767         (exp10_test): Likewise.
11768         (exp2_test): Likewise.
11769         (expm1_test): Likewise.
11770         (fabs_test): Likewise.
11771         (fdim_test): Likewise.
11772         (finite_test): Likewise.
11773         (floor_test): Likewise.
11774         (fma_test): Likewise.
11775         (fma_test_towardzero): Likewise.
11776         (fma_test_downward): Likewise.
11777         (fma_test_upward): Likewise.
11778         (fmax_test): Likewise.
11779         (fmin_test): Likewise.
11780         (fmod_test): Likewise.
11781         (fpclassify_test): Likewise.
11782         (frexp_test): Likewise.
11783         (gamma_test): Likewise.
11784         (hypot_test): Likewise.
11785         (ilogb_test): Likewise.
11786         (isfinite_test): Likewise.
11787         (isgreater_test): Likewise.
11788         (isgreaterequal_test): Likewise.
11789         (isinf_test): Likewise.
11790         (isless_test): Likewise.
11791         (islessequal_test): Likewise.
11792         (islessgreater_test): Likewise.
11793         (isnan_test): Likewise.
11794         (isnormal_test): Likewise.
11795         (issignaling_test): Likewise.
11796         (isunordered_test): Likewise.
11797         (j0_test): Likewise.
11798         (j1_test): Likewise.
11799         (jn_test): Likewise.
11800         (ldexp_test): Likewise.
11801         (lgamma_test): Likewise.
11802         (lrint_test): Likewise.
11803         (lrint_test_tonearest): Likewise.
11804         (lrint_test_towardzero): Likewise.
11805         (lrint_test_downward): Likewise.
11806         (lrint_test_upward): Likewise.
11807         (llrint_test): Likewise.
11808         (llrint_test_tonearest): Likewise.
11809         (llrint_test_towardzero): Likewise.
11810         (llrint_test_downward): Likewise.
11811         (llrint_test_upward): Likewise.
11812         (log_test): Likewise.
11813         (log10_test): Likewise.
11814         (log1p_test): Likewise.
11815         (log2_test): Likewise.
11816         (logb_test): Likewise.
11817         (logb_test_downward): Likewise.
11818         (lround_test): Likewise.
11819         (llround_test): Likewise.
11820         (modf_test): Likewise.
11821         (nearbyint_test): Likewise.
11822         (nextafter_test): Likewise.
11823         (nexttoward_test): Likewise.
11824         (pow_test): Likewise.
11825         (pow_test_tonearest): Likewise.
11826         (pow_test_towardzero): Likewise.
11827         (pow_test_downward): Likewise.
11828         (pow_test_upward): Likewise.
11829         (remainder_test): Likewise.
11830         (remainder_test_tonearest): Likewise.
11831         (remainder_test_towardzero): Likewise.
11832         (remainder_test_downward): Likewise.
11833         (remainder_test_upward): Likewise.
11834         (remquo_test): Likewise.
11835         (rint_test): Likewise.
11836         (rint_test_tonearest): Likewise.
11837         (rint_test_towardzero): Likewise.
11838         (rint_test_downward): Likewise.
11839         (rint_test_upward): Likewise.
11840         (round_test): Likewise.
11841         (scalb_test): Likewise.
11842         (scalbn_test): Likewise.
11843         (scalbln_test): Likewise.
11844         (signbit_test): Likewise.
11845         (sin_test): Likewise.
11846         (sin_test_tonearest): Likewise.
11847         (sin_test_towardzero): Likewise.
11848         (sin_test_downward): Likewise.
11849         (sin_test_upward): Likewise.
11850         (sincos_test): Likewise.
11851         (sinh_test): Likewise.
11852         (sinh_test_tonearest): Likewise.
11853         (sinh_test_towardzero): Likewise.
11854         (sinh_test_downward): Likewise.
11855         (sinh_test_upward): Likewise.
11856         (sqrt_test): Likewise.
11857         (tan_test): Likewise.
11858         (tan_test_tonearest): Likewise.
11859         (tan_test_towardzero): Likewise.
11860         (tan_test_downward): Likewise.
11861         (tan_test_upward): Likewise.
11862         (tanh_test): Likewise.
11863         (tgamma_test): Likewise.
11864         (trunc_test): Likewise.
11865         (y0_test): Likewise.
11866         (y1_test): Likewise.
11867         (yn_test): Likewise.
11868         (significand_test): Likewise.
11870 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
11872         [BZ #15381]
11873         * libio/genops.c (_IO_no_init): Initialize wide struct info.
11875 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
11877         [BZ #14894]
11878         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11879         __ppc_mdoio and __ppc_mdoom.
11880         * manual/platform.texi: Document new functions __ppc_yield,
11881         __ppc_mdoio and __ppc_mdoom.
11883 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
11885         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11886         (main): Mention "tls" pseudo-hwcap is legacy.
11887         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11889 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11891         * math/gen-libm-test.pl (parse_args): Output only string of
11892         arguments as text for test name, not full call or descriptions of
11893         tests for extra outputs.
11894         (generate_testfile): Do not pass function name to parse_args.
11895         Generate this_func variable from START.
11896         * math/libm-test.inc (struct test_f_f_data): Rename test_name
11897         field to arg_str.
11898         (struct test_ff_f_data): Likewise.
11899         (test_ff_f_data_nexttoward): Likewise.
11900         (struct test_fi_f_data): Likewise.
11901         (struct test_fl_f_data): Likewise.
11902         (struct test_if_f_data): Likewise.
11903         (struct test_fff_f_data): Likewise.
11904         (struct test_c_f_data): Likewise.
11905         (struct test_f_f1_data): Likewise.  Remove field extra_name.
11906         (struct test_fF_f1_data): Likewise.
11907         (struct test_ffI_f1_data): Likewise.
11908         (struct test_c_c_data): Rename test_name field to arg_str.
11909         (struct test_cc_c_data): Likewise.
11910         (struct test_f_i_data): Likewise.
11911         (struct test_ff_i_data): Likewise.
11912         (struct test_f_l_data): Likewise.
11913         (struct test_f_L_data): Likewise.
11914         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
11915         and extra2_name.
11916         (COMMON_TEST_SETUP): New macro.
11917         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11918         (COMMON_TEST_CLEANUP): Likewise.
11919         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11920         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
11921         macros.
11922         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11923         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
11924         macros.
11925         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11926         (RUN_TEST_fff_f): Take argument string.  Call new setup and
11927         cleanup macros.
11928         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11929         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
11930         macros.
11931         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11932         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
11933         macros.
11934         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11935         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
11936         cleanup macros.
11937         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11938         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
11939         cleanup macros.
11940         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11941         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
11942         cleanup macros.
11943         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11944         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
11945         macros.
11946         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11947         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
11948         macros.
11949         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11950         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
11951         macros.
11952         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11953         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
11954         cleanup macros.
11955         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11956         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
11957         cleanup macros.
11958         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11959         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
11960         macros.
11961         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11962         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
11963         cleanup macros.
11964         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11965         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
11966         macros.
11967         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
11968         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
11969         macros.
11970         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
11971         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
11972         cleanup macros.
11973         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
11975 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
11977         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
11978         to _sifields.sigfault.
11979         (si_addr_lsb): Define new macro.
11980         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11981         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11982         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
11984 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
11986         [BZ #15441]
11987         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
11988         returns -1.
11989         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
11990         null return -1.
11991         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
11992         loading the domain.
11994 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11996         * math/gen-libm-test.pl (parse_args): Do not include expected
11997         result in test name.
11998         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
11999         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12000         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12001         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12002         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12005 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12007         * benchtests/Makefile: Sort function entries.
12009         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12010         tanh, asinh, acosh, atanh.
12011         * benchtests/acos-inputs: New file.
12012         * benchtests/acosh-inputs: New file.
12013         * benchtests/asin-inputs: New file.
12014         * benchtests/asinh-inputs: New file.
12015         * benchtests/atanh-inputs: New file.
12016         * benchtests/cosh-inputs: New file.
12017         * benchtests/log-inputs: New file.
12018         * benchtests/sinh-inputs: New file.
12019         * benchtests/tanh-inputs: New file.
12021 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
12023         [BZ #15339]
12024         * posix/tst-getaddrinfo4.c: New test.
12025         * posix/Makefile (tests): Add it.
12027 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12029         [BZ #15339]
12030         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12031         when no services were used.
12032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12033         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12035 2013-05-21  Andreas Schwab  <schwab@suse.de>
12037         [BZ #15014]
12038         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12039         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12040         successful.
12041         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12042         redundant variable declarations and reallocation of buffer when
12043         parsing as IPv6 address.  Always set NSS status when called from
12044         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
12045         buffer too small.  Correct computation of needed size.
12046         * nss/Makefile (tests): Add test-digits-dots.
12047         * nss/test-digits-dots.c: New test.
12049 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12051         * benchtests/Makefile: Remove instructions for adding
12052         benchmark tests.
12053         * benchtests/README: New file to explain how to execute and
12054         enhance the benchmark tests.
12056 2013-05-21  Andreas Schwab  <schwab@suse.de>
12058         [BZ #15493]
12059         * setjmp/Makefile (tests): Add tst-sigsetjmp.
12060         * setjmp/tst-sigsetjmp.c: New test.
12062 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12064         * sysdeps/x86_64/memset.S (memset): New implementation.
12065         (__bzero): Likewise.
12066         (__memset_tail): New function.
12068 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12070         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12071         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12072         __memcpy_sse2_unaligned ifunc selection.
12073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12074         Add memcpy-sse2-unaligned.S.
12075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12076         Add: __memcpy_sse2_unaligned.
12078 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
12080         [BZ #15490]
12081         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12082         math_force_eval before restoring floating-point envrionment.
12083         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12084         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12085         Likewise.
12086         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12087         <math_private.h>.
12088         (__nearbyintl): Use math_force_eval before restoring
12089         floating-point environment.
12090         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12092         * math/gen-libm-test.pl (special_functions): Remove.
12093         (parse_args): Don't handle TEST_extra.  Handle functions with no
12094         return value.
12095         * math/libm-test.inc (struct test_sincos_data): Replace with
12096         struct test_fFF_11_data.
12097         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12098         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12099         (sincos_test_data): Change element type to struct
12100         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
12101         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12102         RUN_TEST_LOOP_sincos.
12103         * math/README.libm-test: Don't mention special handling of
12104         individual functions.
12105         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12106         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12107         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12108         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12109         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12112         * math/gen-libm-test.pl (get_variable): Remove function.
12113         (parse_args): Don't show pointer parameters to call in test
12114         names.  Use "extra output N" in test names for extra outputs
12115         rather than naming variables.
12117 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
12119         [BZ #15488]
12120         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12121         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12122         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12123         double tests.
12124         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12125         disable.
12126         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12127         check_long_double.
12129         * math/gen-libm-test.pl (@tests): Remove variable.
12130         ($count): Likewise.
12131         (new_test): Remove function.
12132         (show_exceptions): New function.
12133         (special_functions): Use show_exceptions instead of new_test.
12134         (parse_args): Likewise.
12135         (generate_testfile): Pass only function name in generated call to
12136         print_max_error or print_complex_max_error.
12137         (get_ulps): Do not handle complex tests specially.
12138         (output_test): Rename to ...
12139         (get_all_ulps_for_test): ... this.  Return a string rather than
12140         printing to a file.  Require ulps to be present.
12141         (output_ulps): Generate arrays rather than #defines.
12142         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12143         (struct ulp_data): New type.
12144         (BUILD_COMPLEX_ULP): Remove macro.
12145         (compare_ulp_data): New function.
12146         (find_ulps): Likewise.
12147         (find_test_ulps): Likewise.
12148         (find_function_ulps): Likewise.
12149         (find_complex_function_ulps): Likewise.
12150         (print_max_error): Determine allowed ulps using
12151         find_function_ulps.
12152         (print_complex_max_error): Determine allowed ulps using
12153         find_complex_function_ulps.
12154         (check_float_internal): Determine max ulps using find_test_ulps.
12155         (check_float): Do not take max_ulp parameter.  Update call to
12156         check_float_internal.
12157         (check_complex): Likewise.
12158         (check_int): Do not take max_ulp parameter.
12159         (check_long): Likewise.
12160         (check_bool): Likewise.
12161         (check_longlong): Likewise.
12162         (struct test_f_f_data): Remove max_ulp field.
12163         (struct test_ff_f_data): Likewise.
12164         (struct test_ff_f_data_nexttoward): Likewise.
12165         (struct test_fi_f_data): Likewise.
12166         (struct test_fl_f_data): Likewise.
12167         (struct test_if_f_data): Likewise.
12168         (struct test_fff_f_data): Likewise.
12169         (struct test_c_f_data): Likewise.
12170         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12171         (struct test_fF_f1_data): Likewise.
12172         (struct test_ffI_f1_data): Likewise.
12173         (struct test_c_c_data): Remove max_ulp field.
12174         (struct test_cc_c_data): Likewise.
12175         (struct test_f_i_data): Likewise.
12176         (struct test_ff_i_data): Likewise.
12177         (struct test_f_l_data): Likewise.
12178         (struct test_f_L_data): Likewise.
12179         (struct test_sincos_data): Likewise.
12180         (RUN_TEST_f_f): Do not handle ulps.
12181         (RUN_TEST_LOOP_f_f): Likewise.
12182         (RUN_TEST_2_f): Likewise.
12183         (RUN_TEST_LOOP_2_f): Likewise.
12184         (RUN_TEST_fff_f): Likewise.
12185         (RUN_TEST_LOOP_fff_f): Likewise.
12186         (RUN_TEST_c_f): Likewise.
12187         (RUN_TEST_LOOP_c_f): Likewise.
12188         (RUN_TEST_f_f1): Likewise.
12189         (RUN_TEST_LOOP_f_f1): Likewise.
12190         (RUN_TEST_fF_f1): Likewise.
12191         (RUN_TEST_LOOP_fF_f1): Likewise.
12192         (RUN_TEST_fI_f1): Likewise.
12193         (RUN_TEST_LOOP_fI_f1): Likewise.
12194         (RUN_TEST_ffI_f1): Likewise.
12195         (RUN_TEST_LOOP_ffI_f1): Likewise.
12196         (RUN_TEST_c_c): Likewise.
12197         (RUN_TEST_LOOP_c_c): Likewise.
12198         (RUN_TEST_cc_c): Likewise.
12199         (RUN_TEST_LOOP_cc_c): Likewise.
12200         (RUN_TEST_f_i): Likewise.
12201         (RUN_TEST_LOOP_f_i): Likewise.
12202         (RUN_TEST_f_i_tg): Likewise.
12203         (RUN_TEST_LOOP_f_i_tg): Likewise.
12204         (RUN_TEST_ff_i_tg): Likewise.
12205         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12206         (RUN_TEST_f_b): Likewise.
12207         (RUN_TEST_LOOP_f_b): Likewise.
12208         (RUN_TEST_f_b_tg): Likewise.
12209         (RUN_TEST_LOOP_f_b_tg): Likewise.
12210         (RUN_TEST_f_l): Likewise.
12211         (RUN_TEST_LOOP_f_l): Likewise.
12212         (RUN_TEST_f_L): Likewise.
12213         (RUN_TEST_LOOP_f_L): Likewise.
12214         (RUN_TEST_sincos): Likewise.
12215         (RUN_TEST_LOOP_sincos): Likewise.
12217 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
12219         [BZ #15480]
12220         [BZ #15485]
12221         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12222         main case of finite arguments, set rounding mode to FE_TONEAREST
12223         and discard exceptions.
12224         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12225         exceptions.
12226         (remainder_tonearest_test_data): New variable.
12227         (remainder_test_tonearest): New function.
12228         (remainder_towardzero_test_data): New variable.
12229         (remainder_test_towardzero): New function.
12230         (remainder_downward_test_data): New variable.
12231         (remainder_test_downward): New function.
12232         (remainder_upward_test_data): New variable.
12233         (remainder_test_upward): New function.
12234         (main): Call the new test functions.
12236         * math/libm-test.inc (struct test_f_f1_data): Remove field
12237         extra_init.
12238         (struct test_fF_f1_data): Likewise.
12239         (struct test_ffI_f1_data): Likewise.
12240         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
12241         based on value of EXTRA_EXPECTED.
12242         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12243         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
12244         EXTRA_VAR based on value of EXTRA_EXPECTED.
12245         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12246         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
12247         EXTRA_VAR based on value of EXTRA_EXPECTED.
12248         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12249         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
12250         EXTRA_VAR based on value of EXTRA_EXPECTED.
12251         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12252         * math/gen-libm-test.pl (parse_args): Don't output initializers
12253         for extra output values.
12255         * math/libm-test.inc (check_int): Expect result to be exactly
12256         equal to expected value and do not handle ulps.
12257         (check_long): Likewise.
12258         (check_longlong): Likewise.
12260         * math/libm-test.inc (ceil_test_data): Test for "inexact"
12261         exceptions.
12262         (cimag_test_data): Likewise.
12263         (conj_test_data): Likewise.
12264         (copysign_test_data): Likewise.
12265         (cproj_test_data): Likewise.
12266         (creal_test_data): Likewise.
12267         (fabs_test_data): Likewise.
12268         (fdim_test_data): Likewise.
12269         (finite_test_data): Likewise.
12270         (floor_test_data): Likewise.
12271         (fmax_test_data): Likewise.
12272         (fmin_test_data): Likewise.
12273         (fmod_test_data): Likewise.
12274         (fpclassify_test_data): Likewise.
12275         (frexp_test_data): Likewise.
12276         (ilogb_test_data): Likewise.
12277         (isfinite_test_data): Likewise.
12278         (isgreater_test_data): Likewise.
12279         (isgreaterequal_test_data): Likewise.
12280         (isinf_test_data): Likewise.
12281         (isless_test_data): Likewise.
12282         (islessequal_test_data): Likewise.
12283         (islessgreater_test_data): Likewise.
12284         (isnan_test_data): Likewise.
12285         (isnormal_test_data): Likewise.
12286         (issignaling_test_data): Likewise.
12287         (isunordered_test_data): Likewise.
12288         (ldexp_test_data): Likewise.
12289         (lrint_test_data): Likewise.
12290         (lrint_test_data) [TEST_FLOAT]: Disable one test.
12291         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12292         (lrint_tonearest_test_data): Test for "inexact" exceptions.
12293         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12294         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12295         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12296         test input.
12297         (lrint_towardzero_test_data): Test for "inexact" exceptions.
12298         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12299         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12300         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12301         that test input.
12302         (lrint_downward_test_data): Test for "inexact" exceptions.
12303         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12304         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12305         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12306         test input.
12307         (lrint_upward_test_data): Test for "inexact" exceptions.
12308         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12309         test input.
12310         (llrint_test_data): Test for "inexact" exceptions.
12311         (llrint_test_data) [TEST_FLOAT]: Disable one test.
12312         (llrint_tonearest_test_data): Test for "inexact" exceptions.
12313         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12314         (llrint_towardzero_test_data): Test for "inexact" exceptions.
12315         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12316         (llrint_downward_test_data): Test for "inexact" exceptions.
12317         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12318         (llrint_upward_test_data): Test for "inexact" exceptions.
12319         (logb_test_data): Likewise.
12320         (logb_downward_test_data): Likewise.
12321         (nextafter_test_data): Likewise.
12322         (nexttoward_test_data): Likewise.
12323         (remainder_test_data): Likewise.
12324         (remquo_test_data): Likewise.
12325         (scalbn_test_data): Likewise.
12326         (scalbln_test_data): Likewise.
12327         (signbit_test_data): Likewise.
12328         (sqrt_test_data): Likewise.
12329         (significand_test_data): Likewise.
12331 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12333         [BZ #15424]
12334         * benchtests/bench-modf.c (struct args): Mark arg0 as
12335         volatile.
12336         * scripts/bench.pl: Mark members of struct args as volatile.
12338 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12340         [BZ # 15497]
12341         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12342         negative infinity on POWER6 or lower.
12343         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12345 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12347         [BZ #15442]
12348         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12349         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12350         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12351         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12352         (_FP_SETQNAN): New macro.
12353         (_FP_SETQNAN_SEMIRAW): Likewise.
12354         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12355         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12356         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12357         (FP_EXTEND): Use _FP_FRAC_SNANP.
12358         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12359         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12360         into account.
12361         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12362         New macro.
12363         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12364         Likewise.
12366 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12368         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12369         with DIVIDE_BY_ZERO_EXCEPTION.
12370         (gamma_test_data): Likewise.
12371         (lgamma_test_data): Likewise.
12372         (log_test_data): Likewise.
12373         (log10_test_data): Likewise.
12374         (log2_test_data): Likewise.
12375         (tgamma_test_data): Likewise.
12377         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12378         (acos_test_tonearest): Likewise.
12379         (acos_test_towardzero): Likewise.
12380         (acos_test_downward): Likewise.
12381         (acos_test_upward): Likewise.
12382         (acosh_test): Likewise.
12383         (asin_test): Likewise.
12384         (asin_test_tonearest): Likewise.
12385         (asin_test_towardzero): Likewise.
12386         (asin_test_downward): Likewise.
12387         (asin_test_upward): Likewise.
12388         (asinh_test): Likewise.
12389         (atan_test): Likewise.
12390         (atanh_test): Likewise.
12391         (atan2_test): Likewise.
12392         (cabs_test): Likewise.
12393         (cacos_test): Likewise.
12394         (cacosh_test): Likewise.
12395         (casin_test): Likewise.
12396         (casinh_test): Likewise.
12397         (catan_test): Likewise.
12398         (catanh_test): Likewise.
12399         (cbrt_test): Likewise.
12400         (ccos_test): Likewise.
12401         (ccosh_test): Likewise.
12402         (cexp_test): Likewise.
12403         (clog_test): Likewise.
12404         (clog10_test): Likewise.
12405         (cos_test): Likewise.
12406         (cos_test_tonearest): Likewise.
12407         (cos_test_towardzero): Likewise.
12408         (cos_test_downward): Likewise.
12409         (cos_test_upward): Likewise.
12410         (cosh_test): Likewise.
12411         (cosh_test_tonearest): Likewise.
12412         (cosh_test_towardzero): Likewise.
12413         (cosh_test_downward): Likewise.
12414         (cosh_test_upward): Likewise.
12415         (cpow_test): Likewise.
12416         (csin_test): Likewise.
12417         (csinh_test): Likewise.
12418         (csqrt_test): Likewise.
12419         (ctan_test): Likewise.
12420         (ctan_test_tonearest): Likewise.
12421         (ctan_test_towardzero): Likewise.
12422         (ctan_test_downward): Likewise.
12423         (ctan_test_upward): Likewise.
12424         (ctanh_test): Likewise.
12425         (ctanh_test_tonearest): Likewise.
12426         (ctanh_test_towardzero): Likewise.
12427         (ctanh_test_downward): Likewise.
12428         (ctanh_test_upward): Likewise.
12429         (erf_test): Likewise.
12430         (erfc_test): Likewise.
12431         (exp_test): Likewise.
12432         (exp_test_tonearest): Likewise.
12433         (exp_test_towardzero): Likewise.
12434         (exp_test_downward): Likewise.
12435         (exp_test_upward): Likewise.
12436         (exp10_test): Likewise.
12437         (exp2_test): Likewise.
12438         (expm1_test): Likewise.
12439         (fmod_test): Likewise.
12440         (gamma_test): Likewise.
12441         (hypot_test): Likewise.
12442         (j0_test): Likewise.
12443         (j1_test): Likewise.
12444         (jn_test): Likewise.
12445         (lgamma_test): Likewise.
12446         (log_test): Likewise.
12447         (log10_test): Likewise.
12448         (log1p_test): Likewise.
12449         (log2_test): Likewise.
12450         (logb_test_downward): Likewise.
12451         (pow_test): Likewise.
12452         (pow_test_tonearest): Likewise.
12453         (pow_test_towardzero): Likewise.
12454         (pow_test_downward): Likewise.
12455         (pow_test_upward): Likewise.
12456         (remainder_test): Likewise.
12457         (remquo_test): Likewise.
12458         (sin_test): Likewise.
12459         (sin_test_tonearest): Likewise.
12460         (sin_test_towardzero): Likewise.
12461         (sin_test_downward): Likewise.
12462         (sin_test_upward): Likewise.
12463         (sincos_test): Likewise.
12464         (sinh_test): Likewise.
12465         (sinh_test_tonearest): Likewise.
12466         (sinh_test_towardzero): Likewise.
12467         (sinh_test_downward): Likewise.
12468         (sinh_test_upward): Likewise.
12469         (sqrt_test): Likewise.
12470         (tan_test): Likewise.
12471         (tan_test_tonearest): Likewise.
12472         (tan_test_towardzero): Likewise.
12473         (tan_test_downward): Likewise.
12474         (tan_test_upward): Likewise.
12475         (tanh_test): Likewise.
12476         (tgamma_test): Likewise.
12477         (y0_test): Likewise.
12478         (y1_test): Likewise.
12479         (yn_test): Likewise.
12481         * math/gen-libm-test.pl (adjust_arg): Remove function.
12482         (special_function): Remove argument $in_func.  Only handle
12483         generating output for tables of tests, not inside functions.
12484         (parse_args): Likewise.
12485         (generate_testfile): Remove variable $in_func.  Update call to
12486         parse_args.
12487         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12488         (MINUS_ZERO_INIT): Rename macro to minus_zero.
12489         (PLUS_INFTY_INIT): Rename macro to plus_infty.
12490         (MINUS_INFTY_INIT): Rename macro to minus_infty.
12491         (QNAN_VALUE_INIT): Rename macro to qnan_value.
12492         (MAX_VALUE_INIT): Rename macro to max_value.
12493         (MIN_VALUE_INIT): Rename macro to min_value.
12494         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12495         (plus_zero): Remove variable.
12496         (minus_zero): Likewise.
12497         (plus_infty): Likewise.
12498         (minus_infty): Likewise.
12499         (qnan_value): Likewise.
12500         (max_value): Likewise.
12501         (min_value): Likewise.
12502         (min_subnorm_value): Likewise.
12504 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12506         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12507         uint64_t or uint32_t usage.
12508         * crypt/sha256-block.c: Likewise.
12509         * crypt/sha256-crypt.c: Likewise.
12510         * crypt/sha256.c: Likewise.
12511         * crypt/sha512-block.c: Likewise.
12512         * crypt/sha512-crypt.c: Likewise.
12513         * crypt/sha512.c: Likewise.
12514         * debug/backtrace-tst.c: Likewise.
12515         * debug/pcprofiledump.c: Likewise.
12516         * elf/cache.c: Likewise.
12517         * elf/dl-cache.c: Likewise.
12518         * elf/dl-misc.c: Likewise.
12519         * elf/dl-profile.c: Likewise.
12520         * elf/dl-support.c: Likewise.
12521         * elf/ldconfig.c: Likewise.
12522         * elf/sprof.c: Likewise.
12523         * iconv/dummy-repertoire.c: Likewise.
12524         * iconv/iconv_charmap.c: Likewise.
12525         * iconv/skeleton.c: Likewise.
12526         * iconvdata/8bit-generic.c: Likewise.
12527         * iconvdata/cp737.h: Likewise.
12528         * iconvdata/cp775.h: Likewise.
12529         * iconvdata/ibm1008.h: Likewise.
12530         * iconvdata/ibm1025.h: Likewise.
12531         * iconvdata/ibm1046.h: Likewise.
12532         * iconvdata/ibm1097.h: Likewise.
12533         * iconvdata/ibm1112.h: Likewise.
12534         * iconvdata/ibm1122.h: Likewise.
12535         * iconvdata/ibm1123.h: Likewise.
12536         * iconvdata/ibm1124.h: Likewise.
12537         * iconvdata/ibm1129.h: Likewise.
12538         * iconvdata/ibm1130.h: Likewise.
12539         * iconvdata/ibm1132.h: Likewise.
12540         * iconvdata/ibm1133.h: Likewise.
12541         * iconvdata/ibm1137.h: Likewise.
12542         * iconvdata/ibm1140.h: Likewise.
12543         * iconvdata/ibm1141.h: Likewise.
12544         * iconvdata/ibm1142.h: Likewise.
12545         * iconvdata/ibm1143.h: Likewise.
12546         * iconvdata/ibm1144.h: Likewise.
12547         * iconvdata/ibm1145.h: Likewise.
12548         * iconvdata/ibm1146.h: Likewise.
12549         * iconvdata/ibm1147.h: Likewise.
12550         * iconvdata/ibm1148.h: Likewise.
12551         * iconvdata/ibm1149.h: Likewise.
12552         * iconvdata/ibm1153.h: Likewise.
12553         * iconvdata/ibm1154.h: Likewise.
12554         * iconvdata/ibm1155.h: Likewise.
12555         * iconvdata/ibm1156.h: Likewise.
12556         * iconvdata/ibm1157.h: Likewise.
12557         * iconvdata/ibm1158.h: Likewise.
12558         * iconvdata/ibm1160.h: Likewise.
12559         * iconvdata/ibm1161.h: Likewise.
12560         * iconvdata/ibm1162.h: Likewise.
12561         * iconvdata/ibm1163.h: Likewise.
12562         * iconvdata/ibm1164.h: Likewise.
12563         * iconvdata/ibm1166.h: Likewise.
12564         * iconvdata/ibm1167.h: Likewise.
12565         * iconvdata/ibm12712.h: Likewise.
12566         * iconvdata/ibm1390.h: Likewise.
12567         * iconvdata/ibm1399.h: Likewise.
12568         * iconvdata/ibm16804.h: Likewise.
12569         * iconvdata/ibm4517.h: Likewise.
12570         * iconvdata/ibm4899.h: Likewise.
12571         * iconvdata/ibm4909.h: Likewise.
12572         * iconvdata/ibm4971.h: Likewise.
12573         * iconvdata/ibm5347.h: Likewise.
12574         * iconvdata/ibm803.h: Likewise.
12575         * iconvdata/ibm856.h: Likewise.
12576         * iconvdata/ibm901.h: Likewise.
12577         * iconvdata/ibm902.h: Likewise.
12578         * iconvdata/ibm9030.h: Likewise.
12579         * iconvdata/ibm9066.h: Likewise.
12580         * iconvdata/ibm921.h: Likewise.
12581         * iconvdata/ibm922.h: Likewise.
12582         * iconvdata/ibm9448.h: Likewise.
12583         * iconvdata/isiri-3342.h: Likewise.
12584         * iconvdata/jis0201.h: Likewise.
12585         * include/link.h: Likewise.
12586         * include/netdb.h: Likewise.
12587         * inet/check_native.c: Likewise.
12588         * inet/check_pf.c: Likewise.
12589         * inet/getipv4sourcefilter.c: Likewise.
12590         * inet/getnameinfo.c: Likewise.
12591         * inet/getsourcefilter.c: Likewise.
12592         * inet/htonl.c: Likewise.
12593         * inet/setipv4sourcefilter.c: Likewise.
12594         * inet/setsourcefilter.c: Likewise.
12595         * inet/test-inet6_opt.c: Likewise.
12596         * inet/tst-network.c: Likewise.
12597         * locale/C-collate.c: Likewise.
12598         * locale/C-ctype.c: Likewise.
12599         * locale/C-time.c: Likewise.
12600         * locale/C-translit.h: Likewise.
12601         * locale/loadarchive.c: Likewise.
12602         * locale/programs/3level.h: Likewise.
12603         * locale/programs/charmap.c: Likewise.
12604         * locale/programs/charmap.h: Likewise.
12605         * locale/programs/ld-address.c: Likewise.
12606         * locale/programs/ld-collate.c: Likewise.
12607         * locale/programs/ld-ctype.c: Likewise.
12608         * locale/programs/ld-identification.c: Likewise.
12609         * locale/programs/ld-measurement.c: Likewise.
12610         * locale/programs/ld-messages.c: Likewise.
12611         * locale/programs/ld-monetary.c: Likewise.
12612         * locale/programs/ld-name.c: Likewise.
12613         * locale/programs/ld-numeric.c: Likewise.
12614         * locale/programs/ld-paper.c: Likewise.
12615         * locale/programs/ld-telephone.c: Likewise.
12616         * locale/programs/ld-time.c: Likewise.
12617         * locale/programs/linereader.c: Likewise.
12618         * locale/programs/locale.c: Likewise.
12619         * locale/programs/locarchive.c: Likewise.
12620         * locale/programs/locfile.h: Likewise.
12621         * locale/programs/repertoire.c: Likewise.
12622         * locale/programs/simple-hash.c: Likewise.
12623         * locale/programs/simple-hash.h: Likewise.
12624         * malloc/memusage.c: Likewise.
12625         * malloc/memusagestat.c: Likewise.
12626         * nis/nis_defaults.c: Likewise.
12627         * nis/nis_hash.c: Likewise.
12628         * nis/nis_print.c: Likewise.
12629         * nis/nis_xdr.c: Likewise.
12630         * nscd/connections.c: Likewise.
12631         * nscd/hstcache.c: Likewise.
12632         * nscd/nscd_gethst_r.c: Likewise.
12633         * nscd/nscd_getserv_r.c: Likewise.
12634         * nscd/nscd_helper.c: Likewise.
12635         * nscd/servicescache.c: Likewise.
12636         * nss/makedb.c: Likewise.
12637         * nss/nss_db/db-XXX.c: Likewise.
12638         * nss/nss_db/db-initgroups.c: Likewise.
12639         * nss/nss_db/db-netgrp.c: Likewise.
12640         * nss/nss_files/files-network.c: Likewise.
12641         * nss/nss_files/files-parse.c: Likewise.
12642         * posix/bug-regex5.c: Likewise.
12643         * posix/fnmatch_loop.c: Likewise.
12644         * posix/regcomp.c: Likewise.
12645         * posix/regexec.c: Likewise.
12646         * posix/tst-rfc3484-2.c: Likewise.
12647         * posix/tst-rfc3484-3.c: Likewise.
12648         * posix/tst-rfc3484.c: Likewise.
12649         * resolv/nss_dns/dns-canon.c: Likewise.
12650         * resolv/nss_dns/dns-network.c: Likewise.
12651         * resolv/res_init.c: Likewise.
12652         * resolv/res_mkquery.c: Likewise.
12653         * resolv/tst-aton.c: Likewise.
12654         * stdlib/cxa_atexit.c: Likewise.
12655         * stdlib/cxa_finalize.c: Likewise.
12656         * stdlib/gen-fpioconst.c: Likewise.
12657         * stdlib/strtol_l.c: Likewise.
12658         * string/tst-endian.c: Likewise.
12659         * sunrpc/auth_des.c: Likewise.
12660         * sunrpc/clnt_udp.c: Likewise.
12661         * sunrpc/rtime.c: Likewise.
12662         * sunrpc/svcauth_des.c: Likewise.
12663         * sunrpc/xdr.c: Likewise.
12664         * sunrpc/xdr_intXX_t.c: Likewise.
12665         * sunrpc/xdr_rec.c: Likewise.
12666         * sysdeps/generic/ldconfig.h: Likewise.
12667         * sysdeps/generic/ldsodefs.h: Likewise.
12668         * sysdeps/generic/memusage.h: Likewise.
12669         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12670         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12671         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12672         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12673         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12674         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12675         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12676         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12677         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12679         * sysdeps/posix/getaddrinfo.c: Likewise.
12680         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12681         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12682         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12683         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12684         * sysdeps/powerpc/test-gettimebase.c: Likewise.
12685         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12686         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12687         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12688         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12689         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12690         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12691         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12692         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12693         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12694         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12695         * sysdeps/x86_64/dl-tls.h: Likewise.
12696         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12697         * time/alt_digit.c: Likewise.
12698         * time/era.c: Likewise.
12699         * wcsmbs/tst-c16c32-1.c: Likewise.
12701 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12703         * math/libm-test.inc (struct test_sincos_data): New type.
12704         (RUN_TEST_LOOP_sincos): New macro.
12705         (sincos_test_data): New variable.
12706         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12708 2013-05-16  Richard Henderson  <rth@redhat.com>
12710         * math/atest-exp2.c (LIMB64): New macro.
12711         (CONSTSZ): New macro.
12712         (mp_exp1, mp_exp_m1, mp_log2): New variables.
12713         (hexdig): Move ...
12714         (print_mpn_fp): ... to function scope.
12715         (read_mpn_hex): Remove.
12716         (get_log2): Remove.
12717         (exp2_mpn): Use mp_log2.
12718         (main): Use mp_exp1.
12720 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12722         * math/libm-test.inc: Remove comment about not testing "inexact"
12723         exceptions.
12724         (INEXACT_EXCEPTION): New macro.
12725         (NO_INEXACT_EXCEPTION): Likewise.
12726         (INVALID_EXCEPTION_OK): Update value.
12727         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12728         (OVERFLOW_EXCEPTION_OK): Likewise.
12729         (UNDERFLOW_EXCEPTION_OK): Likewise.
12730         (IGNORE_ZERO_INF_SIGN): Likewise.
12731         (ERRNO_UNCHANGED): Likewise.
12732         (ERRNO_EDOM): Likewise.
12733         (ERRNO_ERANGE): Likewise.
12734         (test_exceptions): Handle testing "inexact" exceptions.
12735         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12736         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12737         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12738         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12739         INEXACT_EXCEPTION.
12740         (rint_towardzero_test_data): Likewise.
12741         (rint_downward_test_data): Likewise.
12742         (rint_upward_test_data): Likewise.
12744         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12745         with OVERFLOW_EXCEPTION.
12746         (exp10_test_data): Likewise.
12747         (exp2_test_data): Likewise.
12748         (expm1_test_data): Likewise.
12749         (lgamma_test_data): Likewise.
12750         (pow_test_data): Likewise.
12751         (tgamma_test_data): Likewise.
12752         (yn_test_data): Remove duplicate test of overflow.
12754         * math/libm-test.inc (struct test_cc_c_data): New type.
12755         (RUN_TEST_LOOP_cc_c): New macro.
12756         (cpow_test_data): New variable.
12757         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12759         * math/libm-test.inc (struct test_f_L_data): New type.
12760         (RUN_TEST_LOOP_f_L): New macro.
12761         (llrint_test_data): New variable.
12762         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12763         (llrint_tonearest_test_data): New variable.
12764         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12765         (llrint_towardzero_test_data): New variable.
12766         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12767         (llrint_downward_test_data): New variable.
12768         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12769         (llrint_upward_test_data): New variable.
12770         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12771         (llround_test_data): New variable.
12772         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12774 2013-05-13  Peter Collingbourne  <pcc@google.com>
12776         * math/atest-exp2.c (get_log2): Remove const attribute.
12778 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12780         * math/libm-test.inc (struct test_f_l_data): New type.
12781         (RUN_TEST_LOOP_f_l): New macro.
12782         (lrint_test_data): New variable.
12783         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12784         (lrint_tonearest_test_data): New variable.
12785         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12786         (lrint_towardzero_test_data): New variable.
12787         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12788         (lrint_downward_test_data): New variable.
12789         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12790         (lrint_upward_test_data): New variable.
12791         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12792         (lround_test_data): New variable.
12793         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12795 2013-05-15  Peter Collingbourne  <pcc@google.com>
12797         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12798         (EXTRACT_WORDS64) Use where appropriate.
12799         (INSERT_WORDS64) Likewise.
12801         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12802         constraints with x constraints.
12803         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12805         * malloc/obstack.c (_obstack_compat): Add initializer.
12807 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12809         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12810         si_trapno and add si_addr_lsb to _sifields.sigfault.
12811         (si_trapno): Remove macro.
12812         (si_addr_lsb): Define new macro.
12813         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12815 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12817         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12818         instead of TEST_f_l.
12819         (llrint_test_tonearest): Likewise.
12820         (llrint_test_towardzero): Likewise.
12821         (llrint_test_downward): Likewise.
12822         (llrint_test_upward): Likewise.
12823         (llround_test): Likewise.
12825         * math/libm-test.inc (struct test_f_i_data): Add comment.
12826         (RUN_TEST_LOOP_f_b): New macro.
12827         (RUN_TEST_LOOP_f_b_tg): Likewise.
12828         (finite_test_data): New variable.
12829         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12830         (isfinite_test_data): New variable.
12831         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12832         (isinf_test_data): New variable.
12833         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12834         (isnan_test_data): New variable.
12835         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12836         (isnormal_test_data): New variable.
12837         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12838         (issignaling_test_data): New variable.
12839         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12840         (signbit_test_data): New variable.
12841         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12843         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12844         with INVALID_EXCEPTION.
12845         (acosh_test_data): Likewise.
12846         (asin_test_data): Likewise.
12847         (atanh_test_data): Likewise.
12848         (fmod_test_data): Likewise.
12849         (log_test_data): Likewise.
12850         (log10_test_data): Likewise.
12851         (log2_test_data): Likewise.
12852         (pow_test_data): Likewise.
12853         (sqrt_test_data): Likewise.
12854         (y0_test_data): Likewise.
12855         (y1_test_data): Likewise.
12856         (yn_test_data): Likewise.
12858         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12859         function contents.
12861         * math/libm-test.inc (struct test_ff_i_data): New type.
12862         (RUN_TEST_LOOP_ff_i_tg): New macro.
12863         (isgreater_test_data): New variable.
12864         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12865         (isgreaterequal_test_data): New variable.
12866         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12867         (isless_test_data): New variable.
12868         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12869         (islessequal_test_data): New variable.
12870         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12871         (islessgreater_test_data): New variable.
12872         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12873         (isunordered_test_data): New variable.
12874         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12876 2013-05-14  David S. Miller  <davem@davemloft.net>
12878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12880 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
12882         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12884         * math/libm-test.inc (struct test_fF_f1_data): Change type of
12885         extra_test to int.
12886         (struct test_f_i_data): Change type of max_ulp to int.
12888         * math/libm-test.inc (test_ffI_f1_data): New type.
12889         (RUN_TEST_LOOP_ffI_f1): New macro.
12890         (remquo_test_data): New variable.
12891         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12893         * setjmp/tst-setjmp-fp.c: New file.
12894         * setjmp/Makefile (tests): Add tst-setjmp-fp.
12895         (link-libm): New variable.
12896         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12898         * math/libm-test.inc (struct test_f_i_data): New type.
12899         (RUN_TEST_LOOP_f_i): New macro.
12900         (RUN_TEST_LOOP_f_i_tg): Likewise.
12901         (fpclassify_test_data): New variable.
12902         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12903         (ilogb_test_data): New variable.
12904         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12906         * math/libm-test.inc (scalbln_test): Correct function name in END
12907         call.
12909         * math/libm-test.inc (struct test_f_f1_data): Add comment.
12910         (RUN_TEST_LOOP_fI_f1): New macro.
12911         (frexp_test_data): New variable.
12912         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12914         * math/libm-test.inc (struct test_fF_f1_data): New type.
12915         (RUN_TEST_LOOP_fF_f1): New macro.
12916         (modf_test_data): New variable.
12917         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12919         * math/libm-test.inc (struct test_f_f1_data): New type.
12920         (RUN_TEST_LOOP_f_f1): New macro.
12921         (gamma_test_data): New variable.
12922         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12923         (lgamma_test_data): New variable.
12924         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12926 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
12928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12929         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12930         (main): Comment "tls" pseudo-hwcap.
12932 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
12934         * math/libm-test.inc (struct test_fl_f_data): New type.
12935         (RUN_TEST_LOOP_fl_f): New variable.
12936         (scalbln_test_data): New variable.
12937         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12939         * math/libm-test.inc (struct test_fi_f_data): New type.
12940         (RUN_TEST_LOOP_fi_f): New macro.
12941         (ldexp_test_data): New variable.
12942         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12943         (scalbn_test_data): New variable.
12944         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12946         * math/libm-test.inc (struct test_c_f_data): New type.
12947         (RUN_TEST_LOOP_c_f): New macro.
12948         (cabs_test_data): New variable.
12949         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12950         (carg_test_data): New variable.
12951         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12952         (cimag_test_data): New variable.
12953         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12954         (creal_test_data): New variable.
12955         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12957         * math/libm-test.inc (struct test_if_f_data): New type.
12958         (RUN_TEST_LOOP_if_f): New macro.
12959         (jn_test_data): New variable.
12960         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12961         (yn_test_data): New variable.
12962         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12964         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
12966 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12968         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
12969         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
12971 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12973         * benchtests/Makefile (CPPFLAGS-nonlib): Add
12974         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
12975         (bench-deps): Add bench-timing.h.
12976         * benchtests-bench-skeleton.c: Include bench-timing.h.
12977         (main): Use TIMING_* macros instead of clock_gettime.
12978         * benchtests/bench-timing.h: New file.
12980         [BZ #14582]
12981         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
12982         Renamed from _LIB_VERSION.
12983         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
12985 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
12987         * math/libm-test.inc (struct test_fff_f_data): New type.
12988         (RUN_TEST_LOOP_fff_f): New macro.
12989         (fma_test_data): New variable.
12990         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
12991         (fma_towardzero_test_data): New variable.
12992         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
12993         (fma_downward_test_data): New variable.
12994         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
12995         (fma_upward_test_data): New variable.
12996         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
12998         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
12999         (struct test_c_c_data): New type.
13000         (RUN_TEST_LOOP_c_c): New macro.
13001         (cacos_test_data): New variable.
13002         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13003         (cacosh_test_data): New variable.
13004         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13005         (casin_test_data): New variable.
13006         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13007         (casinh_test_data): New variable.
13008         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13009         (catan_test_data): New variable.
13010         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13011         (catanh_test_data): New variable.
13012         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13013         (ccos_test_data): New variable.
13014         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13015         (ccosh_test_data): New variable.
13016         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13017         (cexp_test_data): New variable.
13018         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13019         (clog_test_data): New variable.
13020         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13021         (clog10_test_data): New variable.
13022         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13023         (conj_test_data): New variable.
13024         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13025         (cproj_test_data): New variable.
13026         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13027         (csin_test_data): New variable.
13028         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13029         (csinh_test_data): New variable.
13030         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13031         (csqrt_test_data): New variable.
13032         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13033         (ctan_test_data): New variable.
13034         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13035         (ctan_tonearest_test_data): New variable.
13036         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13037         (ctan_towardzero_test_data): New variable.
13038         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13039         (ctan_downward_test_data): New variable.
13040         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13041         (ctan_upward_test_data): New variable.
13042         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13043         (ctanh_test_data): New variable.
13044         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13045         (ctanh_tonearest_test_data): New variable.
13046         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13047         (ctanh_towardzero_test_data): New variable.
13048         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13049         (ctanh_downward_test_data): New variable.
13050         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13051         (ctanh_upward_test_data): New variable.
13052         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13053         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13054         of BUILD_COMPLEX.
13056         * math/libm-test.inc (struct test_ff_f_data): New type.
13057         (struct test_ff_f_data_nexttoward): Likewise.
13058         (RUN_TEST_LOOP_2_f): New macro.
13059         (RUN_TEST_LOOP_ff_f): Likewise.
13060         (atan2_test_data): New variable.
13061         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13062         (copysign_test_data): New variable.
13063         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13064         (fdim_test_data): New variable.
13065         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13066         (fmax_test_data): New variable.
13067         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13068         (fmin_test_data): New variable.
13069         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13070         (fmod_test_data): New variable.
13071         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13072         (hypot_test_data): New variable.
13073         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13074         (nextafter_test_data): New variable.
13075         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13076         (nexttoward_test_data): New variable.
13077         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13078         (pow_test_data): New variable.
13079         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13080         (pow_tonearest_test_data): New variable.
13081         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13082         (pow_towardzero_test_data): New variable.
13083         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13084         (pow_downward_test_data): New variable.
13085         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13086         (pow_upward_test_data): New variable.
13087         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13088         (remainder_test_data): New variable.
13089         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13090         (scalb_test_data): New variable.
13091         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13092         * sysdeps/i386/fpu/libm-test-ulps: Update.
13094 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
13096         * math/libm-test.inc (fma_test): Use max_value instead of local
13097         variable fltmax.
13098         (nextafter_test): Likewise.
13100         * math/libm-test.inc (acos_towardzero_test_data): New variable.
13101         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13102         (acos_downward_test_data): New variable.
13103         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13104         (acos_upward_test_data): New variable.
13105         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13106         (acosh_test_data): New variable.
13107         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13108         (asin_test_data): New variable.
13109         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13110         (asin_tonearest_test_data): New variable.
13111         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13112         (asin_towardzero_test_data): New variable.
13113         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13114         (asin_downward_test_data): New variable.
13115         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13116         (asin_upward_test_data): New variable.
13117         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13118         (asinh_test_data): New variable.
13119         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13120         (atan_test_data): New variable.
13121         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13122         (atanh_test_data): New variable.
13123         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13124         (cbrt_test_data): New variable.
13125         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13126         (ceil_test_data): New variable.
13127         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13128         (cos_test_data): New variable.
13129         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13130         (cos_tonearest_test_data): New variable.
13131         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13132         (cos_towardzero_test_data): New variable.
13133         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13134         (cos_downward_test_data): New variable.
13135         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13136         (cos_upward_test_data): New variable.
13137         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13138         (cosh_test_data): New variable.
13139         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13140         (cosh_tonearest_test_data): New variable.
13141         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13142         (cosh_towardzero_test_data): New variable.
13143         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13144         (cosh_downward_test_data): New variable.
13145         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13146         (cosh_upward_test_data): New variable.
13147         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13148         (erf_test_data): New variable.
13149         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13150         (erfc_test_data): New variable.
13151         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13152         (exp_test_data): New variable.
13153         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13154         (exp_tonearest_test_data): New variable.
13155         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13156         (exp_towardzero_test_data): New variable.
13157         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13158         (exp_downward_test_data): New variable.
13159         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13160         (exp_upward_test_data): New variable.
13161         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13162         (exp10_test_data): New variable.
13163         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13164         (exp2_test_data): New variable.
13165         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13166         (expm1_test_data): New variable.
13167         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13168         (fabs_test_data): New variable.
13169         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13170         (floor_test_data): New variable.
13171         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13172         (j0_test_data): New variable.
13173         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13174         (j1_test_data): New variable.
13175         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13176         (log_test_data): New variable.
13177         (log_test): Run tests with RUN_TEST_LOOP_f_f.
13178         (log10_test_data): New variable.
13179         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13180         (log1p_test_data): New variable.
13181         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13182         (log2_test_data): New variable.
13183         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13184         (logb_test_data): New variable.
13185         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13186         (logb_downward_test_data): New variable.
13187         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13188         (nearbyint_test_data): New variable.
13189         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13190         (rint_test_data): New variable.
13191         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13192         (rint_tonearest_test_data): New variable.
13193         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13194         (rint_towardzero_test_data): New variable.
13195         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13196         (rint_downward_test_data): New variable.
13197         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13198         (rint_upward_test_data): New variable.
13199         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13200         (round_test_data): New variable.
13201         (round_test): Run tests with RUN_TEST_LOOP_f_f.
13202         (sin_test_data): New variable.
13203         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13204         (sin_tonearest_test_data): New variable.
13205         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13206         (sin_towardzero_test_data): New variable.
13207         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13208         (sin_downward_test_data): New variable.
13209         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13210         (sin_upward_test_data): New variable.
13211         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13212         (sinh_test_data): New variable.
13213         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13214         (sinh_tonearest_test_data): New variable.
13215         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13216         (sinh_towardzero_test_data): New variable.
13217         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13218         (sinh_downward_test_data): New variable.
13219         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13220         (sinh_upward_test_data): New variable.
13221         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13222         (sqrt_test_data): New variable.
13223         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13224         (tan_test_data): New variable.
13225         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13226         (tan_tonearest_test_data): New variable.
13227         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13228         (tan_towardzero_test_data): New variable.
13229         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13230         (tan_downward_test_data): New variable.
13231         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13232         (tan_upward_test_data): New variable.
13233         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13234         (tanh_test_data): New variable.
13235         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13236         (tgamma_test_data): New variable.
13237         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13238         (trunc_test_data): New variable.
13239         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13240         (y0_test_data): New variable.
13241         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13242         (y1_test_data): New variable.
13243         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13244         (significand_test_data): New variable.
13245         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13247 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
13249         [BZ #12387]
13250         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13252 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13254         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13256 2013-05-10  Andreas Jaeger  <aj@suse.de>
13258         [BZ #15448]
13259         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13260         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13262 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13264         * math/gen-libm-test.pl (adjust_arg): New function.
13265         (special_functions): Handle generating output in both functions
13266         and arrays.
13267         (parse_args): Likewise.
13268         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
13269         $in_func argument to parse_args.
13270         * math/libm-test.inc (struct test_f_f_data): New type.
13271         (IF_ROUND_INIT_): New macro.
13272         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13273         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13274         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13275         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13276         (ROUND_RESTORE_): Likewise.
13277         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13278         (ROUND_RESTORE_FE_TONEAREST): Likewise.
13279         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13280         (ROUND_RESTORE_FE_UPWARD): Likewise.
13281         (RUN_TEST_LOOP_f_f): New macro.
13282         (acos_test_data): New variable.
13283         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13284         (acos_tonearest_test_data): New variable.
13285         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13287 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13289         * benchtests/bench-skeleton.c (startup): Fix coding style.
13291 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13293         [BZ #6809]
13294         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13295         negative infinity argument.
13296         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13297         negative infinity argument.
13298         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13299         negative infinity argument.
13300         * math/libm-test.inc (tgamma_test): Expect errno to be set for
13301         domain errors.
13303 2013-05-10  Florian Weimer  <fweimer@redhat.com>
13305         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13306         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13307         * iconv/iconv_prog.c (main): Likewise.
13308         * locale/programs/charmap-dir.c (charmap_readdir)
13309         (fopen_uncompressed): Likewise.
13310         * locale/programs/locfile.c (siblings_uncached)
13311         (write_locale_data): Use lstat64 instead of lstat.
13312         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13313         stat.
13315 2013-05-10  Andreas Jaeger  <aj@suse.de>
13317         [BZ #15395]
13318         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13319         localization.
13320         Include <locale.h>.
13322 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
13324         * elf/dl-close.c (_dl_close_worker): Add comments.
13326 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
13328         [BZ #15359]
13329         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13330         high part of pi/2.
13331         (__ieee754_rem_pio2l): Update comments.
13333         [BZ #15429]
13334         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13335         high part of pi/2.
13336         (__ieee754_rem_pio2l): Update comments.
13338         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13339         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13341         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13342         M_PI_4l.
13344         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13345         (M_PI_34_LOG10El): Likewise.
13346         (M_PI2_LOG10El): Likewise.
13347         (M_PI4_LOG10El): Likewise.
13348         (M_PI_LOG10El): Likewise.
13350 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13354 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
13356         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13357         (MINUS_ZERO_INIT): Likewise.
13358         (PLUS_INFTY_INIT): Likewise.
13359         (MINUS_INFTY_INIT): Likewise.
13360         (QNAN_VALUE_INIT): Likewise.
13361         (MAX_VALUE_INIT): Likewise.
13362         (MIN_VALUE_INIT): Likewise.
13363         (MIN_SUBNORM_VALUE_INIT): Likewise.
13364         (plus_zero): Initialize with PLUS_ZERO_INIT.
13365         (minus_zero): Initialize with MINUS_ZERO_INIT.
13366         (plus_infty): Initialize with PLUS_INFTY_INIT.
13367         (minus_infty): Initialize with MINUS_INFTY_INIT.
13368         (qnan_value): Initialize with QNAN_VALUE_INIT.
13369         (max_value): Initialize with MAX_VALUE_INIT.
13370         (min_value): Initialize with MIN_VALUE_INIT.
13371         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13373         * math/libm-test.inc (RUN_TEST_if_f): New macro.
13374         (jn_test): Use TEST_if_f instead of TEST_ff_f.
13375         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13376         (yn_test): Use TEST_if_f instead of TEST_ff_f.
13378         * math/libm-test.inc (RUN_TEST_f_f): New macro.
13379         (RUN_TEST_2_f): Likewise.
13380         (RUN_TEST_ff_f): Likewise.
13381         (RUN_TEST_fi_f): Likewise.
13382         (RUN_TEST_fl_f): Likewise.
13383         (RUN_TEST_fff_f): Likewise.
13384         (RUN_TEST_c_f): Likewise.
13385         (RUN_TEST_f_f1): Likewise.
13386         (RUN_TEST_fF_f1): Likewise.
13387         (RUN_TEST_fI_f1): Likewise.
13388         (RUN_TEST_ffI_f1): Likewise.
13389         (RUN_TEST_c_c): Likewise.
13390         (RUN_TEST_cc_c): Likewise.
13391         (RUN_TEST_f_i): Likewise.
13392         (RUN_TEST_f_i_tg): Likewise.
13393         (RUN_TEST_ff_i_tg): Likewise.
13394         (RUN_TEST_f_b): Likewise.
13395         (RUN_TEST_f_b_tg): Likewise.
13396         (RUN_TEST_f_l): Likewise.
13397         (RUN_TEST_f_L): Likewise.
13398         (RUN_TEST_sincos): Likewise.
13399         * math/gen-libm-test.pl (new_test): Take new argument to indicate
13400         whether to show exceptions.  Do not include ");\n" in return
13401         value.
13402         (special_functions): Output call to RUN_TEST_sincos instead of
13403         check_float calls.  Update calls to new_test.
13404         (parse_args): Output call to single RUN_TEST_* macro instead of
13405         check_* calls and other assignments.  Update calls to new_test.
13407         [BZ #2546]
13408         [BZ #2560]
13409         [BZ #5159]
13410         [BZ #15426]
13411         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13412         input to result for tgamma overflow.
13413         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13414         (gamma_coeff): New variable.
13415         (NCOEFF): New macro.
13416         (gamma_positive): New function.
13417         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13418         underflow here.  Use gamma_positive instead of exp (lgamma) for
13419         other arguments.
13420         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13421         (gamma_coeff): New variable.
13422         (NCOEFF): New macro.
13423         (gammaf_positive): New function.
13424         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13425         underflow here.  Use gamma_positive instead of exp (lgamma) for
13426         other arguments.
13427         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13428         (gamma_coeff): New variable.
13429         (NCOEFF): New macro.
13430         (gammal_positive): New function.
13431         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13432         underflow here.  Use gamma_positive instead of exp (lgamma) for
13433         other arguments.
13434         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13435         (gamma_coeff): New variable.
13436         (NCOEFF): New macro.
13437         (gammal_positive): New function.
13438         (__ieee754_gammal_r): Handle positive infinity, overflow and
13439         underflow here.  Handle NaN the same as positive infinity.  Remove
13440         check x < 0xffffffff for negative integers.  Use gamma_positive
13441         instead of exp (lgamma) for other arguments.
13442         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13443         (gamma_coeff): New variable.
13444         (NCOEFF): New macro.
13445         (gammal_positive): New function.
13446         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13447         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13448         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13449         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13450         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13451         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13452         * sysdeps/generic/math_private.h (__gamma_productf): New
13453         prototype.
13454         (__gamma_product): Likewise.
13455         (__gamma_productl): Likewise.
13456         * math/Makefile (libm-calls): Add gamma_product.
13457         * math/libm-test.inc (tgamma_test): Add more tests.
13458         * sysdeps/i386/fpu/libm-test-ulps: Update.
13459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13461 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
13463         * benchtests/bench-skeleton.c (main): Preheat CPU.
13465 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
13467         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13469 2013-05-07  Roland McGrath  <roland@hack.frob.com>
13471         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13472         and _dl_skip_args_internal.
13474 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
13476         * manual/message.texi (Message Translation): Talk about users.
13477         Message to key mapping impacts design.
13479 2013-05-06  Roland McGrath  <roland@hack.frob.com>
13481         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13483         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13485         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13486         * sysdeps/wordsize-64/glob64.c: ... here.
13488         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13489         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13490         New macros.
13492         * debug/getlogin_r_chk.c: Moved to ...
13493         * login/getlogin_r_chk.c: ... here.
13494         * debug/Makefile (routines): Move getlogin_r_chk to ...
13495         * login/Makefile (routines): ... here.
13496         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13497         * login/Versions (libc: GLIBC_2.4): ... here.
13499         * io/poll.c (__poll): Renamed from poll.
13500         Add libc_hidden_def.
13501         (poll): Define as weak alias.
13503         * debug/ptsname_r_chk.c: Moved to ...
13504         * login/ptsname_r_chk.c: ... here.
13505         * debug/Makefile (routines): Move ptsname_r_chk to ...
13506         * login/Makefile (routines): ... here.
13507         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13508         * login/Versions (libc: GLIBC_2.4): ... here.
13510         * posix/getlogin.c: Moved to ...
13511         * login/getlogin.c: ... here.
13512         * posix/getlogin_r.c: Moved to ...
13513         * login/getlogin_r.c: ... here.
13514         * posix/getlogin_r.c: Moved to ...
13515         * login/getlogin_r.c: ... here.
13516         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13517         * login/Makefile (routines): ... here.
13518         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13519         * login/Versions (libc: GLIBC_2.0): ... here.
13521         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13522         (setrlimit): Define as weak alias.
13524         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13525         Call __ names for open, ftruncate, and close.
13526         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13527         (truncate): Define as weak alias.
13529 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
13531         * math/gen-libm-test.pl (parse_args): Initialize x before each
13532         test of frexp, modf and remquo.
13534         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13535         test signgam value.
13537 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13539         [BZ #15418]
13540         [BZ #15419]
13541         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13542         internal tests.
13543         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13545 2013-05-06  Roland McGrath  <roland@hack.frob.com>
13547         * elf/dl-writev.h: New file.
13548         * elf/dl-misc.c: Include it.
13549         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13550         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13552 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
13554         * math/libm-test.inc (noXFails): Remove variable.
13555         (noXPasses): Likewise.
13556         (BUILD_COMPLEX_INT): Remove macro.
13557         (print_screen): Remove xfail argument.
13558         (print_screen_max_error): Likewise.
13559         (update_stats): Likewise.
13560         (print_max_error): Likewise.  Update calls to other affected
13561         functions.
13562         (print_complex_max_error): Likewise.
13563         (test_single_exception): Update calls to print_screen.
13564         (test_single_errno): Likewise.
13565         (check_float_internal): Remove xfail argument.  Update calls to
13566         other affected functions.
13567         (check_float): Likewise.
13568         (check_complex): Likewise.
13569         (check_int): Likewise.
13570         (check_long): Likewise.
13571         (check_bool): Likewise.
13572         (check_longlong): Likewise.
13573         (main): Don't print noXFails and noXPasses.
13574         * math/gen-libm-test.pl (top level): Don't mention expected
13575         failure handling in comment.
13576         (new_test): Don't handle expected failures.
13577         (parse_args): Don't mention expected failure handling in comment.
13578         (generate_testfile): Don't handle expected failures.
13579         (parse_ulps): Likewise.
13580         (print_ulps_file): Likewise.
13581         (get_failure): Remove function.
13582         (output_test): Don't handle expected failures.
13583         * make/README.libm-test: Don't mention expected failure handling.
13585         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
13586         (minus_zero): Likewise.
13587         (plus_infty): Likewise.
13588         (minus_infty): Likewise.
13589         (qnan_value): Likewise.
13590         (max_value): Likewise.
13591         (min_value): Likewise.
13592         (min_subnorm_value): Likewise.
13593         (initialize): Do not initialize those variables dynamically.
13595 2013-05-03  Roland McGrath  <roland@hack.frob.com>
13597         * io/open.c (__open_2): Moved to ...
13598         * io/open_2.c: ... this new file.
13599         * io/open64.c (__open64_2): Moved to ...
13600         * io/open64_2.c: ... this new file.
13601         * io/openat.c (__openat_2): Moved to ...
13602         * io/openat_2.c: ... this new file.
13603         * io/openat64.c (__openat64_2): Moved to ...
13604         * io/openat64_2.c: ... this new file.
13605         * io/Makefile (routines): Add them.
13606         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13607         * sysdeps/unix/sysv/linux/open_2.c: File removed.
13608         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13609         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13610         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13611         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13612         (__openat64): Add hidden_ver.
13613         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13614         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13616         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13617         Separately conditionalize setting of GLRO(dl_sysinfo) so
13618         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13619         as well, but the actual setting is only under [NEED_DL_SYSINFO].
13621 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13623         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13624         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13625         definition.
13626         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13627         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13628         (_libc_vdso_platform_setup): Add __vdso_time initialization.
13629         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13630         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13632 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
13634         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13635         test signgam value.
13637         * math/libm-test.inc (hypot_test): Do not use
13638         IGNORE_ZERO_INF_SIGN.
13640 2013-05-03  Andreas Jaeger  <aj@suse.de>
13642         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13643         Linux 3.9.
13644         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13645         (PF_MAX): Adjust for VSOCK change.
13647 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13651 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
13653         [BZ #15264]
13654         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13655         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13656         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13658 2013-05-02  David S. Miller  <davem@davemloft.net>
13660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13662 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
13664         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13666 2013-05-01  Roland McGrath  <roland@hack.frob.com>
13668         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13670 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
13672         [BZ #14952]
13673         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13674         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13675         Use __attribute__ ((__gnu_inline__)).
13676         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13677         Don't use __attribute__ ((__gnu_inline__)).
13679 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
13681         [BZ #15423]
13682         * math/s_catan.c (__catan): Handle small real or imaginary part of
13683         input specially to avoid spurious underflow.
13684         * math/s_catanf.c (__catanf): Likewise.
13685         * math/s_catanh.c (__catanh): Likewise.
13686         * math/s_catanhf.c (__catanhf): Likewise.
13687         * math/s_catanhl.c (__catanhl): Likewise.
13688         * math/s_catanl.c (__catanl): Likewise.
13689         * math/libm-test.inc (catan_test): Add more tests.
13690         (catanh_test): Likewise.
13691         * sysdeps/i386/fpu/libm-test-ulps: Update.
13692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13694 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13698 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
13700         [BZ #15416]
13701         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13702         accurately for denominator in atan2.
13703         * math/s_catanf.c (__catanf): Likewise.
13704         * math/s_catanh.c (__catanh): Likewise.
13705         * math/s_catanhf.c (__catanhf): Likewise.
13706         * math/s_catanhl.c (__catanhl): Likewise.
13707         * math/s_catanl.c (__catanl): Likewise.
13708         * math/libm-test.inc (catan_test): Add more tests.
13709         (catanh_test): Likewise.
13710         * sysdeps/i386/fpu/libm-test-ulps: Update.
13711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13713 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13715         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13717         * benchtests/Makefile (bench): Remove slow benchmarks.
13718         * benchtests/atan-inputs: Add slow benchmark inputs.
13719         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13720         (BENCH_FUNC): Accept variant offset.
13721         (VARIANT): Define.
13722         * benchtests/bench-skeleton.c (main): Run benchmark for each
13723         variant.
13724         * benchtests/cos-inputs: Add slow benchmark inputs.
13725         * benchtests/exp-inputs: Likewise.
13726         * benchtests/pow-inputs: Likewise.
13727         * benchtests/sin-inputs: Likewise.
13728         * benchtests/slowatan-inputs: Remove.
13729         * benchtests/slowatan.c: Remove.
13730         * benchtests/slowcos-inputs: Remove.
13731         * benchtests/slowcos.c: Remove.
13732         * benchtests/slowexp-inputs: Remove.
13733         * benchtests/slowexp.c: Remove.
13734         * benchtests/slowpow-inputs: Remove.
13735         * benchtests/slowpow.c: Remove.
13736         * benchtests/slowsin-inputs: Remove.
13737         * benchtests/slowsin.c: Remove.
13738         * benchtests/slowtan-inputs: Remove.
13739         * benchtests/slowtan.c: Remove.
13740         * benchtests/tan-inputs: Add slow benchmark inputs.
13741         * scripts/bench.pl: Parse comments and directives.
13743         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
13744         in CPPFLAGS.
13745         ($(objpfx)bench-%.c): Remove *-ITER.
13746         * benchtests/bench-modf.c: Remove definition of ITER.
13747         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13748         (main): Loop for DURATION seconds instead of fixed number of
13749         iterations.
13750         * scripts/bench.pl: Don't expect iterations in parameters.
13752 2013-04-29  Roland McGrath  <roland@hack.frob.com>
13754         * io/fchdir.c (__fchdir): Renamed from fchdir.
13755         (fchdir): Define as weak alias.
13757 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13759         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13760         (ERRNO_EDOM): Likewise.
13761         (ERRNO_ERANGE): Likewise.
13762         (noErrnoTests): New variable.
13763         (init_max_error): Set errno to 0.
13764         (test_single_errno): New function.
13765         (test_errno): Likewise.
13766         (check_float_internal): Call test_errno.  Set errno to 0.
13767         (check_complex): Refer to errno tests in comment.
13768         (check_int): Call test_errno.  Set errno to 0.
13769         (check_long): Likewise.
13770         (check_bool): Likewise.
13771         (check_longlong): Likewise.
13772         (cos_test): Use ERRNO_* flags for errno tests instead of
13773         check_int.
13774         (expm1_test): Likewise.
13775         (fmod_test): Likewise.
13776         (ilogb_test): Likewise.
13777         (lgamma_test): Likewise.
13778         (pow_test): Likewise.
13779         (remainder_test): Likewise.
13780         (sin_test): Likewise.
13781         (tan_test): Likewise.
13782         (yn_test): Likewise.
13783         (initialize): Set errno to 0.
13784         (main): Print number of errno tests.
13785         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13787 2013-04-29  Andreas Jaeger  <aj@suse.de>
13789         [BZ #15084]
13790         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13791         and RES_USEVC.
13793         [BZ #15085]
13794         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13795         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13796         unimplemented.
13798         [BZ #15380]
13799         * stdlib/random.c (__initstate): Return NULL if
13800         __initstate fails.
13802         [BZ #15086]
13803         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13804         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13805         RES_SNGLKUPREOP.
13807 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13811 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13813         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13814         of individual tests.
13815         (casin_test): Likewise.
13816         (casinh_test): Likewise.
13818 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
13820         [BZ #15409]
13821         * math/s_catan.c (__catan): Handle arguments with large real or
13822         imaginary part separately without squaring.
13823         * math/s_catanf.c (__catanf): Likewise.
13824         * math/s_catanh.c (__catanh): Likewise.
13825         * math/s_catanhf.c (__catanhf): Likewise.
13826         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13827         and redefine.
13828         (__catanhl): Handle arguments with large real or imaginary part
13829         separately without squaring.
13830         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13831         and redefine.
13832         (__catanl): Handle arguments with large real or imaginary part
13833         separately without squaring.
13834         * math/libm-test.inc (catan_test): Add more tests.
13835         (catanh_test): Likewise.
13836         * sysdeps/i386/fpu/libm-test-ulps: Update.
13837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13839 2013-04-27  Andreas Jaeger  <aj@suse.de>
13841         [BZ #15007]
13842         * stdlib/stdlib.h: Update guards for qecvt.
13843         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13844         <stdlib.h>.
13846 2013-04-27  Allan McRae  <allan@archlinux.org>
13848         * sysdeps/i386/fpu/libm-test-ulps: Update.
13850 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
13852         [BZ #15406]
13853         * math/s_catan.c: Include <float.h>.
13854         (__catan): Ensure underflow exception occurs for underflowed
13855         result.
13856         * math/s_catanf.c: Include <float.h>.
13857         (__catanf): Ensure underflow exception occurs for underflowed
13858         result.
13859         * math/s_catanh.c: Include <float.h>.
13860         (__catanh): Ensure underflow exception occurs for underflowed
13861         result.
13862         * math/s_catanhf.c: Include <float.h>.
13863         (__catanhf): Ensure underflow exception occurs for underflowed
13864         result.
13865         * math/s_catanhl.c: Include <float.h>.
13866         (__catanhl): Ensure underflow exception occurs for underflowed
13867         result.
13868         * math/s_catanl.c: Include <float.h>.
13869         (__catanl): Ensure underflow exception occurs for underflowed
13870         result.
13871         * math/libm-test.inc (catan_test): Add more tests.
13872         (catanh_test): Likewise.
13874         [BZ #15405]
13875         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13876         underflowed result.
13877         * math/s_ccoshf.c (__ccoshf): Likewise.
13878         * math/s_ccoshl.c (__ccoshl): Likewise.
13879         * math/s_csin.c (__csin): Likewise.
13880         * math/s_csinf.c (__csinf): Likewise.
13881         * math/s_csinh.c (__csinh): Likewise.
13882         * math/s_csinhf.c (__csinhf): Likewise.
13883         * math/s_csinhl.c (__csinhl): Likewise.
13884         * math/s_csinl.c (__csinl): Likewise.
13885         * math/libm-test.inc (ccos_test): Add more tests.
13886         (ccosh_test): Likewise.
13887         (csin_test): Likewise.
13888         (csinh_test): Likewise.
13890 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13892         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13893         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13894         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13895         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13896         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13897         powerpc/power5+/fpu folders.
13898         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13901 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13905 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
13907         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13908         additions to variable.
13909         [$(config-machine) = x86_64] (modules-names): Likewise.
13910         ($(objpfx)tst-audit3): Remove dependency.
13911         ($(objpfx)tst-audit3.out): Likewise.
13912         ($(objpfx)tst-audit4): Likewise.
13913         ($(objpfx)tst-audit4.out): Likewise.
13914         ($(objpfx)tst-audit5): Likewise.
13915         ($(objpfx)tst-audit5.out): Likewise.
13916         ($(objpfx)tst-audit6): Likewise.
13917         ($(objpfx)tst-audit6.out): Likewise.
13918         ($(objpfx)tst-audit7): Likewise.
13919         ($(objpfx)tst-audit7.out): Likewise.
13920         (tst-audit3-ENV): Remove variable.
13921         (tst-audit4-ENV): Likewise.
13922         (tst-audit5-ENV): Likewise.
13923         (tst-audit6-ENV): Likewise.
13924         (tst-audit7-ENV): Likewise.
13925         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13926         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13927         addition to variable.
13928         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13929         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13930         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13931         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13932         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13933         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13934         tst-audit3, tst-audit4 and tst-audit5.
13935         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13936         tst-audit6 and tst-audit7.
13937         [$(subdir) = elf] (modules-names): Add audit modules for those
13938         tests.
13939         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13940         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13941         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13942         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13943         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13944         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13945         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13946         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13947         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13948         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13949         [$(subdir) = elf] (tst-audit3-ENV): New variable.
13950         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13951         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13952         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13953         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13954         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13955         Likewise.
13956         [$(subdir) = elf && $(config-cflags-avx) = yes]
13957         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13958         [$(subdir) = elf && $(config-cflags-avx) = yes]
13959         (CFLAGS-tst-auditmod4a.c): Likewise.
13960         [$(subdir) = elf && $(config-cflags-avx) = yes]
13961         (CFLAGS-tst-auditmod4b.c): Likewise.
13962         [$(subdir) = elf && $(config-cflags-avx) = yes]
13963         (CFLAGS-tst-auditmod6b.c): Likewise.
13964         [$(subdir) = elf && $(config-cflags-avx) = yes]
13965         (CFLAGS-tst-auditmod6c.c): Likewise.
13966         [$(subdir) = elf && $(config-cflags-avx) = yes]
13967         (CFLAGS-tst-auditmod7b.c): Likewise.
13968         * elf/tst-audit3.c: Move to ...
13969         * sysdeps/x86_64/tst-audit3.c: ... here.
13970         * elf/tst-audit4.c: Move to ...
13971         * sysdeps/x86_64/tst-audit4.c: ... here.
13972         * elf/tst-audit5.c: Move to ...
13973         * sysdeps/x86_64/tst-audit5.c: ... here.
13974         * elf/tst-audit6.c: Move to ...
13975         * sysdeps/x86_64/tst-audit6.c: ... here.
13976         * elf/tst-audit7.c: Move to ...
13977         * sysdeps/x86_64/tst-audit7.c: ... here.
13978         * elf/tst-auditmod3a.c: Move to ...
13979         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
13980         * elf/tst-auditmod3b.c: Move to ...
13981         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
13982         * elf/tst-auditmod4a.c: Move to ...
13983         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
13984         * elf/tst-auditmod4b.c: Move to ...
13985         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
13986         * elf/tst-auditmod5a.c: Move to ...
13987         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
13988         * elf/tst-auditmod5b.c: Move to ...
13989         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
13990         * elf/tst-auditmod6a.c: Move to ...
13991         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
13992         * elf/tst-auditmod6b.c: Move to ...
13993         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
13994         * elf/tst-auditmod6c.c: Move to ...
13995         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
13996         * elf/tst-auditmod7a.c: Move to ...
13997         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
13998         * elf/tst-auditmod7b.c: Move to ...
13999         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14001 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
14003         [BZ #15366]
14004         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14005         define unconditionally.
14006         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14007         define unconditionally.
14008         (INT8_C, INT16_C, etc.): Likewise.
14010 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
14012         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14013         __ehdr_start with hidden visibility.
14015         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14017 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
14019         * math/libm-test.inc (cos_test): Use accurate hex constants.
14020         (sincost_test): Likewise.
14022 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
14024         * math/libm-test.inc (catan_test): Add more tests.
14025         (catanh_test): Likewise.
14027         * math/s_catanf.c (__catanf): Use suffixed floating-point
14028         constants.
14029         * math/s_catanhf.c (__catanhf): Likewise.
14030         * math/s_catanhl.c (__catanhl): Likewise.
14031         * math/s_catanl.c (__catanl): Likewise.
14033         [BZ #15394]
14034         * math/s_catan.c (__catan): Calculate imaginary part of result
14035         with log1p not log unless computing log of number close to 0.
14036         * math/s_catanf.c (__catanf): Likewise.
14037         * math/s_catanl.c (__catanl): Likewise.
14038         * math/s_catanh.c (__catanh): Calculate real part of result with
14039         log1p not log unless computing log of number close to 0.
14040         * math/s_catanhf.c (__catanhf): Likewise.
14041         * math/s_catanhl.c (__catanhl): Likewise.
14042         * math/libm-test.inc (catan_test): Add more tests.
14043         (catanh_test): Likewise.
14044         * sysdeps/i386/fpu/libm-test-ulps: Update.
14045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14047 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14049         * benchtests/Makefile: Mention files in which fast and slow
14050         paths of math functions are implemented.
14052 2013-04-23  Roland McGrath  <roland@hack.frob.com>
14054         * sysdeps/posix/timespec_get.c: New file.
14056 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14058         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14059         POWER.
14060         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14061         for POWER.
14062         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14063         powerpc/power5/fpu folders.
14064         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14065         * benchtests/Makefile: Add modf testcase.
14066         * benchtests/bench-modf.c: New file: Benchmark test for mo
14068 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14070         [BZ #14888]
14071         * time/Makefile (tests): Add tst-strptime-whitespace.
14072         * time/strptime_l.c (get_number): Use ISSPACE.
14073         (__strptime_internal): Likewise.
14074         * time/tst-strptime-whitespace.c: New test case.
14076 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
14078         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14079         member.
14080         (_nss_files_init): Set it here.
14082 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
14084         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14085         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14086         unsigned.
14088 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
14090         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14092 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14094         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14095         size just once.
14097 2013-04-21  David S. Miller  <davem@davemloft.net>
14099         * po/ru.po: Update Russion translation from translation project.
14101 2013-04-17  Adam Conrad  <adconrad@0c3.net>
14103         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14104         and setfsgid.
14106 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
14108         * configure.in: Remove i386 configure warning. Remove i386 case.
14109         * configure: Regenerate.
14110         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14111         Add example to error message.
14112         * sysdeps/i386/configure: Regenerate.
14114 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14116         * benchtests/Makefile (bench): Add cos, tan, slowcos and
14117         slowtan.
14118         * benchtests/cos-inputs: New file.
14119         * benchtests/slowcos-inputs: New file.
14120         * benchtests/slowcos.c: New file.
14121         * benchtests/slowtan-inputs: New file.
14122         * benchtests/slowtan.c: New file.
14123         * benchtests/tan-inputs: New file.
14125 2013-04-16  Roland McGrath  <roland@hack.frob.com>
14127         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14128         considered kosher.
14130 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14132         * benchtests/Makefile: Include cppflags-iterator.mk to add
14133         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14135         * Makefile.in (bench-clean): New target.
14136         * benchtests/Makefile (bench-clean): Likewise.
14138 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
14140         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14142 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
14144         * stdio-common/tstdiomisc.c: Fix coding-style violation.
14146 2013-04-15  Andreas Schwab  <schwab@suse.de>
14148         * nscd/grpcache.c (cache_addgr): Properly check for short write.
14149         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14150         * nscd/pwdcache.c (cache_addpw): Likewise.
14151         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
14152         more than recsize.
14154 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14156         * benchtests/Makefile (bench): Write all output to
14157         bench-out.tmp together.
14159 2013-04-15  Andreas Schwab  <schwab@suse.de>
14161         * nscd/nscd.c (main): Don't fork again after closing files.
14163 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14165         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14167         * benchtests/Rules (bench-deps): Collect dependencies into a
14168         single variable.  Add Makefile to dependencies.
14169         ($(objpfx)bench-%.c): Depend on bench-deps.
14171 2013-04-12  Roland McGrath  <roland@hack.frob.com>
14172             Xavier Roche  <roche+kml2@exalead.com>
14174         [BZ #15361]
14175         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14176         just that it's a file descriptor.
14177         * manual/llio.texi (Synchronizing AIO Operations): Update description
14178         for EBADF error from aio_fsync.
14180 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14182         * Rules (bench): Move target definition...
14183         * benchtests/Makefile: ... here.
14185 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
14187         * math/libm-test.inc (cos_test): Fix PI/2 test.
14188         (sincos_test): Likewise.
14189         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14190         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14192 2013-04-11  Andreas Schwab  <schwab@suse.de>
14194         [BZ #13988]
14195         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14196         accept exponent character only when digits were seen.
14197         * stdio-common/Makefile (tests): Add bug26.
14198         * stdio-common/bug26.c: New file.
14200         [BZ #14293]
14201         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14202         non-freeable.
14204 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14206         * Makeconfig (rtld-prefix): Define built linker prefix.
14207         * Rules (run-bench): Use it.
14208         * math/Makefile (run-regen-ulps): Likewise.
14210         * Rules (bench): Remove eval.
14212 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14213             Roland McGrath  <roland@hack.frob.com>
14214             Ondrej Bilka  <neleai@seznam.cz>
14216         [BZ #15346]
14217         * time/getdate.c: Include ctype.h and alloca.h.
14218         (__getdate_r): Trim leading and trailing spaces of input.
14219         * time/tst-getdate.c (tests): Add tests with leading and
14220         trailing spaces.
14222 2013-04-08  Roland McGrath  <roland@hack.frob.com>
14224         [BZ #14280]
14225         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14226         when computing value.
14228 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14230         * math/README.libm-test (How can I generate "libm-test-ulps"?):
14231         Use testrun.sh to run libm tests.
14233         [BZ #15309]
14234         * elf/dl-open.c (dl_open_worker): memset all of seen array.
14236 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
14238         [BZ #15264]
14239         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14241 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14243         * Makefile.in (regen-ulps): New target.
14244         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14245         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14246         [ifneq (no,$(PERL)] (regen-ulps): New target.
14247         [ifeq (no,$(PERL)] (regen-ulps): New target.
14248         * math/libm-test.inc (ulps_file_name): Define.
14249         (output_dir): New variable.
14250         (options): Add "output-dir" option.
14251         (parse_opt): Handle 'o' case.
14252         (main): If output_dir is non-NULL use it as a prefix
14253         otherwise use "".
14254         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14256 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14258         [BZ #10060, #10062]
14259         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14260         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14261         fail configure if __sync_val_compare_and_swap is not inlined.
14262         * sysdeps/i386/configure: Regenerate.
14263         * configure.in: Build for i686 when configured for i386.
14264         * configure: Regenerate.
14265         * README: Remove i386 reference.
14267 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14269         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14270         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14272 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
14274         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14275         (lmsnanval): New variables.
14276         (F): Add conversion tests.
14277         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14278         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14280         * stdio-common/tstdiomisc.c (F): Properly collect individual
14281         tests' results.
14283         [BZ #14686, #15336]
14284         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14285         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14286         Instead, use input NaN values or generate a qNaN by arithmetic
14287         operation.  Also fix bugs to comply with the standard.
14288         * math/libm-test.inc (remainder_test): Add more tests.
14290         [BZ #15335, #15342]
14291         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14292         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14293         input NaN values or generate a qNaN by arithmetic operation.
14295         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14296         unreachable code.
14298         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14299         definitions.
14301 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
14303         [BZ #14478]
14304         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14305         underflowed result.
14306         * math/s_cexpf.c (__cexpf): Likewise.
14307         * math/s_cexpl.c (__cexpl): Likewise.
14308         * math/libm-test.inc (cexp_test): Add more tests.
14310 2013-04-03  Andreas Schwab  <schwab@suse.de>
14312         [BZ #15330]
14313         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14314         order arrays from heap if bigger than alloca cutoff.
14316 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
14318         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14319         (SNAN_TESTS_double): Refer to GCC PR56831.
14320         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14321         GCC PR56828.
14323 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14325         * Rules (bench): Move bench.out after the run is complete.
14327         * Rules (bench): Echo currently running benchmark.
14329         * benchtests/Makefile (bench): Add atan and slowatan.
14330         * benchtests/atan-inputs: New file.
14331         * benchtests/slowatan-inputs: New file.
14332         * benchtests/slowatan.c: New file.
14334         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14335         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14336         its value.
14338         [BZ #15305]
14339         * sysdeps/unix/sysv/linux/kernel-features.h
14340         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14341         __ASSUME_XFS_RESTRICTED_CHOWN.
14342         * sysdeps/unix/sysv/linux/pathconf.c
14343         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14344         Save and restore errno.
14346 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
14348         [BZ #15327]
14349         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14350         arguments using __kernel_casinh.
14351         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14352         arguments using __kernel_casinhf.
14353         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14354         arguments using __kernel_casinhl.
14355         * math/libm-test.inc (cacosh_test): Add more tests.
14356         * sysdeps/i386/fpu/libm-test-ulps: Update.
14357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14359 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14361         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14364         * bench/Makefile (bench): Add sin and slowsin.
14365         * benchtests/sin-inputs: New file.
14366         * benchtests/slowsin-inputs: New file.
14367         * benchtests/slowsin.c: New file.
14369         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14370         (bench): Add slowexp and slowpow.
14371         (exp-ITER): Increase iterations.
14372         (pow-ITER): Likewise.
14373         * benchtests/exp-inputs: Change input.
14374         * benchtests/pow-inputs: Likewise.
14375         * benchtests/slowexp-inputs: New file.
14376         * benchtests/slowexp.c: New file.
14377         * benchtests/slowpow-inputs: New file.
14378         * benchtests/slowpow.c: New file.
14380 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14382         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14383         instructions.
14384         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14385         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14386         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14387         * benchtests/Makefile: Add rint benchtest.
14388         * benchtests/rint-inputs: Input for rint benchtest.
14390 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
14392         * Versions.def (libm): Add GLIBC_2.18.
14393         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14394         hidden libm prototypes.
14395         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14396         * math/Makefile (libm-calls): Add s_issignaling.
14397         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14398         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
14399         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14400         declaration.
14401         * math/math.h [__USE_GNU] (issignaling): New macro.
14402         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14403         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14404         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14405         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14406         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14407         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14408         * manual/arith.texi (issignaling): New section.
14409         * manual/libm-err-tab.pl (@all_functions): Update comment.
14410         * math/gen-libm-test.pl (parse_args): Apply special handling for
14411         issignaling.
14412         * math/libm-test.inc (print_float, issignaling_test): New
14413         functions.
14414         (check_float_internal): Add issignaling checks.
14415         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14416         default definition.
14417         * sysdeps/powerpc/math-tests.h: New file.
14418         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14419         tests.
14420         * math/test-snan.c (TEST_FUNC): Likewise.
14422 2013-03-30  David S. Miller  <davem@davemloft.net>
14424         * po/de.po: Update from translation team.
14426 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
14428         [BZ #10357]
14429         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14430         imaginary part less than 1.0 and real part less than 0.5
14431         specially.
14432         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14433         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14434         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14435         (cacos_test): Add more tests.
14436         (casin_test): Likewise.
14437         (casinh_test): Likewise.
14438         * sysdeps/i386/fpu/libm-test-ulps: Update.
14439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14441 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14443         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14444         ONE with its value.
14446         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14447         (__pow_mp): Replace ONE and MONE with their values.
14448         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14449         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14450         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14451         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14452         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14453         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14455         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14457         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14458         (__pow_mp): Replace ZERO and MZERO with their values.
14459         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14460         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14461         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14462         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14463         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14464         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14465         (__sqr): Likewise.
14467         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14469         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14471 2013-03-28  Roland McGrath  <roland@hack.frob.com>
14473         * include/stdlib.h [!SHARED] (__call_tls_dtors):
14474         Declare with __attribute__ ((weak)).
14475         * stdlib/exit.c (__libc_atexit) [!SHARED]:
14476         Call __call_tls_dtors only if it's not NULL.
14478 2013-03-28  Roland McGrath  <roland@hack.frob.com>
14480         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14481         didn't do it already, then set _dl_phdr and _dl_phnum based on the
14482         magic __ehdr_start linker symbol if it's defined.
14483         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14484         them up here if it was already done.
14486         * elf/dl-support.c (_dl_phdr): Make pointer to const.
14487         (_dl_aux_init): Use const in cast when setting it.
14488         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14489         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14490         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14492         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14493         Declare them here.
14494         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14495         * csu/libc-tls.c: Nor here.
14496         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14498         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14499         (__libc_message): Never call vsyslog.
14501 2013-03-28  Alan Modra  <amodra@gmail.com>
14503         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14504         Define as empty.
14505         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14506         Likewise.
14508 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14510         [BZ #15214]
14511         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14512         underflow.
14513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14515 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14517         [BZ #15304]
14518         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14519         Don't add gid passed as argument.
14521         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14523 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
14525         [BZ #15307]
14526         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14527         imaginary part between 1.0 and 1.5 and real part less than 0.5
14528         specially.
14529         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14530         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14531         * math/libm-test.inc (cacos_test): Add more tests.
14532         (casin_test): Likewise.
14533         (casinh_test): Likewise.
14534         * sysdeps/i386/fpu/libm-test-ulps: Update.
14535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14537 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14539         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14540         constants.
14541         (norm): Likewise.
14542         (denorm): Likewise.
14543         (__dbl_mp): Likewise.
14544         (add_magnitudes): Likewise.
14545         (sub_magnitudes): Likewise.
14546         (__add): Likewise.
14547         (__sub): Likewise.
14548         (__mul): Likewise.
14549         (__sqr): Likewise.
14550         (__inv): Likewise.
14551         (__dvd): Likewise.
14553         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14554         commented code.
14555         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14556         (__dubcos): Likewise.
14557         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14558         (__ieee754_acos): Likewise.
14559         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14560         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14561         (__exp1): Likewise.
14562         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14564         (log1): Likewise.
14565         (my_log2): Likewise.
14566         (checkint): Likewise.
14567         * sysdeps/ieee754/dbl-64/e_remainder.c
14568         (__ieee754_remainder): Likewise.
14569         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14571         (bsloww): Likewise.
14572         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14574         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14575         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14576         MANTISSA_STORE_T to store computations on mantissa.  Use
14577         macros for rounding and division.
14578         (denorm): Likewise.
14579         (__dbl_mp): Likewise.
14580         (add_magnitudes): Likewise.
14581         (sub_magnitudes): Likewise.
14582         (__mul): Likewise.
14583         (__sqr): Likewise.
14584         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14585         powers of two in terms of TWOPOW macro.
14586         (mp_no): Make type of mantissa as MANTISSA_T.
14587         [!RADIXI]: Define RADIXI.
14588         [!TWO52]: Define TWO52.
14589         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14591 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14593         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14594         llroundl symbol when building for PPC32.
14596 2013-03-24  Mark H Weaver  <mhw@netris.org>
14598         * manual/arith.texi (Normalization Functions): Fix prototypes for
14599         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14601 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14603         [BZ #13889]
14604         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14605         high value to check if expl overflow.
14606         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14607         to check for underflow and overflow.
14608         * math/libm-test.inc: Add exp test.
14610 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
14612         [BZ #11120]
14613         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14614         with NOT_IN_libc.
14616 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14618         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14619         symbol.
14621 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
14623         * math/gen-libm-test.pl (parse_args, special_functions): Properly
14624         wrap blocks consisting of several statements.
14626         * sysdeps/generic/math-tests.h: New file.
14627         * sysdeps/i386/fpu/math-tests.h: Likewise.
14628         * math/test-snan.c: Include it.
14629         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14631 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14633         [BZ #15285]
14634         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14635         (__ieee754_j0l): Do not improve calculations using cos of twice
14636         input for inputs above LDBL_MAX / 2.0L.
14637         (__ieee754_y0l): Likewise.
14638         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14639         (__ieee754_j1l): Do not improve calculations using cos of twice
14640         input for inputs above LDBL_MAX / 2.0L.
14641         (__ieee754_y1l): Likewise.
14642         * math/libm-test.inc (j0_test): Add another test.
14643         (j1_test): Likewise.
14644         (y0_test): Likewise.
14645         (y1_test): Likewise.
14646         * sysdeps/i386/fpu/libm-test-ulps: Update.
14648 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14650         * Rules ($(objpfx)bench-%.c): Include code from a C source
14651         file.
14653 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14655         [BZ #15287]
14656         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14657         imaginary part 1.0 and real part less than 0.5 specially.
14658         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14659         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14660         * math/libm-test.inc (cacos_test): Add more tests.
14661         (casin_test): Likewise.
14662         (casinh_test): Likewise.
14663         * sysdeps/i386/fpu/libm-test-ulps: Update.
14664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14666 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14668         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14669         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14671 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
14673         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14674         * config.make.in (config-cflags-sse4): Remove variable.
14675         (config-cflags-avx): Likewise.
14676         (config-cflags-sse2avx): Likewise.
14677         (config-cflags-novzeroupper): Likewise.
14678         (config-asflags-i686): Likewise.
14679         (have-mfma4): Likewise.
14680         (have-as-vis3): Likewise.
14681         (MIG): Likewise.
14682         * configure.in (MIG): Do not AC_SUBST.
14683         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14684         (libc_cv_cc_sse4): Do not AC_SUBST.
14685         (libc_cv_cc_avx): Likewise.
14686         (libc_cv_cc_sse2avx): Likewise.
14687         (libc_cv_cc_novzeroupper): Likewise.
14688         (libc_cv_cc_fma4): Likewise.
14689         (libc_cv_as_i686): Likewise.
14690         (libc_cv_sparc_as_vis3): Likewise.
14691         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14692         LIBC_CONFIG_VAR.
14693         (config-asflags-i686): Likewise.
14694         (config-cflags-avx): Likewise.
14695         (config-cflags-sse2avx): Likewise.
14696         (have-mfma4): Likewise.
14697         (config-cflags-novzeroupper): Likewise.
14698         * sysdeps/mach/configure.in (MIG): Likewise.
14699         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14700         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14701         LIBC_CONFIG_VAR.
14702         (config-cflags-avx): Likewise.
14703         (config-cflags-sse2avx): Likewise.
14704         (have-mfma4): Likewise.
14705         (config-cflags-novzeroupper): Likewise.
14706         * configure: Regenerated.
14707         * sysdeps/i386/configure: Likewise.
14708         * sysdeps/mach/configure: Likewise.
14709         * sysdeps/sparc/configure: Likewise.
14710         * sysdeps/x86_64/configure: Likewise.
14712 2013-03-20  Roland McGrath  <roland@hack.frob.com>
14714         [BZ #14812]
14715         * locale/programs/localedef.c (options): Put N_ translation marker
14716         on argument names, not just descriptions.
14718 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14720         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14722 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
14724         [BZ #14176]
14725         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14727 2013-03-19  Roland McGrath  <roland@hack.frob.com>
14729         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14730         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14731         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14732         [!BEFORE_ABORT] (before_abort): New function.
14733         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14734         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14735         (writev_for_fatal): New function.
14736         (WRITEV_FOR_FATAL): New macro; call that.
14737         (backtrace_and_maps): New function.
14738         (BEFORE_ABORT): New macro; call that.
14739         (struct str_list): Type removed.
14740         (__libc_message, __libc_fatal): Functions removed.
14741         Include <sysdeps/posix/libc_fatal.c> instead.
14743 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
14745         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14746         constants.
14747         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14748         double constants.
14750 2013-03-19  Andreas Schwab  <schwab@suse.de>
14752         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14753         * sysdeps/gnu/configure: Regenerate.
14755         * configure.in: Substitute libc_cv_rtlddir.
14756         * configure: Regenerate.
14757         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14758         * Makeconfig (rtlddir, inst_rtlddir): New variables.
14759         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14760         * elf/Makefile (install-others, CFLAGS-interp.c)
14761         (ldso_install, common-ldd-rewrite): Likewise.
14762         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14763         $(inst_slibdir)/$(rtld-installed-name).
14764         * scripts/rellns-sh: Add -p option.
14765         * Makerules (make-shlib-link): Use rellns-sh to get relative name
14766         for source.
14768 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14770         * manual/nptl.texi: Renamed to ...
14771         * manual/threads.texi: ... this.
14772         * manual/Makefile (chapters): Update.
14774 2013-03-18  Roland McGrath  <roland@hack.frob.com>
14776         [BZ #14812]
14777         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14778         on argument names, not just descriptions.
14779         * malloc/memusagestat.c (options): Likewise.
14780         * nss/getent.c (options): Likewise.
14782 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
14784         [BZ #14812]
14785         * iconv/iconv_prog.c (options): Put N_ translation marker
14786         on argument names, not just descriptions.
14787         * iconv/iconvconfig.c (options): Likewise.
14789 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
14791         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14792         implementation which is faster on all x86_64 architectures.
14793         Tested on AMD, Intel Nehalem, SNB, IVB.
14794         * sysdeps/x86_64/strnlen.S: Likewise.
14796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14797         Remove all multiarch strlen and strnlen versions.
14798         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14799         Remove strlen and strnlen related parts.
14801         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14802         Inline strlen part.
14803         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14805         * sysdeps/x86_64/multiarch/strlen.S: Remove.
14806         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14807         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14808         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14809         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14810         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14812 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
14814         * manual/memory.texi (Malloc Tunable Parameters):
14815         Sort parameters alphabetically. Add comments for missing entries.
14817 2013-03-17  David S. Miller  <davem@davemloft.net>
14819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14821 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
14823         [BZ #15283]
14824         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14825         for arguments at most half maximum finite value.
14826         * math/libm-test.inc (j0_test): Add more tests.
14827         (j1_test): Likewise.
14828         (y0_test): Likewise.
14829         (y1_test): Likewise.
14830         * sysdeps/i386/fpu/libm-test-ulps: Update.
14831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14833         [BZ #14155]
14834         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14835         1 / x and functions P and Q for arguments above 0x1p256L.
14836         (__ieee754_y0l): Likewise.
14837         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14838         (__ieee754_y1l): Likewise.
14839         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14840         (j1_test): Likewise.
14841         (y0_test): Likewise.
14842         (y1_test): Likewise.
14844 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
14846         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14847         variable.
14849 2013-03-15  Roland McGrath  <roland@hack.frob.com>
14851         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14852         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14853         zero since it's initialized to EXEC_PAGESIZE.
14855         * sysdeps/unix/sysv/linux/ldsodefs.h
14856         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14857         * sysdeps/generic/ldsodefs.h: ... here.
14859 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
14861         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14863         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14864         math/test-snan.c.
14865         * math/test-snan.c: Renamed from
14866         sysdeps/powerpc/fpu/test-powerpc-snan.c.
14867         * math/Makefile (tests): Add test-snan.
14868         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14869         test-powerpc-snan.
14871         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14872         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
14873         functions.
14874         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
14875         __builtin_nan family of functions.
14876         * math/libm-test.inc (initialize): Initialize qnan_value with
14877         __builtin_nan family of functions.
14878         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14879         Remove variables.
14880         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14881         Remove functions.
14882         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
14883         storage class.  Initialize qNaN_var and sNaN_var with
14884         __builtin_nan and __builtin_nans families of functions,
14885         respectively.
14887         * math/libm-test.inc (acosh_test): Also test with qNaN input.
14888         (sqrt_test): Remove duplicate test with qNaN input.
14889         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14890         (round_test, signbit_test, significand_test): Note missing +/-Inf
14891         as well as qNaN tests.
14893         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14894         qNaN_var.  Fix a few strings, too.
14895         * math/libm-test.inc (nan_value): Rename to qnan_value.
14896         * math/gen-libm-test.pl (%beautify): Adjust to that.
14897         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14898         * math/test-misc.c (main): Likewise.
14899         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14900         to __qnan_bytes, and __qnan_union, respectively.
14901         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14902         Likewise.
14903         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14904         and lqnanval, respectively.
14905         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14906         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14907         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14908         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14910         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14911         * math/test-misc.c (main) [__x86_64__]: Enable test for long
14912         doubles.
14914         * math/test-misc.c (main): Fix copy'n'pastos.
14915         * misc/tst-efgcvt.c (special): Likewise.
14917         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14918         Remove declarations.
14920 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14922         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14923         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14924         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14925         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14927 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14929         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14930         macro to return vdso values correctly in IFUNC implementations.
14931         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14932         Optimization by using IFUNC.
14934 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14935             Richard Henderson  <rth@redhat.com>
14936             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14938         * Makefile.in (bench): New target.
14939         * NEWS: Mention the benchmark framework.
14940         * Rules (bench): Likewise.
14941         (binaries-bench): Generate binaries for functions to
14942         benchmark.
14943         * benchtests/Makefile: New makefile for benchmark tests.
14944         * benchtests/bench-skeleton.c: New skeleton file for benchmark
14945         programs.
14946         * benchtests/exp-inputs: New input file for EXP function.
14947         * benchtests/pow-inputs: New input file for POW function.
14948         * scripts/bench.pl: New script to generate source files for
14949         benchmark programs.
14951 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14953         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14954         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14955         computations on mantissa.  Use macros for rounding and
14956         division.
14957         (denorm): Likewise.
14958         (__dbl_mp): Likewise.
14959         (add_magnitudes): Likewise.
14960         (sub_magnitudes): Likewise.
14961         (__mul): Likewise.
14962         (__sqr): Likewise.
14963         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14964         powers of two in terms of TWOPOW macro.
14965         (mp_no): Make type of mantissa as MANTISSA_T.
14966         [!RADIXI]: Define RADIXI.
14967         [!TWO52]: Define TWO52.
14968         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14970         * manual/nptl.texi (cindex): Modify threads to pthreads.
14972 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
14974         * sysdeps/x86_64/preconfigure: Regenerated.
14976 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
14978         [BZ #14155]
14979         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
14980         0x1p28 and above.
14981         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
14982         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
14983         0x1p28 and above.
14984         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
14985         * math/libm-test.inc (j0_test): Do not allow one spurious
14986         underflow exception.
14987         (y1_test): Likewise.
14989 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14991         * manual/Makefile (chapters): Add nptl.
14992         * manual/debug.texi (Debugging Support): Add link to Threads
14993         chapter.
14994         * manual/nptl.texi: New file.
14996         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
14998 2013-03-14  Petr Baudis  <pasky@ucw.cz>
15000         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15001         for non-NULL pointer before the memory validity test. Pointed
15002         out by Holger Brunck <holger.brunck@keymile.com>.
15004 2013-03-13  Andreas Schwab  <schwab@suse.de>
15006         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15007         instead of .os.
15009 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
15011         * timezone/zic.c: Update from tzcode 2013b.
15013 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
15015         * manual/install.texi (Configuring and compiling):
15016         Mention i686 and i586.
15017         * INSTALL: Regenerate.
15019 2013-03-12  Roland McGrath  <roland@hack.frob.com>
15021         * sysdeps/init_array/elf-init.c: New file.
15022         * csu/elf-init.c
15023         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15024         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15026         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15027         __gmon_start__ as global, but as static with a .preinit_array pointer.
15028         * sysdeps/init_array/gmon-start.c: New file.  Use that.
15029         * sysdeps/init_array/crti.S: New file, empty except for comments.
15030         * sysdeps/init_array/crtn.S: Likewise.
15032 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
15034         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15035         definining bcopy.
15036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15037         Remove Prefer_SSE_for_memop.
15038         * sysdeps/x86_64/multiarch/init-arch.h: Remove
15039         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15040         HAS_PREFER_SSE_FOR_MEMOP.
15041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15042         memset-x86-64.
15043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15044         Remove bzero, memset ifunc support.
15045         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15046         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15047         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15048         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15050 2013-03-11  Andreas Schwab  <schwab@suse.de>
15052         [BZ #15234]
15053         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15054         by SHLIB_COMPAT.
15055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15056         (GLIBC_2.16): Remove pthread_atfork.
15058 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15060         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15061         (ptestcases.h): Likewise.
15063 2013-03-08  Roland McGrath  <roland@hack.frob.com>
15065         * Makeconfig ($(common-objpfx)config.status): Depend on
15066         sysdeps/*/preconfigure{,.in} too.
15068 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
15070         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15071         (__free_hook): Use void * instead of __malloc_ptr_t.
15072         (__malloc_hook): Likewise.
15073         (__realloc_hook): Likewise.
15074         (__memalign_hook): Likewise.
15075         (__after_morecore_hook): Likewise.
15076         * malloc/arena.c (save_malloc_hook): Likewise.
15077         (save_free_hook): Likewise.
15078         * malloc/hooks.c (malloc_hook_ini): Likewise.
15079         (realloc_hook_ini): Likewise.
15080         (memalign_hook_ini): Likewise.
15081         * malloc/malloc.c (malloc_hook_ini): Likewise.
15082         (realloc_hook_ini): Likewise.
15083         (memalign_hook_ini): Likewise.
15084         (__free_hook): Likewise.
15085         (__malloc_hook): Likewise.
15086         (__realloc_hook): Likewise.
15087         (__memalign_hook): Likewise.
15088         (__libc_malloc): Likewise.
15089         (__libc_free): Likewise.
15090         (__libc_realloc): Likewise.
15091         (__libc_memalign): Likewise.
15092         (__libc_valloc): Likewise.
15093         (__libc_pvalloc): Likewise.
15094         (__libc_calloc): Likewise.
15095         (__posix_memalign): Likewise.
15096         * malloc/morecore.c (__sbrk): Likewise.
15097         (__default_morecore): Likewise.
15099         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15101         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15102         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15103         __malloc_ptrdiff_t.
15105         * malloc/malloc.h (__malloc_size_t): Remove macro.
15106         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15107         __malloc_size_t.
15108         (old_memalign_hook): Likewise.
15109         (old_realloc_hook): Likewise.
15110         (struct hdr): Likewise.
15111         (flood): Likewise.
15112         (mallochook): Likewise.
15113         (memalignhook): Likewise.
15114         (reallochook): Likewise.
15115         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15116         (tr_old_realloc_hook): Likewise.
15117         (tr_old_memalign_hook): Likewise.
15118         (tr_mallochook): Likewise.
15119         (tr_reallochook): Likewise.
15120         (tr_memalignhook): Likewise.
15122 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15125         default_ldbl_pack and using as default implementation.
15126         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15127         implementation.
15128         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15129         redundant definition.
15130         (ldbl_insert_mantissa): Likewise.
15131         (ldbl_canonicalize): Likewise.
15132         (ldbl_nearbyint): Likewise.
15133         (ldbl_pack): Rename to ldbl_pack_ppc.
15134         (ldbl_unpack): Rename to ldbl_unpack_ppc.
15135         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15136         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15138 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15141         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15142         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15143         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15145         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15146         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15147         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15149 2013-03-07  Andreas Jaeger  <aj@suse.de>
15151         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15152         bits/mman-linux.h.
15154 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15156         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15157         Include mpa.h and declare __MPEXP.
15158         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15159         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15160         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15161         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15162         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15163         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15164         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15166         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15167         (__slowpow): Use long double EXPL and LOGL functions to
15168         compute POW.
15169         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15170         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15171         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15172         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15173         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15174         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15177         intermediate variable to calculate exponent.
15178         (__sqr): Likewise.
15179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15180         Likewise.
15181         (__sqr): Likewise.
15183         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15184         [!NO__SQR]: Define __sqr.
15185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15186         and NO__SQR.  Remove all code except __mul and __sqr.  Include
15187         sysdeps/ieee754/dbl-64/mpa.c.
15188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15190         [BZ #12723]
15191         * posix/Makefile (tests): Add tst-pathconf.
15192         * posix/tst-pathconf.c: New test case.
15193         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15194         _PC_PIPE_BUF.
15195         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15197 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
15199         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15201 2013-03-06  Andreas Jaeger  <aj@suse.de>
15203         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15204         definition via __MAP_ANONYMOUS.
15206         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15207         it's not part of Linux headers.
15209         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15210         (MAP_HUGE_MASK): Define.
15212         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15213         Define.
15214         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15215         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15216         Define.
15217         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15218         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15219         Define.
15220         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15221         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15222         Define.
15223         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15225         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15226         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15227         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15228         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15229         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15230         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15232         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15233         Handle f2fs.
15235         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15236         Handle f2fs and efivarfs.
15238         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15239         f2fs.
15241         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15242         (EFIVARFS_MAGIC): Add.
15243         (F2FS_LINK_MAX): Add.
15245 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15247         * stdio-common/vfprintf.c: Replace __builtin_expect with
15248         __glibc_unlikely.
15250 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
15252         [BZ #13550]
15253         * sysdeps/generic/bp-sym.h: Remove file.
15254         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15255         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15256         <bp-sym.h> and <bp-asm.h>.
15257         (__longjmp): Don't use BP_SYM.
15258         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15259         and <bp-asm.h>.
15260         (memcpy): Don't use BP_SYM.
15261         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15262         <bp-sym.h> and <bp-asm.h>.
15263         (memcpy): Don't use BP_SYM.
15264         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15265         <bp-asm.h>.
15266         (memcpy): Don't use BP_SYM.
15267         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15268         <bp-asm.h>.
15269         (memset): Don't use BP_SYM.
15270         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15271         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15272         (__bzero): Don't use BP_SYM.
15273         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15274         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15275         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15276         <bp-sym.h> and <bp-asm.h>.
15277         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15278         pointers.
15279         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15280         <bp-sym.h> and <bp-asm.h>.
15281         (memcpy): Don't use BP_SYM.
15282         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15283         <bp-sym.h> and <bp-asm.h>.
15284         (memset): Don't use BP_SYM.
15285         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15286         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15287         (__bzero): Don't use BP_SYM.
15288         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15289         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15290         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15291         <bp-sym.h> and <bp-asm.h>.
15292         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15293         pointers.
15294         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15295         <bp-sym.h> and <bp-asm.h>.
15296         (memcpy): Don't use BP_SYM.
15297         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15298         <bp-sym.h> and <bp-asm.h>.
15299         (memset): Don't use BP_SYM.
15300         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15301         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15302         (__bzero): Don't use BP_SYM.
15303         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15304         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15305         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15306         <bp-sym.h> and <bp-asm.h>.
15307         (__memchr): Don't use BP_SYM.
15308         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15309         <bp-sym.h> and <bp-asm.h>.
15310         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15311         pointers.
15312         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15313         <bp-sym.h> and <bp-asm.h>.
15314         (memcpy): Don't use BP_SYM.
15315         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15316         <bp-sym.h> and <bp-asm.h>.
15317         (__mempcpy): Don't use BP_SYM.
15318         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15319         <bp-sym.h> and <bp-asm.h>.
15320         (__memrchr): Don't use BP_SYM.
15321         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15322         <bp-sym.h> and <bp-asm.h>.
15323         (memset): Don't use BP_SYM.
15324         (__bzero): Likewise.
15325         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15326         <bp-sym.h> and <bp-asm.h>.
15327         (__rawmemchr): Don't use BP_SYM.
15328         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15329         <bp-sym.h> and <bp-asm.h>.
15330         (__STRCMP): Don't use BP_SYM.
15331         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15332         <bp-sym.h> and <bp-asm.h>.
15333         (strchr): Don't use BP_SYM.
15334         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15335         <bp-sym.h> and <bp-asm.h>.
15336         (__strchrnul): Don't use BP_SYM.
15337         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15338         <bp-sym.h> and <bp-asm.h>.
15339         (strlen): Don't use BP_SYM.
15340         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15341         <bp-sym.h> and <bp-asm.h>.
15342         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15343         pointers.
15344         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15345         <bp-sym.h> and <bp-asm.h>.
15346         (__strnlen): Don't use BP_SYM.
15347         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15348         <bp-sym.h> and <bp-asm.h>.
15349         (__GI__setjmp): Don't use BP_SYM.
15350         (_setjmp): Likewise.
15351         (__sigsetjmp): Likewise.
15352         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15353         (L(start_addresses)): Don't use BP_SYM.
15354         (_start): Likewise.
15355         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15356         <bp-asm.h>.
15357         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15358         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15359         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15360         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15361         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15362         <bp-asm.h>.
15363         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15364         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
15365         about bounded pointers.
15366         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15367         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15368         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15369         <bp-asm.h>.
15370         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15371         about bounded pointers.  Remove GKM FIXME comments.
15372         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15373         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15374         <bp-asm.h>.
15375         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15376         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
15377         Remove GKM FIXME comments.
15378         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15379         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15380         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15381         <bp-asm.h>.
15382         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15383         about bounded pointers.  Remove GKM FIXME comment.
15384         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15385         and <bp-asm.h>.
15386         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15387         pointers.
15388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15389         <bp-sym.h> and <bp-asm.h>.
15390         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15392         <bp-sym.h> and <bp-asm.h>.
15393         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15394         comment.
15396 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15398         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15399         call free(NULL).
15401 2013-03-05  David S. Miller  <davem@davemloft.net>
15403         * po/es.po: Update from translation team.
15405 2013-03-05  Andreas Jaeger  <aj@suse.de>
15407         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15408         <bits/mman-linux.h>.
15409         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15410         is fine.
15411         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15412         <bits/mman-linux.h> to end of file.
15413         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15414         is fine.
15415         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15416         <bits/mman-linux.h> to end of file.
15417         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15418         is fine.
15419         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15420         <bits/mman-linux.h> to end of file.
15422         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15423         (MCL_CURRENT, MCL_FUTURE): Define here.
15425 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15427         [BZ #15232]
15428         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15429         attribute_hidden.
15430         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15432 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15434         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15435         fourth parameter needed for rt_sigprocmask syscall.
15436         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15437         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15438         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15439         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15440         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15441         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15443 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
15445         [BZ #13550]
15446         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15447         comment about bounded pointers.
15448         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15449         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15451 2013-03-04  Andreas Jaeger  <aj@suse.de>
15453         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15454         common definitions.
15456         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15457         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15458         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15459         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15460         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15461         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15463 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15465         [BZ #15055]
15466         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15467         __ieee754_sqrl instead of __sqrl.
15469 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
15471         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15472         * sysdeps/powerpc/fpu_control.h: ... here.
15473         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15474         * sysdeps/powerpc/bits/fenvinline.h: ... here.
15475         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15476         * sysdeps/powerpc/bits/mathinline.h: ... here.
15478 2013-03-01  Roland McGrath  <roland@hack.frob.com>
15480         * elf/dl-hwcaps.c (_dl_important_hwcaps):
15481         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15482         to just [NEED_DL_SYSINFO_DSO].
15483         * elf/dl-support.c: Likewise.
15484         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15485         * elf/rtld.c (dl_main): Likewise.
15486         * elf/setup-vdso.h (setup_vdso): Likewise.
15487         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15488         * sysdeps/unix/sysv/linux/dl-sysdep.c
15489         (_dl_discover_osversion): Likewise.
15491 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
15493         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15494         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15496 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15498         * NEWS: Mention libm performance improvements and non-x86 PI
15499         futex support.
15501         * csu/libc-start.c (__pthread_initialize_minimal): Change
15502         function arguments.
15503         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15505 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
15507         [BZ #13550]
15508         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15509         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15510         <bp-sym.h> and <bp-asm.h>.
15511         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15512         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15513         and <bp-asm.h>.
15514         (memcpy): Don't use BP_SYM.
15515         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15516         <bp-asm.h>.
15517         (__mpn_add_n): Don't use BP_SYM.
15518         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15519         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15520         and <bp-asm.h>.
15521         (__mpn_addmul_1): Don't use BP_SYM.
15522         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15523         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15524         <bp-sym.h>.
15525         (_setjmp): Don't use BP_SYM.
15526         (__novmx_setjmp): Likewise.
15527         (__GI__setjmp): Likewise.
15528         (__vmx_setjmp): Likewise.
15529         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15530         <bp-sym.h>.
15531         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15532         (__bzero): Don't use BP_SYM.
15533         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15534         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15535         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15536         <bp-sym.h> and <bp-asm.h>.
15537         (memcpy): Don't use BP_SYM.
15538         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15539         <bp-sym.h> and <bp-asm.h>.
15540         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15541         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15542         <bp-sym.h> and <bp-asm.h>.
15543         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15544         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15545         <bp-asm.h>.
15546         (__mpn_lshift): Don't use BP_SYM.
15547         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15548         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15549         <bp-asm.h>.
15550         (memset): Don't use BP_SYM.
15551         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15552         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15553         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15554         <bp-asm.h>.
15555         (__mpn_mul_1): Don't use BP_SYM.
15556         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15557         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15558         <bp-sym.h> and <bp-asm.h>.
15559         (memcmp): Don't use BP_SYM.
15560         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15561         <bp-sym.h> and <bp-asm.h>.
15562         (memcpy): Don't use BP_SYM.
15563         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15564         <bp-sym.h> and <bp-asm.h>.
15565         (memset): Don't use BP_SYM.
15566         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15567         <bp-sym.h> and <bp-asm.h>.
15568         (strncmp): Don't use BP_SYM.
15569         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15570         <bp-sym.h> and <bp-asm.h>.
15571         (memcpy): Don't use BP_SYM.
15572         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15573         <bp-sym.h> and <bp-asm.h>.
15574         (memset): Don't use BP_SYM.
15575         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15576         <bp-sym.h> and <bp-asm.h>.
15577         (__memchr): Don't use BP_SYM.
15578         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15579         <bp-sym.h> and <bp-asm.h>.
15580         (memcmp): Don't use BP_SYM.
15581         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15582         <bp-sym.h> and <bp-asm.h>.
15583         (memcpy): Don't use BP_SYM.
15584         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15585         <bp-sym.h> and <bp-asm.h>.
15586         (__mempcpy): Don't use BP_SYM.
15587         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15588         <bp-sym.h> and <bp-asm.h>.
15589         (__memrchr): Don't use BP_SYM.
15590         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15591         <bp-sym.h> and <bp-asm.h>.
15592         (memset): Don't use BP_SYM.
15593         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15594         <bp-sym.h> and <bp-asm.h>.
15595         (__rawmemchr): Don't use BP_SYM.
15596         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15597         <bp-sym.h> and <bp-asm.h>.
15598         (__STRCMP): Don't use BP_SYM.
15599         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15600         <bp-sym.h> and <bp-asm.h>.
15601         (strchr): Don't use BP_SYM.
15602         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15603         <bp-sym.h> and <bp-asm.h>.
15604         (__strchrnul): Don't use BP_SYM.
15605         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15606         <bp-sym.h> and <bp-asm.h>.
15607         (strlen): Don't use BP_SYM.
15608         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15609         <bp-sym.h> and <bp-asm.h>.
15610         (strncmp): Don't use BP_SYM.
15611         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15612         <bp-sym.h> and <bp-asm.h>.
15613         (__strnlen): Don't use BP_SYM.
15614         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15615         <bp-asm.h>.
15616         (__mpn_rshift): Don't use BP_SYM.
15617         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15618         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15619         <bp-sym.h> and <bp-asm.h>.
15620         (__sigsetjmp): Don't use BP_SYM.
15621         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15622         (L(start_addresses)): Don't use BP_SYM.
15623         (_start): Likewise.
15624         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15625         <bp-asm.h>.
15626         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15627         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15628         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15629         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15630         <bp-asm.h>.
15631         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15632         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15633         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15634         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15635         <bp-asm.h>.
15636         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15637         comments.
15638         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15639         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15640         <bp-asm.h>.
15641         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
15642         FIXME comments.
15643         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15644         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15645         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15646         <bp-asm.h>.
15647         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15648         comment.
15649         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15650         and <bp-asm.h>.
15651         (strncmp): Don't use BP_SYM,
15652         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15653         <bp-asm.h>.
15654         (__mpn_sub_n): Don't use BP_SYM.
15655         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15656         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15657         and <bp-asm.h>.
15658         (__mpn_submul_1): Don't use BP_SYM.
15659         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15661         <bp-sym.h> and <bp-asm.h>.
15662         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15664         <bp-sym.h> and <bp-asm.h>.
15665         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15666         comment.
15668 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15671         Use ZK to minimize writes to Z.
15672         (sub_magnitudes): Simplify code a bit.
15673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15674         Use ZK to minimize writes to Z.
15675         (sub_magnitudes): Simplify code a bit.
15677 2013-02-27  Roland McGrath  <roland@hack.frob.com>
15679         * csu/gmon-start.c: Add special exception to license text.
15681 2013-02-27  Richard Henderson  <rth@redhat.com>
15683         * scripts/config.guess: Update from config.git.
15684         * scripts/config.sub: Likewise.
15686 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15688         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15690         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15692         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15694         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15696         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15698 2013-02-26  Roland McGrath  <roland@hack.frob.com>
15700         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15701         [$(build-shared = yes].
15703 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15705         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15706         (__mul): Reduce iterations for calculating mantissa.
15708         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15709         MPTWO.
15710         (__mpranred): Likewise.
15712         [BZ #15160]
15713         * malloc/memusagestat.c (main): Draw graphs for heap and stack
15714         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15716 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
15718         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15719         Define __attribute__.
15721 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15723         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15724         unused.
15725         * posix/regex_internal.h (__attribute): Remove.
15726         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15727         (re_string_context_at): Likewise.
15728         (bitset_not): Use __attribute__ and mark function as possibly
15729         unused.
15730         (bitset_merge): Likewise.
15731         (bitset_mask): Likewise.
15732         (re_string_char_size_at): Likewise.
15733         (re_string_wchar_at): Likewise.
15734         (re_string_elem_size_at): Likewise.
15736 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15738         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15739         code.
15740         (cc32): Likewise.
15742         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15743         (__acr): Likewise.
15744         (__cpy): Likewise.
15745         (norm): Likewise.
15746         (denorm): Likewise.
15747         (__dbl_mp): Likewise.
15748         (add_magnitudes): Likewise.
15749         (sub_magnitudes): Likewise.
15750         (__mul): Likewise.
15751         (__inv): Likewise.
15753         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15754         style.
15756         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15757         style.
15759         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15760         code.
15762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15763         up changes with default code.
15764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15765         Likewise.
15767 2013-02-24  Allan McRae  <allan@archlinux.org>
15769         * manual/socket.texi (The Internet Namespace): Order menu items
15770         to match that in the file.
15772         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15773         node listing of the info page menu.
15775 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
15777         [BZ #13550]
15778         * sysdeps/i386/bp-asm.h: Remove file.
15779         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15780         (PARMS): Do not use macros from bp-asm.h.
15781         (S1): Likewise.
15782         (S2): Likewise.
15783         (SIZE): Likewise.
15784         (__mpn_add_n): Do not use BP_SYM
15785         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15786         "bp-asm.h".
15787         (PARMS): Do not use macros from bp-asm.h.
15788         (S1): Likewise.
15789         (SIZE): Likewise.
15790         (__mpn_addmul_1): Do not use BP_SYM
15791         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15792         "bp-asm.h".
15793         (PARMS): Do not use macros from bp-asm.h.
15794         (SIGMSK): Likewise.
15795         (_setjmp): Likewise.  Do not use BP_SYM.
15796         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15797         "bp-asm.h".
15798         (PARMS): Do not use macros from bp-asm.h.
15799         (SIGMSK): Likewise.
15800         (setjmp): Likewise.  Do not use BP_SYM.
15801         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15802         "bp-asm.h".
15803         (PARMS): Do not use macros from bp-asm.h.
15804         (__frexp): Do not use BP_SYM.
15805         (frexp): Likewise.
15806         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15807         "bp-asm.h".
15808         (PARMS): Do not use macros from bp-asm.h.
15809         (__frexpf): Do not use BP_SYM.
15810         (frexpf): Likewise.
15811         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15812         "bp-asm.h".
15813         (PARMS): Do not use macros from bp-asm.h.
15814         (__frexpl): Do not use BP_SYM.
15815         (frexpl): Likewise.
15816         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15817         "bp-asm.h".
15818         (PARMS): Do not use macros from bp-asm.h.
15819         (__remquo): Do not use BP_SYM.
15820         (remquo): Likewise.
15821         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15822         "bp-asm.h".
15823         (PARMS): Do not use macros from bp-asm.h.
15824         (__remquof): Do not use BP_SYM.
15825         (remquof): Likewise.
15826         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15827         "bp-asm.h".
15828         (PARMS): Do not use macros from bp-asm.h.
15829         (__remquol): Do not use BP_SYM.
15830         (remquol): Likewise.
15831         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15832         "bp-asm.h".
15833         (PARMS): Do not use macros from bp-asm.h.
15834         (DEST): Likewise.
15835         (SRC): Likewise.
15836         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
15837         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15838         "bp-asm.h".
15839         (PARMS): Do not use macros from bp-asm.h.
15840         (strlen): Do not use BP_SYM.
15841         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15842         "bp-asm.h".
15843         (PARMS): Do not use macros from bp-asm.h.
15844         (S1): Likewise.
15845         (S2): Likewise.
15846         (SIZE): Likewise.
15847         (__mpn_add_n): Do not use BP_SYM.
15848         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15849         "bp-asm.h".
15850         (PARMS): Do not use macros from bp-asm.h.
15851         (S1): Likewise.
15852         (SIZE): Likewise.
15853         (__mpn_addmul_1): Do not use BP_SYM.
15854         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15855         weak_alias.
15856         (bzero): Likewise.
15857         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15858         "bp-asm.h".
15859         (PARMS): Do not use macros from bp-asm.h.
15860         (S): Likewise.
15861         (SIZE): Likewise.
15862         (__mpn_lshift): Do not use BP_SYM.
15863         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15864         "bp-asm.h".
15865         (PARMS): Do not use macros from bp-asm.h.
15866         (DEST): Likewise.
15867         (SRC): Likewise.
15868         (LEN): Likewise.
15869         (memcpy): Likewise.  Do not use BP_SYM.
15870         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15871         libc_hidden_def and weak_alias.
15872         (mempcpy): Do not use BP_SYM in weak_alias.
15873         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15874         "bp-asm.h".
15875         (PARMS): Do not use macros from bp-asm.h.
15876         (DEST): Likewise.
15877         (LEN): Likewise.
15878         [!BZERO_P] (CHR): Likewise.
15879         (memset): Likewise.  Do not use BP_SYM.
15880         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15881         "bp-asm.h".
15882         (PARMS): Do not use macros from bp-asm.h.
15883         (S1): Likewise.
15884         (SIZE): Likewise.
15885         (__mpn_mul_1): Do not use BP_SYM.
15886         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15887         "bp-asm.h".
15888         (PARMS): Do not use macros from bp-asm.h.
15889         (S): Likewise.
15890         (SIZE): Likewise.
15891         (__mpn_rshift): Do not use BP_SYM.
15892         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15893         "bp-asm.h".
15894         (PARMS): Do not use macros from bp-asm.h.
15895         (STR): Likewise.
15896         (CHR): Likewise.
15897         (strchr): Likewise.  Do not use BP_SYM.
15898         (index): Do not use BP_SYM in weak_alias.
15899         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15900         "bp-asm.h".
15901         (PARMS): Do not use macros from bp-asm.h.
15902         (DEST): Likewise.
15903         (SRC): Likewise.
15904         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
15905         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15906         "bp-asm.h".
15907         (PARMS): Do not use macros from bp-asm.h.
15908         (strlen): Do not use BP_SYM.
15909         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15910         "bp-asm.h".
15911         (PARMS): Do not use macros from bp-asm.h.
15912         (S1): Likewise.
15913         (S2): Likewise.
15914         (SIZE): Likewise.
15915         (__mpn_sub_n): Do not use BP_SYM.
15916         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15917         "bp-asm.h".
15918         (PARMS): Do not use macros from bp-asm.h.
15919         (S1): Likewise.
15920         (SIZE): Likewise.
15921         (__mpn_submul_1): Do not use BP_SYM.
15922         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15923         "bp-asm.h".
15924         (PARMS): Do not use macros from bp-asm.h.
15925         (S1): Likewise.
15926         (S2): Likewise.
15927         (SIZE): Likewise.
15928         (__mpn_add_n): Do not use BP_SYM.
15929         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15930         weak_alias.
15931         (bzero): Likewise.
15932         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15933         "bp-asm.h".
15934         (PARMS): Do not use macros from bp-asm.h.
15935         (BLK2): Likewise.
15936         (LEN): Likewise.
15937         (memcmp): Do not use BP_SYM.
15938         (bcmp): Do not use BP_SYM in weak_alias.
15939         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15940         "bp-asm.h".
15941         (PARMS): Do not use macros from bp-asm.h.
15942         (DEST): Likewise.
15943         (SRC): Likewise.
15944         (LEN): Likewise.
15945         (memcpy): Likewise.  Do not use BP_SYM.
15946         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
15947         "bp-asm.h".
15948         (PARMS): Do not use macros from bp-asm.h.
15949         (DEST): Likewise.
15950         (SRC): Likewise.
15951         (LEN): Likewise.
15952         (memmove): Likewise.  Do not use BP_SYM.
15953         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15954         "bp-asm.h".
15955         (PARMS): Do not use macros from bp-asm.h.
15956         (DEST): Likewise.
15957         (SRC): Likewise.
15958         (LEN): Likewise.
15959         (__mempcpy): Likewise.  Do not use BP_SYM.
15960         (mempcpy): Do not use BP_SYM in weak_alias.
15961         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15962         "bp-asm.h".
15963         (PARMS): Do not use macros from bp-asm.h.
15964         (DEST): Likewise.
15965         (LEN): Likewise.
15966         [!BZERO_P] (CHR): Likewise.
15967         (memset): Likewise.  Do not use BP_SYM.
15968         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
15969         "bp-asm.h".
15970         (PARMS): Do not use macros from bp-asm.h.
15971         (STR2): Likewise.
15972         (strcmp): Do not use BP_SYM.
15973         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
15974         "bp-asm.h".
15975         (PARMS): Do not use macros from bp-asm.h.
15976         (STR): Likewise.
15977         (DELIM): Likewise.
15978         [USE_AS_STRTOK_R] (SAVE): Likewise.
15979         (FUNCTION): Likewise.  Do not use BP_SYM.
15980         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
15981         aliases.
15982         (strtok_r): Likewise.
15983         (__GI___strtok_r): Likewise.
15984         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
15985         (PARMS): Do not use macros from bp-asm.h.
15986         (S): Likewise.
15987         (SIZE): Likewise.
15988         (__mpn_lshift): Do not use BP_SYM.
15989         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
15990         (PARMS): Do not use macros from bp-asm.h.
15991         (STR): Likewise.
15992         (CHR): Likewise.
15993         (__memchr): Do not use BP_SYM.
15994         (memchr): Do not use BP_SYM in weak_alias.
15995         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
15996         (PARMS): Do not use macros from bp-asm.h.
15997         (BLK2): Likewise.
15998         (LEN): Likewise.
15999         (memcmp): Do not use BP_SYM.
16000         (bcmp): Do not use BP_SYM in weak_alias.
16001         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16002         (PARMS): Do not use macros from bp-asm.h.
16003         (S1): Likewise.
16004         (SIZE): Likewise.
16005         (__mpn_mul_1): Do not use BP_SYM.
16006         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16007         "bp-asm.h".
16008         (PARMS): Do not use macros from bp-asm.h.
16009         (STR): Likewise.
16010         (CHR): Likewise.
16011         (__rawmemchr): Do not use BP_SYM.
16012         (rawmemchr): Do not use BP_SYM in weak_alias.
16013         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16014         (PARMS): Do not use macros from bp-asm.h.
16015         (S): Likewise.
16016         (SIZE): Likewise.
16017         (__mpn_rshift): Do not use BP_SYM.
16018         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16019         (PARMS): Do not use macros from bp-asm.h.
16020         (SIGMSK): Likewise.
16021         (__sigsetjmp): Likewise.  Do not use BP_SYM.
16022         * sysdeps/i386/start.S: Do not include "bp-sym.h".
16023         (_start): Do not use BP_SYM.
16024         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16025         (PARMS): Do not use macros from bp-asm.h.
16026         (DEST): Likewise.
16027         (SRC): Likewise.
16028         (__stpcpy): Likewise.  Do not use BP_SYM.
16029         (stpcpy): Do not use BP_SYM in weak_alias.
16030         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16031         "bp-asm.h".
16032         (PARMS): Do not use macros from bp-asm.h.
16033         (DEST): Likewise.
16034         (SRC): Likewise.
16035         (LEN): Likewise.
16036         (__stpncpy): Likewise.  Do not use BP_SYM.
16037         (stpncpy): Do not use BP_SYM in weak_alias.
16038         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16039         (PARMS): Do not use macros from bp-asm.h.
16040         (STR): Likewise.
16041         (CHR): Likewise.
16042         (strchr): Likewise.  Do not use BP_SYM.
16043         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16044         "bp-asm.h".
16045         (PARMS): Do not use macros from bp-asm.h.
16046         (STR): Likewise.
16047         (CHR): Likewise.
16048         (__strchrnul): Likewise.  Do not use BP_SYM.
16049         (strchrnul): Do not use BP_SYM in weak_alias.
16050         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16051         "bp-asm.h".
16052         (PARMS): Do not use macros from bp-asm.h.
16053         (STOP): Likewise.
16054         (strcspn): Do not use BP_SYM.
16055         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16056         "bp-asm.h".
16057         (PARMS): Do not use macros from bp-asm.h.
16058         (STR): Likewise.
16059         (STOP): Likewise.
16060         (strpbrk): Likewise.  Do not use BP_SYM.
16061         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16062         "bp-asm.h".
16063         (PARMS): Do not use macros from bp-asm.h.
16064         (STR): Likewise.
16065         (CHR): Likewise.
16066         (strrchr): Likewise.  Do not use BP_SYM.
16067         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16068         (PARMS): Do not use macros from bp-asm.h.
16069         (SKIP): Likewise.
16070         (strspn): Do not use BP_SYM.
16071         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16072         (PARMS): Do not use macros from bp-asm.h.
16073         (STR): Likewise.
16074         (DELIM): Likewise.
16075         (SAVE): Likewise.
16076         (FUNCTION): Likewise.  Do not use BP_SYM.
16077         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16078         aliases.
16079         (strtok_r): Likewise.
16080         (__GI___strtok_r): Likewise.
16081         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16082         (PARMS): Do not use macros from bp-asm.h.
16083         (S1): Likewise.
16084         (S2): Likewise.
16085         (SIZE): Likewise.
16086         (__mpn_sub_n): Do not use BP_SYM.
16087         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16088         "bp-asm.h".
16089         (PARMS): Do not use macros from bp-asm.h.
16090         (S1): Likewise.
16091         (SIZE): Likewise.
16092         (__mpn_submul_1): Do not use BP_SYM.
16093         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16094         <bp-sym.h>.
16095         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16096         and <bp-asm.h>.
16097         (PARMS): Do not use macros from bp-asm.h.
16098         (FLAGS): Likewise.
16099         (PTID): Likewise.
16100         (TLS): Likewise.
16101         (CTID): Likewise.
16102         (__clone): Do not use BP_SYM.
16103         (clone): Do not use BP_SYM in weak_alias.
16104         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16105         and <bp-asm.h>.
16106         (PARMS): Do not use macros from bp-asm.h.
16107         (LEN): Likewise.
16108         (__mmap64): Do not use BP_SYM.
16109         (mmap64): Do not use BP_SYM in weak_alias.
16110         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16111         <bp-sym.h> and <bp-asm.h>.
16112         (PARMS): Do not use macros from bp-asm.h.
16113         (__posix_fadvise64_l64): Do not use BP_SYM.
16114         * sysdeps/unix/sysv/linux/i386/semtimedop.S
16115         (PARMS): Do not use macros from bp-asm.h.
16116         (NSOPS): Likewise.
16117         (semtimedop): Do not use BP_SYM.
16118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16119         and <bp-asm.h>.
16121 2013-02-21  Allan McRae  <allan@archlinux.org>
16123         * manual/message.texi (Charset conversion in gettext):
16124         Move @end statement to beginning of line.
16126 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16129         static.
16130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16131         Likewise.
16133         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16134         (denorm): Likewise.
16135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16138 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16140         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16141         tail-call to the resolved function if pltexit isn't needed.
16143 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16146         or Y being zero as being unlikely.
16147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16148         Likewise.
16150 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
16152         * manual/nss.texi (System Databases and Name Service Switch):
16153         Remove frobnicate @pxref.
16155 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16157         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16158         __attribute__ ((unused)) to __attribute__ ((__unused__)).
16160 2013-02-20  Petr Machata  <pmachata@redhat.com>
16162         * elf/elf.h (R_ARM_TARGET1): New macro.
16163         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16164         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16165         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16166         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16167         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16168         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16169         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16170         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16171         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16172         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16173         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16174         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16175         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16176         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16177         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16178         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16179         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16180         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16181         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16182         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16183         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16184         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16185         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16186         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16187         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16188         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16189         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16190         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16191         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16192         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16193         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16194         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16195         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16196         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16197         (R_ARM_THM_GOT_BREL12): Likewise.
16198         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16199         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16200         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16201         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16202         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16203         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16204         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16205         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16206         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16208 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16210         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16211         __attribute_used__ to __attribute__ ((unused)).
16213 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16215         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16216         powerpc mpa.c.
16217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16218         comment formatting.
16219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16221 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
16223         [BZ #13550]
16224         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16225         Remove macro.
16226         (ENTER): Remove both macro definitions.
16227         (LEAVE): Likewise.
16228         (CHECK_BOUNDS_LOW): Likewise.
16229         (CHECK_BOUNDS_HIGH): Likewise.
16230         (CHECK_BOUNDS_BOTH): Likewise.
16231         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16232         (RETURN_BOUNDED_POINTER): Likewise.
16233         (RETURN_NULL_BOUNDED_POINTER): Likewise.
16234         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16235         (POP_ERRNO_LOCATION_RETURN): Likewise.
16236         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16237         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16238         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16239         macros.
16240         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16241         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16242         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16243         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16244         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16245         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16246         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16247         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16248         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16249         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16250         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16251         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16252         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16253         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16254         removed macros.
16255         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16256         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16257         macros.
16258         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16259         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16260         * sysdeps/i386/i586/memset.S (memset): Likewise.
16261         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16262         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16263         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16264         macros.
16265         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16266         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16267         Change uses of L(2) to L(out).
16268         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16269         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16270         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16271         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16272         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16273         removed macros.
16274         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16275         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16276         macros.
16277         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16278         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16279         (RETURN): Do not use macro LEAVE.
16280         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16281         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16282         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16283         * sysdeps/i386/i686/memset.S (memset): Likewise.
16284         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16285         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16286         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16287         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16288         Likewise.
16289         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16290         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
16291         L(1_2) and L(1_3) into L(1).
16292         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16293         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16294         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16295         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16296         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16297         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16298         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16299         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16300         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16301         macros.
16302         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16303         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16304         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16305         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16306         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16307         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16308         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16309         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16310         * sysdeps/i386/strcspn.S (strcspn): Likewise.
16311         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16312         * sysdeps/i386/strrchr.S (strrchr): Likewise.
16313         * sysdeps/i386/strspn.S (strspn): Likewise.
16314         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16315         conditional code.
16316         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16317         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16318         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16319         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
16320         L(1_3) into L(1_1).
16321         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16322         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16323         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16324         macros.
16325         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16327 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
16329         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16330         macro.
16332 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16334         * math/atest-exp.c (exp_mpn): Remove ROUND.
16335         * math/atest-exp2.c (exp_mpn): Likewise.
16336         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16338         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16339         * stdlib/tst-tls-atexit-lib.c: Likewise.
16340         * stdlib/tst-tls-atexit.c: Likewise.
16342 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16344         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16345         and __attribute_alloc_size__.
16347 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16349         * include/programs/xmalloc.h: Change __attribute_alloc_size to
16350         __attribute_alloc_size__.
16351         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16352         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16354 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16356         * include/programs/xmalloc.h: New file.
16357         * catgets/gencat.c: Include it.
16358         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16359         * elf/pldd.c: Likewise.
16360         * iconv/iconv_charmap.c: Likewise.
16361         * iconv/iconvconfig.c: Likewise.
16362         * iconv/strtab.c: Likewise.
16363         * locale/programs/locale.c: Likewise.
16364         * locale/programs/localedef.h: Likewise.
16365         * locale/programs/simple-hash.c: Likewise.
16366         * nscd/nscd.h: Likewise.
16367         * nss/makedb.c: Likewise.
16368         * sysdeps/generic/ldconfig.h: Likewise.
16370 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16372         * Versions.def: Add GLIBC_2.18.
16373         * include/link.h (struct link_map): New member l_tls_dtor_count.
16374         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16375         (__call_tls_dtors): Likewise.
16376         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16377         __cxa_thread_atexit_impl.
16378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16379         Likewise.
16380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16381         Likewise.
16382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16383         Likewise.
16384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16385         Likewise.
16386         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16388         Likewise.
16389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16390         Likewise.
16391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16393         Likewise.
16394         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16395         (tests): Add test case tst-tls-atexit.
16396         (modules-names): Add shared library for tst-tls-atexit.
16397         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16398         (GLIBC_PRIVATE): Add __call_tls_dtors.
16399         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16400         for libstdc++.
16401         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16402         * stdlib/tst-tls-atexit.c: New test case.
16403         * stdlib/tst-tls-atexit-lib.c: New test case.
16405         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16407         * elf/Versions (ld): Add _dl_find_dso_for_object.
16408         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16409         * elf/dl-open.c (_dl_find_dso_for_object): New function.
16410         (dl_open_worker): Use _dl_find_dso_for_object.
16411         * elf/dl-sym.c (do_sym): Likewise.
16412         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16414 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16416         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16417         Syntactic changes only.
16418         (_dl_runtime_profile): Do a tail-call to the resolved function.
16420 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
16422         [BZ #13550]
16423         * sysdeps/x86_64/bp-asm.h: Remove file.
16424         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16425         <bp-sym.h> and <bp-asm.h>.
16426         (__clone): Do not use BP_SYM.
16427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16428         <bp-sym.h> and <bp-asm.h>.
16429         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16430         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16431         "bp-asm.h".
16432         (_setjmp): Do not use BP_SYM.
16433         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16434         "bp-asm.h".
16435         (setjmp): Do not use BP_SYM.
16436         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16437         libc_hidden_def.
16438         (mempcpy): Do not use BP_SYM in weak_alias.
16439         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16440         "bp-asm.h".
16441         (strchr): Do not use BP_SYM.
16442         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16443         "bp-asm.h".
16444         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16445         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16446         (_start): Do not use BP_SYM.
16447         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16448         "bp-asm.h".
16449         (strcat): Do not use BP_SYM.
16450         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16451         "bp-asm.h".
16452         (STRCMP): Do not use BP_SYM.
16453         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16454         "bp-asm.h".
16455         (STRCPY): Do not use BP_SYM.
16456         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16457         "bp-asm.h".
16458         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16459         "bp-asm.h".
16460         (FUNCTION): Do not use BP_SYM.
16461         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16462         weak_alias.
16463         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16465 2013-02-17  Andreas Jaeger  <aj@suse.de>
16467         * time/Versions: Sort entries.
16468         * string/Versions: Likewise.
16469         * resolv/Versions: Likewise.
16470         * posix/Versions: Likewise.
16471         * iconv/Versions: Likewise.
16472         * elf/Versions: Likewise.
16473         * wcsmbs/Versions: Likewise.
16475 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16477         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16478         loop termination condition.
16480         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16481         variable to calculate EZ.
16482         (__sqr): Likewise.
16484         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16485         the lower precision input.
16487 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
16489         [BZ #13550]
16490         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16491         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16492         (run-via-rtld-prefix): Do not handle %-bp tests.
16493         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16494         (all-object-suffixes): Remove .ob.
16495         (bppfx): Remove variable.
16496         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16497         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16498         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16499         [$(build-bounded) = yes] (libtype.ob): Likewise.
16500         * Makerules (elide-routines.ob): Remove variable.
16501         (do-tests-clean): Do not handle *-bp.out.
16502         (common-mostlyclean): Do not handle *-bp and *-bp.out.
16503         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16504         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16505         (tests): Do not include $(tests-bp.out).
16506         (xtests): Do not include $(xtests-bp.out).
16507         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16508         [$(build-bounded) = yes] ($(addprefix
16509         $(objpfx),$(binaries-bounded))): Remove rule.
16510         ($(objpfx)%-bp.out): Remove rule.
16511         * config.make.in (build-bounded): Remove variable.
16512         * crypt/Makefile [$(build-bounded) = yes]
16513         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16514         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16515         append to variable.
16516         [$(build-bounded) = yes] (install-lib): Likewise.
16517         [$(build-bounded) = yes] (generated): Likewise.
16518         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16519         Remove rule.
16520         * intl/Makefile [$(build-bounded) = yes]
16521         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16522         * math/Makefile [$(build-bounded) = yes]
16523         ($(tests:%=$(objpfx)%-bp): Likewise.
16524         * misc/Makefile [$(build-bounded) = yes]
16525         ($(objpfx)tst-tsearch-bp): Likewise.
16526         * nptl/Makeconfig (bounded-thread-library): Remove variable.
16527         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16528         Remove dependency.
16529         * string/Makefile (o-objects.ob): Remove variable.
16530         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16531         (CFLAGS-.ob): Remove variable.
16532         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16533         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16534         both definitions of variable.
16535         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16536         (ASFLAGS-.ob): Remove variable.
16538 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
16540         [BZ #13550]
16541         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16542         Remove __BOUNDED_POINTERS__ from condition.
16543         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16544         * string/bits/string2.h [!__NO_STRING_INLINES &&
16545         !__BOUNDED_POINTERS__]: Likewise.
16546         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16547         Likewise.
16548         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16549         Remove conditional code.
16550         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16551         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16552         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16553         condition.
16555         [BZ #13550]
16556         * csu/libc-start.c: Do not include <bp-sym.h>.
16557         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16558         * elf/dl-open.c: Do not include <bp-sym.h>.
16559         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16560         * math/fegetenv.c: Do not include <bp-sym.h>.
16561         (fegetenv): Do not use BP_SYM in versioned symbols.
16562         * nptl/sysdeps/pthread/bits/libc-lockP.h
16563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16564         <bp-sym.h>.
16565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16566         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16568         (__pthread_mutex_destroy): Likewise.
16569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16570         (__pthread_mutex_lock): Likewise.
16571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16572         (__pthread_mutex_trylock): Likewise.
16573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16574         (__pthread_mutex_unlock): Likewise.
16575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16576         (__pthread_mutexattr_init): Likewise.
16577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16578         (__pthread_mutexattr_destroy): Likewise.
16579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16580         (__pthread_mutexattr_settype): Likewise.
16581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16582         (__pthread_rwlock_init): Likewise.
16583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16584         (__pthread_rwlock_destroy): Likewise.
16585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16586         (__pthread_rwlock_rdlock): Likewise.
16587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16588         (__pthread_rwlock_tryrdlock): Likewise.
16589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16590         (__pthread_rwlock_wrlock): Likewise.
16591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16592         (__pthread_rwlock_trywrlock): Likewise.
16593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16594         (__pthread_rwlock_unlock): Likewise.
16595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16596         (__pthread_key_create): Likewise.
16597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16598         (__pthread_setspecific): Likewise.
16599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16600         (__pthread_getspecific): Likewise.
16601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16602         Likewise.
16603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16604         (_pthread_cleanup_push_defer): Likewise.
16605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16606         (_pthread_cleanup_pop_restore): Likewise.
16607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16608         (pthread_setcancelstate): Likewise.
16609         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16610         <bp-sym.h>.
16611         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16612         (memchr): Do not use BP_SYM in weak_alias.
16613         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16614         (fegetenv): Do not use BP_SYM in versioned symbols.
16615         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16616         (fesetenv): Do not use BP_SYM in versioned symbols.
16617         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16618         (feupdateenv): Do not use BP_SYM in versioned symbols.
16619         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16620         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16621         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16622         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16623         (open64): Do not use BP_SYM in weak_alias.
16624         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16625         (fegetenv): Do not use BP_SYM in versioned symbols.
16626         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16627         (fesetenv): Do not use BP_SYM in versioned symbols.
16628         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16629         (feupdateenv): Do not use BP_SYM in versioned symbols.
16630         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16631         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16632         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16633         (feraiseexcept): Do not use BP_SYM in versioned symbols.
16634         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16635         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16636         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16637         <bp-sym.h>.
16638         (__libc_start_main): Do not use BP_SYM.
16640 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16643         redundant return line.
16644         (norm): Likewise.
16645         (denorm): Likewise.
16646         (dbl_mp): Likewise.
16647         (sub_magnitudes): Likewise.
16648         (__add): Likewise.
16649         (__sub): Likewise.
16650         (__mul): Likewise.
16651         (__inv): Likewise.
16652         (__dvd): Likewise.
16653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16654         (norm): Likewise.
16655         (denorm): Likewise.
16656         (dbl_mp): Likewise.
16657         (sub_magnitudes): Likewise.
16658         (__add): Likewise.
16659         (__sub): Likewise.
16660         (__mul): Likewise.
16661         (__inv): Likewise.
16662         (__dvd): Likewise.
16664         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16665         instead of __mul.
16666         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16667         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16668         (cc32): Likewise.
16670         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16671         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16673         of __mul for squares.
16674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16675         function
16676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16677         Likewise.
16678         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16679         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16681 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
16683         [BZ #13550]
16684         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16685         code.
16686         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16687         prototype or function definition.  Rename ubp_* variables and
16688         parameters.  Remove argv definitions conditional on
16689         [__BOUNDED_POINTERS__].
16690         * debug/backtrace.c (__backtrace): Do not use __unbounded.
16691         * elf/dl-runtime.c (_dl_fixup): Likewise.
16692         * include/set-hooks.h (RUN_HOOK): Likewise.
16693         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16694         definition.
16695         * string/strcpy.c (strcpy): Do not use __unbounded.
16696         * sysdeps/generic/frame.h (struct layout): Likewise.
16697         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16698         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16699         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16700         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16701         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16702         (__backtrace): Likewise.
16703         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16704         use __ptrvalue.
16705         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16706         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16707         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16708         Likewise.
16709         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16710         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16711         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16712         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16713         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16714         Do not use __unbounded.
16715         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16716         Rename __unboundedrlimits parameter to rlimits in prototype.
16717         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16718         Do not use __unbounded.
16719         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16720         not use __ptrvalue.
16721         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16722         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16723         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16724         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16725         __ptrvalue or __unbounded.
16726         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16727         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16728         use __unbounded.
16729         (__new_msgctl): Do not use __ptrvalue.
16730         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16731         __unbounded.
16732         (__libc_msgrcv): Do not use __ptrvalue.
16733         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16734         startup_info): Do not use __unbounded.
16735         (__libc_start_main): Likewise.  Rename ubp_* variables and
16736         parameters.  Remove argv definitions conditional on
16737         [__BOUNDED_POINTERS__].
16738         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16739         __ptrvalue.
16740         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16741         use __unbounded.
16742         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16743         or __ptrvalue.
16744         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16745         use __unbounded.
16746         (__new_shmctl): Do not use __ptrvalue.
16747         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16748         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16749         Likewise.
16750         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16751         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16752         (__libc_sigaction): Likewise.
16753         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16754         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16755         Likewise.
16756         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16758 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
16760         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16762         * string/mempcpy.c: Implement by calling memcpy.
16764 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16766         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16768         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16769         evaluation.
16771         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16772         values in the mantissa.
16774         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16775         minimize writes to Z.
16776         (sub_magnitudes): Simplify code a bit.
16778 2013-02-12  Roland McGrath  <roland@hack.frob.com>
16780         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16781         from the message.  The linker prefixes all warnings with that already.
16783 2013-02-12  Andreas Schwab  <schwab@suse.de>
16785         [BZ #15078]
16786         * posix/regexec.c (extend_buffers): Add parameter min_len.
16787         (check_matching): Pass minimum needed length.
16788         (clean_state_log_if_needed): Likewise.
16789         (get_subexp): Likewise.
16790         * posix/Makefile (tests): Add bug-regex34.
16791         (bug-regex34-ENV): Define.
16792         * posix/bug-regex34.c: New file.
16794         [BZ #11561]
16795         * posix/regcomp.c (parse_bracket_exp): When looking up collating
16796         elements compare against the byte sequence of it, not its name.
16797         * posix/Makefile (tests): Add bug-regex35.
16798         (bug-regex35-ENV): Define.
16799         * posix/bug-regex35.c: New file.
16801 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16803         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
16804         comment.
16805         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16806         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16807         (CHECK_EOL): Add undef.
16809 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
16811         * bits/stdlib-bsearch.h: New file.
16812         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16813         * stdlib/stdlib.h: Likewise.
16815 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16817         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16818         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16819         declaration.
16820         * manual/search.texi (Array Search Function): Add missing const in
16821         lfind prototype.
16822         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16823         declaration to use rlim_t.
16824         (Basic Scheduling Functions): Remove erroneous const from
16825         sched_getparam prototype.  Remove erroneous * from
16826         sched_get_priority_max and sched_get_priority_min prototypes.
16827         (Resource Usage): Fix summary @comment on vtimes to refer to
16828         sys/vtimes.h rather than vtimes.h.
16829         Add missing *s in vtimes prototype.
16830         (Limits on Resources): Fix ulimit prototype to return long int.
16831         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16832         prototypes to use long int rather than double.
16833         (BSD Random): Fix initstate and setstate to use char *, not void *.
16834         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16835         prototype to make second argument 'struct aiocb64 *const[]'.
16836         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16837         (Status of AIO Operations): Remove erroneous const in aio_return and
16838         aio_return64 prototypes.
16839         (Synchronizing I/O): Fix sync prototype to return void.
16840         * manual/startup.texi (Suboptions): Remove an erroneous const in
16841         getsubopt prototype.
16842         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16843         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16844         use size_t rather than int.
16845         (Scanning All Users): Likewise for getpwent_r.
16846         (Setting Groups): Add missing const to setgroups prototype.
16847         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16848         * manual/socket.texi (Host Names): Fix gethostbyaddr and
16849         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16850         'const void *' rather than 'const char *'.
16851         (Host Address Functions): Likewise for inet_ntop.
16852         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16853         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16854         ssize_t for return value.
16855         (Sending Data): Likewise for send, sendto, sendmsg.
16856         (Socket Option Functions): Add a missing const in setsockopt prototype.
16857         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16858         use wchar_t for the argument.
16859         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16860         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16861         take no arguments.
16862         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16863         double/float/long double for second argument.
16864         Fix return types of significand, significandf, significandl.
16865         * manual/filesys.texi (Setting Permissions): Use mode_t for second
16866         argument in fchmod prototype.
16867         (File Owner): Use uid_t and gid_t in fchown prototype.
16868         (File Times): Add const to utimes, futimes, and lutimes prototypes.
16869         (Making Special Files): Use mode_t and dev_t in mknod prototype.
16870         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16871         use 'const struct dirent **' as argument types to CMP function pointer
16872         argument.
16873         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16874         (File Times): Fix summary magic @comment for struct utimbuf and utime
16875         to refer to utime.h, not time.h.
16876         * manual/string.texi (Argz Functions): Add missing const in
16877         argz_extract and argz_next prototypes.
16878         (Finding Tokens in a String): Likewise for basename.
16879         (String/Array Comparison): Fix typo in wcscasecmp prototype.
16880         (Copying and Concatenation): Fix typo in wmemmove prototype.
16881         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16882         (Signal Stack): Remove erroneous const in sigstack prototype.
16883         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16884         prototype.
16885         (Simple Calendar Time): Likewise for stime.
16886         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16887         prototype.
16888         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16889         say sys/sysctl.h instead.
16890         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16891         and vsyslog prototypes.
16893 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16895         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16896         Remove.
16898 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16900         * misc/sys/mman.h: Fix typo in mremap comment.
16902 2013-02-08  Roland McGrath  <roland@hack.frob.com>
16904         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16905         the '\0' terminator.
16907 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
16909         [BZ #13550]
16910         * debug/segfault.c: Don't include <bp-checks.h>.
16911         * sysdeps/generic/bp-checks.h: Remove file.
16912         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16913         (__GETDENTS): Don't use CHECK_N.
16914         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16915         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16916         (__getgroups): Don't use CHECK_N.
16917         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16918         (setgroups): Don't use CHECK_N.
16919         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16920         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16921         (__libc_msgrcv): Don't use CHECK_N.
16922         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16923         (__libc_msgsnd): Don't use CHECK_N.
16924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16925         <bp-checks.h>.
16926         (__libc_pread): Don't use CHECK_N.
16927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16928         include <bp-checks.h>.
16929         (__libc_pread64): Don't use CHECK_N.
16930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16931         include <bp-checks.h>.
16932         (__libc_pwrite): Don't use CHECK_N.
16933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16934         include <bp-checks.h>.
16935         (__libc_pwrite64): Don't use CHECK_N.
16936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16937         <bp-checks.h>.
16938         (__libc_pread): Don't use CHECK_N.
16939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16940         include <bp-checks.h>.
16941         (__libc_pread64): Don't use CHECK_N.
16942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16943         include <bp-checks.h>.
16944         (__libc_pwrite): Don't use CHECK_N.
16945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16946         include <bp-checks.h>.
16947         (__libc_pwrite64): Don't use CHECK_N.
16948         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16949         (do_pread): Don't use CHECK_N.
16950         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16951         (do_pread64): Don't use CHECK_N.
16952         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16953         (do_pwrite): Don't use CHECK_N.
16954         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16955         (do_pwrite64): Don't use CHECK_N.
16956         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16957         (__libc_readv): Don't use CHECK_N.
16958         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16959         (semop): Don't use CHECK_N.
16960         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16961         <bp-checks.h>.
16962         (semtimedop): Don't use CHECK_N.
16963         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16964         (__libc_pread): Don't use CHECK_N.
16965         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
16966         <bp-checks.h>.
16967         (__libc_pread64): Don't use CHECK_N.
16968         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
16969         <bp-checks.h>.
16970         (__libc_pwrite): Don't use CHECK_N.
16971         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
16972         <bp-checks.h>.
16973         (__libc_pwrite64): Don't use CHECK_N.
16974         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
16975         <bp-checks.h>.
16976         (__libc_msgrcv): Don't use CHECK_N.
16977         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
16978         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
16979         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
16980         (__libc_writev): Don't use CHECK_N.
16982 2013-02-08  Roland McGrath  <roland@hack.frob.com>
16984         * string/strcpy.c: Removed unused variable.
16986         * Makeconfig (+sysdep-includes): Define with := rather than =.
16987         Use an existing include/ subdir of each sysdeps dir before it.
16989 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
16991         * nscd/connection.c (register_traced_file): Comment function.
16992         [HAVE_INOTIFY] (union __inev): Define.
16993         [HAVE_INOTIFY] (inotify_check_files): New function.
16994         [HAVE_INOTIFY] (clear_db_cache): Likewise.
16995         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
16996         clear_db_cache.
16997         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
16999 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17001         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17002         loaded if not already and that a failure is permanent.
17004 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17006         [BZ #15006]
17007         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17008         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17010 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17012         [BZ #13550]
17013         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17014         (CHECK_1_NULL_OK): Likewise.
17015         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17016         (__fxstat): Do not use CHECK_1.
17017         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17018         <bp-checks.h>.
17019         (___fxstat64): Do not use CHECK_1.
17020         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17021         <bp-checks.h>.
17022         (__fxstatat): Do not use CHECK_1.
17023         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17024         <bp-checks.h>.
17025         (__fxstatat64): Do not use CHECK_1.
17026         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17027         <bp-checks.h>.
17028         (__fxstat): Do not use CHECK_1.
17029         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17030         <bp-checks.h>.
17031         (__fxstatat): Do not use CHECK_1.
17032         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17033         <bp-checks.h>.
17034         (__getresgid): Do not use CHECK_1.
17035         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17036         <bp-checks.h>.
17037         (__getresuid): Do not use CHECK_1.
17038         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17039         <bp-checks.h>.
17040         (__lxstat): Do not use CHECK_1.
17041         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17042         <bp-checks.h>.
17043         (__old_msgctl): Do not use CHECK_1.
17044         (__new_msgctl): Likewise.
17045         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17046         <bp-checks.h>.
17047         (__new_setrlimit): Do not use CHECK_1.
17048         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17049         <bp-checks.h>.
17050         (__old_shmctl): Do not use CHECK_1.
17051         (__new_shmctl): Likewise.
17052         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17053         <bp-checks.h>.
17054         (__xstat): Do not use CHECK_1.
17055         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17056         (__lxstat): Do not use CHECK_1.
17057         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17058         <bp-checks.h>.
17059         (___lxstat64): Do not use CHECK_1.
17060         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17061         (__old_msgctl): Do not use CHECK_1.
17062         (__new_msgctl): Likewise.
17063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17064         <bp-checks.h>.
17065         (__gettimeofday): Do not use CHECK_1.
17066         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17067         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17068         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17069         <bp-checks.h>.
17070         (__gettimeofday): Do not use CHECK_1.
17071         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17072         (__old_shmctl): Do not use CHECK_1_NULL_OK.
17073         (__new_shmctl): Do not use CHECK_1.
17074         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17075         <bp-checks.h>.
17076         (do_sigtimedwait): Do not use CHECK_1.
17077         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17078         <bp-checks.h>.
17079         (do_sigwaitinfo): Do not use CHECK_1.
17080         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17081         <bp-checks.h>.
17082         (msgctl): Do not use CHECK_1.
17083         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17084         <bp-checks.h>.
17085         (shmctl): Do not use CHECK_1.
17086         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17087         (ustat): Do not use CHECK_1.
17088         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17089         <bp-checks.h>.
17090         (__fxstat): Do not use CHECK_1.
17091         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17092         <bp-checks.h>.
17093         (__fxstatat): Do not use CHECK_1.
17094         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17095         <bp-checks.h>.
17096         (__lxstat): Do not use CHECK_1.
17097         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17098         <bp-checks.h>.
17099         (__xstat): Do not use CHECK_1.
17100         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17101         (__xstat): Do not use CHECK_1.
17102         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17103         (___xstat64): Do not use CHECK_1.
17105         [BZ #13550]
17106         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17107         definitions.
17108         (CHECK_BOUNDS_HIGH): Likewise.
17109         * string/strcpy.c: Do not include <bp-checks.h>.
17110         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17112 2013-02-07  Roland McGrath  <roland@hack.frob.com>
17114         * nscd/nscd-client.h (__nscd_drop_map_ref):
17115         Add __attribute__ ((unused)).
17116         * nis/nss-nisplus.h (niserr2nss): Likewise.
17118         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17119         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17121         * csu/libc-tls.c (init_static_tls, init_slotinfo):
17122         Remove inline keyword.
17123         * include/rounding-mode.h (round_away): Likewise.
17124         * libio/wfileops.c (adjust_wide_data): Likewise.
17125         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17126         (__m128i_strloadu_tolower): Likewise.
17127         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17128         (__m128i_strloadu_tolower): Likewise.
17129         * time/mktime.c (ydhms_diff): Likewise.
17130         * locale/elem-hash.h (elem_hash): Likewise.
17131         * locale/setlocale.c (setdata): Likewise.
17132         * posix/regex_internal.h (re_string_char_size_at): Likewise.
17133         (re_string_wchar_at): Likewise.
17134         (bitset_not, bitset_merge, bitset_mask): Likewise.
17135         [!(__GNUC__ > 3)] (inline): Remove macro.
17136         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17137         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17138         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17139         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17140         * string/memcmp.c (memcmp_bytes): Likewise.
17141         * locale/programs/locarchive.c (compute_hashval): Likewise.
17142         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17143         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17144         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17145         * nss/getent.c (print_rpc, print_protocols): Likewise.
17146         (print_passwd, print_group, print_aliases): Likewise.
17147         * nis/nss-nisplus.h (niserr2nss): Likewise.
17148         * nscd/connections.c (restart_p): Likewise.
17149         Change return type to bool.
17151 2013-02-05  Roland McGrath  <roland@hack.frob.com>
17153         * Makeconfig (all-Depend-files): Add existing
17154         $(sorted-subdirs:=/Depend) files.
17155         (all-subdirs): Remove nss.
17156         * sysdeps/unix/inet/Subdirs: Add it here instead.
17157         * hesiod/Depend: New file.
17159         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17160         instead of calling alloca.
17162         * io/lseek.c (__lseek): Rename to __libc_lseek.
17163         Define __lseek as an alias.
17165         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17167 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
17169         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17170         else clause and remove check for non-standard endianness.
17172 2013-02-04  David S. Miller  <davem@davemloft.net>
17174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17176 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
17178         [BZ #13550]
17179         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17180         (__ubp_memchr): Remove prototype.
17181         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17182         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17183         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17184         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17185         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17186         Remove alias.
17187         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17188         (__ubp_memchr): Likewise.
17189         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17190         (__ubp_memchr): Likewise.
17191         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17192         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17193         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17194         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17195         CHECK_STRING.
17196         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17197         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17198         (__getcwd): Do not use CHECK_STRING.
17199         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17200         <bp-checks.h>.
17201         (__real_chown): Do not use CHECK_STRING.
17202         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17203         <bp-checks.h>.
17204         (fchownat): Do not use CHECK_STRING.
17205         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17206         CHECK_STRING.
17207         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17208         <bp-checks.h>.
17209         (__lchown): Do not use CHECK_STRING.
17210         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17211         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17212         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17213         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17215         include <bp-checks.h>.
17216         (truncate64): Do not use CHECK_STRING.
17217         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17218         <bp-checks.h>.
17219         (__real_chown): Do not use CHECK_STRING.
17220         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17221         <bp-checks.h>.
17222         (__lchown): Do not use CHECK_STRING.
17223         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17224         <bp-checks.h>.
17225         (__chown): Do not use CHECK_STRING.
17226         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17227         <bp-checks.h>.
17228         (truncate64): Do not use CHECK_STRING.
17229         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17230         Likewise.
17231         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17232         (__xmknod): Do not use CHECK_STRING.
17233         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17234         <bp-checks.h>.
17235         (__xmknodat): Do not use CHECK_STRING.
17236         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17237         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17239 2013-02-04  Andreas Schwab  <schwab@suse.de>
17241         [BZ #14142]
17242         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17243         * include/netdb.h: Likewise for h_errno.
17244         * elf/tst-stackguard1.c: Include <tls.h>.
17246 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
17248         * elf/link.h (struct link_map): Extend the l_addr comment.
17249         * include/link.h (struct link_map): Likewise.
17251 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
17253         [BZ #13550]
17254         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17255         (BOUNDED_1): Remove macro.
17256         * debug/backtrace.c: Don't include <bp-checks.h>.
17257         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17258         (__backtrace): Likewise.
17259         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17260         <bp-checks.h>.
17261         (__backtrace): Don't use BOUNDED_1.
17262         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17263         <bp-checks.h>.
17264         (__backtrace): Don't use BOUNDED_1.
17265         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17266         (__backtrace): Don't use BOUNDED_1.
17267         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17268         (shmat): Don't use BOUNDED_N.
17270 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
17272         [BZ #13550]
17273         * sysdeps/generic/bp-start.h: Remove file.
17274         * csu/libc-start.c: Don't include <bp-start.h>.
17275         (LIBC_START_MAIN): Set up __environ directly instead of using
17276         INIT_ARGV_and_ENVIRON.
17277         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17278         <bp-start.h>.
17280         [BZ #13550]
17281         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17282         definitions.
17283         (CHECK_FCNTL): Likewise.
17284         (CHECK_N_PAGES): Likewise.
17286         [BZ #13550]
17287         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17288         definitions.
17289         (CHECK_SIGSET_NULL_OK): Likewise.
17290         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17291         <bp-checks.h>.
17292         (sigpending): Don't use CHECK_SIGSET.
17293         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17294         <bp-checks.h>.
17295         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17296         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17297         <bp-checks.h>.
17298         (do_sigsuspend): Don't use CHECK_SIGSET.
17299         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17300         use CHECK_SIGSET.
17301         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17302         (do_sigwait): Don't use CHECK_SIGSET.
17303         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17304         use CHECK_SIGSET.
17305         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17306         include <bp-checks.h>.
17307         (sigpending): Don't use CHECK_SIGSET.
17308         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17309         include <bp-checks.h>.
17310         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17311         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17312         <bp-checks.h>.
17313         (sigpending): Don't use CHECK_SIGSET.
17314         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17315         <bp-checks.h>.
17316         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17318         [BZ #13550]
17319         * sysdeps/generic/bp-semctl.h: Remove file.
17320         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17321         <bp-checks.h> and <bp-semctl.h>.
17322         (__old_semctl): Don't use CHECK_SEMCTL.
17323         (__new_semctl): Likewise.
17324         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17325         and <bp-semctl.h>.
17326         (__old_semctl): Don't use CHECK_SEMCTL.
17327         (__new_semctl): Likewise.
17328         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17329         <bp-checks.h> and <bp-semctl.h>.
17330         (__old_semctl): Don't use CHECK_SEMCTL.
17331         (__new_semctl): Likewise.
17332         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17333         <bp-checks.h> and <bp-semctl.h>.
17334         (semctl): Don't use CHECK_SEMCTL.
17336         [BZ #13550]
17337         * Makerules (elide-bp-thunks): Remove variable.
17338         (elide-routines.oS): Don't use $(elide-bp-thunks).
17339         (elide-routines.os): Likewise.
17340         (elide-routines.o): Likewise.
17341         (elide-routines.op): Likewise.
17342         (elide-routines.og): Likewise.
17343         (objects): Don't use $(bp-thunks).
17344         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17345         include.
17346         (common-generated): Do not add s-proto-bp.d.
17347         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17348         (int): Likewise.
17349         (typ): Likewise.
17350         Do not generate makefile rules for bounded-pointer thunks.
17351         * sysdeps/generic/bp-thunks.h: Remove file.
17352         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17353         * sysdeps/unix/s-proto-bp.S: Likewise.
17355         [BZ #15062]
17356         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17357         parts of result separately when argument is not close to line from
17358         -i to i and one part of argument is small.
17359         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17360         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17361         * math/libm-test.inc (cacos_test): Add more tests.
17362         (casin_test): Likewise.
17363         (casinh_test): Likewise.
17364         * sysdeps/i386/fpu/libm-test-ulps: Update.
17365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17367 2013-01-31  David S. Miller  <davem@davemloft.net>
17369         * po/de.po: Update from translation team.
17371 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
17373         * time/tzfile.c: Include stdint.h for SIZE_MAX.
17375 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
17377         * configure.in (_AC_PROG_CC_C89): New definition.
17378         * configure: Regenerate.
17380         * configure.in (AC_PROG_CPP): New definition.
17381         * configure: Regenerate.
17383 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17385         * debug/tst-backtrace.h: New file.
17386         * debug/tst-backtrace2.c: Include tst-backtrace.h.
17387         (ret): Remove variable.
17388         (x): Likewise.
17389         (FAIL): Remove macro.
17390         (NO_INLINE): Likewise.
17391         (fn1): Use match function instead of strstr.
17392         * debug/tst-backtrace3.c: Include tst-backtrace.h.
17393         (ret): Remove variable.
17394         (x): Likewise.
17395         (FAIL): Remove macro.
17396         (NO_INLINE): Likewise.
17397         (fn): Use match function instead of strstr.
17398         * debug/tst-backtrace4.c: Include tst-backtrace.h.
17399         (ret): Remove variable.
17400         (x): Likewise.
17401         (FAIL): Remove macro.
17402         (NO_INLINE): Likewise.
17403         (handle_signal): Use match function instead of strstr.
17404         * debug/tst-backtrace5.c: Include tst-backtrace.h.
17405         (ret): Remove variable.
17406         (x): Likewise.
17407         (FAIL): Remove macro.
17408         (NO_INLINE): Likewise.
17409         (handle_signal): Use match function instead of strstr.
17411 2013-01-23  Roland McGrath  <roland@hack.frob.com>
17413         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17415 2013-01-23  David S. Miller  <davem@davemloft.net>
17417         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17418         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17419         argument of CAS if possible.
17420         * sysdeps/sparc/sparc64/bits/atomic.h
17421         (__arch_compare_and_exchange_val_32_acq): Likewise.
17422         (__arch_compare_and_exchange_val_64_acq): Likewise.
17424 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
17426         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17427         * sysdeps/posix/ulimit.c: ... this.
17428         Include <limits.h>.
17429         * sysdeps/unix/bsd/ulimit.c: Remove file.
17431 2013-01-23  Adam Conrad  <adconrad@0c3.net>
17433         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17434         (LDFLAGS-tst-array5): Likewise.
17436 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17438         [BZ #15036]
17439         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17440         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17441         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17442         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17444 2013-01-21  David S. Miller  <davem@davemloft.net>
17446         * sysdeps/sparc/backtrace.c: New file.
17447         * sysdeps/sparc/sparc32/backtrace.h: New file.
17448         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17449         * sysdeps/sparc/sparc64/backtrace.h: New file.
17450         * sysdeps/sparc/sparc64/backtrace.c: Delete.
17451         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17452         -funwind-tables.
17454 2013-01-21  Andreas Schwab  <schwab@suse.de>
17456         [BZ #15020]
17457         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17458         closed its stdout.
17460 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
17462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17463         "mpa2.h".
17464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17466 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
17467             Mark Mitchell  <mark@codesourcery.com>
17468             Tom de Vries  <tom@codesourcery.com>
17469             Paul Pluzhnikov  <ppluzhnikov@google.com>
17471         * debug/tst-backtrace2.c: New file.
17472         * debug/tst-backtrace3.c: Likewise.
17473         * debug/tst-backtrace4.c: Likewise.
17474         * debug/tst-backtrace5.c: Likewise.
17475         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17476         (CFLAGS-tst-backtrace3.c): Likewise.
17477         (CFLAGS-tst-backtrace4.c): Likewise.
17478         (CFLAGS-tst-backtrace5.c): Likewise.
17479         (LDFLAGS-tst-backtrace2): Likewise.
17480         (LDFLAGS-tst-backtrace3): Likewise.
17481         (LDFLAGS-tst-backtrace4): Likewise.
17482         (LDFLAGS-tst-backtrace5): Likewise.
17483         (tests): Add new tests tst-backtrace2, tst-backtrace3,
17484         tst-backtrace4 and tst-backtrace5.
17486 2013-01-18  Anton Blanchard  <anton@samba.org>
17487             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17489         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17490         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17491         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17492         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17494         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17495         "+r" and remove output regs list as redundant.  Add explicit inline
17496         asm to specify register of return val to work around compiler codegen
17497         bug.  Remove (int) cast on return value.  Add return type parameter to
17498         use in macro so that this macro does not truncate return value for
17499         64-bit values.
17500         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17501         pass to INTERNAL_VSYSCALL_NCS.
17502         (INLINE_VSYSCALL): Add 'long int' as return type to
17503         INTERNAL_VSYSCALL_NCS macro invocation.
17504         (INTERNAL_VSYSCALL): Add 'long int' as return type to
17505         INTERNAL_VSYSCALL_NCS macro invocation.
17506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17508 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17510         [BZ #14496]
17511         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17512         Fix application of SIMD FP exception mask.
17514         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17515         mp_no from a power of two.
17516         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17517         __mpexp_twomm1.  Use __pow_mp.
17519         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17520         multiplication.
17522 2013-01-17  David S. Miller  <davem@davemloft.net>
17524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17526 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
17528         [BZ #15023]
17529         * include/complex.h: Condition contents on [!_COMPLEX_H].
17530         (__kernel_casinhf): New prototype.
17531         (__kernel_casinh): Likewise.
17532         (__kernel_casinhl): Likewise.
17533         * math/Makefile (libm_calls): Add k_casinh.
17534         * math/k_casinh.c: New file.
17535         * math/k_casinhf.c: Likewise.
17536         * math/k_casinhl.c: Likewise.
17537         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17538         finite nonzero arguments.
17539         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17540         finite nonzero arguments.
17541         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17542         finite nonzero arguments.
17543         * math/s_casinh.c: Do not include <float.h>.
17544         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17545         * math/s_casinhf.c: Do not include <float.h>.
17546         (__casinhf): Move code for finite nonzero arguments to
17547         k_casinhf.c.
17548         * math/s_casinhl.c: Do not include <float.h>.
17549         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17550         redefine.
17551         (__casinhl): Move code for finite nonzero arguments to
17552         k_casinhl.c.
17553         * math/libm-test.inc (cacos_test): Add more tests.
17554         * sysdeps/i386/fpu/libm-test-ulps: Update.
17555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17557 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
17559         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17560         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17561         [!HAVE_MREMAP]: Remove [defined linux] case.
17562         * malloc/arena.c: Do not include <malloc-sysdep.h>.
17564 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17566         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17568 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
17570         * elf/elf.h (R_386_SIZE32): New relocation.
17571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17572         R_386_SIZE32.
17573         (elf_machine_rela): Likewise.
17574         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17575         R_X86_64_SIZE64 and R_X86_64_SIZE32.
17577 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
17579         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17580         (FP_FAST_FMA): Do not define.
17581         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17582         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17583         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17584         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17585         !_SOFT_FLOAT]: Likewise.
17586         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17587         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17588         value.
17589         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17590         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17591         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17592         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17593         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17594         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17595         file.
17597 2013-01-16  Andreas Schwab  <schwab@suse.de>
17599         [BZ #14327]
17600         * include/stdlib.h (__mktemp): Add declaration.
17601         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17602         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17604 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17606         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17607         definitions.
17608         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17609         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17610         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17611         definitions here.
17612         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17613         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17614         definitions.
17615         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17616         and ONE.
17617         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17618         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17619         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17620         definitions.
17621         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17622         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17623         definitions.
17624         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17626         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17628 2013-01-15  David S. Miller  <davem@davemloft.net>
17630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17631         trunc{,f} to libm-sysdep_routes.
17632         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17634         file.
17635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17637         file.
17638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17639         file.
17640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17642         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17643         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17644         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17645         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17646         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17647         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17650         nearbyint{,f} to libm-sysdep_routes.
17651         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17653         New file.
17654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17655         file.
17656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17657         New file.
17658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17659         file.
17660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17662         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17663         file.
17664         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17665         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17666         file.
17667         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17668         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17669         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17671         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17672         libc_feholdexcept and libc_fesetenv.
17674 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
17676         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17678 2013-01-14  David S. Miller  <davem@davemloft.net>
17680         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17681         (SPARC_ASM_VIS2_IFUNC): Likewise.
17682         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17684         use of 'siam' instruction.
17685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17686         Likewise.
17687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17688         Likewise.
17689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17690         Likewise.
17691         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17696         file.
17697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17698         file.
17699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17700         file.
17701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17702         file.
17703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17705         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17708         new VIS2 routines.
17709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17712         Likewise.
17713         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17714         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17715         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17716         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17718         routines to libm-sysdep_routines.
17719         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17722         fdim/fdimf to libm-sysdep_routines.
17723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17724         file.
17725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17727         file.
17728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17731         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17732         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17733         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17734         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17736 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17738         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17739         to optimize copies.
17741         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17746         local variable MPTWO.
17747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17748         Likewise.
17750 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17752         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17753         GLOB_NOESCAPE.
17755 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17757         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17759 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17761         * manual/pattern.texi (glob_t): Document gl_flags.
17762         (glob64_t): Likewise.
17764 2013-01-11  David S. Miller  <davem@davemloft.net>
17766         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17767         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17768         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
17769         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17770         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17771         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17772         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17773         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17774         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17775         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17776         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17777         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17778         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17780         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17781         sparc V9 rather than using V8 code.
17782         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17783         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17785         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17786         Move to...
17787         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17788         Here.
17790 2013-01-11  Roland McGrath  <roland@hack.frob.com>
17792         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17793         not in the main loop.
17794         * configure: Regenerated.
17796 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
17798         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17799         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17800         to just #else.
17801         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
17802         [!__GLIBC_HAVE_LONG_LONG] case.
17803         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17804         condition to just #else.
17805         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17806         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17807         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17808         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17809         unconditional.
17810         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17811         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17812         #elif condition to just #else.
17813         * sysdeps/unix/sysv/linux/sys/sysmacros.h
17814         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17815         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17816         #elif condition to just #else.
17818 2013-01-11  Steve Ellcey  <sellcey@mips.com>
17820         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17821         (EF_MIPS_ARCH_64): Fix value.
17822         (EF_MIPS_ARCH_32R2): New.
17823         (EF_MIPS_ARCH_64R2): New.
17825 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
17827         * Makeconfig (+link-pie-before-libc): New.
17828         (+link-pie-after-libc): Likewise.
17829         (+link-pie-tests): Likewise.
17830         (+link-pie): Rewritten.
17831         (link-before-libc): Remove $(config-LDFLAGS).
17832         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17833         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17834         (config-LDFLAGS): Renamed to ...
17835         (rtld-LDFLAGS): This.
17836         (rtld-tests-LDFLAGS): New macro.
17837         (link-libc-rpath-link): Likewise.
17838         (link-libc-tests-rpath-link): Likewise.
17839         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17840         (link-libc): Prepand $(link-libc-rpath-link).
17841         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17842         (test-program-prefix): New macro.
17843         (test-via-rtld-prefix): Likewise.
17844         (test-program-cmd): Likewise.
17845         (host-test-program-cmd): Likewise.
17846         * Makefile ($(common-objpfx)testrun.sh): Replace
17847         $(run-program-prefix) with $(test-program-prefix).
17848         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17849         $(rtld-LDFLAGS).
17850         ($(common-objpfx)shlib.lds): Likewise.
17851         (build-module-helper): Likewise.
17852         ($(common-objpfx)format.lds): Likewise.
17853         * Rules (binaries-pie-tests): New.
17854         (binaries-pie-notests): Likewise.
17855         (binaries-pie): Rewritten.
17856         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17857         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17858         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17859         (make-test-out): Replace $(host-built-program-cmd) with
17860         $(host-test-program-cmd).
17861         * config.make.in (build-hardcoded-path-in-tests): New variable.
17862         * configure.in (--enable-hardcoded-path-in-tests): New configure
17863         option.
17864         (hardcoded_path_in_tests): New AC_SUBST.
17865         * configure: Regenerated.
17866         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17867         $(built-program-cmd) with $(test-program-cmd).
17868         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17869         (test_program_cmd): This.
17870         * elf/Makefile ($(objpfx)order.out): Run test with
17871         $(test-program-prefix).
17872         ($(objpfx)order2.out): Likewise.
17873         ($(objpfx)tst-initorder.out): Likewise.
17874         ($(objpfx)tst-initorder2.out): Likewise.
17875         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17876         $(test-program-cmd).
17877         ($(objpfx)tst-array1-static.out): Likewise.
17878         ($(objpfx)tst-array2.out): Likewise.
17879         ($(objpfx)tst-array3.out): Likewise.
17880         ($(objpfx)tst-array4.out): Likewise.
17881         ($(objpfx)tst-array5.out): Likewise.
17882         ($(objpfx)tst-array5-static.out): Likewise.
17883         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17884         $(test-program-cmd).
17885         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17886         $(run-program-prefix) with $(test-program-prefix).
17887         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17888         (test_program_prefix): This.
17889         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17890         $(run-program-prefix) with $(test-program-prefix).
17891         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17892         (test_program_prefix): This.
17893         * iconvdata/tst-tables.sh: Likewise.
17894         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17895         $(run-program-prefix) with $(test-program-prefix).
17896         ($(objpfx)tst-translit.out): Likewise.
17897         ($(objpfx)tst-gettext2.out): Likewise.
17898         ($(objpfx)tst-gettext4.out): Likewise.
17899         ($(objpfx)tst-gettext6.out): Likewise.
17900         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17901         (test_program_prefix): This.
17902         * intl/tst-gettext2.sh: Likewise.
17903         * intl/tst-gettext4.sh  Likewise.
17904         * intl/tst-gettext6.sh: Likewise.
17905         * intl/tst-translit.sh: Likewise.
17906         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17907         with $(test-program-cmd).
17908         * libio/Makefile ($(objpfx)test-freopen.out): Replace
17909         $(run-program-prefix) with $(test-program-prefix).
17910         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17911         (test_program_prefix): This.
17912         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17913         $(run-program-prefix) with $(test-program-prefix).
17914         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17915         (test_program_prefix): This.
17916         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17917         * posix/Makefile ($(objpfx)globtest.out): Replace
17918         $(run-via-rtld-prefix) and $(test-wrapper) with
17919         $(test-program-prefix) and $(test-via-rtld-prefix).
17920         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17921         $(test-program-prefix).
17922         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17923         $(host-test-program-cmd).
17924         (tst-spawn-ARGS): Likewise.
17925         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17926         $(test-program-prefix).
17927         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17928         (test_via_rtld_prefix): This.
17929         (test_wrapper): Renamed to ...
17930         (test_program_prefix): This.
17931         (run_program_prefix): Replaced by test_program_prefix.
17932         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17933         (test_program_prefix): This.
17934         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17935         with $(host-test-program-cmd).
17936         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17937         $(run-program-prefix) with $(test-program-prefix).
17938         ($(objpfx)tst-printf.out): Likewise.
17939         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17940         $(test-program-cmd).
17941         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17942         (test_program_prefix): This.
17943         * stdio-common/tst-unbputc.sh: Likewise.
17944         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17945         $(run-program-prefix) with $(test-program-prefix).
17946         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17947         (test_program_prefix): This.
17948         * string/Makefile ($(objpfx)tst-svc.out):  Replace
17949         $(built-program-cmd) with $(test-program-cmd).
17951 2013-01-11  Andreas Jaeger  <aj@suse.de>
17953         [BZ #15003]
17954         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17955         value. Sync with Linux 3.7.
17957 2013-01-10  David S. Miller  <davem@davemloft.net>
17959         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17960         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17961         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17963 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17965         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
17966         never set.
17967         * configure: Regenerated.
17969 2013-01-10  David S. Miller  <davem@davemloft.net>
17971         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17972         sparc V9 rather than using V8 code.
17973         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17974         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17976 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17978         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17979         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
17980         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
17981         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
17982         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
17983         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
17984         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
17985         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
17986         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
17987         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
17988         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
17989         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
17990         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
17991         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
17992         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
17993         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
17994         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
17995         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
17996         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
17997         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
17998         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
17999         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18000         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18001         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18002         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18003         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18004         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18006 2013-01-10  David S. Miller  <davem@davemloft.net>
18008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18010 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18012         * posix/Makefile (tests-static): New variable.
18013         (tests): Add $(tests-static).
18014         (tst-exec-static-ARGS): New variable.
18015         (tst-spawn-static-ARGS): Likewise.
18016         * posix/tst-exec-static.c: New file.
18017         * posix/tst-spawn-static.c: Likewise.
18018         * posix/tst-exec.c: Support run directly.
18019         * posix/tst-spawn.c: Likewise.
18021 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
18023         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18024         long.
18025         * math/bits/mathcalls.h (llrint): Likewise.
18026         (llround): Likewise.
18027         * stdlib/stdlib.h (struct drand48_data): Likewise.
18028         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18029         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18030         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18031         Likewise.
18032         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18033         Likewise.
18034         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18035         (elf_greg_t): Likewise.
18036         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18037         (__jmp_buf): Likewise.
18038         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18039         definitions.
18040         (llrint): Likewise, for all definitions.
18041         (llrintl): Likewise.
18043         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18044         Remove [__GNUC__] condition.
18045         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18046         condition to just [__USE_ISOC99].
18047         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18049 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18051         [BZ #14200]
18052         * sysdeps/unix/sysv/linux/x86/bits/environments.h
18053         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18054         defined.
18055         (_POSIX_V6_ILP32_OFF32): Likewise.
18056         (_XBS5_ILP32_OFF32): Likewise.
18057         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18058         (__ILP32_OFFBIG_LDFLAGS): Likewise.
18060 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18062         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18064         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18065         doubles __mpexp_twomm1.  Adjust usage.
18066         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18067         Remove.
18069 2013-01-10  Andreas Schwab  <schwab@suse.de>
18071         [BZ #14964]
18072         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18073         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18075 2013-01-09  David S. Miller  <davem@davemloft.net>
18077         [BZ #15003]
18078         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18079         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18080         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18081         TCP_FASTOPEN): Define.
18082         (tcp_repair_opt): New structure.
18083         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18084         enum values.
18085         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18086         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18087         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18088         (tcp_cookie_transactions): New structure.
18090 2013-01-09  Anton Blanchard  <anton@samba.org>
18092         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18093         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18094         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18095         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18097 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
18099         * include/features.h (__USE_ANSI): Remove.
18101 2013-01-09  Roland McGrath  <roland@hack.frob.com>
18103         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18105         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18107 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18109         * sysdeps/s390/fpu/libm-test-ulps: Update.
18111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18113         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18114         (__acr): Likewise.
18115         (__cpy): Likewise.
18116         (norm): Likewise.
18117         (denorm): Likewise.
18118         (__mp_dbl): Likewise.
18119         (__dbl_mp): Likewise.
18120         (add_magnitudes): Likewise.
18121         (sub_magnitudes): Likewise.
18122         (__add): Likewise.
18123         (__sub): Likewise.
18124         (__mul): Likewise.
18125         (__inv): Likewise.
18126         (__dvd): Likewise.
18127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18128         (__acr): Likewise.
18129         (__cpy): Likewise.
18130         (norm): Likewise.
18131         (denorm): Likewise.
18132         (__mp_dbl): Likewise.
18133         (__dbl_mp): Likewise.
18134         (add_magnitudes): Likewise.
18135         (sub_magnitudes): Likewise.
18136         (__add): Likewise.
18137         (__sub): Likewise.
18138         (__mul): Likewise.
18139         (__inv): Likewise.
18140         (__dvd): Likewise.
18141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18142         (__acr): Likewise.
18143         (__cpy): Likewise.
18144         (norm): Likewise.
18145         (denorm): Likewise.
18146         (__mp_dbl): Likewise.
18147         (__dbl_mp): Likewise.
18148         (add_magnitudes): Likewise.
18149         (sub_magnitudes): Likewise.
18150         (__add): Likewise.
18151         (__sub): Likewise.
18152         (__mul): Likewise.
18153         (__inv): Likewise.
18154         (__dvd): Likewise.
18156 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
18158         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18159         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18160         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18161         2 && __USE_EXTERN_INLINES]: Likewise.
18163 2013-01-08  Andreas Jaeger  <aj@suse.de>
18165         [BZ# 14985]
18166         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18167         Remove.
18168         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18169         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18171 2013-01-07  Anton Blanchard  <anton@samba.org>
18173         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18174         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18175         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18176         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18177         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18178         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18179         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18180         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18182         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18183         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18184         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18185         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18186         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18187         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18188         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18189         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18190         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18191         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18192         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18193         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18194         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18195         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18196         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18197         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18198         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18199         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18200         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18201         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18202         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18203         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18205         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18206         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18207         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18208         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18209         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18210         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18211         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18212         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18213         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18214         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18215         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18217 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
18219         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18220         (__MALLOC_PMT): Likewise.
18221         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18222         [__GNUC__], only on [_LIBC].
18223         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18224         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18225         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18226         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18227         forward declaration.
18228         (realloc_hook_ini): Likewise.
18229         (memalign_hook_ini): Likewise.
18230         (__libc_memalign): Do not use __MALLOC_PMT in variable
18231         declaration.
18232         (__libc_valloc): Likewise.
18233         (__libc_pvalloc): Likewise.
18234         (__libc_calloc): Likewise.
18235         (__posix_memalign): Likewise.
18237         [BZ #14996]
18238         * math/s_casinh.c: Include <float.h>.
18239         (__casinh): Do not do computation with squaring and square root
18240         for large arguments.
18241         * math/s_casinhf.c: Include <float.h>.
18242         (__casinhf): Do not do computation with squaring and square root
18243         for large arguments.
18244         * math/s_casinhl.c: Include <float.h>.
18245         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18246         (__casinhl): Do not do computation with squaring and square root
18247         for large arguments.
18248         * math/libm-test.inc (casin_test): Add more tests.
18249         (casinh_test): Likewise.
18250         * sysdeps/i386/fpu/libm-test-ulps: Update.
18251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18253 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
18255         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18256         (__x86_64_raw_data_cache_size): Likewise.
18257         (__x86_64_data_cache_size_half): Likewise.
18258         (__x86_64_raw_data_cache_size_half): Likewise.
18259         (__x86_64_shared_cache_size): Likewise.
18260         (__x86_64_raw_shared_cache_size): Likewise.
18261         (__x86_64_shared_cache_size_half): Likewise.
18262         (__x86_64_raw_shared_cache_size_half): Likewise.
18263         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18264         to ...
18265         (__x86_data_cache_size): This.
18266         (__x86_64_raw_data_cache_size): Renamed to ...
18267         (__x86_raw_data_cache_size): This.
18268         (__x86_64_data_cache_size_half): Renamed to ...
18269         (__x86_data_cache_size_half): This.
18270         (__x86_64_raw_data_cache_size_half): Renamed to ...
18271         (__x86_raw_data_cache_size_half): This.
18272         (__x86_64_shared_cache_size): Renamed to ...
18273         (__x86_shared_cache_size): This.
18274         (__x86_64_raw_shared_cache_size): Renamed to ...
18275         (__x86_raw_shared_cache_size): This.
18276         (__x86_64_shared_cache_size_half): Renamed to ...
18277         (__x86_shared_cache_size_half): This.
18278         (__x86_64_raw_shared_cache_size_half): Renamed to ...
18279         (__x86_raw_shared_cache_size_half): This.
18280         * sysdeps/x86_64/memcpy.S: Updated.
18281         * sysdeps/x86_64/memset.S: Likewise.
18282         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18283         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18284         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18286 2013-01-04  David S. Miller  <davem@davemloft.net>
18288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18290 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
18292         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18293         1 to avoid redefinition warning.
18294         (__USE_GNU): Don't define.
18295         (init_signaling_nan): Protoize.
18297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18299 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18301         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18303         (__cpymn): Likewise.
18304         (norm): Remove commented code.
18305         (denorm): Likewise.
18306         (__mp_dbl): Likewise.
18307         (__inv): Likewise.
18308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18309         (__cpymn): Likewise.
18310         (norm): Remove commented code.
18311         (denorm): Likewise.
18312         (__mp_dbl): Likewise.
18313         (__inv): Likewise.
18315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18316         mp_no value for 1.0 and 2.0.
18317         (norm): Use RADIXI instead of radixi.d.
18318         (denorm): Likewise.
18319         (__mul): Use 0.0 instead of zero.d.
18320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18321         mp_no value for 1.0 and 2.0.
18322         (norm): Use RADIXI instead of radixi.d.
18323         (denorm): Likewise.
18324         (__mul): Use 0.0 instead of zero.d.
18326 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
18328         [BZ #14994]
18329         * math/s_casinh.c (__casinh): Reduce finite argument to first
18330         quadrant then set signs of results at the end.
18331         * math/s_casinhf.c (__casinhf): Likewise.
18332         * math/s_casinhl.c (__casinhl): Likewise.
18333         * math/libm-test.inc (casin_test): Add more tests.
18334         (casinh_test): Likewise.
18335         * sysdeps/i386/fpu/libm-test-ulps: Update.
18336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18338 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18340         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18342         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18344         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18345         declarations.
18346         (denorm): Likewise.
18347         (__mp_dbl): Likewise.
18348         (__inv): Likewise.
18350         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18351         and adjust the header comment.
18353         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18354         variable name from declaration.
18356 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
18358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18359         Initialize COMMON_CPUID_INDEX_7 element.
18360         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18361         (CPUID_RTM): Likewise.
18362         (HAS_RTM): Likewise.
18363         (COMMON_CPUID_INDEX_7): New enum.
18365 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
18367         [BZ #14981]
18368         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18369         size is zero, record memory as freed.
18371 2013-01-03  Andreas Jaeger  <aj@suse.de>
18373         * po/ia.po: Add new Interlingua translation.
18375 2012-01-03  Allan McRae  <allan@archlinux.org>
18377         * locale/programs/localedef.c: Fix description of '--posix' flag.
18379 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
18381         * NEWS: Update dates in second copyright notice.
18382         * README: Update copyright dates in example.
18383         * manual/libc.texinfo: Update copyright dates.
18384         * scripts/test-installation.pl: Update copyright date in --version
18385         output.
18387         * hurd/ctty-input.c: Fix copyright notice formatting.
18388         * hurd/ctty-output.c: Likewise.
18389         * hurd/dtable.c: Likewise.
18390         * hurd/hurd-raise.c: Likewise.
18391         * hurd/hurdprio.c: Likewise.
18392         * hurd/msgportdemux.c: Likewise.
18393         * misc/sys/file.h: Likewise.
18394         * misc/sys/ioctl.h: Likewise.
18395         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18396         * sysdeps/mach/hurd/chdir.c: Likewise.
18397         * sysdeps/mach/hurd/fchdir.c: Likewise.
18398         * sysdeps/mach/hurd/rename.c: Likewise.
18399         * sysdeps/mach/hurd/rmdir.c: Likewise.
18400         * sysdeps/mach/hurd/seekdir.c: Likewise.
18401         * sysdeps/mach/hurd/setsid.c: Likewise.
18402         * sysdeps/posix/wait3.c: Likewise.
18404         * All files with FSF copyright notices: Update copyright dates
18405         using scripts/update-copyrights.
18406         * intl/plural.c: Regenerated.
18407         * locale/programs/charmap-kw.h: Likewise.
18408         * locale/programs/locfile-kw.h: Likewise.
18410 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18412         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18413         four values.
18415         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18416         calculation loop and add branch prediction.
18418         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18419         check access beyond bounds of m1np.
18421         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18422         MPTWO.
18423         (__inv): Remove local variable MPTWO to use the global
18424         constant.
18425         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18426         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18427         variable MPTWO.
18428         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18429         MP3HALFS static const.
18431 2013-01-01  David S. Miller  <davem@davemloft.net>
18433         * po/ca.po: Update from translation team.
18435 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
18437         * scripts/update-copyrights: New file.
18438         * Makeconfig: Reformat copyright notice.
18439         * ctype/ctype.h: Likewise.
18440         * debug/swprintf_chk.c: Likewise.
18441         * elf/dl-cache.c: Likewise.
18442         * elf/dl-debug.c: Likewise.
18443         * elf/dl-object.c: Likewise.
18444         * grp/initgroups.c: Likewise.
18445         * hurd/Makefile: Likewise.
18446         * hurd/hurd/signal.h: Likewise.
18447         * hurd/hurdfault.c: Likewise.
18448         * hurd/hurdioctl.c: Likewise.
18449         * hurd/hurdlookup.c: Likewise.
18450         * hurd/intr-msg.c: Likewise.
18451         * iconv/gconv_open.c: Likewise.
18452         * libio/swprintf.c: Likewise.
18453         * locale/lc-ctype.c: Likewise.
18454         * locale/nl_langinfo.c: Likewise.
18455         * mach/Machrules: Likewise.
18456         * mach/Makefile: Likewise.
18457         * malloc/obstack.h: Likewise.
18458         * manual/Makefile: Likewise.
18459         * manual/tsort.awk: Likewise.
18460         * misc/bits/stab.def: Likewise.
18461         * nis/nis_print_group_entry.c: Likewise.
18462         * nis/nis_table.c: Likewise.
18463         * nis/nss_compat/compat-pwd.c: Likewise.
18464         * nis/nss_compat/compat-spwd.c: Likewise.
18465         * po/Makefile: Likewise.
18466         * posix/fnmatch.c: Likewise.
18467         * posix/regex.h: Likewise.
18468         * resolv/Makefile: Likewise.
18469         * resolv/nss_dns/dns-network.c: Likewise.
18470         * resolv/res_hconf.c: Likewise.
18471         * scripts/gen-sorted.awk: Likewise.
18472         * soft-fp/soft-fp.h: Likewise.
18473         * stdio-common/printf.h: Likewise.
18474         * stdlib/monetary.h: Likewise.
18475         * stdlib/random.c: Likewise.
18476         * stdlib/random_r.c: Likewise.
18477         * sysdeps/generic/Makefile: Likewise.
18478         * sysdeps/gnu/Makefile: Likewise.
18479         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18480         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18481         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18482         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18483         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18485         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18486         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18487         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18488         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18489         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18490         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18491         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18492         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18493         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18494         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18495         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18496         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18497         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18498         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18499         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18500         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18501         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18502         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18503         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18504         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18505         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18506         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18507         * sysdeps/mach/hurd/errnos.awk: Likewise.
18508         * sysdeps/mach/hurd/fork.c: Likewise.
18509         * sysdeps/mach/hurd/getcwd.c: Likewise.
18510         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18511         * sysdeps/mach/hurd/mmap.c: Likewise.
18512         * sysdeps/mach/hurd/utimes.c: Likewise.
18513         * sysdeps/mach/hurd/xmknod.c: Likewise.
18514         * sysdeps/posix/profil.c: Likewise.
18515         * sysdeps/posix/readdir_r.c: Likewise.
18516         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18517         * sysdeps/powerpc/bits/setjmp.h: Likewise.
18518         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18519         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18521         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18522         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18523         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18525         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18526         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18527         * sysdeps/pthread/lio_listio.c: Likewise.
18528         * sysdeps/sparc/dl-procinfo.h: Likewise.
18529         * sysdeps/unix/i386/sysdep.S: Likewise.
18530         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18531         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18532         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18533         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18535         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18536         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18537         * sysdeps/unix/sysv/linux/speed.c: Likewise.
18538         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18539         * sysdeps/wordsize-32/divdi3.c: Likewise.
18540         * time/sys/time.h: Likewise.
18541         * wcsmbs/Makefile: Likewise.
18543 2013-01-01  David S. Miller  <davem@davemloft.net>
18545         * po/fr.po: Update from translation team.
18547         * catgets/gencat.c: Update copyright year.
18548         * csu/version.c: Likewise.
18549         * debug/catchsegv.sh: Likewise.
18550         * debug/pcprofiledump.c: Likewise.
18551         * debug/xtrace.sh: Likewise.
18552         * elf/ldconfig.c: Likewise.
18553         * elf/ldd.bash.in: Likewise.
18554         * elf/pldd.c: Likewise.
18555         * elf/sotruss.ksh: Likewise.
18556         * elf/sprof.c: Likewise.
18557         * iconv/iconv_prog.c: Likewise.
18558         * iconv/iconvconfig.c: Likewise.
18559         * locale/programs/locale.c: Likewise.
18560         * locale/programs/localedef.c: Likewise.
18561         * login/programs/pt_chown.c: Likewise.
18562         * malloc/memusage.sh: Likewise.
18563         * malloc/memusagestat.c: Likewise.
18564         * malloc/mtrace.pl: Likewise.
18565         * nscd/nscd.c: Likewise.
18566         * nss/getent.c: Likewise.
18567         * nss/makedb.c: Likewise.
18568         * posix/getconf.c: Likewise.
18570 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18572         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18573         numbers.
18575 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
18577         * math/bits/mathcalls.h (modf): Use __nonnull.
18579 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18581         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18582         (split): Use macro CN instead of the bare value.
18583         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18584         could be used.
18585         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18586         instead of the bare value.
18587         (power1): Likewise.
18589 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18591         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18592         __ATAN_TWOM.
18593         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18595         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18596         their values.
18597         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18598         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18599         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18600         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18602 2012-12-28  Andreas Jaeger  <aj@suse.de>
18604         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
18605         values are from Linux 3.7.
18607         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18608         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
18610 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18612         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18613         TRUE case.
18615         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18616         (norm): Likewise.
18617         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18618         variables with preprocessor constants.
18619         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18620         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18621         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18623 2012-12-27  Bruno Haible  <bruno@clisp.org>
18625         [BZ #14317]
18626         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18627         only if needed.
18629 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18631         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18632         and use variable directly.
18633         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18635         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18636         MPONE.
18637         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18638         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18639         variable MPONE.
18640         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18642         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18643         include directive.  Remove local variable MPONE.
18644         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18645         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18646         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18648 2012-12-25  David S. Miller  <davem@davemloft.net>
18650         * version.h (RELEASE): Set to "development".
18651         (VERSION): Set to "2.17.90".
18652         * NEWS: Add 2.18 section.
18654 2012-12-21  David S. Miller  <davem@davemloft.net>
18656         * po/hr.po: Update from translation team.
18658 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18660         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18662 2012-12-19  Steve Ellcey  <sellcey@mips.com>
18664         * NEWS:  Mention new memcpy for MIPS.
18666 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18668         * manual/contrib.texi (Contributors): Spelling correction.
18670 2012-12-15  David S. Miller  <davem@davemloft.net>
18672         * po/ru.po: Update from translation team.
18674 2012-12-13  David S. Miller  <davem@davemloft.net>
18676         * NEWS: Mention IFUNC testsuite enhancements.
18678         * po/pl.po: Update from translation team.
18679         * po/bg.po: Likewise.
18681         * manual/contrib.texi (Contributors): Update entries for Hongjiu
18682         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
18684 2012-12-11  David S. Miller  <davem@davemloft.net>
18686         * po/sv.po: Update from translation team.
18688         * po/vi.po: Update from translation team.
18690         * po/cs.po: Update from translation team.
18692         * po/de.po: Update from translation team.
18693         * po/eo.po: Likewise.
18694         * po/nl.po: Likewise.
18696 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18698         [BZ #14246]
18699         * manual/argp.texi (Argp Helper Functions): Move node to follow
18700         Argp Parsing State.
18702         [BZ #14872]
18703         * manual/conf.texi (Limits on File System Capacity): Mention if
18704         terminating null is included in the max size.
18706 2012-12-10  Andreas Jaeger  <aj@suse.de>
18708         * po/cs.po: Update from translation team.
18710 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18712         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18713         void pointer and cast to uintptr_t.
18714         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18715         path.
18716         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18717         * sysdeps/s390/s390-64/memset.S: Likewise.
18719 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
18721         [BZ #14833]
18722         * menual/message.texi (Message Translation): Fix typos.
18723         (Helper programs for gettext): Likewise.
18725 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
18727         [BZ #14898]
18728         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18729         Change to -1.
18731 2012-12-07  David S. Miller  <davem@davemloft.net>
18733         * po/libc.pot: Update.
18735 2012-12-07  Richard Henderson  <rth@redhat.com>
18737         [BZ #10114]
18738         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18739         normal/normal case to before the switch.
18740         (_FP_DIV): Likewise.
18742 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
18743             Mike Frysinger  <vapier@gentoo.org>
18745         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18746         check for __NR_fadvise64_64.
18748 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
18750         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18751         0, not just to plain "0" as a statement.
18752         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18753         with cw.
18755 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
18757         * NEWS: Use sourceware.org in Bugzilla URL.
18759 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18762         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18764         * stdio-common/tst-put-error.c (do_test): Add newline to the
18765         padded test to ensure flush.
18767 2012-12-05  Jeff Law  <law@redhat.com>
18769         * sunrpc/etc.rpc (fedfs_admin): Add entry.
18771 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
18773         * README: Don't refer to ports add-on as distributed separately.
18774         Mention AArch64 in list of systems supported in the ports add-on.
18776         * LICENSES: Add more non-FSF copyright and license notices.
18778         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18779         ((unused)).
18781         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18783         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18784         10000 as width of padded output.
18786 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18788         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18790         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18791         variable LX with __attribute__ ((unused)).
18792         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18793         Likewise.
18794         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18795         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18796         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18797         with __attribute__ ((unused)).
18799 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
18801         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18803 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18805         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18806         (CFLAGS-nldbl-acos.c): New variable.
18807         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18808         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18809         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18810         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18811         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18812         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18813         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18814         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18815         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18816         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18817         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18818         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18819         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18820         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18821         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18822         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18823         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18824         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18825         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18826         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18827         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18828         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18829         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18830         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18831         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18832         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18833         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18834         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18835         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18836         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18837         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18838         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18839         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18840         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18841         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18842         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18843         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18844         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18845         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18846         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18847         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18848         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18849         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18850         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18851         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18852         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18853         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18854         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18855         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18856         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18857         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18858         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18859         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18860         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18861         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18862         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18863         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18864         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18865         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18866         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18867         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18868         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18869         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18870         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18871         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18872         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18873         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18874         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18875         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18876         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18877         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18878         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18879         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18880         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18881         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18882         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18883         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18884         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18885         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18886         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18887         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18888         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18889         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18890         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18891         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18892         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18893         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18894         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18895         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18896         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18897         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18898         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18899         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18900         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18901         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18902         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18903         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18906         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18908         [BZ #14914]
18909         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18910         whole low double instead of just low 47 bits when splitting values
18911         into two parts.
18913 2012-12-03  Allan McRae  <allan@archlinux.org>
18915         * manual/stdio.texi (Predefined Printf Handlers): Remove
18916         @hsep and @vsep usage.
18918 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
18920         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18921         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18923 2012-12-03  Jeff Law  <law@redhat.com>
18925         * time/sys/time.h (settimeofday): Do not mark TV argument
18926         as __nonnull.
18928 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
18930         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18931         when currently writing and seek to current position when not.
18932         * libio/Makefile (tests): Remove bug-fclose1.
18933         * libio/bug-fclose1.c: Delete.
18935 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
18937         * manual/arith.texi (feenableexcept): Fix typo.
18938         (fedisableexcept): Likewise.
18940 2012-11-30  Roland McGrath  <roland@hack.frob.com>
18942         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18943         second, differently-typed declaration, rather than a cast.
18945 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18947         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18948         * include/rpc/svc.h: ... here.
18950 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
18952         [BZ #13013]
18953         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18954         depending n and resplen2 to catch cases where answer
18955         equals answerp2.
18957 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
18959         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18960         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18962 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
18964         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
18966 2012-11-29  Roland McGrath  <roland@hack.frob.com>
18968         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
18970 2012-11-28  Jeff Law  <law@redhat.com>
18972         [BZ #13761]
18973         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
18974         dataset_temporary.  Track alloca usage into alloca_used.
18975         If dataset is large allocate and release it via malloc/free.
18977 2012-06-04  Florian Weimer  <fweimer@redhat.com>
18979         [BZ #14197]
18980         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
18982 2012-11-28  David S. Miller  <davem@davemloft.net>
18984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18986 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
18988         [BZ #14803]
18989         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
18990         of pi/2 rounded to nearest to 64 bits.
18991         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
18992         nearest to 64 bits.
18993         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
18994         bits.
18996 2012-11-28  Jeff Law <law@redhat.com>
18997             Martin Osvald <mosvald@redhat.com>
18999         [BZ #14889]
19000         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19001         * sunrpc/svc.c: Include time.h.
19002         (__svc_accept_failed): New function.
19003         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19004         any reason other than EINTR, call __svc_accept_failed.
19005         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19006         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19008 2012-11-28  Andreas Schwab  <schwab@suse.de>
19010         * scripts/abilist.awk: Also handle indirect functions in .opd
19011         section.
19013 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19015         [BZ #13881]
19016         * sysdeps/x86/fpu/powl_helper.c: New file.
19017         * sysdeps/x86/fpu/Makefile: Likewise.
19018         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19019         (p3): New object.
19020         (__ieee754_powl): Use __powl_helper for finite arguments except
19021         integer exponents below 8.
19022         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19023         (p3): New object.
19024         (__ieee754_powl): Use __powl_helper for finite arguments except
19025         integer exponents below 8.
19026         * math/libm-test.inc (pow_test): Add more tests and enable some
19027         previously disabled tests.
19028         * sysdeps/i386/fpu/libm-test-ulps: Update.
19029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19031 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19032             Carlos O'Donell  <carlos_odonell@mentor.com>
19034         * nss/makedb.c (is_prime): Assert that input is odd and greater
19035         than 4.  Note that fact in a comment too.
19036         (next_prime): Add 4 to input.
19038 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19040         [BZ #11741]
19041         * libio/Makefile (tests): Add test case tst-fwrite-error.
19042         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19043         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19044         * libio/tst-fwrite-error.c: New test case.
19046 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
19048         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19049         before casting to void *.
19050         * include/libc-internal.h (__pointer_type): New macro.
19051         (__integer_if_pointer_type_sub): Likewise.
19052         (__integer_if_pointer_type): Likewise.
19053         (cast_to_integer): Likewise.
19054         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19055         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19056         before casting to atomic64_t.
19057         (atomic_exchange_acq): Likewise.
19058         (__arch_exchange_and_add_body): Likewise.
19059         (__arch_add_body): Likewise.
19060         (atomic_add_negative): Likewise.
19061         (atomic_add_zero): Likewise.
19063 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
19065         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19066         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19067         (add_fdes): Likewise.
19068         (linear_search_fdes): Likewise.
19069         (binary_search_unencoded_fdes): Likewise.
19071 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
19073         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19075 2012-11-24  Adam Conrad  <adconrad@0c3.net>
19077         * configure.in: Autodetect C++ header directories.
19078         * configure: Regenerated.
19080 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
19082         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19084 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
19086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19088 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
19090         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19091         LDBL_MANT_DIG == 106]: Disable some tests.
19092         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19093         Likewise.
19094         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19095         Likewise.
19097         [BZ #14871]
19098         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19099         input for small inputs.  Return +/- pi/2 for large inputs.
19100         * math/libm-test.inc (atan_test): Add more tests.
19102         * sysdeps/generic/unwind-dw2-fde-glibc.c
19103         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19104         __attribute__ ((unused)).
19106         [BZ #14645]
19107         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19108         x * y if x and y are nonzero and z is zero.
19110         [BZ #14811]
19111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19112         nonzero exponents with absolute value below 0x1p-117 to +/-
19113         0x1p-117.
19115         [BZ #14869]
19116         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19117         up arguments below 2**-450, not just those below 2**-500.
19118         * math/libm-test.inc (hypot_test): Add another test.
19120         [BZ #14868]
19121         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19122         Return a+b for ratio over 2**120, not 2**60.
19123         * math/libm-test.inc (hypot_test): Add another test.
19125         * math/libm-test.inc (clog_test): Use
19126         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19127         (clog10_test): Likewise.
19129         [BZ #6778]
19130         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19132 2012-11-22  Andreas Schwab  <schwab@suse.de>
19134         * sysdeps/i386/fpu/libm-test-ulps: Update.
19136 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
19138         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19139         printf output with newline.
19141 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
19143         [BZ #14865]
19144         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19145         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19146         -z nodlopen, -z initfirst and -z execstack support.
19147         * configure: Regenerated.
19149         * elf/elf.h (DF_1_NODIRECT): New macro.
19150         (DF_1_IGNMULDEF): Likewise.
19151         (DF_1_NOKSYMS): Likewise.
19152         (DF_1_NOHDR): Likewise.
19153         (DF_1_EDITED): Likewise.
19154         (DF_1_NORELOC): Likewise.
19155         (DF_1_SYMINTPOSE): Likewise.
19156         (DF_1_GLOBAUDIT): Likewise.
19157         (DF_1_SINGLETON): Likewise.
19158         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19159         DT_1_SUPPORTED_MASK bits.
19160         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19162 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
19164         * sysdeps/unix/make-syscalls.sh: Document prefixes.
19166 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
19168         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19169         macro.
19171         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19172         (sendmmsg): Move declarations...
19173         * socket/sys/socket.h: ... here.
19174         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19175         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19176         include it from...
19177         * socket/recvmmsg.c: ... this new file.
19178         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19179         (sendmmsg): Rename to __sendmmsg, create weak alias and make
19180         definition of __sendmmsg hidden.
19181         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19182         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19183         Move ENOSYS stub into and include it from...
19184         * socket/sendmmsg.c: ... this new file.
19185         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19186         (sysdep_routines): Move recvmmsg and sendmmsg...
19187         * socket/Makefile (routines): ... here.
19188         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19189         (GLIBC_PRIVATE): Add __sendmmsg.
19190         * include/sys/socket.h (__sendmmsg): Add declarations.
19191         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19192         sendmmsg.
19194 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
19196         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19197         variable I1 with __attribute__ ((unused)).
19198         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19200 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19202         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19203         DUMMY variables with __attribute__ ((unused)).
19205         * bits/byteswap.h: Include <bits/types.h>.
19206         (__bswap_64): Use __uint64_t instead of unsigned long long int.
19208 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19210         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19211         string_t.  Do not manually set errno.
19212         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19213         length with __strnlen.  Make sure to both set errno and return it on
19214         failure.
19216 2012-11-19  David S. Miller  <davem@davemloft.net>
19218         With help from Joseph Myers.
19219         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19220         very large arguments properly.
19221         * math/libm-test.inc (atan_test): New tests.
19222         (atan2_test): New tests.
19223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19226 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19228         [BZ #14856]
19229         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19230         Define to 3.
19232         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19233         [POSIX] (EADDRNOTAVAIL): Likewise.
19234         [POSIX] (EAFNOSUPPORT): Likewise.
19235         [POSIX] (EALREADY): Likewise.
19236         [POSIX] (ECONNABORTED): Likewise.
19237         [POSIX] (ECONNREFUSED): Likewise.
19238         [POSIX] (ECONNRESET): Likewise.
19239         [POSIX] (EDESTADDRREQ): Likewise.
19240         [POSIX] (EDQUOT): Likewise.
19241         [POSIX] (EHOSTUNREACH): Likewise.
19242         [POSIX] (EIDRM): Likewise.
19243         [POSIX] (EISCONN): Likewise.
19244         [POSIX] (ELOOP): Likewise.
19245         [POSIX] (EMULTIHOP): Likewise.
19246         [POSIX] (ENETDOWN): Likewise.
19247         [POSIX] (ENETUNREACH): Likewise.
19248         [POSIX] (ENOBUFS): Likewise.
19249         [POSIX] (ENODATA): Likewise.
19250         [POSIX] (ENOLINK): Likewise.
19251         [POSIX] (ENOMSG): Likewise.
19252         [POSIX] (ENOPROTOOPT): Likewise.
19253         [POSIX] (ENOSR): Likewise.
19254         [POSIX] (ENOSTR): Likewise.
19255         [POSIX] (ENOTCONN): Likewise.
19256         [POSIX] (ENOTSOCK): Likewise.
19257         [POSIX] (EOPNOTSUPP): Likewise.
19258         [POSIX] (EOVERFLOW): Likewise.
19259         [POSIX] (EPROTO): Likewise.
19260         [POSIX] (EPROTONOSUPPORT): Likewise.
19261         [POSIX] (EPROTOTYPE): Likewise.
19262         [POSIX] (ESTALE): Likewise.
19263         [POSIX] (ETIME): Likewise.
19264         [POSIX] (ETXTBSY): Likewise.
19265         [POSIX] (EWOULDBLOCK): Likewise.
19266         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19267         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19268         [POSIX] (SEEK_CUR): Likewise.
19269         [POSIX] (SEEK_END): Likewise.
19270         [POSIX || UNIX98] (mode_t): Do not require.
19271         [POSIX] (off_t): Likewise.
19272         [POSIX] (pid_t): Likewise.
19273         [POSIX] (sys/stat.h): Do not allow header.
19274         [POSIX] (unistd.h): Likewise.
19275         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19276         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19277         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19278         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19279         require.
19280         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19281         sigevent): Specify elements.
19282         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19283         entry.
19284         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19285         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19287         * conform/data/cpio.h-data [POSIX]: Disable whole file.
19288         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19289         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19290         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19291         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19292         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19293         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19294         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19295         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19296         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19297         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19298         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19299         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19300         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19301         Likewise.
19302         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19303         Likewise.
19304         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19305         Likewise.
19306         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19307         Likewise.
19308         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19309         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19310         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19311         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19312         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19313         Specify lower bound on value.
19314         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19315         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19316         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19317         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19318         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19319         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19320         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19321         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19322         value.
19323         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19324         as optional.
19325         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19326         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19327         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19328         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19329         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19330         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19331         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19332         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19333         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19334         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19335         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19336         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19337         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19338         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19339         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19340         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19341         entry.
19342         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19343         optional.
19344         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19345         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19346         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19347         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19348         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19349         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19350         Likewise.
19351         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19352         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19353         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19354         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19355         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
19356         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19357         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19358         as optional.
19359         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19360         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19361         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19362         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19363         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19364         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19365         specify as optional.
19366         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19367         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19368         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19369         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19370         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19371         [XPG3] (NL_LANGMAX): Likewise.
19372         [POSIX || XPG3] (NL_MSGMAX): Likewise.
19373         [POSIX || XPG3] (NL_NMAX): Likewise.
19374         [POSIX || XPG3] (NL_SETMAX): Likewise.
19375         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19376         [XPG3] (NZERO): Likewise.
19377         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19378         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19379         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19380         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19381         (REG_ERANGE): Expect.
19382         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19383         optional-constant.
19384         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19385         Use (void) in prototype.
19386         [POSIX] (*_t): Allow.
19387         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19388         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19389         (WRDE_BADVAL): Expect.
19391         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19392         expect.
19393         [XPG3 || XPG4] (O_RSYNC): Likewise.
19394         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19395         Likewise.
19396         [XPG3 || XPG4] (pthread_sigmask): Likewise.
19397         [XPG3 || XPG4] (sigqueue): Likewise.
19398         [XPG3 || XPG4] (sigtimedwait): Likewise.
19399         [XPG3 || XPG4] (sigwaitinfo): Likewise.
19400         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19401         [XPG3 || XPG4] (vsnprintf): Likewise.
19402         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19403         Likewise.
19404         [XPG3 || XPG4] (blksize_t): Likewise.
19405         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19406         Likewise.
19407         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19408         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19409         [XPG3 || XPG4] (struct itimerspec): Likewise.
19410         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19411         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19412         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19413         [XPG3 || XPG4] (clockid_t): Likewise.
19414         [XPG3 || XPG4] (timer_t): Likewise.
19415         [XPG3 || XPG4] (clock_getres): Likewise.
19416         [XPG3 || XPG4] (clock_gettime): Likewise.
19417         [XPG3 || XPG4] (clock_settime): Likewise.
19418         [XPG3 || XPG4] (nanosleep): Likewise.
19419         [XPG3 || XPG4] (timer_create): Likewise.
19420         [XPG3 || XPG4] (timer_delete): Likewise.
19421         [XPG3 || XPG4] (timer_gettime): Likewise.
19422         [XPG3 || XPG4] (timer_getoverrun): Likewise.
19423         [XPG3 || XPG4] (timer_settime): Likewise.
19424         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19425         [XPG3 || XPG4] (getlogin_r): Likewise.
19426         [XPG3 || XPG4] (pread): Likewise.
19427         [XPG3 || XPG4] (pthread_atfork): Likewise.
19428         [XPG3 || XPG4] (pwrite): Likewise.
19430         [BZ #14835]
19431         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19432         <bits/siginfo.h>.
19434 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19436         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19437         finalizing MALLSTREAM.
19439         * sysdeps/mach/hurd/syncfs.c: New file.
19441 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19443         [BZ #14719]
19444         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19445         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19446         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19447         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19448         (_nss_dns_gethostbyname4_r): Likewise.
19449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19450         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19452 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
19454         [BZ #13763]
19455         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19457 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
19459         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19460         * elf/cache.c (print_entry): Print ",AArch64" for
19461         FLAG_AARCH64_LIB64
19463         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19464         * elf/cache.c (print_entry): Print ",hard-float" for
19465         FLAG_ARM_LIBHF.
19467 2012-11-18  David S. Miller  <davem@davemloft.net>
19469         With help from Joseph Myers.
19470         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19471         cutoff to 2**-13.
19472         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19473         cutoff to 2**-25.
19474         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19475         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19476         small.
19477         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19478         * math/libm-test.inc (y0_test): New tests.
19479         (y1_test): New tests.
19480         * sysdeps/i386/fpu/libm-test-ulps: Update.
19481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19484 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
19486         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19487         64-bit targets.
19488         * configure: Regenerated.
19490 2012-11-17  David S. Miller  <davem@davemloft.net>
19492         [BZ #14811]
19493         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19494         nonzero exponents with absolute value below 0x1p-128 to +/-
19495         0x1p-128.
19497 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
19499         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19501         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19503         * posix/getconf-speclist.c: New file.
19504         * posix/posix-envs.def: Likewise.
19505         * posix/confstr.c (START_ENV_GROUP): New macro.
19506         (END_ENV_GROUP): Likewise.
19507         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19508         (KNOWN_PRESENT_ENV_STRING): Likewise.
19509         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19510         (UNKNOWN_ENVIRONMENT): Likewise.
19511         (confstr): Include posix-envs.def instead of handling
19512         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19513         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19514         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19515         (END_ENV_GROUP): Likewise.
19516         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19517         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19518         (UNKNOWN_ENVIRONMENT): Likewise.
19519         (__sysconf): Include posix-envs.def instead of handling associated
19520         cases directly here.
19521         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19522         preprocessing getconf-speclist.c rather than running getconf or
19523         generating empty file.
19525 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
19527         * scripts/check-local-headers.sh: Ignore 'mach' headers.
19529 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
19531         [BZ #14672]
19532         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19534 2012-11-16  David S. Miller  <davem@davemloft.net>
19536         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19537         smaller than LDBL_EPSILON/2.0L, just return xm1.
19539 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
19541         * elf/tst-array1.c (init): Set constructor priority to 1000.
19542         (fini): Set destructor priority to 1000.
19543         * elf/tst-array2dep.c: Likewise.
19545 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19547         [BZ #11741]
19548         * libio/fileops.c (_IO_new_file_write): Correctly return error.
19549         (_IO_new_file_xsputn): Also return EOF if none of the input
19550         data was written when overflow failed.
19551         * libio/iopadn.c (_IO_padn): Likewise.
19552         * libio/iowpadn.c (_IO_wpadn): Likewise.
19553         * stdio-common/tst-put-error.c: Add copyright notice.
19554         (do_test): Add case for printing padded string.
19555         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19556         _IO_padn returned error.
19557         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19558         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19559         return EOF.
19561 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19563         * libio/libioP.h: Add comment note that the references to C++
19564         bits are now obsolete.
19566 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19568         * math/libm-test.inc (check_complex): Use asprintf.
19570 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
19572         * debug/pcprofiledump.c (print_version): Update copyright year.
19573         * malloc/memusagestat.c (print_version): Likewise.
19575 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19577         [BZ #14831]
19578         * elf/Makefile (tests): Add tst-audit8.
19579         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19580         ($(objpfx)tst-audit8.out): New target.
19581         (tst-audit8-ENV): New variable.
19582         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19583         audit if l_reloc_result is NULL.
19584         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19585         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19586         * elf/tst-audit8.c: New file.
19588 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19590         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19591         * misc/Makefile (CFLAGS-select.c): Define.
19592         * posix/Makefile (CFLAGS-pause.c): Define.
19594 2012-11-13  David S. Miller  <davem@davemloft.net>
19596         * crypt/Makefile: Move test targets after toplevel Rules
19597         inclusion.  Grab any necessary sysdep routines when linking.
19598         * crypt/md5.c (md5_process_block): Remove define, we will always
19599         name it __md5_process_block.
19600         (md5_finish_ctx): Update md5_process_block call.
19601         (md5_stream): Likewise.
19602         (md5_process_bytes): Likewise.
19603         (md5_process_block): Rename to __md5_process_block and move to ...
19604         * crypt/md5-block.c: ... here.
19605         * crypt/sha256.c (sha256_process_block): Move to ...
19606         * crypt/sha256-block.c: ... here.
19607         * crypt/sha512.c (sha512_process_block): Move to ...
19608         * crypt/sha512-block.c: ... here.
19609         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19610         path.
19611         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19612         * sysdeps/sparc/sparc64/multiarch/Makefile
19613         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19614         crypt subdir.
19615         (localedef-aux): Add md5 crypto assembler when in locale subdir.
19616         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19617         multiarch changes.
19618         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19619         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19620         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19621         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19622         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19623         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19624         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19625         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19626         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19627         file.
19628         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19629         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19630         file.
19631         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19633 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
19635         * timezone/tzselect.ksh: Update from tzcode git revision
19636         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19637         * timezone/zdump.c: Likewise.
19638         * timezone/zic.c: Likewise.
19639         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19640         in TZVERSION setting, not $(PKGVERSION).
19641         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
19642         REPORT_BUGS_TO settings.
19644         [BZ #14838]
19645         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19646         macro.
19648 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19650         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19651         detection to immediately after _FP_ROUND().
19652         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19653         bits are 0.
19655 2012-11-11  David S. Miller  <davem@davemloft.net>
19657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19658         inttypes.h
19659         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19660         __close rather than their public counterparts.
19662 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
19664         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19665         file.
19666         [UNIX98] (sem_timedwait): Do not expect.
19667         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19668         [XPG4 || UNIX98] (sockatmark): Do not expect.
19669         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19670         (clock_getcpuclockid): Do not expect.
19671         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19672         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19673         Do not expect.
19674         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19675         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19676         [UNIX98] (vwscanf): Likewise.
19677         [UNIX98] (vswscanf): Likewise.
19679 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
19681         * timezone/version.h: Remove file.
19682         * timezone/README: Do not refer to version.h.
19683         * timezone/Makefile ($(objpfx)zic.o): New dependency on
19684         $(objpfx)version.h.
19685         ($(objpfx)zdump.o): Likewise.
19686         ($(objpfx)version.h): New target.
19688         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19689         2012i.
19690         * timezone/README: Don't mention modification to tzselect.ksh.
19691         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19692         work on unmodified tzselect.ksh.  Substitute version numbers in
19693         tzselect.ksh.
19695         * Makefile (format-me): Remove.
19696         (INSTALL): Adjust indentation.  Use commands directly instead of
19697         using $(format-me).
19699         * aclocal.m4 (ACX_PKGVERSION): New macro.
19700         (ACX_BUGURL): Likewise.
19701         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19702         (PKGVERSION): New AC_DEFINE_UNQUOTED.
19703         (REPORT_BUGS_TO): Likewise.
19704         * configure: Regenerated.
19705         * config.h.in (PKGVERSION): New macro.
19706         (REPORT_BUGS_TO): Likewise.
19707         * config.make.in (PKGVERSION): New variable.
19708         (PKGVERSION_TEXI): Likewise.
19709         (REPORT_BUGS_TO): Likewise.
19710         (REPORT_BUGS_TEXI): Likewise.
19711         * Makefile (format-me): Use -I$(common-objpfx)manual.
19712         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19713         ($(common-objpfx)manual/%): New target.
19714         (manual/%): Remove target.
19715         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19716         (print_version): Use PKGVERSION.
19717         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19718         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19719         and REPORT_BUGS_TO.
19720         ($(objpfx)xtrace): Likewise.
19721         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19722         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19723         (print_version): Use PKGVERSION.
19724         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19725         (do_version): Use PKGVERSION.
19726         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19727         REPORT_BUGS_TO.
19728         (common-ldd-rewrite): Likewise.
19729         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19730         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19731         (print_version): Use PKGVERSION.
19732         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19733         * elf/pldd.c (argp_program_bug_address): Remove variable.
19734         (more_help): New function.
19735         (argp): Use more_help.
19736         (print_version): Use PKGVERSION.
19737         * elf/sln.c (main): Use PKGVERSION.
19738         (usage): Use REPORT_BUGS_TO.
19739         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19740         (top level): Use PKGVERSION.
19741         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19742         (print_version): Use PKGVERSION.
19743         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19744         (print_version): Use PKGVERSION.
19745         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19746         (print_version): Use PKGVERSION.
19747         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19748         (print_version): Use PKGVERSION.
19749         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19750         (print_version): Use PKGVERSION.
19751         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19752         (print_version): Use PKGVERSION.
19753         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19754         and BUGURL.
19755         ($(objpfx)memusage): Likewise.
19756         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19757         (do_version): Use PKGVERSION.
19758         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19759         (print_version): Use PKGVERSION.
19760         * malloc/mtrace.pl ($PACKAGE): Remove variable.
19761         ($PKGVERSION): New variable.
19762         ($REPORT_BUGS_TO): Likewise.
19763         (usage): Use $REPORT_BUGS_TO.
19764         (top level): Use $PKGVERSION.
19765         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19766         ($(objpfx)pkgvers.texi): New rule.
19767         ($(objpfx)stamp-pkgvers): Likewise.
19768         * manual/install.texi: Include pkgvers.texi.
19769         (--with-pkgversion): Document new configure option.
19770         (--with-bugurl): Likewise.
19771         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19772         than necessarily for this particular distribution.  Use
19773         REPORT_BUGS_TO for where to report bugs.
19774         * INSTALL: Regenerated.
19775         * manual/libc.texinfo: Include pkgvers.texi.
19776         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19777         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19778         (print_version): Use PKGVERSION.
19779         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19780         (print_version): Use PKGVERSION.
19781         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19782         (print_version): Use PKGVERSION.
19783         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19784         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19785         macro.
19786         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19787         (print_version): Use PKGVERSION.
19788         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19789         (print_version): Use PKGVERSION.
19790         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19791         and PKGVERSION.
19793         * timezone/checktab.awk: Update from tzcode 2012i.
19794         * timezone/ialloc.c: Likewise.
19795         * timezone/private.h: Likewise.
19796         * timezone/scheck.c: Likewise.
19797         * timezone/tzfile.h: Likewise.
19798         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19799         (TZVERSION): Hardcode tzcode version number.
19800         * timezone/zdump.c: Update from tzcode 2012i.
19801         * timezone/zic.c: Likewise.
19802         * timezone/version.h: New file.
19803         * timezone/README: Describe version.h.  Update upstream location.
19805         [BZ #14824]
19806         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19807         (mktemp): Enable declaration.
19808         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19809         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19810         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19811         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19812         Likewise.
19813         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19814         Likewise.
19815         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19816         Likewise.
19817         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19818         Likewise.
19819         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19820         Likewise.
19821         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19822         Likewise.
19824         [BZ #14821]
19825         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19826         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
19827         for copies of such integer values.
19828         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19829         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19831 2012-11-09  Andreas Jaeger  <aj@suse.de>
19833         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19834         definitions and declarations that are provided by
19835         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19837 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19839         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19840         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19841         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19842         definition.
19844 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19846         * elf/elf.h: Update comment before AArch64 relocations.
19848 2012-11-07  David S. Miller  <davem@davemloft.net>
19850         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19851         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19852         (__start_context): Declare.
19853         (__makecontext_ret): Delete.
19854         (__makecontext): Hook up __start_context instead of
19855         __makecontext_ret.
19856         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19857         (sysdep_routines): Add __start_context when in stdlib.
19859 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19861         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19862         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19863         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
19864         hardcoded "nm".
19865         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
19866         (READELF): New variable.  Use it instead of hardcoded "readelf".
19868 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19870         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19871         * sysdeps/x86/Makefile: Here.
19872         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19873         * sysdeps/x86/tst-xmmymm.sh: This.
19875 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19877         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19878         expectations.
19879         [UNIX98] (pthread_barrier_t): Do not expect.
19880         [UNIX98] (pthread_barrierattr_t): Likewise.
19881         [UNIX98] (pthread_spinlock_t): Likewise.
19882         [UNIX98] (pthread_barrier_destroy): Likewise.
19883         [UNIX98] (pthread_barrier_init): Likewise.
19884         [UNIX98] (pthread_barrier_wait): Likewise.
19885         [UNIX98] (pthread_barrierattr_destroy): Likewise.
19886         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19887         [UNIX98] (pthread_barrierattr_init): Likewise.
19888         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19889         [UNIX98] (pthread_getcpuclockid): Likewise.
19890         [UNIX98] (pthread_mutex_timedlock): Likewise.
19891         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19892         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19893         [UNIX98] (pthread_sigmask): Likewise.
19894         [UNIX98] (pthread_spin_destroy): Likewise.
19895         [UNIX98] (pthread_spin_init): Likewise.
19896         [UNIX98] (pthread_spin_lock): Likewise.
19897         [UNIX98] (pthread_spin_trylock): Likewise.
19898         [UNIX98] (pthread_spin_unlock): Likewise.
19899         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19900         Do not expect.
19901         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19902         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19903         [XPG3 || XPG4] (pthread_cond_t): Likewise.
19904         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19905         [XPG3 || XPG4] (pthread_key_t): Likewise.
19906         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19907         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19908         [XPG3 || XPG4] (pthread_once_t): Likewise.
19909         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19910         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19911         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19912         [XPG3 || XPG4] (pthread_t): Likewise.
19914         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19915         not expect.
19916         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19918         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19919         Change function return type to int.
19921         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19922         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19923         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19924         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19925         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19926         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19927         [!POSIX] (posix_madvise): Likewise.
19928         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19929         && !UNIX98].
19930         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19931         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19932         (mode_t): Likewise.
19933         (posix_mem_offset): Likewise.
19934         (posix_typed_mem_get_info): Likewise.
19935         (posix_typed_mem_open): Likewise.
19937         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19938         Change condition to [XOPEN2K8].
19940         * conform/conformtest.pl: Preprocess allow-header data with -x c
19941         instead of from stdin.
19942         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19943         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19944         [C99-based standards] (cerfc): Likewise.
19945         [C99-based standards] (cexp2): Likewise.
19946         [C99-based standards] (cexpm1): Likewise.
19947         [C99-based standards] (clog10): Likewise.
19948         [C99-based standards] (clog1p): Likewise.
19949         [C99-based standards] (clog2): Likewise.
19950         [C99-based standards] (clgamma): Likewise.
19951         [C99-based standards] (ctgamma): Likewise.
19952         [C99-based standards] (cerff): Likewise.
19953         [C99-based standards] (cerfcf): Likewise.
19954         [C99-based standards] (cexp2f): Likewise.
19955         [C99-based standards] (cexpm1f): Likewise.
19956         [C99-based standards] (clog10f): Likewise.
19957         [C99-based standards] (clog1pf): Likewise.
19958         [C99-based standards] (clog2f): Likewise.
19959         [C99-based standards] (clgammaf): Likewise.
19960         [C99-based standards] (ctgammaf): Likewise.
19961         [C99-based standards] (cerfl): Likewise.
19962         [C99-based standards] (cerfcl): Likewise.
19963         [C99-based standards] (cexp2l): Likewise.
19964         [C99-based standards] (cexpm1l): Likewise.
19965         [C99-based standards] (clog10l): Likewise.
19966         [C99-based standards] (clog1pl): Likewise.
19967         [C99-based standards] (clog2l): Likewise.
19968         [C99-based standards] (clgammal): Likewise.
19969         [C99-based standards] (ctgammal): Likewise.
19970         * conform/data/inttypes.h-data [C99-based standards]: Include
19971         stdint.h-data.  Remove all expectations for stdint.h contents.
19972         [C99-based standards] (PRI*): Do not allow.
19973         [C99-based standards] (SCN*): Likewise.
19974         [C99-based standards] (*_t): Likewise.
19975         [C99-based-standards] (PRId8): Expect macro.
19976         [C99-based-standards] (PRIi8): Likewise.
19977         [C99-based-standards] (PRIo8): Likewise.
19978         [C99-based-standards] (PRIu8): Likewise.
19979         [C99-based-standards] (PRIx8): Likewise.
19980         [C99-based-standards] (PRIX8): Likewise.
19981         [C99-based-standards] (SCNd8): Likewise.
19982         [C99-based-standards] (SCNi8): Likewise.
19983         [C99-based-standards] (SCNo8): Likewise.
19984         [C99-based-standards] (SCNu8): Likewise.
19985         [C99-based-standards] (SCNx8): Likewise.
19986         [C99-based-standards] (PRIdLEAST8): Likewise.
19987         [C99-based-standards] (PRIiLEAST8): Likewise.
19988         [C99-based-standards] (PRIoLEAST8): Likewise.
19989         [C99-based-standards] (PRIuLEAST8): Likewise.
19990         [C99-based-standards] (PRIxLEAST8): Likewise.
19991         [C99-based-standards] (PRIXLEAST8): Likewise.
19992         [C99-based-standards] (SCNdLEAST8): Likewise.
19993         [C99-based-standards] (SCNiLEAST8): Likewise.
19994         [C99-based-standards] (SCNoLEAST8): Likewise.
19995         [C99-based-standards] (SCNuLEAST8): Likewise.
19996         [C99-based-standards] (SCNxLEAST8): Likewise.
19997         [C99-based-standards] (PRIdFAST8): Likewise.
19998         [C99-based-standards] (PRIiFAST8): Likewise.
19999         [C99-based-standards] (PRIoFAST8): Likewise.
20000         [C99-based-standards] (PRIuFAST8): Likewise.
20001         [C99-based-standards] (PRIxFAST8): Likewise.
20002         [C99-based-standards] (PRIXFAST8): Likewise.
20003         [C99-based-standards] (SCNdFAST8): Likewise.
20004         [C99-based-standards] (SCNiFAST8): Likewise.
20005         [C99-based-standards] (SCNoFAST8): Likewise.
20006         [C99-based-standards] (SCNuFAST8): Likewise.
20007         [C99-based-standards] (SCNxFAST8): Likewise.
20008         [C99-based-standards] (PRId16): Likewise.
20009         [C99-based-standards] (PRIi16): Likewise.
20010         [C99-based-standards] (PRIo16): Likewise.
20011         [C99-based-standards] (PRIu16): Likewise.
20012         [C99-based-standards] (PRIx16): Likewise.
20013         [C99-based-standards] (PRIX16): Likewise.
20014         [C99-based-standards] (SCNd16): Likewise.
20015         [C99-based-standards] (SCNi16): Likewise.
20016         [C99-based-standards] (SCNo16): Likewise.
20017         [C99-based-standards] (SCNu16): Likewise.
20018         [C99-based-standards] (SCNx16): Likewise.
20019         [C99-based-standards] (PRIdLEAST16): Likewise.
20020         [C99-based-standards] (PRIiLEAST16): Likewise.
20021         [C99-based-standards] (PRIoLEAST16): Likewise.
20022         [C99-based-standards] (PRIuLEAST16): Likewise.
20023         [C99-based-standards] (PRIxLEAST16): Likewise.
20024         [C99-based-standards] (PRIXLEAST16): Likewise.
20025         [C99-based-standards] (SCNdLEAST16): Likewise.
20026         [C99-based-standards] (SCNiLEAST16): Likewise.
20027         [C99-based-standards] (SCNoLEAST16): Likewise.
20028         [C99-based-standards] (SCNuLEAST16): Likewise.
20029         [C99-based-standards] (SCNxLEAST16): Likewise.
20030         [C99-based-standards] (PRIdFAST16): Likewise.
20031         [C99-based-standards] (PRIiFAST16): Likewise.
20032         [C99-based-standards] (PRIoFAST16): Likewise.
20033         [C99-based-standards] (PRIuFAST16): Likewise.
20034         [C99-based-standards] (PRIxFAST16): Likewise.
20035         [C99-based-standards] (PRIXFAST16): Likewise.
20036         [C99-based-standards] (SCNdFAST16): Likewise.
20037         [C99-based-standards] (SCNiFAST16): Likewise.
20038         [C99-based-standards] (SCNoFAST16): Likewise.
20039         [C99-based-standards] (SCNuFAST16): Likewise.
20040         [C99-based-standards] (SCNxFAST16): Likewise.
20041         [C99-based-standards] (PRId32): Likewise.
20042         [C99-based-standards] (PRIi32): Likewise.
20043         [C99-based-standards] (PRIo32): Likewise.
20044         [C99-based-standards] (PRIu32): Likewise.
20045         [C99-based-standards] (PRIx32): Likewise.
20046         [C99-based-standards] (PRIX32): Likewise.
20047         [C99-based-standards] (SCNd32): Likewise.
20048         [C99-based-standards] (SCNi32): Likewise.
20049         [C99-based-standards] (SCNo32): Likewise.
20050         [C99-based-standards] (SCNu32): Likewise.
20051         [C99-based-standards] (SCNx32): Likewise.
20052         [C99-based-standards] (PRIdLEAST32): Likewise.
20053         [C99-based-standards] (PRIiLEAST32): Likewise.
20054         [C99-based-standards] (PRIoLEAST32): Likewise.
20055         [C99-based-standards] (PRIuLEAST32): Likewise.
20056         [C99-based-standards] (PRIxLEAST32): Likewise.
20057         [C99-based-standards] (PRIXLEAST32): Likewise.
20058         [C99-based-standards] (SCNdLEAST32): Likewise.
20059         [C99-based-standards] (SCNiLEAST32): Likewise.
20060         [C99-based-standards] (SCNoLEAST32): Likewise.
20061         [C99-based-standards] (SCNuLEAST32): Likewise.
20062         [C99-based-standards] (SCNxLEAST32): Likewise.
20063         [C99-based-standards] (PRIdFAST32): Likewise.
20064         [C99-based-standards] (PRIiFAST32): Likewise.
20065         [C99-based-standards] (PRIoFAST32): Likewise.
20066         [C99-based-standards] (PRIuFAST32): Likewise.
20067         [C99-based-standards] (PRIxFAST32): Likewise.
20068         [C99-based-standards] (PRIXFAST32): Likewise.
20069         [C99-based-standards] (SCNdFAST32): Likewise.
20070         [C99-based-standards] (SCNiFAST32): Likewise.
20071         [C99-based-standards] (SCNoFAST32): Likewise.
20072         [C99-based-standards] (SCNuFAST32): Likewise.
20073         [C99-based-standards] (SCNxFAST32): Likewise.
20074         [C99-based-standards] (PRId64): Likewise.
20075         [C99-based-standards] (PRIi64): Likewise.
20076         [C99-based-standards] (PRIo64): Likewise.
20077         [C99-based-standards] (PRIu64): Likewise.
20078         [C99-based-standards] (PRIx64): Likewise.
20079         [C99-based-standards] (PRIX64): Likewise.
20080         [C99-based-standards] (SCNd64): Likewise.
20081         [C99-based-standards] (SCNi64): Likewise.
20082         [C99-based-standards] (SCNo64): Likewise.
20083         [C99-based-standards] (SCNu64): Likewise.
20084         [C99-based-standards] (SCNx64): Likewise.
20085         [C99-based-standards] (PRIdLEAST64): Likewise.
20086         [C99-based-standards] (PRIiLEAST64): Likewise.
20087         [C99-based-standards] (PRIoLEAST64): Likewise.
20088         [C99-based-standards] (PRIuLEAST64): Likewise.
20089         [C99-based-standards] (PRIxLEAST64): Likewise.
20090         [C99-based-standards] (PRIXLEAST64): Likewise.
20091         [C99-based-standards] (SCNdLEAST64): Likewise.
20092         [C99-based-standards] (SCNiLEAST64): Likewise.
20093         [C99-based-standards] (SCNoLEAST64): Likewise.
20094         [C99-based-standards] (SCNuLEAST64): Likewise.
20095         [C99-based-standards] (SCNxLEAST64): Likewise.
20096         [C99-based-standards] (PRIdFAST64): Likewise.
20097         [C99-based-standards] (PRIiFAST64): Likewise.
20098         [C99-based-standards] (PRIoFAST64): Likewise.
20099         [C99-based-standards] (PRIuFAST64): Likewise.
20100         [C99-based-standards] (PRIxFAST64): Likewise.
20101         [C99-based-standards] (PRIXFAST64): Likewise.
20102         [C99-based-standards] (SCNdFAST64): Likewise.
20103         [C99-based-standards] (SCNiFAST64): Likewise.
20104         [C99-based-standards] (SCNoFAST64): Likewise.
20105         [C99-based-standards] (SCNuFAST64): Likewise.
20106         [C99-based-standards] (SCNxFAST64): Likewise.
20107         [C99-based-standards] (PRIdMAX): Likewise.
20108         [C99-based-standards] (PRIiMAX): Likewise.
20109         [C99-based-standards] (PRIoMAX): Likewise.
20110         [C99-based-standards] (PRIuMAX): Likewise.
20111         [C99-based-standards] (PRIxMAX): Likewise.
20112         [C99-based-standards] (PRIXMAX): Likewise.
20113         [C99-based-standards] (SCNdMAX): Likewise.
20114         [C99-based-standards] (SCNiMAX): Likewise.
20115         [C99-based-standards] (SCNoMAX): Likewise.
20116         [C99-based-standards] (SCNuMAX): Likewise.
20117         [C99-based-standards] (SCNxMAX): Likewise.
20118         [C99-based-standards] (PRIdPTR): Likewise.
20119         [C99-based-standards] (PRIiPTR): Likewise.
20120         [C99-based-standards] (PRIoPTR): Likewise.
20121         [C99-based-standards] (PRIuPTR): Likewise.
20122         [C99-based-standards] (PRIxPTR): Likewise.
20123         [C99-based-standards] (PRIXPTR): Likewise.
20124         [C99-based-standards] (SCNdPTR): Likewise.
20125         [C99-based-standards] (SCNiPTR): Likewise.
20126         [C99-based-standards] (SCNoPTR): Likewise.
20127         [C99-based-standards] (SCNuPTR): Likewise.
20128         [C99-based-standards] (SCNxPTR): Likewise.
20129         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20130         allow.
20131         * conform/data/stdint.h-data: Update comments to clarify
20132         requirements.
20133         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
20134         type.
20135         [C99-based standards] (INT8_MAX): Likewise.
20136         [C99-based standards] (INT16_MIN): Likewise.
20137         [C99-based standards] (INT16_MAX): Likewise.
20138         [C99-based standards] (INT32_MIN): Likewise.
20139         [C99-based standards] (INT32_MAX): Likewise.
20140         [C99-based standards] (INT64_MIN): Likewise.
20141         [C99-based standards] (INT64_MAX): Likewise.
20142         [C99-based standards] (UINT8_MAX): Likewise.
20143         [C99-based standards] (UINT16_MAX): Likewise.
20144         [C99-based standards] (UINT32_MAX): Likewise.
20145         [C99-based standards] (UINT64_MAX): Likewise.
20146         [C99-based standards] (INT_LEAST8_MIN): Likewise.
20147         [C99-based standards] (INT_LEAST8_MAX): Likewise.
20148         [C99-based standards] (INT_LEAST16_MIN): Likewise.
20149         [C99-based standards] (INT_LEAST16_MAX): Likewise.
20150         [C99-based standards] (INT_LEAST32_MIN): Likewise.
20151         [C99-based standards] (INT_LEAST32_MAX): Likewise.
20152         [C99-based standards] (INT_LEAST64_MIN): Likewise.
20153         [C99-based standards] (INT_LEAST64_MAX): Likewise.
20154         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20155         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20156         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20157         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20158         [C99-based standards] (INT_FAST8_MIN): Likewise.
20159         [C99-based standards] (INT_FAST8_MAX): Likewise.
20160         [C99-based standards] (INT_FAST16_MIN): Likewise.
20161         [C99-based standards] (INT_FAST16_MAX): Likewise.
20162         [C99-based standards] (INT_FAST32_MIN): Likewise.
20163         [C99-based standards] (INT_FAST32_MAX): Likewise.
20164         [C99-based standards] (INT_FAST64_MIN): Likewise.
20165         [C99-based standards] (INT_FAST64_MAX): Likewise.
20166         [C99-based standards] (UINT_FAST8_MAX): Likewise.
20167         [C99-based standards] (UINT_FAST16_MAX): Likewise.
20168         [C99-based standards] (UINT_FAST32_MAX): Likewise.
20169         [C99-based standards] (UINT_FAST64_MAX): Likewise.
20170         [C99-based standards] (INTPTR_MIN): Likewise.
20171         [C99-based standards] (INTPTR_MAX): Likewise.
20172         [C99-based standards] (UINTPTR_MAX): Likewise.
20173         [C99-based standards] (INTMAX_MIN): Likewise.
20174         [C99-based standards] (INTMAX_MAX): Likewise.
20175         [C99-based standards] (UINTMAX_MAX): Likewise.
20176         [C99-based standards] (PTRDIFF_MIN): Likewise.
20177         [C99-based standards] (PTRDIFF_MAX): Likewise.
20178         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20179         [C99-based standards] (SIZE_MAX): Likewise.
20180         [C99-based standards] (WCHAR_MAX): Likewise.
20181         [C99-based standards] (WINT_MAX): Likewise.
20182         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
20183         constraint on value.
20184         [C99-based standards] (WCHAR_MIN): Likewise.
20185         [C99-based standards] (WINT_MIN): Likewise.
20186         [C99-based standards] (*_t): Allow.
20187         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20188         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20189         Include math.h-data and complex.h-data.  Remove all expectations
20190         of math.h and complex.h contents.
20191         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20192         at end of line.
20193         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20194         (struct tm): Expect tag.
20195         [C99-based-standards] (wcstof): Expect function.
20196         [C99-based-standards] (wcstold): Likewise.
20197         [C99-based-standards] (wcstoll): Likewise.
20198         [C99-based-standards] (wcstoull): Likewise.
20199         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20200         macro-int-constant.  Specify type.
20201         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
20202         constraint on value.
20203         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20204         Specify type.
20205         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20206         Specify value.
20207         [ISO C standards]: Do not allow headers.
20208         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20209         wcs[abcdefghijklmnopqrstuvwxyz]*.
20210         [ISO C standards] (*_t): Do not allow.
20211         * conform/data/wctype.h-data [C99-based standards] (iswblank):
20212         Expect function.
20213         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20214         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20215         Specify type.
20216         [ISO C standards]: Do not allow headers.
20217         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20218         is[abcdefghijklmnopqrstuvwxyz]*.
20219         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20220         to[abcdefghijklmnopqrstuvwxyz]*.
20221         [ISO C standards] (*_t): Do not allow.
20222         * conform/data/stdalign.h-data: New file.
20223         * conform/data/stdbool.h-data: Likewise.
20224         * conform/data/stdnoreturn.h-data: Likewise.
20226 2012-11-07  Roland McGrath  <roland@hack.frob.com>
20228         [BZ #14815]
20229         * manual/filesys.texi (Directory Entries): Typo fix.
20230         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20232 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20234         * elf/elf.h (EM_AARCH64): New macro.
20235         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20236         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20237         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20238         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20239         (R_AARCH64_TLSDESC): Likewise.
20240         (NT_ARM_TLS): Likewise.
20241         (NT_ARM_HW_BREAK): Likewise.
20242         (NT_ARM_HW_WATCH): Likewise.
20244 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20246         [BZ #14811]
20247         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20248         (__ieee754_powl): Saturate nonzero exponents with absolute value
20249         below 0x1p-79 to +/- 0x1p-79.
20250         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20251         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20252         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20253         nonzero exponents with absolute value below 0x1p-32 to +/-
20254         0x1p-32.
20255         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20256         (__ieee754_powl): Saturate nonzero exponents with absolute value
20257         below 0x1p-79 to +/- 0x1p-79.
20258         * math/libm-test.inc (pow_test): Add more tests.
20260 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20262         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20263         _dl_s390_cap_flags with kernel. Increase string length.
20264         (_dl_s390_platforms): Add z196 and zEC12.
20266 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20268         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20269         Change XOPEN21K to XOPEN2K.
20271 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
20273         * string/memmove.c: Use memcpy when possible.
20275 2012-11-06  Andreas Jaeger  <aj@suse.de>
20277         * po/eo.po: Update from translation team.
20279 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
20281         [BZ #14793]
20282         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20283         exponent and small x and y exponents, scale x or y up.  Increase
20284         by 2 the exponent used in scaling up.
20285         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20286         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20287         * math/libm-test.inc (fma_test): Add more tests.
20288         (fma_test_towardzero): Likewise.
20289         (fma_test_downward): Likewise.
20290         (fma_test_upward): Likewise.
20292 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
20294         [BZ #14805]
20295         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20296         fenv_t *.
20298         [BZ #14801]
20299         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20300         namespace for names of struct fields.
20301         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20302         fenv_t fields.
20303         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20304         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20306 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20308         [BZ #3665]
20309         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20311 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20313         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20314         PTR_DEMANGLE.
20316         [BZ #5246]
20317         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20318         PTR_DEMANGLE.
20320 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
20322         [BZ #14797]
20323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20324         definitely overflow as x * y not x * y + z.
20325         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20326         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20327         * math/libm-test.inc (fma_test): Add more tests.
20328         (fma_test_towardzero): Likewise.
20329         (fma_test_downward): Likewise.
20330         (fma_test_upward): Likewise.
20332 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20334         [BZ #157]
20336         * include/stub-tag.h: Remove file.
20337         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20338         '#include' of it.
20339         * manual/maint.texi (Porting): Don't reference it.
20340         * Makerules ($(objpfx)stubs): Likewise.
20341         * dirent/closedir.c: Don't include <stub-tag.h>.
20342         * dirent/dirfd.c: Likewise.
20343         * dirent/fdopendir.c: Likewise.
20344         * dirent/getdents.c: Likewise.
20345         * dirent/getdents64.c: Likewise.
20346         * dirent/opendir.c: Likewise.
20347         * dirent/readdir.c: Likewise.
20348         * dirent/readdir64.c: Likewise.
20349         * dirent/readdir64_r.c: Likewise.
20350         * dirent/readdir_r.c: Likewise.
20351         * dirent/rewinddir.c: Likewise.
20352         * dirent/seekdir.c: Likewise.
20353         * dirent/telldir.c: Likewise.
20354         * gmon/profil.c: Likewise.
20355         * grp/setgroups.c: Likewise.
20356         * inet/if_index.c: Likewise.
20357         * io/access.c: Likewise.
20358         * io/chdir.c: Likewise.
20359         * io/chmod.c: Likewise.
20360         * io/chown.c: Likewise.
20361         * io/close.c: Likewise.
20362         * io/dup.c: Likewise.
20363         * io/dup2.c: Likewise.
20364         * io/dup3.c: Likewise.
20365         * io/euidaccess.c: Likewise.
20366         * io/faccessat.c: Likewise.
20367         * io/fchdir.c: Likewise.
20368         * io/fchmod.c: Likewise.
20369         * io/fchmodat.c: Likewise.
20370         * io/fchown.c: Likewise.
20371         * io/fchownat.c: Likewise.
20372         * io/fcntl.c: Likewise.
20373         * io/flock.c: Likewise.
20374         * io/fstatfs.c: Likewise.
20375         * io/fstatfs64.c: Likewise.
20376         * io/fstatvfs.c: Likewise.
20377         * io/fstatvfs64.c: Likewise.
20378         * io/futimens.c: Likewise.
20379         * io/fxstat.c: Likewise.
20380         * io/fxstat64.c: Likewise.
20381         * io/fxstatat.c: Likewise.
20382         * io/fxstatat64.c: Likewise.
20383         * io/getcwd.c: Likewise.
20384         * io/isatty.c: Likewise.
20385         * io/lchmod.c: Likewise.
20386         * io/lchown.c: Likewise.
20387         * io/link.c: Likewise.
20388         * io/linkat.c: Likewise.
20389         * io/lseek.c: Likewise.
20390         * io/lseek64.c: Likewise.
20391         * io/lxstat64.c: Likewise.
20392         * io/mkdir.c: Likewise.
20393         * io/mkdirat.c: Likewise.
20394         * io/mkfifo.c: Likewise.
20395         * io/mkfifoat.c: Likewise.
20396         * io/open.c: Likewise.
20397         * io/open64.c: Likewise.
20398         * io/openat.c: Likewise.
20399         * io/openat64.c: Likewise.
20400         * io/pipe.c: Likewise.
20401         * io/pipe2.c: Likewise.
20402         * io/poll.c: Likewise.
20403         * io/posix_fadvise.c: Likewise.
20404         * io/posix_fadvise64.c: Likewise.
20405         * io/posix_fallocate.c: Likewise.
20406         * io/posix_fallocate64.c: Likewise.
20407         * io/read.c: Likewise.
20408         * io/readlink.c: Likewise.
20409         * io/readlinkat.c: Likewise.
20410         * io/rmdir.c: Likewise.
20411         * io/sendfile.c: Likewise.
20412         * io/sendfile64.c: Likewise.
20413         * io/statfs.c: Likewise.
20414         * io/statfs64.c: Likewise.
20415         * io/statvfs.c: Likewise.
20416         * io/statvfs64.c: Likewise.
20417         * io/symlink.c: Likewise.
20418         * io/symlinkat.c: Likewise.
20419         * io/ttyname.c: Likewise.
20420         * io/ttyname_r.c: Likewise.
20421         * io/umask.c: Likewise.
20422         * io/unlink.c: Likewise.
20423         * io/unlinkat.c: Likewise.
20424         * io/utime.c: Likewise.
20425         * io/utimensat.c: Likewise.
20426         * io/write.c: Likewise.
20427         * io/xmknod.c: Likewise.
20428         * io/xmknodat.c: Likewise.
20429         * io/xstat.c: Likewise.
20430         * io/xstat64.c: Likewise.
20431         * login/getpt.c: Likewise.
20432         * login/grantpt.c: Likewise.
20433         * login/unlockpt.c: Likewise.
20434         * math/e_acoshl.c: Likewise.
20435         * math/e_acosl.c: Likewise.
20436         * math/e_asinl.c: Likewise.
20437         * math/e_atan2l.c: Likewise.
20438         * math/e_atanhl.c: Likewise.
20439         * math/e_coshl.c: Likewise.
20440         * math/e_expl.c: Likewise.
20441         * math/e_fmodl.c: Likewise.
20442         * math/e_gammal_r.c: Likewise.
20443         * math/e_hypotl.c: Likewise.
20444         * math/e_j0l.c: Likewise.
20445         * math/e_j1l.c: Likewise.
20446         * math/e_jnl.c: Likewise.
20447         * math/e_lgammal_r.c: Likewise.
20448         * math/e_log10l.c: Likewise.
20449         * math/e_log2l.c: Likewise.
20450         * math/e_logl.c: Likewise.
20451         * math/e_powl.c: Likewise.
20452         * math/e_rem_pio2l.c: Likewise.
20453         * math/e_sinhl.c: Likewise.
20454         * math/e_sqrtl.c: Likewise.
20455         * math/fclrexcpt.c: Likewise.
20456         * math/fedisblxcpt.c: Likewise.
20457         * math/feenablxcpt.c: Likewise.
20458         * math/fegetenv.c: Likewise.
20459         * math/fegetexcept.c: Likewise.
20460         * math/fegetround.c: Likewise.
20461         * math/feholdexcpt.c: Likewise.
20462         * math/fesetenv.c: Likewise.
20463         * math/fesetround.c: Likewise.
20464         * math/feupdateenv.c: Likewise.
20465         * math/fgetexcptflg.c: Likewise.
20466         * math/fraiseexcpt.c: Likewise.
20467         * math/fsetexcptflg.c: Likewise.
20468         * math/ftestexcept.c: Likewise.
20469         * math/k_cosl.c: Likewise.
20470         * math/k_rem_pio2l.c: Likewise.
20471         * math/k_sinl.c: Likewise.
20472         * math/k_tanl.c: Likewise.
20473         * math/s_asinhl.c: Likewise.
20474         * math/s_atanl.c: Likewise.
20475         * math/s_cbrtl.c: Likewise.
20476         * math/s_erfl.c: Likewise.
20477         * math/s_expm1l.c: Likewise.
20478         * math/s_log1pl.c: Likewise.
20479         * math/s_tanhl.c: Likewise.
20480         * misc/acct.c: Likewise.
20481         * misc/brk.c: Likewise.
20482         * misc/chflags.c: Likewise.
20483         * misc/chroot.c: Likewise.
20484         * misc/fchflags.c: Likewise.
20485         * misc/fgetxattr.c: Likewise.
20486         * misc/flistxattr.c: Likewise.
20487         * misc/fremovexattr.c: Likewise.
20488         * misc/fsetxattr.c: Likewise.
20489         * misc/fsync.c: Likewise.
20490         * misc/ftruncate.c: Likewise.
20491         * misc/futimes.c: Likewise.
20492         * misc/futimesat.c: Likewise.
20493         * misc/getdomain.c: Likewise.
20494         * misc/getdtsz.c: Likewise.
20495         * misc/gethostid.c: Likewise.
20496         * misc/gethostname.c: Likewise.
20497         * misc/getloadavg.c: Likewise.
20498         * misc/getpagesize.c: Likewise.
20499         * misc/getsysstats.c: Likewise.
20500         * misc/getxattr.c: Likewise.
20501         * misc/gtty.c: Likewise.
20502         * misc/ioctl.c: Likewise.
20503         * misc/lgetxattr.c: Likewise.
20504         * misc/listxattr.c: Likewise.
20505         * misc/llistxattr.c: Likewise.
20506         * misc/lremovexattr.c: Likewise.
20507         * misc/lsetxattr.c: Likewise.
20508         * misc/lutimes.c: Likewise.
20509         * misc/madvise.c: Likewise.
20510         * misc/mincore.c: Likewise.
20511         * misc/mlock.c: Likewise.
20512         * misc/mlockall.c: Likewise.
20513         * misc/mmap.c: Likewise.
20514         * misc/mprotect.c: Likewise.
20515         * misc/msync.c: Likewise.
20516         * misc/munlock.c: Likewise.
20517         * misc/munlockall.c: Likewise.
20518         * misc/munmap.c: Likewise.
20519         * misc/preadv.c: Likewise.
20520         * misc/preadv64.c: Likewise.
20521         * misc/ptrace.c: Likewise.
20522         * misc/pwritev.c: Likewise.
20523         * misc/pwritev64.c: Likewise.
20524         * misc/readv.c: Likewise.
20525         * misc/reboot.c: Likewise.
20526         * misc/remap_file_pages.c: Likewise.
20527         * misc/removexattr.c: Likewise.
20528         * misc/revoke.c: Likewise.
20529         * misc/select.c: Likewise.
20530         * misc/setdomain.c: Likewise.
20531         * misc/setegid.c: Likewise.
20532         * misc/seteuid.c: Likewise.
20533         * misc/sethostid.c: Likewise.
20534         * misc/sethostname.c: Likewise.
20535         * misc/setregid.c: Likewise.
20536         * misc/setreuid.c: Likewise.
20537         * misc/setxattr.c: Likewise.
20538         * misc/sstk.c: Likewise.
20539         * misc/stty.c: Likewise.
20540         * misc/swapoff.c: Likewise.
20541         * misc/swapon.c: Likewise.
20542         * misc/sync.c: Likewise.
20543         * misc/syncfs.c: Likewise.
20544         * misc/syscall.c: Likewise.
20545         * misc/truncate.c: Likewise.
20546         * misc/ualarm.c: Likewise.
20547         * misc/usleep.c: Likewise.
20548         * misc/ustat.c: Likewise.
20549         * misc/utimes.c: Likewise.
20550         * misc/vhangup.c: Likewise.
20551         * misc/writev.c: Likewise.
20552         * posix/_exit.c: Likewise.
20553         * posix/alarm.c: Likewise.
20554         * posix/execve.c: Likewise.
20555         * posix/fexecve.c: Likewise.
20556         * posix/fork.c: Likewise.
20557         * posix/fpathconf.c: Likewise.
20558         * posix/getaddrinfo.c: Likewise.
20559         * posix/getegid.c: Likewise.
20560         * posix/geteuid.c: Likewise.
20561         * posix/getgid.c: Likewise.
20562         * posix/getgroups.c: Likewise.
20563         * posix/getlogin.c: Likewise.
20564         * posix/getlogin_r.c: Likewise.
20565         * posix/getpgid.c: Likewise.
20566         * posix/getpid.c: Likewise.
20567         * posix/getppid.c: Likewise.
20568         * posix/getresgid.c: Likewise.
20569         * posix/getresuid.c: Likewise.
20570         * posix/getsid.c: Likewise.
20571         * posix/getuid.c: Likewise.
20572         * posix/glob64.c: Likewise.
20573         * posix/nanosleep.c: Likewise.
20574         * posix/pathconf.c: Likewise.
20575         * posix/pause.c: Likewise.
20576         * posix/posix_madvise.c: Likewise.
20577         * posix/pread.c: Likewise.
20578         * posix/pread64.c: Likewise.
20579         * posix/pwrite.c: Likewise.
20580         * posix/pwrite64.c: Likewise.
20581         * posix/sched_getaffinity.c: Likewise.
20582         * posix/sched_getp.c: Likewise.
20583         * posix/sched_gets.c: Likewise.
20584         * posix/sched_primax.c: Likewise.
20585         * posix/sched_primin.c: Likewise.
20586         * posix/sched_rr_gi.c: Likewise.
20587         * posix/sched_setaffinity.c: Likewise.
20588         * posix/sched_setp.c: Likewise.
20589         * posix/sched_sets.c: Likewise.
20590         * posix/sched_yield.c: Likewise.
20591         * posix/setgid.c: Likewise.
20592         * posix/setlogin.c: Likewise.
20593         * posix/setpgid.c: Likewise.
20594         * posix/setresgid.c: Likewise.
20595         * posix/setresuid.c: Likewise.
20596         * posix/setsid.c: Likewise.
20597         * posix/setuid.c: Likewise.
20598         * posix/sleep.c: Likewise.
20599         * posix/spawni.c: Likewise.
20600         * posix/sysconf.c: Likewise.
20601         * posix/times.c: Likewise.
20602         * posix/wait.c: Likewise.
20603         * posix/wait3.c: Likewise.
20604         * posix/wait4.c: Likewise.
20605         * posix/waitpid.c: Likewise.
20606         * resolv/gai_sigqueue.c: Likewise.
20607         * resource/getpriority.c: Likewise.
20608         * resource/getrlimit.c: Likewise.
20609         * resource/getrusage.c: Likewise.
20610         * resource/nice.c: Likewise.
20611         * resource/setpriority.c: Likewise.
20612         * resource/setrlimit.c: Likewise.
20613         * resource/ulimit.c: Likewise.
20614         * rt/aio_cancel.c: Likewise.
20615         * rt/aio_fsync.c: Likewise.
20616         * rt/aio_read.c: Likewise.
20617         * rt/aio_sigqueue.c: Likewise.
20618         * rt/aio_suspend.c: Likewise.
20619         * rt/aio_write.c: Likewise.
20620         * rt/clock_getres.c: Likewise.
20621         * rt/clock_gettime.c: Likewise.
20622         * rt/clock_nanosleep.c: Likewise.
20623         * rt/clock_settime.c: Likewise.
20624         * rt/lio_listio.c: Likewise.
20625         * rt/mq_close.c: Likewise.
20626         * rt/mq_getattr.c: Likewise.
20627         * rt/mq_notify.c: Likewise.
20628         * rt/mq_open.c: Likewise.
20629         * rt/mq_receive.c: Likewise.
20630         * rt/mq_send.c: Likewise.
20631         * rt/mq_setattr.c: Likewise.
20632         * rt/mq_timedreceive.c: Likewise.
20633         * rt/mq_timedsend.c: Likewise.
20634         * rt/mq_unlink.c: Likewise.
20635         * rt/shm_open.c: Likewise.
20636         * rt/shm_unlink.c: Likewise.
20637         * rt/timer_create.c: Likewise.
20638         * rt/timer_delete.c: Likewise.
20639         * rt/timer_getoverr.c: Likewise.
20640         * rt/timer_gettime.c: Likewise.
20641         * rt/timer_settime.c: Likewise.
20642         * setjmp/__longjmp.c: Likewise.
20643         * setjmp/setjmp.c: Likewise.
20644         * signal/kill.c: Likewise.
20645         * signal/killpg.c: Likewise.
20646         * signal/raise.c: Likewise.
20647         * signal/sigaction.c: Likewise.
20648         * signal/sigaltstack.c: Likewise.
20649         * signal/sigblock.c: Likewise.
20650         * signal/sigignore.c: Likewise.
20651         * signal/sigintr.c: Likewise.
20652         * signal/signal.c: Likewise.
20653         * signal/sigpause.c: Likewise.
20654         * signal/sigpending.c: Likewise.
20655         * signal/sigqueue.c: Likewise.
20656         * signal/sigreturn.c: Likewise.
20657         * signal/sigset.c: Likewise.
20658         * signal/sigsetmask.c: Likewise.
20659         * signal/sigstack.c: Likewise.
20660         * signal/sigsuspend.c: Likewise.
20661         * signal/sigtimedwait.c: Likewise.
20662         * signal/sigvec.c: Likewise.
20663         * signal/sigwait.c: Likewise.
20664         * signal/sigwaitinfo.c: Likewise.
20665         * signal/sysv_signal.c: Likewise.
20666         * socket/accept.c: Likewise.
20667         * socket/accept4.c: Likewise.
20668         * socket/bind.c: Likewise.
20669         * socket/connect.c: Likewise.
20670         * socket/getpeername.c: Likewise.
20671         * socket/getsockname.c: Likewise.
20672         * socket/getsockopt.c: Likewise.
20673         * socket/isfdtype.c: Likewise.
20674         * socket/listen.c: Likewise.
20675         * socket/recv.c: Likewise.
20676         * socket/recvfrom.c: Likewise.
20677         * socket/recvmsg.c: Likewise.
20678         * socket/send.c: Likewise.
20679         * socket/sendmsg.c: Likewise.
20680         * socket/sendto.c: Likewise.
20681         * socket/setsockopt.c: Likewise.
20682         * socket/shutdown.c: Likewise.
20683         * socket/sockatmark.c: Likewise.
20684         * socket/socket.c: Likewise.
20685         * socket/socketpair.c: Likewise.
20686         * stdio-common/ctermid.c: Likewise.
20687         * stdio-common/cuserid.c: Likewise.
20688         * stdio-common/remove.c: Likewise.
20689         * stdio-common/rename.c: Likewise.
20690         * stdio-common/renameat.c: Likewise.
20691         * stdio-common/tempname.c: Likewise.
20692         * stdlib/getcontext.c: Likewise.
20693         * stdlib/makecontext.c: Likewise.
20694         * stdlib/setcontext.c: Likewise.
20695         * stdlib/swapcontext.c: Likewise.
20696         * stdlib/system.c: Likewise.
20697         * streams/fattach.c: Likewise.
20698         * streams/fdetach.c: Likewise.
20699         * streams/getmsg.c: Likewise.
20700         * streams/getpmsg.c: Likewise.
20701         * streams/putmsg.c: Likewise.
20702         * streams/putpmsg.c: Likewise.
20703         * sysdeps/unix/bsd/getpt.c: Likewise.
20704         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20705         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20706         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20708         Likewise.
20709         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20710         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20711         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20712         * sysvipc/msgctl.c: Likewise.
20713         * sysvipc/msgget.c: Likewise.
20714         * sysvipc/msgrcv.c: Likewise.
20715         * sysvipc/msgsnd.c: Likewise.
20716         * sysvipc/semctl.c: Likewise.
20717         * sysvipc/semget.c: Likewise.
20718         * sysvipc/semop.c: Likewise.
20719         * sysvipc/semtimedop.c: Likewise.
20720         * sysvipc/shmat.c: Likewise.
20721         * sysvipc/shmctl.c: Likewise.
20722         * sysvipc/shmdt.c: Likewise.
20723         * sysvipc/shmget.c: Likewise.
20724         * termios/tcdrain.c: Likewise.
20725         * termios/tcflow.c: Likewise.
20726         * termios/tcflush.c: Likewise.
20727         * termios/tcgetattr.c: Likewise.
20728         * termios/tcgetpgrp.c: Likewise.
20729         * termios/tcsendbrk.c: Likewise.
20730         * termios/tcsetattr.c: Likewise.
20731         * termios/tcsetpgrp.c: Likewise.
20732         * time/adjtime.c: Likewise.
20733         * time/clock.c: Likewise.
20734         * time/getitimer.c: Likewise.
20735         * time/gettimeofday.c: Likewise.
20736         * time/setitimer.c: Likewise.
20737         * time/settimeofday.c: Likewise.
20738         * time/stime.c: Likewise.
20739         * time/time.c: Likewise.
20741 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
20743         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20744         /usr/old/bin.
20746         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20747         instead of spaces.
20748         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20750 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
20752         [BZ #14796]
20753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20754         FE_TONEAREST before applying Dekker multiplication and Knuth
20755         addition.  Clear inexact exceptions and check for exact zero
20756         results afterwards.
20757         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20758         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20759         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20760         * math/libm-test.inc (fma_test): Add more tests.
20761         (fma_test_towardzero): Likewise.
20762         (fma_test_downward): Likewise.
20763         (fma_test_upward): Likewise.
20764         * sysdeps/generic/math_private.h (default_libc_fesetround): New
20765         function.
20766         (libc_fesetround): New macro.
20767         (libc_fesetroundf): Likewise.
20768         (libc_fesetroundl): Likewise.
20769         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20770         function.
20771         (libc_fesetround_387): Likewise.
20772         (libc_fesetroundf): New macro.
20773         (libc_fesetround): Likewise.
20774         (libc_fesetroundl): Likewise.
20775         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20776         function.
20777         (libc_fesetroundf): New macro.
20778         (libc_fesetround): Likewise.
20779         (libc_fesetroundl): Likewise.
20780         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20781         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20782         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20783         libm_hidden_ver.
20784         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20785         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20786         libm_hidden_def.
20787         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20788         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20789         libm_hidden_ver.
20790         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20791         libm_hidden_def.
20793         [BZ #3439]
20794         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20795         integer constant usable in #if and use that to give value to enum
20796         constant.
20797         (FE_DIVBYZERO): Likewise.
20798         (FE_UNDERFLOW): Likewise.
20799         (FE_OVERFLOW): Likewise.
20800         (FE_INVALID): Likewise.
20801         (FE_INVALID_SNAN): Likewise.
20802         (FE_INVALID_ISI): Likewise.
20803         (FE_INVALID_IDI): Likewise.
20804         (FE_INVALID_ZDZ): Likewise.
20805         (FE_INVALID_IMZ): Likewise.
20806         (FE_INVALID_COMPARE): Likewise.
20807         (FE_INVALID_SOFTWARE): Likewise.
20808         (FE_INVALID_SQRT): Likewise.
20809         (FE_INVALID_INTEGER_CONVERSION): Likewise.
20810         (FE_TONEAREST): Likewise.
20811         (FE_TOWARDZERO): Likewise.
20812         (FE_UPWARD): Likewise.
20813         (FE_DOWNWARD): Likewise.
20814         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20815         (FE_DIVBYZERO): Likewise.
20816         (FE_OVERFLOW): Likewise.
20817         (FE_UNDERFLOW): Likewise.
20818         (FE_INEXACT): Likewise.
20819         (FE_TONEAREST): Likewise.
20820         (FE_DOWNWARD): Likewise.
20821         (FE_UPWARD): Likewise.
20822         (FE_TOWARDZERO): Likewise.
20823         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20824         (FE_UNDERFLOW): Likewise.
20825         (FE_OVERFLOW): Likewise.
20826         (FE_DIVBYZERO): Likewise.
20827         (FE_INVALID): Likewise.
20828         (FE_TONEAREST): Likewise.
20829         (FE_TOWARDZERO): Likewise.
20830         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20831         (FE_OVERFLOW): Likewise.
20832         (FE_UNDERFLOW): Likewise.
20833         (FE_DIVBYZERO): Likewise.
20834         (FE_INEXACT): Likewise.
20835         (FE_TONEAREST): Likewise.
20836         (FE_TOWARDZERO): Likewise.
20837         (FE_UPWARD): Likewise.
20838         (FE_DOWNWARD): Likewise.
20839         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20840         (FE_DIVBYZERO): Likewise.
20841         (FE_OVERFLOW): Likewise.
20842         (FE_UNDERFLOW): Likewise.
20843         (FE_INEXACT): Likewise.
20844         (FE_TONEAREST): Likewise.
20845         (FE_DOWNWARD): Likewise.
20846         (FE_UPWARD): Likewise.
20847         (FE_TOWARDZERO): Likewise.
20849 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
20851         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20853 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
20855         * scripts/cross-test-ssh.sh (command): Use newlines to separate
20856         commands.  Quote $PWD.
20857         (blacklist_exports): Don't use remove_newlines.  Replace "declare
20858         -x" by "export".
20859         (remove_newlines): Remove.
20861 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
20863         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20864         * stdlib/stdlib.h (atof): Moved to ...
20865         * include/bits/stdlib-float.h: Here.  New file.
20866         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20867         * stdlib/bits/stdlib-float.h: New file.
20868         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20869         -mno-sse -mno-mmx.
20870         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20871         <xmmintrin.h>.
20873 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20875         * conform/conformtest.pl (@headers): Add fenv.h.
20876         * conform/data/fenv.h-data: New file.
20877         * include/fenv.h [_ISOMAC]: Disable all contents of file except
20878         include of <math/fenv.h>.
20880         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20881         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20882         && !UNIX98].  Enables tests for XOPEN2K8.
20883         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20884         POSIX2008]: Likewise.
20886         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20887         (struct rusage): Do not expect type or its members.
20889         [BZ #3439]
20890         * math/math.h (FP_NAN): Define macro to integer constant usable in
20891         #if and use that to give value to enum constant.
20892         (FP_INFINITE): Likewise.
20893         (FP_ZERO): Likewise.
20894         (FP_SUBNORMAL): Likewise.
20895         (FP_NORMAL): Likewise.
20897 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
20899         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20900         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20901         arguments.
20903 2012-11-02  Roland McGrath  <roland@hack.frob.com>
20905         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20906         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20907         autoconf-time if not.
20908         * configure.in: Remove AC_PREREQ.
20910 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20912         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20913         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20914         of the internal implementation.
20916 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20918         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20919         except include of <misc/sys/syslog.h>.
20921 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20924         function returns with a NULL context exit with zero.
20926 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20928         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20930 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
20932         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20933         (run_program_cmd): This.
20934         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20935         (tst_langinfo): New variable.  Use it.
20937 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
20939         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20940         floating point opcodes.
20942 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20944         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20945         variable.
20947         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20949         * sysdeps/mach/hurd/powerpc: Remove directory.
20950         * sysdeps/mach/powerpc: Likewise.
20952 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20954         * scripts/check-local-headers.sh: Ignore c++ headers.
20956 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20958         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20959         __libc_cleanup_region_start argument.
20961 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
20963         [BZ #14784]
20964         [BZ #14785]
20965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
20966         x * y using scaling, not as x * y + z.
20967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20968         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20969         * math/libm-test.inc (fma_test): Add more tests.
20970         (fma_test_towardzero): Likewise.
20971         (fma_test_downward): Likewise.
20972         (fma_test_upward): Likewise.
20974 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20976         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
20978 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
20980         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
20981         New variable.
20983 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
20985         * rt/tst-shm.c (worker): Correct checking for mmap failure.
20987 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
20989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20990         Fix sort order.
20991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20992         Likewise.
20994 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20997         Fix the order of the list for glibc 2.17.
20998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20999         Likewise.
21001 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21005 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21007         [BZ #14610]
21008         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21009         for low part of x being zero before using __atanl (y).
21010         * math/libm-test.inc (atan2_test): Add another test.
21012         * manual/install.texi (Configuring and compiling): Document
21013         general use of test-wrapper and test-wrapper-env.
21014         * INSTALL: Regenerated.
21016         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21017         (__fma): Do not extract and scale down low bits on after-rounding
21018         systems when result rounded to normal precision would have normal
21019         exponent.
21020         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21021         (__fmal): Do not extract and scale down low bits on after-rounding
21022         systems when result rounded to normal precision would have normal
21023         exponent.
21024         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21025         (__fmal): Do not extract and scale down low bits on after-rounding
21026         systems when result rounded to normal precision would have normal
21027         exponent.
21028         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21029         macro.
21030         (fma_test): Add more tests.
21031         (fma_test_towardzero): Likewise.
21032         (fma_test_downward): Likewise.
21033         (fma_test_upward): Likewise.
21035 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
21037         * sysdeps/i386/tininess.h: Renamed to ...
21038         * sysdeps/x86/tininess.h: This.
21039         * sysdeps/x86_64/tininess.h: Removed.
21041 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21043         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21044         input.  Use $(build-program-cmd).
21045         ($(objpfx)tst-array1-static.out): Likewise.
21046         ($(objpfx)tst-array2.out): Likewise.
21047         ($(objpfx)tst-array3.out): Likewise.
21048         ($(objpfx)tst-array4.out): Likewise.
21049         ($(objpfx)tst-array5.out): Likewise.
21050         ($(objpfx)tst-array5-static.out): Likewise.
21052 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
21054         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21055         if defined.
21057         * nss/nsswitch.h (nss_interface_function): Provide new
21058         macro for use with NSS functions.
21059         * grp/initgroups.c: Use new macro.
21060         * nss/getXXbyYY.c: Likewise.
21061         * nss/getXXbyYY_r.c: Likewise.
21062         * nss/getXXent.c: Likewise.
21063         * nss/getXXent_r.c: Likewise.
21064         * sysdeps/posix/getaddrinfo.c: Likewise.
21066 2012-10-30  Andreas Jaeger  <aj@suse.de>
21068         * po/ru.po: Update Russion translation from translation project.
21070 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21072         [BZ #14152]
21073         [BZ #14783]
21074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21075         result and shift together with sticky bit instead of replicating
21076         round-to-nearest rounding.
21077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21079         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
21080         missing underflow exceptions.
21081         (fma_test_towardzero): Add more tests.
21082         (fma_test_downward): Likewise.
21083         (fma_test_upward): Likewise.
21085         [BZ #14047]
21086         * sysdeps/generic/tininess.h: New file.
21087         * sysdeps/i386/tininess.h: Likewise.
21088         * sysdeps/sh/tininess.h: Likewise.
21089         * sysdeps/x86_64/tininess.h: Likewise.
21090         * stdlib/tst-strtod-underflow.c: Likewise.
21091         * stdlib/tst-tininess.c: Likewise.
21092         * stdlib/strtod_l.c: Include <tininess.h>.
21093         (round_and_return): Do not set errno for exact underflow cases.
21094         Force an underflow exception when setting errno for underflow.
21095         Determine underflow based on rounding to normal precision if
21096         TININESS_AFTER_ROUNDING.
21097         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21098         ERANGE for exact underflow cases.
21099         * stdlib/Makefile (tests): Add tst-tininess and
21100         tst-strtod-underflow.
21101         ($(objpfx)tst-tininess): Use $(link-libm).
21102         ($(objpfx)tst-strtod-underflow): Likewise.
21104 2012-10-30  Andreas Jaeger  <aj@suse.de>
21106         [BZ#14767]
21107         * elf/Makefile (tests): Remove conditional for have-initfini-array
21108         since this is now always required and the variable does not exist
21109         anymore.
21110         (tests-static): Likewise.
21111         (modules-names): Likewise.
21113         * po/eo.po: Add Esperanto translation from translation project.
21115         * elf/tst-array1.c (fini_array): Make writeable so that it can be
21116         merged with constructor/destructor.
21117         (init_array): Likewise.
21118         * elf/tst-array2dep.c (fini_array): Likewise.
21119         (init_array): Likewise.
21121 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
21123         * manual/message.texi: Delete @cartouche tags.
21125 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
21127         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21128         EOPNOTSUPP.
21129         * sysdeps/mach/hurd/fsync.c: Likewise.
21131         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21132         [_POSIX_REALTIME_SIGNALS]: Change condition to
21133         [_POSIX_REALTIME_SIGNALS > 0].
21135 2012-10-27  Andreas Jaeger  <aj@suse.de>
21137         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21138         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21139         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21140         [__WORDSIZE != 64]: Likewise.
21142 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
21144         *  iconvdata/tst-table.sh: Remove ${SHELL}.
21145         *  iconvdata/tst-tables.sh: Likewise.
21147 2012-10-25  David S. Miller  <davem@davemloft.net>
21149         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21150         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21151         of strtoull.
21153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21154         ifunc-impl-list.c
21155         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21156         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21157         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21158         file.
21160 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21162         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21163         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21164         __getdirentries.
21166 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21167             Jim Blandy  <jimb@codesourcery.com>
21169         * scripts/cross-test-ssh.sh: New file.
21170         * manual/install.texi (Configuring and compiling): Document use of
21171         cross-test-ssh.sh.
21172         * INSTALL: Regenerated.
21174 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
21176         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21177         EOPNOTSUPP.
21179 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21181         * Makeconfig (run-program-prefix): Fix comment.
21183 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21184             Jim Blandy  <jimb@codesourcery.com>
21186         * Makeconfig (test-wrapper): New variable,
21187         (test-wrapper-env): Likewise.
21188         [$(cross-compiling) = yes && $(test-wrapper) != ""]
21189         (run-built-tests): Define to yes.
21190         (run-program-prefix): Use $(test-wrapper).
21191         (built-program-cmd): Likewise.
21192         * Rules (make-test-out): Use $(test-wrapper-env) and
21193         $(host-built-program-cmd).
21194         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21195         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21196         tst-pathopt.sh.
21197         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21198         $(test-wrapper-env) to tst-rtld-load-self.sh.
21199         ($(objpfx)order2.out): Use $(test-wrapper).
21200         ($(objpfx)tst-initorder.out): Likewise.
21201         ($(objpfx)tst-initorder2.out): Likewise.
21202         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21203         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21204         (test_wrapper_env): New variable.  Use it to run ld.so.
21205         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21206         Use it to run ld.so.
21207         (test_wrapper_env): Likewise.
21208         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21209         $(test-wrapper) to run-iconv-test.sh.
21210         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21211         (ICONV): Use $test_wrapper.
21212         * posix/Makefile ($(objpfx)globtest.out): Pass
21213         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21214         globtest.sh, not $(run-program-prefix).
21215         * posix/globtest.sh (run_via_rtld_prefix): New variable.
21216         (test_wrapper): Likewise.
21217         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
21218         set together with run_via_rtld_prefix.
21219         (run_program_prefix): Define in terms of test_wrapper and
21220         run_via_rtld_prefix.
21222 2012-10-24  Roland McGrath  <roland@hack.frob.com>
21224         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21225         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21226         Targets removed.
21228         [BZ #14743]
21229         * include/time.h: Remove librt_hidden_proto (clock_gettime).
21230         Declare __clock_getres, __clock_gettime, __clock_settime,
21231         __clock_nanosleep, and __clock_getcpuclockid.
21232         * rt/clock_gettime.c: Define __clock_gettime as an alias.
21233         Remove librt_hidden_def (clock_gettime).
21234         * sysdeps/unix/clock_gettime.c: Likewise.
21235         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21236         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21237         * rt/clock_getres.c: Define __clock_getres as an alias.
21238         * sysdeps/posix/clock_getres.c: Likewise.
21239         * rt/clock_settime.c: Define __clock_settime as an alias.
21240         * sysdeps/unix/clock_settime.c: Likewise.
21241         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21242         * sysdeps/unix/clock_nanosleep.c: Likewise.
21243         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21244         * rt/clock-compat.c: New file.
21245         * rt/Makefile (librt-routines): Add clock-compat and move
21246         $(clock-routines) to ...
21247         (routines): ... here, new variable.
21248         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21249         Don't add get_clockfreq here.
21250         * rt/Versions (libc: GLIBC_2.17): New version set.
21251         Add clock_* symbols here.
21252         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
21253         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21254         (GLIBC_2.17): Add clock_* symbols.
21255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21257         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21259         Likewise.
21260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21261         Likewise.
21262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21266         * NEWS: Mention the move.
21268         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21269         Use __open, __read, __close rather than their public counterparts.
21270         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21271         (__get_clockfreq_via_cpuinfo): Likewise.
21272         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21273         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21275         * config.h.in (HAVE_IFUNC): New #undef.
21276         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21277         was successful.
21278         * configure: Regenerated.
21280 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21282         * configure.in: Move READELF check to start of file.
21283         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21284         libc_cv_asm_gnu_indirect_function in the process.
21285         * configure: Regenerated.
21287 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21289         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21290         send the output to /dev/null.
21291         (libc_cv_cc_with_libunwind): Likewise.
21292         (libc_cv_as_noexecstack): Likewise.
21293         * configure: Regenerate.
21295 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21297         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21299         * posix/globtest.sh (TMPDIR): Do not set.
21300         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21301         (testout): Likewise.
21303 2012-10-24  Andreas Jaeger  <aj@suse.de>
21305         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21306         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21307         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21308         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21309         posix_fadvise64, posix_fallocate64.
21311         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21312         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21313         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21314         Likewise.
21315         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21316         Likewise.
21317         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21320         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21321         <bits/fcntl-linux.h>.
21322         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21324         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21325         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21326         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21327         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21328         [__WORDSIZE != 64]: Likewise.
21330 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21332         * Makeconfig (run-built-tests): New variable.
21333         * Rules [$(cross-compiling) = yes]: Change condition to
21334         [$(run-built-tests) = no].
21335         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21336         to [$(run-built-tests) = yes].
21337         * elf/Makefile [$(cross-compiling) = no]: Likewise
21338         * grp/Makefile [$(cross-compiling) = no]: Likewise.
21339         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21340         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21341         * intl/Makefile [$(cross-compiling) = no]: Likewise.
21342         * io/Makefile [$(cross-compiling) = no]: Likewise.
21343         * libio/Makefile [$(cross-compiling) = no]: Likewise.
21344         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21345         * misc/Makefile [$(cross-compiling) = no]: Likewise.
21346         * posix/Makefile [$(cross-compiling) = no]: Likewise.
21347         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21348         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21349         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21350         * string/Makefile [$(cross-compiling) = no]: Likewise.
21352         * posix/Makefile ($(objpfx)globtest.out): Pass
21353         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21354         $(rtld-installed-name).
21355         * posix/globtest.sh (elf_objpfx): Remove variable.
21356         (rtld_installed_name): Likewise.
21357         (library_path): Likewise.
21358         (run_program_prefix): New variable.  Use for running globtest
21359         binary.
21361 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
21362             Joseph Myers  <joseph@codesourcery.com>
21364         * Makeconfig (host-built-program-cmd): New variable.
21365         * elf/Makefile (tst-stackguard1-ARGS): Use
21366         $(host-built-program-cmd).
21367         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21368         (tst-spawn-ARGS): Likewise.
21369         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21371 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21372             Jim Blandy  <jimb@codesourcery.com>
21374         * Makeconfig (run-via-rtld-prefix): New variable.
21375         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21376         (built-program-cmd): Likewise.
21378 2012-10-22  Andreas Jaeger  <aj@suse.de>
21380         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21381         __O_RSYNC if it exists, otherwise to O_SYNC.
21383 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
21384             Joseph Myers  <joseph@codesourcery.com>
21386         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21387         /dev/null.
21388         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21389         from /dev/null
21390         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21391         /dev/null.
21393 2012-10-22  Andreas Jaeger  <aj@suse.de>
21395         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21396         Define always.
21397         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21399         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21400         bits/fcntl-linux.h.
21402         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21403         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21405         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21406         to __O_LARGEFILE.
21407         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21408         to __O_LARGEFILE.
21410 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
21411             Joseph Myers  <joseph@codesourcery.com>
21413         * config.make.in (NM): New variable.
21415 2012-10-21  Andreas Jaeger  <aj@suse.de>
21417         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21418         definitions and declarations that are provided by
21419         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21421 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21423         [BZ #14683]
21424         * elf/Makefile (tests-static): Add tst-leaks1-static.
21425         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21426         ($(objpfx)tst-leaks1-static): New rule.
21427         ($(objpfx)tst-leaks1-static-mem): Likewise.
21428         (tst-leaks1-static-ENV): New macro.
21429         * elf/dl-open.c (dl_open_worker): Check the main application
21430         only if SHARED is defined.
21431         * elf/tst-leaks1-static.c: New file.
21433 2012-10-20  Andreas Jaeger  <aj@suse.de>
21435         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21436         generic values for Linux.
21437         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21438         and declarations that are provided by <bits/fcntl-linux.h> and
21439         include <bits/fcntl-linux.h>.
21440         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21441         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21443 2012-10-20  Roland McGrath  <roland@hack.frob.com>
21445         * io/fcntl.h: Move include of <bits/types.h> to the top and
21446         include it unconditionally.
21448 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21450         * wcsmbs/Makefile (tests-ifunc): New variable.
21451         (tests): Add $(tests-ifunc).
21452         * wcsmbs/test-wcschr-ifunc.c: New file.
21453         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21454         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21455         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21456         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21457         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21459         * string/Makefile (tests-ifunc): New variable.
21460         (tests): Add $(tests-ifunc).
21461         * string/test-memccpy.c (TEST_NAME): New macro.
21462         * string/test-memchr.c (TEST_NAME): Likewise.
21463         * string/test-memcmp.c (TEST_NAME): Likewise.
21464         * string/test-memcpy.c (TEST_NAME): Likewise.
21465         * string/test-memmem.c (TEST_NAME): Likewise.
21466         * string/test-memmove.c (TEST_NAME): Likewise.
21467         * string/test-memset.c (TEST_NAME): Likewise.
21468         * string/test-rawmemchr.c (TEST_NAME): Likewise.
21469         * string/test-stpcpy.c (TEST_NAME): Likewise.
21470         * string/test-stpncpy.c (TEST_NAME): Likewise.
21471         * string/test-strcasecmp.c (TEST_NAME): Likewise.
21472         * string/test-strcasestr.c (TEST_NAME): Likewise.
21473         * string/test-strcat.c (TEST_NAME): Likewise.
21474         * string/test-strchr.c (TEST_NAME): Likewise.
21475         * string/test-strcmp.c(TEST_NAME): Likewise.
21476         * string/test-strcpy.c (TEST_NAME): Likewise.
21477         * string/test-strcspn.c (TEST_NAME): Likewise.
21478         * string/test-strlen.c (TEST_NAME): Likewise.
21479         * string/test-strncasecmp.c (TEST_NAME): Likewise.
21480         * string/test-strncmp.c (TEST_NAME): Likewise.
21481         * string/test-strncpy.c (TEST_NAME): Likewise.
21482         * string/test-strnlen.c (TEST_NAME): Likewise.
21483         * string/test-strpbrk.c (TEST_NAME): Likewise.
21484         * string/test-strrchr.c (TEST_NAME): Likewise.
21485         * string/test-strspn.c (TEST_NAME): Likewise.
21486         * string/test-strstr.c (TEST_NAME): Likewise.
21487         * string/test-bcopy-ifunc.c: New file.
21488         * string/test-bzero-ifunc.c: Likewise.
21489         * string/test-memccpy-ifunc.c: Likewise.
21490         * string/test-memchr-ifunc.c: Likewise.
21491         * string/test-memcmp-ifunc.c: Likewise.
21492         * string/test-memcpy-ifunc.c: Likewise.
21493         * string/test-memmem-ifunc.c: Likewise.
21494         * string/test-memmove-ifunc.c: Likewise.
21495         * string/test-mempcpy-ifunc.c: Likewise.
21496         * string/test-memset-ifunc.c: Likewise.
21497         * string/test-rawmemchr-ifunc.c: Likewise.
21498         * string/test-stpcpy-ifunc.c: Likewise.
21499         * string/test-stpncpy-ifunc.c: Likewise.
21500         * string/test-strcasecmp-ifunc.c: Likewise.
21501         * string/test-strcasestr-ifunc.c: Likewise.
21502         * string/test-strcat-ifunc.c: Likewise.
21503         * string/test-strchr-ifunc.c: Likewise.
21504         * string/test-strchrnul-ifunc.c: Likewise.
21505         * string/test-strcmp-ifunc.c: Likewise.
21506         * string/test-strcpy-ifunc.c: Likewise.
21507         * string/test-strcspn-ifunc.c: Likewise.
21508         * string/test-strlen-ifunc.c: Likewise.
21509         * string/test-strncasecmp-ifunc.c: Likewise.
21510         * string/test-strncat-ifunc.c: Likewise.
21511         * string/test-strncmp-ifunc.c: Likewise.
21512         * string/test-strncpy-ifunc.c: Likewise.
21513         * string/test-strnlen-ifunc.c: Likewise.
21514         * string/test-strpbrk-ifunc.c: Likewise.
21515         * string/test-strrchr-ifunc.c: Likewise.
21516         * string/test-strspn-ifunc.c: Likewise.
21517         * string/test-strstr-ifunc.c: Likewise.
21519         * debug/Makefile (tests-ifunc): New variable.
21520         (tests): Add $(tests-ifunc).
21521         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21522         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21523         * debug/test-stpcpy_chk-ifunc.c: New file.
21524         * debug/test-strcpy_chk-ifunc.c: Likewise.
21526 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21528         [BZ #13601]
21529         * elf/dl-load.c (open_verify): Retry read if the entire ELF
21530         header is not read in.
21532 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
21534         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
21535         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
21536         directly.  Pass built executable to script as
21537         $(built-program-cmd).
21538         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
21539         $testprogram without using LD_LIBRARY_PATH and $ldso.
21541         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21542         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21543         $(rtld-installed-name).
21544         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21545         (rtld_installed_name): Likewise.
21546         (library_path): Likewise.
21547         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
21548         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21549         $(run-program-prefix) to tst-tables.sh.
21550         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
21551         it to run tst-table-from and tst-table-to.
21552         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21553         Pass it to tst-table.sh.
21554         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21555         $(run-program-prefix) to tst-gettext.sh.
21556         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21557         tst-translit.sh.
21558         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21559         tst-gettext2.sh.
21560         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
21561         to run tst-gettext.
21562         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
21563         to run tst-gettext2.
21564         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
21565         to run tst-translit.
21566         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21567         $(run-program-prefix) to tst-mtrace.sh.
21568         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
21569         to run tst-mtrace.
21570         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21571         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21572         $(rtld-installed-name).
21573         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21574         (rtld_installed_name): Likewise.
21575         (run_program_prefix): New variable.  Use it to run wordexp-test.
21577         * Makeconfig (ARCH): Remove all definitions.
21578         (machine): Likewise.
21579         [ARCH]: Remove conditional code.
21580         [!objdir]: Give error.
21581         [!objdir] (objpfx): Remove.
21582         [!objdir] (common-objpfx): Likewise.
21583         [!objdir] (common-objdir): Likewise.
21584         * configure.in (config_makefile): Remove.  Hardcode Makefile in
21585         AC_CONFIG_FILES call.
21586         * configure: Regenerated.
21588         [BZ #13888]
21589         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21590         or TMPDIR.
21591         (testout): Likewise.
21593         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21594         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21595         $(rtld-installed-name).
21596         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21597         (rtld_installed_name): Likwise.
21598         (runit): Remove function.
21599         (run_getconf): New variable,  Use it for running getconf binary.
21601 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
21603         [BZ #14716]
21604         * string/test-memmem.c (check_result): New function.
21605         (do_one_test): Use it.
21606         (check1): New function.
21607         (test_main): Use it.
21609 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
21611         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21613 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
21615         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21616         (_G_LSEEK64): Likewise.
21617         (_G_MMAP64): Likewise.
21618         (_G_FSTAT64): Likewise.
21619         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21620         (_G_LSEEK64): Likewise.
21621         (_G_MMAP64): Likewise.
21622         (_G_FSTAT64): Likewise.
21623         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21624         unconditional.  Call __mmap64 directly.
21625         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21626         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
21627         __lseek64 directly.
21628         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21629         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
21630         __mmap64 directly.
21631         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21632         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21633         __lseek64 directly.
21634         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21635         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21636         __lseek64 directly.
21637         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21638         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
21639         __lseek64 directly.
21640         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21641         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
21642         __fxstat64 directly.
21643         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21644         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21645         unconditional.
21646         (freopen64) [!_G_OPEN64]: Remove conditional code.
21647         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21648         unconditional.
21649         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21650         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21651         unconditional.
21652         (ftello64) [!_G_LSEEK64]: Remove conditional code.
21653         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21654         unconditional.
21655         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21656         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21657         unconditional.
21658         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21659         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21660         unconditional.
21661         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21662         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21663         unconditional.
21664         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21665         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21666         unconditional.
21667         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21669 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21671         [BZ #12140]
21672         * manual/memory.texi (Malloc Tunable Parameters): Add note
21673         about free list pointers overwriting some perturb bytes.
21674         Wording suggested by Roland McGrath.
21676 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
21678         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21679         (lgamma_test): Likewise.
21680         (tgamma_test): Likewise.
21682 2012-10-16  Florian Weimer  <fweimer@redhat.com>
21684         [BZ #14700]
21685         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21686         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21688 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
21690         * NEWS: Mention BZ #14716.
21691         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21692         when removing AVAILABLE1_USES_J macro.
21694 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
21696         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21697         (__bswap_64): __uint64_t for unsigned 64-bit int.
21699 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
21701         * include/string.h (memmem): Declare libc hidden alias.
21702         * string/memmem.c (memmem): Define libc hidden alias.
21703         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21704         __read, __close instead of open, read, close.
21706 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
21708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21709         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21710         global and hidden.
21711         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21712         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21713         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21714         Likewise.
21715         (__rawmemchr_sse2): Likewise.
21716         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21717         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21718         (__strchr_sse2): Likewise.
21719         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21720         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21721         (__strcasecmp_sse2): Likewise.
21722         (__strncasecmp_sse2): Likewise.
21723         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21724         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21725         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21726         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21727         (__strrchr_sse2): Likewise.
21728         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21729         ifunc-impl-list.c.
21730         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21731         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21732         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21733         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21734         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21735         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21736         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21737         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21738         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21739         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21740         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21741         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21742         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21743         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21744         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21745         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21746         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21747         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21748         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21749         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21750         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21751         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21752         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21753         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21754         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21755         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21756         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21757         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21758         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21759         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21761         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21762         global and hidden.
21763         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21764         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21765         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21766         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21767         Likewise.
21768         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21769         Likewise.
21770         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21771         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21772         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21773         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21774         ifunc-impl-list.c.
21775         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21776         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21777         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21778         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21779         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21780         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21781         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21782         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21783         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21784         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21785         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21786         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21787         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21788         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21789         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21790         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21791         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21792         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21793         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21794         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21795         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21796         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21797         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21798         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21799         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21800         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21801         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21802         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21803         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21804         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21805         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21806         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21807         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21808         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21809         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21810         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21811         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21812         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21813         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21814         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21815         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21817         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21818         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21819         * include/ifunc-impl-list.h: New file.
21820         * misc/ifunc-impl-list.c: Likewise.
21821         * misc/Makefile (routines): Add ifunc-impl-list.
21822         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21823         * string/test-string.h: Include <ifunc-impl-list.h>.
21824         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21825         impl_array): New variables.
21826         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21827         are defined.
21828         (test_init): Call __libc_ifunc_impl_list to initialize
21829         func_list if TEST_IFUNC and TEST_NAME are defined.
21831         * string/Makefile (strop-tests): Add bcopy and bzero.
21832         * string/test-bcopy.c: New file.
21833         * string/test-bzero.c: Likewise.
21834         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21835         defined.
21836         * string/test-memset.c: Support bzero test if TEST_BZERO is
21837         defined.
21838         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21839         __libc_memmove.
21840         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21841         __libc_memset.
21842         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21843         of memset.
21845 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
21847         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21848         * configure: Regenerated.
21850         * Makeconfig (+link-static-before-libc): Don't include
21851         $(link-static-libc).
21853         * libio/libio.h (_IO_pos_t): Remove.
21855 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21857         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
21858         McGrath.
21860 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21862         * crypt/crypt-entry.c: Include fips-private.h.
21863         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21864         * crypt/md5c-test.c (main): Tolerate disabled MD5.
21865         * sysdeps/unix/sysv/linux/fips-private.h: New file.
21866         * sysdeps/generic/fips-private.h: New file, dummy fallback.
21868 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21870         * crypt/crypt-private.h: Include stdbool.h.
21871         (_ufc_setup_salt_r): Return bool.
21872         * crypt/crypt-entry.c: Include errno.h.
21873         (__crypt_r): Return NULL with EINVAL for bad salt.
21874         * crypt/crypt_util.c (bad_for_salt): New.
21875         (_ufc_setup_salt_r): Check that salt is long enough and within
21876         the specified alphabet.
21877         * crypt/badsalttest.c: New file.
21878         * crypt/Makefile (tests): Add it.
21879         ($(objpfx)badsalttest): New.
21881 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
21883         * NEWS: Add entry for BZ #14602.
21885 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21887         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21888         type-generic.
21889         * math/libm-test.inc: Update comment listing what functions and
21890         macros are tested.
21891         (isgreater_test): New function.
21892         (isgreaterequal_test): Likewise.
21893         (isless_test): Likewise.
21894         (islessequal_test): Likewise.
21895         (islessgreater_test): Likewise.
21896         (isunordered_test): Likewise.
21897         (main): Call the new functions.
21899 2012-10-09  Roland McGrath  <roland@hack.frob.com>
21901         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21902         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21903         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21904         * sysdeps/i386/configure: Regenerated.
21905         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21906         * sysdeps/mach/configure: Regenerated.
21907         * sysdeps/mach/hurd/configure: Regenerated.
21908         * sysdeps/powerpc/configure: Regenerated.
21909         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21910         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21911         * sysdeps/s390/s390-32/configure: Regenerated.
21912         * sysdeps/s390/s390-64/configure: Regenerated.
21913         * sysdeps/sh/configure: Regenerated.
21914         * sysdeps/sparc/configure: Regenerated.
21915         * sysdeps/unix/sysv/linux/configure: Regenerated.
21916         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21917         * sysdeps/x86_64/configure: Regenerated.
21919         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21920         defined.  Don't check if MAP is NULL.
21922 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21924         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21925         (_G_stat64): Likewise.
21926         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21927         (_G_stat64): Likewise.
21928         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21929         instead of struct _G_stat64.
21930         * libio/fileops.c (mmap_remap_check): Likewise.
21931         (decide_maybe_mmap): Likewise.
21932         (_IO_new_file_seekoff): Likewise.
21933         (_IO_file_stat): Likewise.
21934         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21935         _G_off64_t.
21936         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21937         instead of struct _G_stat64.
21938         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21940 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
21942         [BZ #14602]
21943         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21944         Replace with ...
21945         (CHECK_EOL): New macro.
21946         (two_way_short_needle): Check beginning of haystack for EOL.  Use
21947         CHECK_EOL.
21948         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21949         Replace with CHECK_EOL.
21950         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21951         Replace with CHECK_EOL.
21953 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
21955         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21956         type-generic.
21957         * math/libm-test.inc: Update comment listing what functions and
21958         macros are tested.
21959         (finite_test): New function.
21960         (isinf_test): Likewise.
21961         (isnan_test): Likewise.
21962         (fpclassify_test): Test subnormal input.
21963         (isfinite_test): Likewise.
21964         (isnormal_test): Likewise.
21965         (main): Call the new functions.
21967 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
21969         [BZ #14660]
21970         * Makerules (%.dynsym): Force C locale when running
21971         $(OBJDUMP) --dynamic-syms.
21973 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
21975         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
21976         <stdint.h>.
21978 2012-10-06  David S. Miller  <davem@davemloft.net>
21980         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
21981         upper 32-bits of the length value in %o2 since we use branch-on-register
21982         tests which consider the entire 64-bit register.
21984 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
21986         * string/test-strstr.c (check2): Add a test for page boundary.
21988 2012-10-05  David S. Miller  <davem@davemloft.net>
21990         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
21991         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
21992         file.
21993         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
21994         sysdep_routines.
21995         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
21996         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
21997         and bzero when HWCAP_SPARC_CRYPTO is present.
21999 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
22001         [BZ #14602]
22002         * string/test-strstr.c (check2): New function.
22003         (test_main): Call check2.
22005         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22006         and bug-strchr1.
22007         * string/bug-strcasestr1.c (do_test): Moved to ...
22008         * string/test-strcasestr.c (check1): Here.  New function.
22009         (do_one_test): Break out result checking code into ...
22010         (check_result): This.  New function.
22011         (do_one_test): Call check_result.
22012         (test_main): Call check1.
22013         * string/bug-strchr1.c (do_test): Moved to ...
22014         * string/test-strchr.c (check1): Here.  New function.
22015         (do_one_test): Break out result checking code into ...
22016         (check_result): This.  New function.
22017         (do_one_test): Call check_result.
22018         (test_main): Call check1.
22019         * string/bug-strstr1.c (main): Moved to ...
22020         * string/test-strstr.c (check1): Here.  New function.
22021         (do_one_test): Break out result checking code into ...
22022         (check_result): This.  New function.
22023         (do_one_test): Call check_result.
22024         (test_main): Call check1.
22025         * string/bug-strcasestr1.c: Removed.
22026         * string/bug-strchr1.c: Likewise.
22027         * string/bug-strstr1.c: Likewise.
22029         * elf/Makefile (dl-routines): Add hwcaps.
22030         * elf/dl-support.c (_dl_important_hwcaps): Removed.
22031         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22032         (_dl_important_hwcaps): Moved to ...
22033         * elf/dl-hwcaps.c: Here.  New file.
22034         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22036         [BZ #14557]
22037         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22038         if IS_IN_rtld isn't defined.
22040         * elf/dl-support.c (_dl_sysinfo_map): New.
22041         Include "get-dynamic-info.h" and "setup-vdso.h".
22042         (_dl_non_dynamic_init): Call setup_vdso.
22043         * elf/dynamic-link.h: Don't include <assert.h>.
22044         (elf_get_dynamic_info): Moved to ...
22045         * elf/get-dynamic-info.h: Here.  New file.
22046         * elf/dynamic-link.h: Include "get-dynamic-info.h".
22047         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22048         * elf/setup-vdso.h: Here.  New file.
22049         * elf/rtld.c: Include "setup-vdso.h".
22050         (dl_main): Call setup_vdso.
22052 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
22054         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22055         creal in comment listing functions tested.  List finite, isinf,
22056         isnan, isless, islessequal, isgreater, isgreaterequal,
22057         islessgreater, isunordered, lgamma_r and pow10 as functions and
22058         macros not tested.  Mention which functions not tested are aliases
22059         for other functions.  Fix typo.  Note that signs of NaNs are not
22060         tested.
22062         * scripts/config.guess: Update from config.git.
22063         * scripts/config.sub: Likewise.
22065 2012-10-04  Roland McGrath  <roland@hack.frob.com>
22067         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22068         * misc/madvise.c (madvise): Renamed to __madvise.
22069         Make madvise a weak alias.
22070         * include/sys/mman.h: Declare __madvise.
22071         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22072         * sysdeps/unix/syscalls.list
22073         (madvise): Make __madvise the strong name, and madvise a weak alias.
22074         * sysdeps/unix/sysv/linux/syscalls.list
22075         (madvise, mmap): Remove redundant entries.
22076         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22077         * malloc/malloc.c (mtrim): Likewise.
22078         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22080 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22082         * sysdeps/mach/hurd/dl-cache.c: File removed.
22083         * config.h.in (USE_LDCONFIG): New #undef.
22084         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22085         * configure: Regenerated.
22086         * elf/Makefile (dl-routines): Add dl-cache only under
22087         [$(use-ldconfig) = yes].
22088         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22089         cache on [USE_LDCONFIG].
22090         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22091         [USE_LDCONFIG].
22092         * elf/rtld.c (dl_main): Likewise.
22094 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
22096         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22097         _SC_LEVEL4_CACHE_LINESIZE.
22099 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22101         * sysdeps/unix/bsd/confstr.h: File removed.
22103 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
22105         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22106         sys/sdt-config.h.
22108 2012-10-02  Roland McGrath  <roland@hack.frob.com>
22110         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22111         Make 'mapoff' field ElfW(Off) rather than off_t.
22113 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
22115         * nscd/Makefile: Remove nscd-cflags and all its users.
22116         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22117         (CFLAGS-nonlib): Add compiler flags for nscd modules.
22119         [BZ #10631]
22120         * malloc.c (malloc_printerr): Clarify error message.
22122 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
22124         [BZ #14648]
22125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22126         Set bit_FMA_Usable if FMA is supported.
22127         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22128         macro.
22129         (bit_FMA4_Usable): Updated.
22130         (index_FMA_Usable): New macro.
22131         (CPUID_FMA): Likewise
22132         (HAS_FMA): Defined with bit_FMA_Usable.
22134 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22136         * bits/types.h (__swblk_t): Type removed.
22137         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22138         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22139         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22140         (__SWBLK_T_TYPE): Likewise.
22141         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22142         (__SWBLK_T_TYPE): Likewise.
22143         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22144         (__SWBLK_T_TYPE): Likewise.
22145         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22146         (__SWBLK_T_TYPE): Likewise.
22148 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
22149             Honza Horak <hhorak@redhat.com>
22151         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22152         (xdr_mapname): Use YPMAXMAP as maxsize.
22153         (xdr_peername): Use YPMAXPEER as maxsize.
22154         (xdr_keydat): Use YPAXRECORD as maxsize.
22155         (xdr_valdat): Use YPMAXRECORD as maxsize.
22157 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22159         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22161         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22162         * csu/init-first.c: ... here.
22163         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22164         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22165         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22166         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22167         * sysdeps/i386/init-first.c: File removed.
22168         * sysdeps/sh/init-first.c: File removed.
22170 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
22172         [BZ #14645]
22173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22174         if x * y might underflow to zero and z is zero.
22175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22177         * math/libm-test.inc (min_subnorm_value): New variable.
22178         (fma_test): Add more tests.
22179         (fma_test_towardzero): Likewise.
22180         (fma_test_downward): Likewise
22181         (fma_test_upward): Likewise.
22182         (initialize): Set min_subnorm_value.
22184 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
22186         [BZ #14638]
22187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22188         0 + 0.
22189         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22190         mode for addition resulting in exact zero.
22191         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22192         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22193         exact 0 + 0.
22194         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22196         * math/libm-test.inc (fma_test): Add more tests.
22197         (fma_test_towardzero): New function.
22198         (fma_test_downward): Likewise.
22199         (fma_test_upward): Likewise.
22200         (main): Call the new functions.
22202 2012-09-28  David S. Miller  <davem@davemloft.net>
22204         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22206 2012-09-28  Roland McGrath  <roland@hack.frob.com>
22208         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22209         instead of SIGALRM.
22211         * sysdeps/gnu/_G_config.h: Moved to ...
22212         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22213         * sysdeps/mach/hurd/_G_config.h: Moved to ...
22214         * sysdeps/generic/_G_config.h: ... here.
22216         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
22218         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22220         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22221         Conditionalize target on [libnss_test1.so-version].
22223         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22225         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22226         (elfobjdir): Move out of conditionals.
22228         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22229         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22230         (__nss_lookup_function): Conditionalize label remove_from_tree on
22231         [!DO_STATIC_NSS || SHARED], matching its only use.
22233 2012-09-28  David S. Miller  <davem@davemloft.net>
22235         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22236         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22237         file.
22238         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22239         sysdep_routines.
22240         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22241         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22242         when HWCAP_SPARC_CRYPTO is present.
22244 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22246         * io/tst-mknodat.c: Create a FIFO instead of a socket.
22248 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
22250         [BZ #6530]
22251         * stdio-common/vfprintf.c (process_string_arg): Revert
22252         2000-07-22 change.
22254 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
22256         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22257         for testcase.
22258         * stdio-common/tst-sprintf.c: Include <locale.h>
22259         (main): Test sprintf's handling of incomplete multibyte
22260         characters.
22262 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
22264         * elf/dl-runtime.c (VERSYMIDX): Removed.
22265         * elf/dl-version.c (VERSYMIDX): Likewise.
22266         * elf/do-rel.h (VERSYMIDX): Likewise.
22267         (VALIDX): Likewise.
22268         * elf/dynamic-link.h (VERSYMIDX): Likewise.
22269         * elf/rtld.c (VALIDX): Likewise.
22270         (ADDRIDX): Likewise.
22271         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22272         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22273         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22274         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22275         (VALIDX): Likewise.
22276         (ADDRIDX): Likewise.
22278 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22280         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22282 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
22284         [BZ #11438]
22285         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22286         to global scope.
22287         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22288         addresses are in the same scope as 192.0.2/24.
22289         * posix/gai.conf: Document new scope table defaults.
22291 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22293         [BZ #5298]
22294         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22295         for ftell.  Compute offsets from write pointers instead.
22296         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22298 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22300         [BZ #14543]
22301         * libio/Makefile (tests): New test case tst-fseek.
22302         * libio/tst-fseek.c: New test case to verify that fseek/ftell
22303         combination works in wide mode.
22304         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22305         state when the external buffer state changes.
22307 2012-09-27  David S. Miller  <davem@davemloft.net>
22309         [BZ #14376]
22310         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22311         pass reloc->r_addend in as the 'high' argument to
22312         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22316 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22318         * rt/tst-aio2.c: Include <pthread.h>.
22319         * rt/tst-aio3.c: Likewise.
22321 2012-09-27  Steve Ellcey  <sellcey@mips.com>
22323         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22325 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
22327         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22328         contents on [SHARED].
22330 2012-09-26  Marek Polacek  <polacek@redhat.com>
22332         [BZ #14530]
22333         [BZ #13741]
22334         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22335         for C++ and GCC <4.3 as well as for non GCC compilers.
22337 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22341 2012-09-25  Roland McGrath  <roland@hack.frob.com>
22343         * Makefile.in (all, install): Declare with .PHONY.
22344         Reported by Michael Hope <michael.hope@linaro.org>.
22346 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22348         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22349         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22350         system header.
22351         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22352         Likewise.
22353         (sydep_routines): Add the new and the internal functions.
22354         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22355         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22357         (GLIBC_2.17): Add the new function.
22358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22359         (GLIBC_2.17): Likewise.
22360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22361         (GLIBC_2.17): Likewise.
22362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22363         (GLIBC_2.17): Likewise.
22364         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22366 2012-09-25  Alan Modra  <amodra@gmail.com>
22368         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22369         Add release barrier before setting once_control to say
22370         initialisation is done.  Add hints on lwarx.  Use macro in
22371         place of isync.
22372         (clear_once_control): Add release barrier.
22374 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22376         [BZ #13629]
22377         * math/s_clog.c (__clog): Handle more values close to |z| = 1
22378         specially.
22379         * math/s_clog10.c (__clog10): Likewise.
22380         * math/s_clog10f.c (__clog10f): Likewise.
22381         * math/s_clog10l.c (__clog10l): Likewise.
22382         * math/s_clogf.c (__clogf): Likewise.
22383         * math/s_clogl.c (__clogl): Likewise.
22384         * math/Makefile (libm-calls): Add x2y2m1.
22385         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22386         (__x2y2m1): Likewise.
22387         (__x2y2m1l): Likewise.
22388         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22389         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22390         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22391         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22392         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22393         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22394         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22395         * sysdeps/i386/fpu/libm-test-ulps: Update.
22396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22398         [BZ #14621]
22399         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22400         int as type of variable DEPTH.
22401         (glob): Use size_t instead of int as type of variables NEWCOUNT
22402         and OLD_PATHC.
22404 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22406         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22407         Add s_sincosf-sse2.
22408         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22409         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22410         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22411         macros for using routine as __sincosf_ia32.
22412         Use macro for function declaration and weak_alias.
22413         * sysdeps/i386/fpu/libm-test-ulps: Update.
22415         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22418         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22419         subnormal argument.
22420         * math/s_cexpf.c (__cexpf): Likewise.
22421         * math/s_csinf.c (__csinf): Likewise.
22422         * math/s_csinhf.c (__csinhf): Likewise.
22423         * math/s_ctanf.c (__ctanf): Likewise.
22424         * math/s_ctanhf.c (__ctanhf): Likewise.
22425         * math/s_ccosh.c (__ccoshf): Likewise.
22426         * math/s_cexp.c (__cexpl): Likewise.
22427         * math/s_csin.c (__csin): Likewise.
22428         * math/s_csinh.c (__csinh): Likewise.
22429         * math/s_ctan.c (__ctan): Likewise.
22430         * math/s_ctanh.c (ctanh): Likewise.
22431         * math/s_ccoshl.c (__ccoshl): Likewise.
22432         * math/s_cexpl.c (__cexpl): Likewise.
22433         * math/s_csinl.c (__csinl): Likewise.
22434         * math/s_csinhl.c (__csinhl): Likewise.
22435         * math/s_ctanl.c (__ctanl): Likewise.
22436         * math/s_ctanhl.c (__ctanhl): Likewise.
22438 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22440         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22441         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22442         (_IO_off_t): Define to __off_t, not _G_off_t.
22443         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22444         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22445         (_IO_wint_t): Define to wint_t, not _G_wint_t.
22446         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22447         type of __dummy and __dummy2 fields.
22448         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22449         (_G_ssize_t): Likewise.
22450         (_G_off_t): Likewise.
22451         (_G_pid_t): Likewise.
22452         (_G_uid_t): Likewise.
22453         (_G_wchar_t): Likewise.
22454         (_G_wint_t): Likewise.
22455         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22456         (_G_ssize_t): Likewise.
22457         (_G_off_t): Likewise.
22458         (_G_pid_t): Likewise.
22459         (_G_uid_t): Likewise.
22460         (_G_wchar_t): Likewise.
22461         (_G_wint_t): Likewise.
22462         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22463         (_G_ssize_t): Likewise.
22464         (_G_off_t): Likewise.
22465         (_G_pid_t): Likewise.
22466         (_G_uid_t): Likewise.
22467         (_G_wchar_t): Likewise.
22468         (_G_wint_t): Likewise.
22470 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22472         * malloc/arena.c: Include malloc-sysdep.h.
22473         (shrink_heap): Use check_may_shrink_heap to decide if madvise
22474         is sufficient to shrink the heap or an unmap is needed.
22475         * sysdeps/generic/malloc-sysdep.h: New file.  Define
22476         new function check_may_shrink_heap.
22477         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
22478         new function check_may_shrink_heap.
22480 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22482         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22483         comments.
22485 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
22487         * catgets/test-gencat.sh: Add "set -e".
22488         * elf/tst-pathopt.sh: Likewise.
22489         * grp/tst_fgetgrent.sh: Likewise.
22490         * iconvdata/run-iconv-test.sh: Likewise.
22491         * intl/tst-gettext.sh: Likewise.
22492         * intl/tst-gettext2.sh: Likewise.
22493         * intl/tst-gettext4.sh: Likewise.
22494         * intl/tst-gettext6.sh: Likewise.
22495         * intl/tst-translit.sh: Likewise.
22496         * io/ftwtest-sh: Likewise.
22497         * libio/test-freopen.sh: Likewise.
22498         * malloc/tst-mtrace.sh: Likewise.
22499         * posix/globtest.sh: Likewise.
22500         * posix/tst-getconf.sh: Likewise.
22501         * posix/wordexp-tst.sh: Likewise.
22502         * stdio-common/tst-printf.sh: Likewise.
22503         * stdio-common/tst-unbputc.sh: Likewise.
22504         * stdlib/tst-fmtmsg.sh: Likewise.
22505         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22506         * catgets/Makefile: Do not specify -e option when running
22507         testsuite shell scripts.
22508         * elf/Makefile: Likewise.
22509         * grp/Makefile: Likewise.
22510         * iconvdata/Makefile: Likewise.
22511         * intl/Makefile: Likewise.
22512         * io/Makefile: Likewise.
22513         * libio/Makefile: Likewise.
22514         * malloc/Makefile: Likewise.
22515         * posix/Makefile: Likewise.
22516         * stdio-common/Makefile: Likewise.
22517         * stdlib/Makefile: Likewise.
22518         * sysdeps/x86_64/Makefile: Likewise.
22520         * io/ftwtest-sh: Add copyright header.
22521         * posix/globtest.sh: Likewise.
22522         * posix/tst-getconf.sh: Likewise.
22523         * posix/wordexp-tst.sh: Likewise.
22524         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22526 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
22528         [BZ #13679]
22529         * Makeconfig (+link): Defined as $(+link-static) if
22530         $(build-shared) isn't yes.
22531         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22532         isn't yes.
22533         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22535         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22537         [BZ #14562]
22538         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22539         new chunk size with MALLOC_ALIGN_MASK.
22541 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
22543         [BZ #5044]
22544         * stdio-common/printf_fphex.c: Include <stdbool.h> and
22545         <rounding-mode.h>.
22546         (__printf_fphex): Determine rounding using get_rounding_mode and
22547         round_away.
22548         * stdio-common/tst-printf-round.c (struct hex_test): New
22549         structure.
22550         (hex_tests): New variable.
22551         (test_hex_in_one_mode): New function.
22552         (do_test): Also run tests for hex float output.
22554 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
22556         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22557         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22558         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22559         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22560         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22561         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22562         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22563         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22565 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
22567         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22568         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22569         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22570         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22572 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
22574         [BZ #14579]
22575         * elf/rtld.c (dl_main): Limit the check for self loading to normal
22576         mode only.
22577         * elf/tst-rtld-load-self.sh: New test.
22578         * elf/Makefile: Run it.
22580 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
22582         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22583         (tst-writev-ENV): Remove.
22584         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22586 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
22588         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22590 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
22592         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22593         unconditional.
22594         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22595         Likewise.
22596         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22597         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22598         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22599         Likewise.
22601 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
22603         [BZ #14587]
22604         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22605         * config.make.in (have-cpp-asm-debuginfo): Removed.
22606         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22607         * configure: Regenerated.
22609 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
22611         [BZ #5044]
22612         * stdio-common/printf_fp.c: Include <stdbool.h> and
22613         <rounding-mode.h>.
22614         (___printf_fp): Determine rounding using get_rounding_mode and
22615         round_away.
22616         * stdio-common/tst-printf-round.c: New file.
22617         * stdio-common/Makefile (tests): Add tst-printf-round.
22618         (link-libm): New variable.
22619         ($(objpfx)tst-printf-round): Depend in $(link-libm).
22621 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
22623         [BZ #14576]
22624         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22625         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22626         Likewise.
22627         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22628         Likewise.
22630 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
22632         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22633         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22634         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22635         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22637 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
22639         [BZ #14518]
22640         * include/rounding-mode.h: New file.
22641         * sysdeps/generic/get-rounding-mode.h: Likewise.
22642         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22643         * stdlib/strtod_l.c: Include <rounding-mode.h>.
22644         (MAX_VALUE): New macro.
22645         (MIN_VALUE): Likewise.
22646         (overflow_value): New function.
22647         (underflow_value): Likewise.
22648         (round_and_return): Use overflow_value and underflow_value to
22649         determine return values in overflow and underflow cases.  Use
22650         round_away to determine rounding depending on rounding mode.
22651         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22652         determine return values in overflow and underflow cases.
22653         * stdlib/tst-strtod-round.c: Include <fenv.h>.
22654         (struct test_results): New structure.
22655         (struct test): Use struct test_results to store expected results
22656         for all rounding modes.
22657         (TEST): Include expected results for all rounding modes.
22658         (test_in_one_mode): New function.
22659         (do_test): Use test_in_one_mode to compute and check results.
22660         Check results for all rounding modes.
22661         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22662         $(link-libm).
22664 2012-12-09  Allan McRae  <allan@archlinux.org>
22666         * sysdeps/i386/fpu/libm-test-ulps: Update
22668 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
22670         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22671         (_G_int32_t): Likewise.
22672         (_G_uint16_t): Likewise.
22673         (_G_uint32_t): Likewise.
22674         (_G_HAVE_BOOL): Likewise.
22675         (_G_HAVE_ATEXIT): Likewise.
22676         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22677         (_G_HAVE_IO_FILE_OPEN): Likewise.
22678         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22679         (_G_int32_t): Likewise.
22680         (_G_uint16_t): Likewise.
22681         (_G_uint32_t): Likewise.
22682         (_G_HAVE_BOOL): Likewise.
22683         (_G_HAVE_ATEXIT): Likewise.
22684         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22685         (_G_HAVE_IO_FILE_OPEN): Likewise.
22686         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22687         (_G_int32_t): Likewise.
22688         (_G_uint16_t): Likewise.
22689         (_G_uint32_t): Likewise.
22690         (_G_HAVE_BOOL): Likewise.
22691         (_G_HAVE_ATEXIT): Likewise.
22692         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22693         (_G_HAVE_IO_FILE_OPEN): Likewise.
22695 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
22697         * csu/libc-tls.c: Update copyright years.
22699 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
22701         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22702         [!_G_USING_THUNKS]: Remove conditional code.
22703         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22704         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22706         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22707         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22708         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22709         (_G_VTABLE_LABEL_PREFIX): Likewise.
22710         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22711         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22712         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22713         (_G_VTABLE_LABEL_PREFIX): Likewise.
22714         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22715         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22716         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22717         (_G_VTABLE_LABEL_PREFIX): Likewise.
22718         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22720 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
22722         * libio/Makefile: Include ../Makeconfig before tests.
22723         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22724         only if $(build-shared) is yes.
22726         * iconv/gconv_db.c: Update copyright years.
22728 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22730         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22731         unwind info if defined PIC. Fix special cases description.
22732         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22734         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22735         DP_HI_MASK entry.
22736         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22738 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
22740         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22742         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22743         is NULL.
22745         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22746         (LDLIBS-tst-chk4): This.
22747         (LDFLAGS-tst-chk5): Renamed to ...
22748         (LDLIBS-tst-chk5): This.
22749         (LDFLAGS-tst-chk6): Renamed to ...
22750         (LDLIBS-tst-chk6): This.
22751         (LDFLAGS-tst-lfschk4): Renamed to ...
22752         (LDLIBS-tst-lfschk4): This.
22753         (LDFLAGS-tst-lfschk5): Renamed to ...
22754         (LDLIBS-tst-lfschk5): This.
22755         (LDFLAGS-tst-lfschk6): Renamed to ...
22756         (LDLIBS-tst-lfschk6): This.
22758         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22759         on $(common-objpfx)soversions.mk.
22761 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
22763         [BZ #10014]
22764         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22765         example host name.
22767 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22769         * malloc/arena.c (arena_get_retry): New function that gets
22770         another arena for the caller to try its request on.
22771         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22772         current arena cannot fulfill the request.
22773         (__libc_memalign): Likewise.
22774         (__libc_memalign): Likewise.
22775         (__libc_pvalloc): Likewise.
22776         (__libc_calloc): Likewise.
22778 2012-09-05  John Tobey  <john.tobey@gmail.com>
22780         [BZ #13542]
22781         * manual/arith.texi (Operations on Complex): Fix description
22782         of carg branch cut.
22784 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22786         [BZ #10014]
22787         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22788         host name.
22790         [BZ #10038]
22791         * manual/memory.texi (Memory): Make order of menu items match
22792         order of sections.
22794 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22796         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22797         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
22798         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22800 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22802         * csu/libc-tls.c (static_dtv): Renamed to ...
22803         (_dl_static_dtv): This.  Make it global.
22804         (_dl_initial_dtv): Removed.
22805         (__libc_setup_tls): Updated.
22806         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22807         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22808         DL_INITIAL_DTV.
22810 2012-09-06  Petr Machata  <pmachata@redhat.com>
22812         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22813         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22814         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22815         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22817 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22819         [BZ #14545]
22820         * csu/libc-tls.c (_dl_initial_dtv): New variable.
22821         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22822         freeing dtv[-1].
22824 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22826         [BZ #14544]
22827         * Makeconfig (link-static-before-libc): Replace $(+prector)
22828         with $(+prectorT).
22829         (link-static-after-libc): Replace $(+postctor) with
22830         $(+postctorT).
22831         (link-bounded): Replace $(+prector)/$(+postctor) with
22832         $(+prectorT)/$(+postctorT).
22833         (+prectorT): New macro.
22834         (+postctorT): Likewise.
22836 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22838         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22839         (round_str): Handle values above the maximum for IBM long double
22840         as inexact.
22841         * stdlib/tst-strtod-round.c (tests): Regenerated.
22843 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22845         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22846         assembler flag.
22847         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22848         zarch_nohighgprs around the zarch optimized routines.
22849         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22850         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22851         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22852         for zarch.
22854 2012-09-05  David S. Miller  <davem@davemloft.net>
22856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22858         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22859         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22860         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22861         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22862         entries.
22864 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22866         * malloc/arena.c: Fold copyright years.
22867         * malloc/mcheck.c, malloc/memusage.c: Likewise.
22869 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22871         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22873 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22875         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
22877 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22879         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22880         change internal state upon failure.
22882 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22884         * malloc/mcheck.c (mcheck_check_all): Fix typo.
22885         * malloc/memusage.c (mmap): Likewise.
22886         (mmap64, mremap): Likewise.  Adjust name in comment.
22888 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22890         * libio/fileops.c: Fix typos in comments.
22891         * libio/oldfileops.c: Likewise.
22892         * libio/wfileops.c: Likewise.
22894 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22896         [BZ #1349]
22897         * malloc/Makefile (tests): Add tst-malloc-usable test case.
22898         (tst-malloc-usable-ENV): Set environment for test case.
22899         * malloc/hooks.c (malloc_check_get_size): New function to get
22900         requested size.
22901         * malloc/malloc.c (musable): Use malloc_check_get_size.
22902         * malloc/tst-malloc-usable.c: New test case.
22904 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22906         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22908 2012-09-05  Allan McRae  <allan@archlinux.org>
22910         [BZ #13966]
22911         * configure.in (CXX_SYSINCLUDES): Use compiler output to
22912         determine header location.
22913         * configure: Regenerated.
22915 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22917         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22918         float format.
22919         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
22920         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22921         format.
22922         (test): Regenerate.
22924 2012-09-04  David S. Miller  <davem@davemloft.net>
22926         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22927         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22928         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22930 2012-09-04  Florian Weimer  <fweimer@redhat.com>
22932         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22933         failures.
22935         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22937 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
22939         [BZ #9914]
22940         * libio/iogetdelim.c: Include <limits.h>.
22941         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22942         + len + 1 would overflow.
22944 2012-09-03  Andreas Jaeger  <aj@suse.de>
22946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22947         * sysdeps/i386/fpu/libm-test-ulps: Update.
22949 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22951         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22952         Add s_sinf-sse2, s_conf-sse2.
22954         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22955         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22956         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22957         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22959         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22960         for using routine as __sinf_ia32.
22961         Use macro for function declaration and weak_alias.
22962         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22963         for using routine as __cosf_ia32.
22964         Use macro for function declaration and weak_alias.
22966         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
22967         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
22969         * sysdeps/x86_64/fpu/s_sinf.S: New file.
22970         * sysdeps/x86_64/fpu/s_cosf.S: New file.
22971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22973         * math/libm-test.inc (cos_test): Add more test cases.
22974         (sin_test): Likewise.
22975         (sincos_test): Likewise.
22977 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22979         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22980         (IFUNC_RESOLVE): Make pointers to the specialized implementations
22981         hidden.
22982         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22984 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
22986         [BZ #14538]
22987         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
22988         first element of the GOT.
22989         (elf_machine_load_address): Return the difference between
22990         the runtime address of _DYNAMIC and elf_machine_dynamic ().
22992 2012-09-01  Allan McRae  <allan@archlinux.org>
22994         [BZ #13412]
22995         * configure.in (AWK): Require gawk version 3.0 or later.
22996         * configure: Regenerated.
22998 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
23000         * sysdeps/unix/sysv/linux/kernel-features.h
23001         (__ASSUME_POSIX_CPU_TIMERS): Remove.
23002         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23003         [__NR_clock_getres]: Make code unconditional.
23004         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23005         (clock_getcpuclockid): Remove code left unreachable by removal of
23006         conditionals.
23007         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23008         code unconditional.
23009         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23010         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23011         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23012         Make code unconditional.
23013         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23014         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23015         * sysdeps/unix/sysv/linux/clock_settime.c
23016         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23017         conditional code.
23018         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23019         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23021 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
23023         [BZ #14476]
23024         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23025         scripts/test-installation.pl.
23027         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23028         and $ld_so_version if it is set.
23030 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23032         [BZ #14516]
23033         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23034         failure if reading from procfs failed.
23035         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23037 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23039         * sysdeps/unix/sysv/linux/kernel-features.h
23040         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23041         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23042         Remove conditional code.
23043         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23044         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23045         Remove conditional code.
23046         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23047         * sysdeps/unix/sysv/linux/i386/fxstat.c
23048         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23049         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23050         * sysdeps/unix/sysv/linux/i386/fxstatat.c
23051         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23052         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23053         * sysdeps/unix/sysv/linux/i386/lxstat.c
23054         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23055         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23056         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23057         Remove conditional code.
23058         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23059         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23060         Remove conditional code.
23061         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23062         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23063         <kernel-features.h>.
23064         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23065         Remove.
23066         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23067         Remove conditional code.
23068         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23069         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23070         Remove conditional.
23072 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
23074         [BZ #5400]
23075         * NEWS: Add fixed bug number.
23077 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23079         [BZ #14519]
23080         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23081         underflowing exponent in case of negative sign.
23082         * stdlib/tst-strtod-round-data: Add more tests.
23083         * stdlib/tst-strtod-round.c (tests): Regenerated.
23085         [BZ #3479]
23086         * stdlib/strtod_l.c (NDIG): Remove.
23087         (HEXNDIG): Likewise.
23088         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23089         smallest representable value.
23090         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23091         lie within an exact representation of 1/2 ulp of the result.
23092         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23093         unconditionally.
23094         (TENS_P9_IDX): Define unconditionally.
23095         (TENS_P9_SIZE): Likewise.
23096         (TENS_P10_IDX): Likewise.
23097         (TENS_P10_SIZE): Likewise.
23098         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23099         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23100         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23101         entries for 10^2^13 and 10^2^14.
23102         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23103         (TENS_P13_IDX): Define.
23104         (TENS_P13_SIZE): Likewise.
23105         (TENS_P14_IDX): Likewise.
23106         (TENS_P14_SIZE): Likewise.
23107         (_fpioconst_pow10): Change array size to
23108         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
23109         unconditional.
23110         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23111         1024]: Add entries for 10^2^13 and 10^2^14.
23112         [LAST_POW10 > _LAST_POW10]: Remove #error.
23113         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23114         (_fpioconst_pow10): Change array size to
23115         FPIOCONST_POW10_ARRAY_SIZE.
23116         * stdlib/gen-fpioconst.c: New file.
23117         * stdlib/gen-tst-strtod-round.c: Likewise.
23118         * stdlib/tst-strtod-round-data: Likewise.
23119         * stdlib/tst-strtod-round.c: Likewise.
23120         * stdlib/Makefile (tests): Add tst-strtod-round.
23122         [BZ #14459]
23123         * stdlib/strtod_l.c: Include <stdint.h>.
23124         (NDEBUG): Do not define.
23125         (round_and_return): Change EXPONENT parameter to type intmax_t.
23126         Rearrange calculations to avoid internal overflow possibilities.
23127         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23128         Rearrange calculations to avoid internal overflow possibilities.
23129         Assert that number fits inside MPNSIZE limbs.
23130         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23131         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
23132         calculations and add assertions to avoid internal overflow
23133         possibilities.  Add casts to avoid signed/unsigned operations.
23134         * stdlib/tst-strtod-overflow.c: New file.
23135         * stdlib/Makefile (tests): Add tst-strtod-overflow.
23137 2012-08-25  Marek Polacek  <polacek@redhat.com>
23139         * time/time.h: Fix some typos in comments.
23141 2012-08-23  Roland McGrath  <roland@hack.frob.com>
23143         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23144         * posix/tst-rfc3484-2.c: Likewise.
23145         * posix/tst-rfc3484-3.c: Likewise.
23147 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
23149         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23150         (EF_ARM_ABI_FLOAT_HARD): Likewise.
23152 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
23154         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23155         #include of fxstatat64.c.
23157 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23159         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23160         * shadow/getspent_r.c: Likewise.
23161         * shadow/getspnam.c: Likewise.
23162         * shadow/getspnam_r.c: Likewise.
23163         * gshadow/getsgent.c: Likewise.
23164         * gshadow/getsgent_r.c: Likewise.
23165         * gshadow/getsgnam.c: Likewise.
23166         * gshadow/getsgnam_r.c: Likewise.
23167         * inet/getnetbyad.c: Likewise.
23168         * inet/getnetbyad_r.c: Likewise.
23169         * inet/getnetbynm.c: Likewise.
23170         * inet/getnetbynm_r.c: Likewise.
23171         * inet/getnetent.c: Likewise.
23172         * inet/getnetent_r.c: Likewise.
23173         * inet/getproto.c: Likewise.
23174         * inet/getproto_r.c: Likewise.
23175         * inet/getprtent.c: Likewise.
23176         * inet/getprtent_r.c: Likewise.
23177         * inet/getprtname.c: Likewise.
23178         * inet/getprtname_r.c: Likewise.
23179         * inet/getrpcbyname.c: Likewise.
23180         * inet/getrpcbyname_r.c: Likewise.
23181         * inet/getrpcbynumber.c: Likewise.
23182         * inet/getrpcbynumber_r.c: Likewise.
23183         * inet/getrpcent.c: Likewise.
23184         * inet/getrpcent_r.c: Likewise.
23185         * inet/getaliasent.c: Likewise.
23186         * inet/getaliasent_r.c: Likewise.
23187         * inet/getaliasname.c: Likewise.
23188         * inet/getaliasname_r.c: Likewise.
23189         * nscd/getgrgid_r.c: Likewise.
23190         * nscd/getgrnam_r.c: Likewise.
23191         * nscd/gethstbyad_r.c: Likewise.
23192         * nscd/gethstbynm3_r.c: Likewise.
23193         * nscd/getpwnam_r.c: Likewise.
23194         * nscd/getpwuid_r.c: Likewise.
23195         * nscd/getsrvbynm_r.c: Likewise.
23196         * nscd/getsrvbypt_r.c: Likewise.
23197         * nscd/gai.c: Likewise.
23199         * configure.in (build_nscd): New substituted variable, set
23200         by --disable-build-nscd and defaults to $use_nscd.
23201         * configure: Regenerated.
23202         * config.make.in (build-nscd): New substituted variable.
23203         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23204         Change conditional to require [$(build-nscd) = yes] as well.
23205         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23207         [BZ# 13696]
23208         * configure.in (use_nscd): New substituted variable, set by
23209         --disable-nscd.  If enabled, define USE_NSCD.
23210         * configure: Regenerated.
23211         * config.h.in: Add USE_NSCD.
23212         * config.make.in (use-nscd): New substituted variable.
23213         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23214         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23215         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23216         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23217         (CFLAGS-getgrnam_r.c): Likewise.
23218         (CFLAGS-initgroups.c): Likewise.
23219         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23220         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23221         Variables removed.
23222         * inet/getnetgrent_r.c
23223         (nscd_setnetgrent): New function, broken out of ...
23224         (setnetgrent): ... here.  Call it.
23225         (innetgr): Conditionalize nscd bits on [USE_NSCD].
23226         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23227         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23228         * nscd/Makefile (routines, aux): Move definitions after include of
23229         Makeconfig.  Conditionalize on [$(use-nscd) != no].
23230         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23231         Conditionalize on [USE_NSCD].
23232         (is_nscd, nscd_init_cb): Likewise.
23233         (nss_load_library): Conditionalize init callback on [USE_NSCD].
23234         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23235         * nss/nss_db/db-init.c: Likewise.
23236         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23237         [USE_NSCD].
23238         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23239         (make_request): Use it.
23240         (cache_valid_p): New function.
23241         (__check_pf): Use it.
23242         * NEWS: Add item for --disable-nscd.
23244 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
23246         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23247         to support sed >= 4.2.1-20-ga9bf076.
23248         * configure: Regenerated.
23250 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23252         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23253         Conditionalize whole body on [IREL].
23255 2012-08-22  Jeff Law <law@redhat.com>
23257         [BZ #14505]
23258         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23259         if the family is PF_UNSPEC.
23261 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
23263         * Makerules (lib-version): Rename from V.
23264         (install-lib-nosubdir): Change V to lib-version.
23266 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
23268         [BZ #14252]
23269         * powerpc32/power6/wcschr.c: New file.
23270         * powerpc32/power6/wcscpy.c: New file.
23271         * powerpc32/power6/wcsrchr.c: New file.
23272         * powerpc64/power6/wcschr.c: New file.
23273         * powerpc64/power6/wcscpy.c: New file.
23274         * powerpc64/power6/wcsrchr.c: New file.
23276 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23278         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23279         (two_way_short_needle): Use it.
23280         * string/strstr.c (AVAILABLE1_USES_J): Define.
23281         * string/strcasestr.c: Likewise.
23283         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23284         array references.
23285         * string/strcasestr.c (TOLOWER): Make side-effect safe.
23287         [BZ #11607]
23288         * NEWS: Add an entry.
23289         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23290         define their defaults.
23291         (two_way_short_needle): Detect end-of-string on-the-fly.
23292         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23293         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23294         * string/bug-strcasestr1.c: New test.
23295         * string/Makefile: Run it.
23297 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23299         [BZ #11607]
23300         * string/str-two-way.h (two_way_short_needle): Optimize matching of
23301         the first character.
23303 2012-08-21  Roland McGrath  <roland@hack.frob.com>
23305         * csu/elf-init.c (__libc_csu_irel): Function removed.
23306         * csu/libc-start.c (apply_irel): New function.
23307         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23309 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
23311         * sysdeps/unix/sysv/linux/kernel-features.h
23312         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23313         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23314         <kernel-features.h>.
23315         [__NR_fadvise64_64]: Make code unconditional.
23316         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23317         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23318         !__NR_fadvise64_64)]: Likewise.
23319         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23320         !__NR_fadvise64_64))]: Likewise.
23321         [__NR_fadvise64]: Make code unconditional.
23322         [!__NR_fadvise64]: Remove conditional code.
23323         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23324         <kernel-features.h>.
23325         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23326         unconditional.
23327         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23328         conditional code.
23329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23330         not include <kernel-features.h>.
23331         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23332         unconditional.
23333         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23334         conditional code.
23335         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23336         include <kernel-features.h>.
23337         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23338         unconditional.
23339         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23340         conditional code.
23342 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
23344         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23345         slight instruction rearrangements per scrollpipe analysis.
23346         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23348 2012-08-20  Roland McGrath  <roland@hack.frob.com>
23350         * manual/syslog.texi (syslog; vsyslog, closelog):
23351         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23352         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23354         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23355         DSOCAPS to match condition on defining it.
23357 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
23359         * sysdeps/unix/sysv/linux/kernel-features.h
23360         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23362         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23363         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23365         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23366         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23368         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23369         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23371         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23372         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23374         * sysdeps/unix/sysv/linux/kernel-features.h
23375         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23376         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23377         unconditional.
23378         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23379         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23380         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23381         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23382         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23383         Make code unconditional.
23384         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23385         (__mmap64) [!__NR_mmap2]: Likewise.
23386         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23387         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23388         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23389         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23390         [__NR_mmap2]: Make code unconditional.
23391         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23392         (__mmap64) [!__NR_mmap2]: Likewise.
23394 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23396         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23398 2012-08-18  Andreas Jaeger  <aj@suse.de>
23400         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23402 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23404         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23405         * include/unistd.h (__have_sock_cloexec): Likewise.
23406         (__have_pipe2): Likewise.
23407         (__have_dup3): Likewise.
23409 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23411         [BZ #9685]
23412         * include/unistd.h (__have_pipe2): Change define into an extern int.
23413         (__have_dup3): Likewise.
23414         * socket/have_sock_cloexec.c: Include fcntl.h.
23415         (__have_pipe2): New variable.
23416         (__have_dup3): Likewise.
23418 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
23420         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23422 2012-08-17  Marek Polacek  <polacek@redhat.com>
23424         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23425         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23427 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23429         * configure.in: Add AC_SUBST for sysheaders.
23430         * configure: Regenerated.
23431         * config.make.in (sysheaders): New substituted variable.
23433         * sysdeps/unix/mkfifo.c: Moved ...
23434         * sysdeps/posix/mkfifo.c: ... here.
23435         * sysdeps/unix/mkfifoat.c: Moved ...
23436         * sysdeps/posix/mkfifoat.c: ... here.
23438         * sysdeps/unix/utime.c: Moved ...
23439         * sysdeps/posix/utime.c: ... here.
23441         * sysdeps/unix/time.c: Moved ...
23442         * sysdeps/posix/time.c: ... here.
23443         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23444         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23446         * sysdeps/unix/nice.c: Moved ...
23447         * sysdeps/posix/nice.c: ... here.
23449         * sysdeps/unix/alarm.c: Moved ...
23450         * sysdeps/posix/alarm.c: ... here.
23452         * intl/Makefile ($(codeset_mo)): Depend on the input file.
23454 2012-08-17  Jeff Law <law@redhat.com>
23456         * intl/Makefile (codeset_mo): New variable.
23457         ($(codeset_mo)): New target.
23458         (tst-codeset.out): Depend on that.  Remove explicit rule.
23459         (tst-gettext3.out, tst-gettext5.out): Likewise.
23460         (LOCPATH-ENV, tst-codeset-ENV): New variables.
23461         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23462         * intl/tst-codeset.sh: Remove.
23463         * intl/tst-gettext3.sh: Likewise.
23464         * intl/tst-gettext5.sh: Likewise.
23466 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23468         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
23469         * sysdeps/unix/syscalls.list: ... here.
23471         * sysdeps/posix/getaddrinfo.c
23472         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23473         (gaiconf_init, gaiconf_reload): Use them.
23474         [!_STATBUF_ST_NSEC]
23475         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23476         Define using time_t rather than struct timespec.
23478         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23479         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23480         Macros removed.
23481         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23482         [!NO_THREADS].
23483         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23484         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23485         Likewise.
23487         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23488         __libc_cleanup_push argument.
23490         * bits/param.h: New file.
23491         * misc/sys/param.h: New file.
23492         * include/sys/param.h: New file.
23493         * misc/Makefile (headers): Add bits/param.h.
23494         * sysdeps/generic/sys/param.h: File removed.
23495         * sysdeps/unix/sysv/linux/bits/param.h: New file.
23496         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23497         * sysdeps/mach/hurd/bits/param.h: New file.
23498         * sysdeps/mach/hurd/sys/param.h: File removed.
23500         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23501         last change.
23503         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23504         [_IO_MTSAFE_IO].
23505         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23506         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23507         New macros.
23509         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23510         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23511         rather than -D_IO_MTSAFE_IO conditionally.
23512         * stdio-common/Makefile (CPPFLAGS): Likewise.
23513         * wcsmbs/Makefile (CPPFLAGS): Likewise.
23514         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23515         Use $(libio-mtsafe).
23516         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23517         of -D_IO_MTSAFE_IO.
23518         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23519         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23520         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23521         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23522         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23523         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23524         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23525         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23526         (CFLAGS-fread_u_chk.c): Likewise.
23527         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23528         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23529         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23530         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23531         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23532         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23533         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23534         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23535         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23537         * libio/Makefile: Test [$(libc-reentrant) = yes]
23538         instead of [$(filter %REENTRANT, $(defines)) nonempty].
23540         * Makeconfig
23541         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23542         * sysdeps/pthread/configure: File removed.
23543         * sysdeps/pthread/Makeconfig: New file.
23544         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23545         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23547 2012-08-16  Gary Benson  <gbenson@redhat.com>
23549         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23550         unmapping the first object in a namespace.
23552 2012-08-16  Roland McGrath  <roland@hack.frob.com>
23554         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23555         (__internal_setnetgrent): ... this.  Add internal_function to
23556         definition.  Add libc_hidden_def.
23557         (setnetgrent): Update caller.
23558         (internal_endnetgrent): Renamed to ...
23559         (__internal_endnetgrent): ... this.  Add internal_function to
23560         definition.  Add libc_hidden_def.
23561         (endnetgrent): Update caller.
23562         (internal_getnetgrent_r): Renamed to ...
23563         (__internal_getnetgrent_r): ... this.  Add internal_function to
23564         definition.  Add libc_hidden_def.
23565         (__getnetgrent_r): Update caller.
23566         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
23568 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23570         * stdlib/longlong.h: Update from GCC.
23572 2012-08-16  Roland McGrath  <roland@hack.frob.com>
23574         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23575         on _QL, which is set by umul_ppmm but never used.
23576         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23577         variables, which are set by GMP macros but never used.
23578         * stdio-common/_itowa.c (_itowa): Likewise.
23579         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23580         * stdlib/mod_1.c (mpn_mod_1): Likewise.
23582 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
23584         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23585         struct La_sh_regs is not constant.
23586         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23587         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23588         and struct La_sparc64_regs are not constant.
23590 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23592         * sysdeps/unix/sysv/linux/kernel-features.h
23593         (__ASSUME_POSIX_TIMERS): Remove.
23594         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23595         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23596         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23597         Make code unconditional.
23598         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23599         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23600         Make code unconditional.
23601         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23602         * sysdeps/unix/sysv/linux/clock_nanosleep.c
23603         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23604         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23605         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23606         Make code unconditional.
23607         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23608         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23609         (__libc_missing_posix_timers): Remove.
23611 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23613         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23614         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23616         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23618         * elf/dl-sym.c: Include <stdlib.h>.
23620         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23621         constants, which avoids warnings in 32-bit builds.
23623         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23624         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23626         * misc/lseek.c: File moved to ...
23627         * io/lseek.c: ... here.
23629         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23631         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23632         shifting LEN more than 31 bits at once.
23634 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23636         [BZ #14195]
23637         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23638         segmentation fault for a case of two empty input strings.
23639         * string/test-strncasecmp.c (check1): Renamed to...
23640         (bz12205): ...this.
23641         (bz14195): Add new testcase for two empty input strings and N > 0.
23642         (test_main): Call new testcase, adapt for renamed function.
23644 2012-08-15  Andreas Jaeger  <aj@suse.de>
23646         [BZ #14090]
23647         * crypt/md5test2.c: New test, based on test supplied by Serge
23648         Belyshev <belyshev@depni.sinp.msu.ru>.
23649         * crypt/Makefile (xtests): Add md5test-giant..
23650         * crypt/Makefile ($(objpfx)md5test-giant): Add.
23652 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
23654         [BZ #14090]
23655         * crypt/md5.c (md5_process_block): Don't assume the buffer
23656         length is less than 2**32.
23657         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23658         length is less than 2**64.
23660 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23662         * string/str-two-way.h: Include <sys/param.h>.
23663         (MAX): Macro removed.
23665         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23666         Move #define and #undef of memmove to just before and after
23667         including <string.h>.
23669         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23670         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23671         and after including <string.h>.  Move declarations of
23672         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23673         to before #include "string/memmove.c".
23675         * include/dirent.h: Declare __getdirentries.
23677         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23678         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23680 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
23682         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23683         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23684         * sysdeps/i386/configure: Regenerated.
23685         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23686         STABS_CURRENT_FILE, and STABS_FUN.
23687         (END): Remove call to STABS_FUN_END.
23688         (STABS_CURRENT_FILE1): Delete.
23689         (STABS_CURRENT_FILE): Likewise.
23690         (STABS_FUN): Likewise.
23691         (STABS_FUN_END): Likewise.
23692         (STABS_FUN2): Likewise.
23693         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23694         * sysdeps/x86_64/configure: Regenerated.
23696 2012-08-14  Roland McGrath  <roland@hack.frob.com>
23698         * elf/dl-open.c: Include <atomic.h>.
23699         * elf/dl-lookup.c: Likewise.
23701 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
23703         * sysdeps/unix/sysv/linux/kernel-features.h
23704         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23705         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23706         unconditionally.
23707         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23708         unconditionally.
23709         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23710         condition on __ASSUME_CLONE_THREAD_FLAGS.
23712 2012-08-14  Andreas Jaeger  <aj@suse.de>
23714         * sysdeps/i386/fpu/libm-test-ulps: Update.
23716 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
23718         * include/atomic.h (atomic_exchange_and_add): Split into ...
23719         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23720         New atomic macros.
23722 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
23724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23726 2012-08-13  Jeff Law <law@redhat.com>
23728         * manual/stdio.texi (snprintf): Clarify handling of the trailing
23729         null byte in the output string.
23731 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
23733         * sysdeps/unix/sysv/linux/kernel-features.h
23734         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23735         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23736         (__ASSUME_ARG_MAX_STACK_BASED): Define.
23737         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23738         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23739         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
23740         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23742 2012-08-09  Jeff Law <law@redhat.com>
23744         [BZ #13939]
23745         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23746         When avoid_arena is set, don't retry in the that arena.  Pick the
23747         next one, whatever it might be.
23748         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23749         (arena_lock): Pass in new parameter to arena_get2.
23750         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23751         arena_get2.
23752         (__libc_malloc): Unify retrying after main arena failure with
23753         __libc_memalign version.
23754         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23756 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
23758         [BZ #14166]
23759         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23760         to __redirect_strstr.
23761         (__strstr_sse42): Use typeof __redirect_strstr.
23762         (__strstr_ia32): Likewise.
23763         (__libc_strstr): New prototype.
23764         (strstr): Renamed to ...
23765         (__libc_strstr): This.
23766         (strstr): New strong alias of __libc_strstr.
23767         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23768         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23769         __redirect_time.
23770         Include <time.h>.
23771         (__libc_time): New prototype.
23772         (time_ifunc): Replace time with __libc_time.
23773         (time): New strong alias and hidden definition of __libc_time.
23774         (__GI_time): Remove strong alias.
23775         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23776         Include <stddef.h>.
23777         (memmove): Redefined to __redirect_memmove.
23778         (__memmove_sse2): Use typeof __redirect_memmove.
23779         (__memmove_ssse3): Likewise.
23780         (__memmove_ssse3_back): Likewise.
23781         (__libc_memmove): New prototype.
23782         (memmove): Renamed to ...
23783         (__libc_memmove): This.
23784         (memmove): New strong alias of __libc_memmove.
23786 2012-08-08  Mark Salter  <msalter@redhat.com>
23788         * elf/elf.h
23789         (R_MN10300_TLS_GD): Define.
23790         (R_MN10300_TLS_LD): Likewise.
23791         (R_MN10300_TLS_LDO): Likewise.
23792         (R_MN10300_TLS_GOTIE): Likewise.
23793         (R_MN10300_TLS_IE): Likewise.
23794         (R_MN10300_TLS_LE): Likewise.
23795         (R_MN10300_TLS_DTPMOD): Likewise.
23796         (R_MN10300_TLS_DTPOFF): Likewise.
23797         (R_MN10300_TLS_TPOFF): Likewise.
23798         (R_MN10300_SYM_DIFF): Likewise.
23799         (R_MN10300_ALIGN): Likewise.
23800         (R_MN10300_NUM): Update.
23802 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
23804         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23805         Remove.
23807 2012-08-08  Roland McGrath  <roland@hack.frob.com>
23809         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23811         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23812         sysdeps/unix -> sysdeps/posix move.
23813         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23815 2012-08-07      Allan McRae     <allan@archlinux.org>
23817         [BZ #14303]
23818         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23819         (SUNOS_CPP): Likewise.
23820         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23821         not found.
23822         (open_input): Call CPP using execvp.
23824 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23826         * sysdeps/unix/sysv/linux/kernel-features.h
23827         (__ASSUME_PROT_GROWSUPDOWN): Remove.
23828         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23829         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23830         (__ASSUME_WAITID_SYSCALL): Likewise.
23831         * sysdeps/unix/sysv/linux/dl-execstack.c
23832         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23833         code unconditional.
23834         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23835         conditional code.
23836         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23837         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23838         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23839         code.
23840         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23841         unconditional.
23842         [__ASSUME_WAITID_SYSCALL]: Likewise.
23843         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23845 2012-08-07  Roland McGrath  <roland@hack.frob.com>
23847         * sysdeps/unix/closedir.c: Renamed to ...
23848         * sysdeps/posix/closedir.c: ... here.
23849         * sysdeps/unix/dirfd.c: Renamed to ...
23850         * sysdeps/posix/dirfd.c: ... here.
23851         * sysdeps/unix/dirstream.h: Renamed to ...
23852         * sysdeps/posix/dirstream.h: ... here.
23853         * sysdeps/unix/fdopendir.c: Renamed to ...
23854         * sysdeps/posix/fdopendir.c: ... here.
23855         * sysdeps/unix/opendir.c: Renamed to ...
23856         * sysdeps/posix/opendir.c: ... here.
23857         * sysdeps/unix/readdir.c: Renamed to ...
23858         * sysdeps/posix/readdir.c: ... here.
23859         * sysdeps/unix/readdir_r.c: Renamed to ...
23860         * sysdeps/posix/readdir_r.c: ... here.
23861         * sysdeps/unix/rewinddir.c: Renamed to ...
23862         * sysdeps/posix/rewinddir.c: ... here.
23863         * sysdeps/unix/seekdir.c: Renamed to ...
23864         * sysdeps/posix/seekdir.c: ... here.
23865         * sysdeps/unix/telldir.c: Renamed to ...
23866         * sysdeps/posix/telldir.c: ... here.
23867         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23868         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23869         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23870         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23872         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23873         * bits/fcntl.h: ... here.
23875         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23876         not 0.
23877         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23878         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23879         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23880         (struct flock): Move l_start, l_len to the beginning.
23881         Use __pid_t for l_pid.
23882         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23883         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23884         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23885         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23886         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23887         [__USE_LARGEFILE64] (struct flock64): New type.
23888         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23890         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23891         * bits/dirent.h: ... here.
23893         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23894         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23896 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23898         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23899         Change from 2.6.0 to 2.6.16.
23900         * sysdeps/unix/sysv/linux/configure: Regenerated.
23901         * sysdeps/unix/sysv/linux/kernel-features.h
23902         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23903         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23904         version.
23905         (__ASSUME_UTIMES): Likewise.
23906         (__ASSUME_CLONE_STOPPED): Remove.
23907         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23908         architectures, not kernel version.
23909         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23910         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23911         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23912         (__ASSUME_WAITID_SYSCALL): Likewise.
23913         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23914         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23915         * README: State 2.6.16 as minimum Linux kernel version.  Do not
23916         refer to older versions.
23918 2012-08-06  Roland McGrath  <roland@hack.frob.com>
23920         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23921         Define alphasort64 as an alias.
23922         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23923         Define versionsort64 as an alias.
23924         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23925         Define scandir64 as an alias.
23926         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23927         Define scandirat64 as an alias.
23928         * dirent/alphasort64.c (alphasort64):
23929         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23930         * dirent/versionsort64.c: Likewise.
23931         * dirent/scandir64.c: Likewise.
23932         * dirent/scandirat64.c: Likewise.
23933         * sysdeps/wordsize-64/alphasort.c: File removed.
23934         * sysdeps/wordsize-64/alphasort64.c: File removed.
23935         * sysdeps/wordsize-64/scandir.c: File removed.
23936         * sysdeps/wordsize-64/scandir64.c: File removed.
23937         * sysdeps/wordsize-64/scandirat.c: File removed.
23938         * sysdeps/wordsize-64/scandirat64.c: File removed.
23939         * sysdeps/wordsize-64/versionsort.c: File removed.
23940         * sysdeps/wordsize-64/versionsort64.c: File removed.
23941         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23942         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23943         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23944         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23945         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23946         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23947         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23948         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23950         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23952         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23953         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23954         [defined __arch64__ || defined __sparcv9]
23955         (__INO_T_MATCHES_INO64_T): New macro.
23956         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23957         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23958         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23959         * sysdeps/unix/sysv/linux/bits/dirent.h
23960         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23961         (_DIRENT_MATCHES_DIRENT64): New macro.
23963         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23964         Define lockf64 as an alias.
23965         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
23966         Define fseeko64 as an alias.
23967         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
23968         Define ftello64 as an alias.
23969         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
23970         Define _IO_fgetpos64 and fgetpos64 as aliases.
23971         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
23972         Define _IO_fsetpos64 and fsetpos64 as aliases.
23973         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
23974         Conditionalize body on this.
23975         * libio/fseeko64.c: Likewise.
23976         * libio/ftello64.c: Likewise.
23977         * libio/iofgetpos64.c: Likewise.
23978         * libio/iofsetpos64.c: Likewise.
23979         * sysdeps/wordsize-64/lockf.c: File removed.
23980         * sysdeps/wordsize-64/lockf64.c: File removed.
23981         * sysdeps/wordsize-64/fseeko.c: File removed.
23982         * sysdeps/wordsize-64/fseeko64.c: File removed.
23983         * sysdeps/wordsize-64/ftello.c: File removed.
23984         * sysdeps/wordsize-64/ftello64.c: File removed.
23985         * sysdeps/wordsize-64/iofgetpos.c: File removed.
23986         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
23987         * sysdeps/wordsize-64/iofsetpos.c: File removed.
23988         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
23989         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
23990         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
23991         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
23992         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
23993         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
23994         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
23995         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
23996         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
23997         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
23998         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24000         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24001         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24002         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24003         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24004         [defined __arch64__ || defined __sparcv9]
24005         (__OFF_T_MATCHES_OFF64_T): New macro.
24006         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24007         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24009         (__OFF_T_MATCHES_OFF64_T): New macro.
24011 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24013         * stdlib/secure-getenv.c (__secure_getenv): Replace
24014         GLIBC_2_16 with GLIBC_2_17.
24016 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24018         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24019         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24021 2012-08-03  David S. Miller  <davem@davemloft.net>
24023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24025 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24027         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24028         Remove.
24029         (__ASSUME_CORRECT_SI_PID): Likewise.
24030         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24031         (__ASSUME_TMPFS_NAME): Likewise.
24032         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24033         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24034         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24035         (HAVE_AUX_SECURE): Make definition unconditional.
24036         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24037         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24039 2012-08-03  Roland McGrath  <roland@hack.frob.com>
24041         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24042         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24043         * sysdeps/mach/hurd/eloop-threshold.h: New file.
24044         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24045         __eloop_threshold instead of SYMLOOP_MAX.
24047         * sysdeps/generic/eloop-threshold.h: New file.
24048         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24049         of MAXSYMLINKS.
24050         * elf/chroot_canon.c (chroot_canon): Likewise.
24052 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24054         [BZ #13717]
24055         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24056         Change to 2.6.0 everywhere.
24057         * sysdeps/unix/sysv/linux/configure: Regenerated.
24058         * sysdeps/unix/sysv/linux/kernel-features.h
24059         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24060         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24061         kernel versions.
24062         (__ASSUME_POSIX_TIMERS): Define unconditionally.
24063         (__ASSUME_FUTEX_REQUEUE): Remove.
24064         (__ASSUME_STATFS64): Define unconditionally.
24065         (__ASSUME_AT_SECURE): Likewise.
24066         (__ASSUME_CORRECT_SI_PID): Likewise.
24067         (__ASSUME_TGKILL): Define without depending on kernel version for
24068         i386.
24069         (__ASSUME_UTIMES): Likewise.
24070         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24071         kernel version.
24072         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24073         (__ASSUME_TMPFS_NAME): Likewise.
24074         * README: Update reference to Linux kernel versions.
24076 2012-08-02  Marek Polacek  <polacek@redhat.com>
24078         [BZ# 14150]
24079         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
24080         libc_cv_asm_type_prefix with %.
24081         * configure: Regenerated.
24082         * include/libc-symbols.h: Remove comment about
24083         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24084         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24085         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24086         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24087         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24088         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24089         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24090         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24091         * elf/tst-unique2mod1.c: Likewise.
24092         * elf/tst-unique1mod2.c: Likewise.
24093         * elf/tst-unique1mod1.c: Likewise.
24094         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24095         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24096         Replace ASM_TYPE_DIRECTIVE with .type.
24097         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24098         * sysdeps/i386/sysdep.h: Likewise.
24099         * sysdeps/x86_64/sysdep.h: Likewise.
24100         * sysdeps/sh/sysdep.h: Likewise.
24101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24102         Do not define ASM_TYPE_DIRECTIVE.
24103         * sysdeps/powerpc/sysdep.h: Likewise.
24104         * sysdeps/powerpc/powerpc32/sysdep.h:
24105         Replace ASM_TYPE_DIRECTIVE with .type.
24106         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24107         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24108         * sysdeps/i386/fpu/e_powf.S: Likewise.
24109         * sysdeps/i386/fpu/e_expl.S: Likewise.
24110         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24111         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24112         * sysdeps/i386/fpu/e_pow.S: Likewise.
24113         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24114         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24115         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24116         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24117         * sysdeps/i386/fpu/e_log2.S: Likewise.
24118         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24119         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24120         * sysdeps/i386/fpu/e_powl.S: Likewise.
24121         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24122         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24123         * sysdeps/i386/fpu/e_logl.S: Likewise.
24124         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24125         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24126         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24127         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24128         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24129         * sysdeps/i386/fpu/e_log.S: Likewise.
24130         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24131         * sysdeps/i386/fpu/e_logf.S: Likewise.
24132         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24133         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24134         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24135         * sysdeps/i386/fpu/e_log10.S: Likewise.
24136         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24137         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24138         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24139         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24140         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24141         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24142         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24143         * sysdeps/i386/i686/strtok.S: Likewise.
24144         * sysdeps/i386/i386-mcount.S: Likewise.
24145         * sysdeps/i386/strtok.S: Likewise.
24146         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24147         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24148         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24149         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24150         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24151         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24152         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24153         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24154         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24155         * sysdeps/x86_64/_mcount.S: Likewise.
24156         * sysdeps/x86_64/strtok.S: Likewise.
24157         * sysdeps/sh/_mcount.S: Likewise.
24159 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24161         * libio/iofopen.c: Include <fcntl.h>.
24162         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24163         (_IO_fopen64, fopen64): Define as aliases.
24164         * libio/iofopen64.c: Include <fcntl.h>.
24165         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24166         Conditionalize body on this.
24167         * sysdeps/wordsize-64/iofopen.c: File removed.
24168         * sysdeps/wordsize-64/iofopen64.c: File removed.
24170 2012-08-01  Marek Polacek  <polacek@redhat.com>
24172         * libc/Makeconfig: Use elf in place of binfmt-subdir.
24173         Use dlfcn directly instead of a variable.
24174         (binfmt-subdir): Do not define.
24175         (dlfcn): Likewise.
24177 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
24179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24180         Remove all definitions.
24181         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24182         <kernel-features.h>.
24183         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24184         (miss_F_GETOWN_EX): Remove all definitions.
24185         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24186         macro definition.
24187         [!__ASSUME_FCNTL64]: Remove conditional code.
24188         [__ASSUME_FCNTL64]: Make code unconditional.
24189         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24190         <kernel-features.h>.
24191         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24192         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24193         (lockf64) [__NR_fcntl64]: Make code unconditional.
24194         (lockf64) [__ASSUME_FCNTL64]: Likewise.
24196         * sysdeps/unix/sysv/linux/kernel-features.h
24197         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24198         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24199         Make code unconditional.
24200         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24201         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24203         [__NR_vfork]: Make code unconditional.
24204         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24205         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24207         [__NR_vfork]: Make code unconditional.
24208         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24209         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24211 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24213         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24214         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24216         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24217         Define mkstemp64 as an alias.
24218         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24219         Define mkstemps64 as an alias.
24220         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24221         Define mkostemp64 as an alias.
24222         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24223         Define mkostemps64 as an alias.
24224         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24225         Conditionalize body on this.
24226         * misc/mkostemp64.c: Likewise.
24227         * misc/mkostemps64.c: Likewise.
24228         * misc/mkstemps64.c: Likewise.
24229         * sysdeps/wordsize-64/mkstemp64.c: File removed.
24230         * sysdeps/wordsize-64/mkostemp64.c: File removed.
24231         * sysdeps/wordsize-64/mkostemp.c: File removed.
24232         * sysdeps/wordsize-64/mkstemp.c: File removed.
24233         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24234         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24235         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24236         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24238         [BZ #14138]
24239         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24240         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24241         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24242         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24244         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24245         compat_symbol macros from <shlib-compat.h> rather than the underlying
24246         default_symbol_version and symbol_version macros, so that DEFAULT
24247         lines in shlib-versions are respected.
24248         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24250 2012-08-01  Florian Weimer  <fweimer@redhat.com>
24252         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24253         Declare with warn_unused_result.
24254         (setgid, setregid, setegid, setresgid): Likewise.
24255         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24256         Likewise.
24257         * WUR-REPORT: Remove set*id functions.
24259 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
24261         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24263 2012-07-31  Roland McGrath  <roland@hack.frob.com>
24265         [BZ #10191]
24266         * include/sys/socket.h (__libc_accept, __libc_accept4):
24267         Add attribute_hidden.
24268         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24270         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24271         use of PTR_MANGLE.
24272         * inet/getnetgrent_r.c (setup): Likewise.
24274         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24276 2012-07-31  David S. Miller  <davem@davemloft.net>
24278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24280 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
24282         [BZ #13629]
24283         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24284         value between 1.0 and 2.0 and smaller part has absolute value less
24285         than 1.0.
24286         * math/s_clog10.c (__clog10): Likewise.
24287         * math/s_clog10f.c (__clog10f): Likewise.
24288         * math/s_clog10l.c (__clog10l): Likewise.
24289         * math/s_clogf.c (__clogf): Likewise.
24290         * math/s_clogl.c (__clogl): Likewise.
24291         * math/libm-test.inc (clog_test): Add more tests.
24292         (clog10_test): Likewise.
24293         * sysdeps/i386/fpu/libm-test-ulps: Update.
24294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24296 2012-07-31  Florian Weimer  <fweimer@redhat.com>
24298         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24299         Exit with zero in case no suitable GID is found, and write a
24300         message to standard error.
24302 2012-07-30  Roland McGrath  <roland@hack.frob.com>
24304         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24305         rather than to 1.
24306         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24307         (MAXPATHLEN): Removed.
24308         (NOGROUP, NODEV): New macros.
24309         (setbit, clrbit, isset, isclr): New macros.
24310         (howmany, roundup, powerof2): New macros.
24311         (DEV_BSIZE): New macro.
24313         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24314         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24316         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24317         definition on [!__NO_LONG_DOUBLE_MATH].
24319         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24320         PTR_MANGLE and PTR_DEMANGLE.
24322         * socket/accept4.c (accept4): Rename to __libc_accept4.
24323         Define accept4 as a weak alias.
24325         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24326         on [_DIRENT_HAVE_D_TYPE].
24327         * io/ftw.c (ftw_dir): Likewise.
24329         * io/xmknod.c (__xmknod): Don't check PATH for being null.
24331         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24333         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24334         Use the BSD numbers rather than the arbitrary ones we had.
24335         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24336         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24337         (SIGXCPU, SIGXFSZ): New macros.
24338         (_NSIG): Now 32.
24340         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24341         initializer on [_LIBC_REENTRANT].
24343         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24344         definitions inside [_POSIX_MAPPED_FILES].
24346         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24348         * dirent/opendir.c: Include <fcntl.h>.
24350         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24351         (__libc_getspecific): Likewise.
24352         (__libc_key_create): Likewise.
24354         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24355         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24356         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24357         (tmpfile64): Define as alias.
24358         * sysdeps/wordsize-64/tmpfile.c: File removed.
24359         * sysdeps/wordsize-64/tmpfile64.c: File removed.
24360         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24361         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24363         * stdio-common/vfscanf.c: Include <stdbool.h>.
24364         * nss/makedb.c: Likewise.
24365         * stdio-common/_i18n_number.h: Likewise.
24366         * argp/argp-help.c: Likewise.
24367         * posix/wordexp.c: Likewise.
24368         * sysdeps/posix/spawni.c: Likewise.
24369         * nss/nss_files/files-initgroups.c: Likewise.
24370         * stdio-common/reg-modifier.c: Include <stdlib.h>.
24371         * nss/nss_files/files-initgroups.c: Likewise.
24372         * nss/nss_db/db-netgrp.c: Likewise.
24373         * nss/nss_db/db-initgroups.c: Likewise.
24374         * io/fchmodat.c: Include <sys/stat.h>.
24376         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24377         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24379         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24380         [HAVE_MMAP].
24382         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24383         Add multiple inclusion protection.
24385 2012-07-27  David S. Miller  <davem@davemloft.net>
24387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24389 2012-07-27  Gary Benson  <gbenson@redhat.com>
24391         [BZ #14298]
24392         * elf/rtld.c: Include <stap-probe.h>.
24393         (dl_main): Added static probes "init_start" and "init_complete".
24394         * elf/dl-load.c: Include <stap-probe.h>.
24395         (lose): Take new parameter "nsid".
24396         Added static probe "map_failed".
24397         (_dl_map_object_from_fd): Pass namespace id to lose.
24398         Added static probe "map_start".
24399         (open_verify): Pass namespace id to lose.
24400         * elf/dl-open.c: Include <stap-probe.h>.
24401         (dl_open_worker) Added static probes "map_complete", "reloc_start"
24402         and "reloc_complete".
24403         * elf/dl-close.c: Include <stap-probe.h>.
24404         (_dl_close_worker): Added static probes "unmap_start" and
24405         "unmap_complete".
24406         * elf/rtld-debugger-interface.txt: New file documenting the above.
24408 2012-07-26  Roland McGrath  <roland@hack.frob.com>
24410         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24411         rather than a string variable.
24412         * sunrpc/rpc_main.c (h_output): Likewise.
24413         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24415 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
24417         * inet/check_native.c: New file.
24419 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
24421         [BZ #13629]
24422         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24423         if larger part has absolute value 1.0.
24424         * math/s_clog10.c (__clog10): Likewise.
24425         * math/s_clog10f.c (__clog10f): Likewise.
24426         * math/s_clog10l.c (__clog10l): Likewise.
24427         * math/s_clogf.c (__clogf): Likewise.
24428         * math/s_clogl.c (__clogl): Likewise.
24429         * math/libm-test.inc (clog_test): Add more tests.
24430         (clog10_test): Likewise.
24431         * sysdeps/i386/fpu/libm-test-ulps: Update.
24432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24434         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24435         (pltexit): Likewise.
24436         (La_regs): Likewise.
24437         (La_retval): Likewise.
24438         (int_retval): Likewise.
24439         Update #error for removed macros to refer only to definitions in
24440         tst-audit.h.
24441         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24442         macro.
24443         (pltexit): Likewise.
24444         (La_regs): Likewise.
24445         (La_retval): Likewise.
24446         (int_retval): Likewise.
24447         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24448         macro.
24449         (pltexit): Likewise.
24450         (La_regs): Likewise.
24451         (La_retval): Likewise.
24452         (int_retval): Likewise.
24453         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24454         macro.
24455         (pltexit): Likewise.
24456         (La_regs): Likewise.
24457         (La_retval): Likewise.
24458         (int_retval): Likewise.
24459         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24460         macro.
24461         (pltexit): Likewise.
24462         (La_regs): Likewise.
24463         (La_retval): Likewise.
24464         (int_retval): Likewise.
24465         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24466         macro.
24467         (pltexit): Likewise.
24468         (La_regs): Likewise.
24469         (La_retval): Likewise.
24470         (int_retval): Likewise.
24471         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24472         macro.
24473         (pltexit): Likewise.
24474         (La_regs): Likewise.
24475         (La_retval): Likewise.
24476         (int_retval): Likewise.
24477         * sysdeps/generic/tst-audit.h: Update comment to refer only to
24478         macro definitions in tst-audit.h.
24479         * sysdeps/i386/tst-audit.h: New file.
24480         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24481         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24482         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24483         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24484         * sysdeps/sh/tst-audit.h: Likewise.
24485         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24486         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24487         * sysdeps/x86_64/tst-audit.h: Likewise.
24489 2012-07-26  Andreas Jaeger  <aj@suse.de>
24491         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24492         ptrace.
24494         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24495         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24496         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24497         PTRACE_O_MASK.
24498         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24499         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24500         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24502         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24503         value.
24505         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24506         _sigsys.
24507         (si_call_addr, si_syscall, si_arch): Define new macro.
24508         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24509         _sigsys.
24510         (si_call_addr, si_syscall, si_arch): Define new marcro.
24511         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24512         _sigsys.
24513         (si_call_addr, si_syscall, si_arch): Define new macro.
24514         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24515         _sigsys.
24516         (si_call_addr, si_syscall, si_arch): Define new macro.
24518 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24520         [BZ #13717]
24521         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24522         Change to 2.4.21 where previously 2.4.1.
24523         * sysdeps/unix/sysv/linux/configure: Regenerated.
24524         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24525         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24526         Linux kernel version.
24527         (__ASSUME_STD_AUXV): Remove.
24528         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24529         kernel version.
24530         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24531         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24532         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24533         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24534         (__ASSUME_NETLINK_SUPPORT): Likewise.
24535         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24536         (__no_netlink_support): Remove conditional definition.
24537         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24538         Remove.
24539         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24540         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24541         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24542         (if_nameindex_ioctl): Remove.
24543         (if_nameindex_netlink): Do not handle __no_netlink_support.
24544         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24545         code.
24546         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24547         Remove conditional code.
24548         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24549         code.
24550         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24551         unconditional.
24552         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24553         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24554         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24555         Remove.
24556         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24557         [!__ASSUME_STD_AUXV]: Remove conditional code.
24558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24559         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24560         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24562         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24563         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24564         code.
24565         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24567         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24568         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24569         conditional code.
24570         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24572         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24573         code.
24574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24575         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24576         conditional code.
24577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24578         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24579         code unconditional.
24580         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24581         conditional code.
24582         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24583         unconditional.
24584         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24585         conditional code.
24586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24587         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24588         unconditional.
24589         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24590         conditional code.
24591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24592         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24593         code unconditional.
24594         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24595         conditional code.
24596         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24597         unconditional.
24598         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24599         conditional code.
24600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24601         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24602         code unconditional.
24603         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24604         conditional code.
24605         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24606         unconditional.
24607         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24608         conditional code.
24610 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
24612         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24613         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24614         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24615         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24616         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24617         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24618         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24619         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24620         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24621         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24622         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24623         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24624         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24625         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24626         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24627         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24628         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24629         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24630         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24631         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24632         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24633         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24634         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24636 2012-07-25  Florian Weimer  <fweimer@redhat.com>
24638         * Versions.def: Add GLIBC_2.17.
24639         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24640         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24641         Introduce __libc_secure_getenv.
24642         * stdlib/Versions (2.17): Add secure_getenv
24643         (GLIBC_PRIVATE): Add __libc_secure_getenv.
24644         * stdlib/secure-getenv.c: Rename __secure_getenv to
24645         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
24646         symbol __secure_getenv for GLIBC_2.0.
24647         * stdlib/tst-secure-getenv.c: New.
24648         * stdlib/Makefile (tests): Add testcase.
24649         * manual/startup.texi (Environment Access): Document
24650         secure_getenv.
24651         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24652         __libc_secure_getenv.
24653         * inet/ruserpass.c (ruserpass): Likewise.
24654         * malloc/mtrace.c (mtrace): Likewise.
24655         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24656         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24657         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24658         * sysdeps/posix/tempname.c: Likewise.  Evaluate
24659         HAVE_SECURE_GETENV.
24660         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24661         __secure_getenv to __libc_secure_getenv.
24662         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24664         Likewise.
24665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24666         Likewise.
24667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24669         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24675 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24677         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24678         (struct La_i86_retval): Likewise.
24679         (struct La_x86_64_regs): Likewise.
24680         (struct La_x86_64_retval): Likewise.
24681         (struct La_x32_regs): Likewise.
24682         (struct La_x32_retval): Likewise.
24683         (struct La_ppc32_regs): Likewise.
24684         (struct La_ppc32_retval): Likewise.
24685         (struct La_ppc64_regs): Likewise.
24686         (struct La_ppc64_retval): Likewise.
24687         (struct La_sh_regs): Likewise.
24688         (struct La_sh_retval): Likewise.
24689         (struct La_s390_32_regs): Likewise.
24690         (struct La_s390_32_retval): Likewise.
24691         (struct La_s390_64_regs): Likewise.
24692         (struct La_s390_64_retval): Likewise.
24693         (struct La_sparc32_regs): Likewise.
24694         (struct La_sparc32_retval): Likewise.
24695         (struct La_sparc64_regs): Likewise.
24696         (struct La_sparc64_retval): Likewise.
24697         (struct audit_ifaces): Remove architecture-specific pltenter and
24698         pltexit members.
24699         * sysdeps/i386/ldsodefs.h: New file.
24700         * sysdeps/powerpc/ldsodefs.h: Likewise.
24701         * sysdeps/s390/ldsodefs.h: Likewise.
24702         * sysdeps/sh/ldsodefs.h: Likewise.
24703         * sysdeps/sparc/ldsodefs.h: Likewise.
24704         * sysdeps/x86_64/ldsodefs.h: Likewise.
24706 2012-07-25  Marek Polacek  <polacek@redhat.com>
24708         [BZ #6808]
24709         * math/libm-test.inc (yn_test): Add another test.
24710         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24711         to ERANGE when the result is +-Inf.
24712         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24713         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24714         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24715         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24717 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
24719         * conform/data/time.h-data (NULL): Use macro-constant.  Require
24720         equal to 0.
24721         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
24722         clock_t.
24723         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
24725 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
24727         * configure.in <sysdeps resolving>: Correct printing
24728         Implies_before.
24729         * configure: Regenerate.
24731 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
24733         * math/w_ilogb.c: Include <limits.h>.
24734         * math/w_ilogbl.c: Likewise.
24736 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24738         * manual/lang.texi (__va_copy): Document primarily as ISO C99
24739         va_copy.  Document allowing for unavailable va_copy only as
24740         pre-C99 compatibility.
24741         * manual/string.texi (Copying and Concatenation): Use va_copy
24742         instead of __va_copy in concat example.
24744 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
24746         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24747         (__sendto): Use create_address_port.  Initialize APORT and deallocate
24748         it if not null.
24750         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24751         with O_NOLINK passed to __file_name_lookup.
24753         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24754         with O_NOLINK passed to __file_name_lookup.
24756         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24757         negative N or less than NGIDS.
24759         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24760         type to string_t.  Set ERANGE as errno and return it if NAME is not big
24761         enough.  Use memcpy instead of strncpy.
24763 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24765         * elf/Makefile (check-data): Remove.
24766         (localplt.data): New vpath directive.
24767         ($(objpfx)check-localplt.out): Use localplt.data from vpath
24768         instead of $(check-data).
24769         * scripts/data/localplt-generic.data: Move to ...
24770         * sysdeps/generic/localplt.data: ... here.
24771         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24772         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24773         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24775         ... here.
24776         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24778         ... here.
24779         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24781         ... here.
24782         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24784         ... here.
24785         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24787         ... here.
24788         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24790         ... here.
24792 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24794         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24795         PPC32 and PPC64 files.
24796         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24797         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24799 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24801         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24802         __makecontext_ret to ...
24803         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24804         ... here and call exit if uc_link is NULL.  New file.
24805         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24806         __makecontext_ret.S.
24807         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24808         __makecontext_ret to ...
24809         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24810         ... here and call exit if uc_link is NULL.  New file.
24811         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24812         __makecontext_ret.S.
24814 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24816         * elf/elf.h (R_390_IRELATIVE): New definition.
24817         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24818         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
24819         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24820         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24821         (elf_machine_lazy_rel): Likewise.
24822         * sysdeps/s390/dl-irel.h: New file.
24823         * sysdeps/s390/s390-64/memcpy.S: New asm code.
24824         * sysdeps/s390/s390-64/memset.S: New asm code.
24825         * sysdeps/s390/s390-64/memcmp.S: New asm code.
24826         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24827         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24828         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24829         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24830         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24831         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24832         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24833         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24834         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24835         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24836         * sysdeps/s390/s390-32/memcpy.S: New asm code.
24837         * sysdeps/s390/s390-32/memset.S: New asm code.
24838         * sysdeps/s390/s390-32/memcmp.S: New asm code.
24840 2012-07-17  Marek Polacek  <polacek@redhat.com>
24842         [BZ #14349]
24843         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24844         * sysdeps/s390/s390-64/configure.in: Likewise.
24845         * sysdeps/sparc/configure.in: Likewise.
24846         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24847         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24848         * sysdeps/i386/configure.in: Likewise.
24849         * sysdeps/x86_64/configure.in: Likewise.
24850         * sysdeps/sh/configure.in: Likewise.
24851         * sysdeps/s390/s390-32/configure: Regenerated.
24852         * sysdeps/s390/s390-64/configure: Likewise.
24853         * sysdeps/x86_64/configure: Likewise.
24854         * sysdeps/sh/configure: Likewise.
24855         * sysdeps/powerpc/powerpc64/configure: Likewise.
24856         * sysdeps/powerpc/powerpc32/configure: Likewise.
24857         * sysdeps/sparc/configure: Likwise.
24858         * sysdeps/i386/configure: Likewise.
24860         * elf/dl-open.c: Comment fixes.
24862 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
24864         * Makefile [CXX] (check-data): Remove.
24865         [CXX] (c++-types.data): New vpath directive.
24866         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24867         vpath.  Do not allow for C++ type data being missing.
24868         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24869         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24870         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24871         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24872         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24873         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24874         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24876         ... here.
24877         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24879         ... here.
24880         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24882         ... here.
24883         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24885         ... here.
24886         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24888         ... here.
24889         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24891         ... here.
24892         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24894         ... here.
24895         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24898         * elf/tls-macros.h (TLS_LE): Move architecture-specific
24899         definitions to architecture-specific files.
24900         (TLS_IE): Likewise.
24901         (TLS_LD): Likewise.
24902         (TLS_GD): Likewise.
24903         * sysdeps/i386/tls-macros.h: New file.
24904         * sysdeps/powerpc/tls-macros.h: Likewise.
24905         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24906         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24907         * sysdeps/sh/tls-macros.h: Likewise.
24908         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24909         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24910         * sysdeps/x86_64/tls-macros.h: Likewise.
24912 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24914         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24915         zero value for regular exit case.
24917         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24918         (__start_context): Preserve zero value for regular exit case.
24920 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24921             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24923         * manual/setjmp.texi (setcontext): Clarify normal process
24924         termination when uc_link is the null pointer.
24925         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24926         exit call.
24928 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
24930         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24931         preprocessor.  Test for each exception mask separately.
24933 2012-07-16  Andreas Jaeger  <aj@suse.de>
24935         * po/ru.po: Update from translation team.
24937 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
24939         * conform/data/string.h-data (NULL): Use macro-constant.  Require
24940         equal to 0.
24941         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24942         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24943         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24944         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24945         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24947 2012-07-13  Andreas Jaeger  <aj@suse.de>
24949         * po/fr.po: Update from translation team.
24951 2012-07-12  Marek Polacek  <polacek@redhat.com>
24953         [BZ #14173]
24954         * math/libm-test.inc (yn_test): Add test for BZ #14173.
24955         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24956         loop condition.
24958 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
24960         [BZ #13717]
24961         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24962         Change to 2.4.1 where previously 2.4.0.
24963         * sysdeps/unix/sysv/linux/configure: Regenerated.
24964         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24965         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
24966         version.
24967         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
24968         (__ASSUME_AT_CLKTCK): Remove.
24969         (__ASSUME_AT_PAGESIZE): Likewise.
24970         (__ASSUME_AT_XID): Likewise.
24971         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
24972         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
24973         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
24974         unconditionally.
24975         (HAVE_AUX_PAGESIZE): Likewise.
24976         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
24977         [__ASSUME_AT_CLKTCK]: Make code unconditional.
24978         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
24980 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
24982         [BZ #14307]
24983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
24984         the temporary buffer used to invoke __gethostbyname2_r,
24985         __gethostbyaddr_r and gethostbyname4_r to make room for struct
24986         host_data / struct gaih_addrtuple.
24987         * resolv/nss_dns/dns-host.c (global scope): Move definition of
24988         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
24989         header file nss/nsswitch.h.
24990         * nss/nsswitch.h (global scope): Add definition of implementation
24991         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
24992         resolv/nss_dns/dns-host.c).
24994 2012-07-11  Andreas Jaeger  <aj@suse.de>
24996         * po/fr.po: Update from translation team.
24998         * po/sv.po: Update from translation team
24999         * po/fr.po: Another update from translation team.
25001 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25003         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25004         for subnormals or multiply small sinh result by itself.
25005         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25008 2012-07-11  David S. Miller  <davem@davemloft.net>
25010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25012 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
25014         [BZ #14347]
25015         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25016         (INTERNAL_MARK): Shift it here.
25018 2012-07-10  Marek Polacek  <polacek@redhat.com>
25020         [BZ #14151]
25021         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
25022         libc_cv_asm_global_directive with .globl.
25023         * configure: Regenerated.
25024         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25025         with .globl.
25026         * sysdeps/i386/configure: Regenerated.
25027         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25028         with .globl.
25029         * sysdeps/x86_64/configure: Regenerated.
25030         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25031         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25032         * elf/tst-unique2mod2.c: Likewise.
25033         * elf/tst-unique2mod1.c: Likewise.
25034         * elf/tst-unique1mod2.c: Likewise.
25035         * elf/tst-unique1mod1.c: Likewise.
25036         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25037         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25038         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25039         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25040         * sysdeps/mach/sysdep.h: Likewise.
25041         * sysdeps/i386/sysdep.h: Likewise.
25042         * sysdeps/i386/i386-mcount.S: Likewise.
25043         * sysdeps/x86_64/_mcount.S: Likewise.
25044         * sysdeps/x86_64/sysdep.h: Likewise.
25045         * sysdeps/sh/_mcount.S: Likewise.
25046         * sysdeps/sh/sysdep.h: Likewise.
25047         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25048         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25049         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25050         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25051         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25052         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25053         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25054         * locale/localeinfo.h: Likewise.
25055         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25056         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25058 2012-07-09  Roland McGrath  <roland@hack.frob.com>
25060         [BZ #14336]
25061         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25062         system".
25063         * manual/message.texi (The Uniforum approach): Likewise.
25064         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25065         (glibc iconv Implementation): Likewise.
25067 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
25069         [BZ #14337]
25070         * math/s_clog.c (__clog): Avoid scaling a value down where that
25071         could result in underflow.
25072         * math/s_clog10.c (__clog10): Likewise.
25073         * math/s_clog10f.c (__clog10f): Likewise.
25074         * math/s_clog10l.c (__clog10l): Likewise.
25075         * math/s_clogf.c (__clogf): Likewise.
25076         * math/s_clogl.c (__clogl): Likewise.
25077         * math/libm-test.inc (clog_test): Add more tests.
25078         (clog10_test): Likewise.
25079         * sysdeps/i386/fpu/libm-test-ulps: Update.
25080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25082 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
25084         [BZ #14283]
25085         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25086         by 7 not 8 to examine high bit of fractional part.
25088         [BZ #14042]
25089         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25090         for call to __mcount_internal.
25091         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25092         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25093         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25095 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
25097         [BZ #14154]
25098         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25099         approximation for values within 0x1p-13f of an odd multiple of
25100         pi/4.
25101         * math/libm-test.inc (tan_test): Do not allow spurious underflow
25102         exception.  Add more tests.
25103         * sysdeps/i386/fpu/libm-test-ulps: Update.
25105         [BZ #6778]
25106         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25107         inputs and return -1 for them.  Do not check for +Inf in case not
25108         reachable for +Inf.
25109         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25110         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25111         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25112         and return -1 for them.  Do not check for +Inf in case not
25113         reachable for +Inf.
25114         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25115         define.
25116         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25117         and return -1 for them.  Do not check for +Inf in case not
25118         reachable for +Inf.
25119         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
25120         spurious underflow.
25121         * sysdeps/i386/fpu/libm-test-ulps: Update.
25122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25124 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
25126         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25128 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
25130         [BZ #14157]
25131         [BZ #14331]
25132         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25133         could result in spurious underflow.  Scale down values above
25134         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25135         * math/s_csqrtf.c (__csqrtf): Likewise.
25136         * math/s_csqrtl.c (__csqrtl): Likewise.
25137         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
25138         spurious underflow.
25139         * sysdeps/i386/fpu/libm-test-ulps: Update.
25140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25142 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
25144         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25145         xopen-msg.sed.
25146         * catgets/xopen-msg.awk: New file.
25147         * catgets/xopen-msg.sed: Removed.
25149         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25150         po2text.sed.
25151         * intl/po2test.awk: New file.
25152         * intl/po2test.sed: Removed.
25154 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
25156         [BZ #14328]
25157         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25158         or multiply small sinh result by itself.
25159         * math/s_ctanf.c (__ctanf): Likewise.
25160         * math/s_ctanh.c (__ctanh): Likewise.
25161         * math/s_ctanhf.c (__ctanhf): Likewise.
25162         * math/s_ctanhl.c (__ctanhl): Likewise.
25163         * math/s_ctanl.c (__ctanl): Likewise.
25164         * math/libm-test.inc (ctan_test_tonearest): New function.
25165         (ctan_test_towardzero): Likewise.
25166         (ctan_test_downward): Likewise.
25167         (ctan_test_upward): Likewise.
25168         (ctanh_test_tonearest): Likewise.
25169         (ctanh_test_towardzero): Likewise.
25170         (ctanh_test_downward): Likewise.
25171         (ctanh_test_upward): Likewise.
25172         (main): Call these new functions.
25173         * sysdeps/i386/fpu/libm-test-ulps: Update.
25174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25176 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
25178         * .gitignore: Delete /ports entry.
25180 2012-07-03  Andreas Jaeger  <aj@suse.de>
25182         * po/bg.po: Update from translation team.
25183         * po/cs.po: Likewise.
25184         * po/de.po: Likewise.
25185         * po/hr.po: Likewise.
25186         * po/nl.pl: Likewise.
25187         * po/pl.po: Likewise.
25188         * po/vi.po: Likewise.
25190 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
25192         * Makeconfig [!+link] (+link-before-libc): New variable.
25193         [!+link] (+link-after-libc): Likewise.
25194         [!+link] (+link-tests): Likewise.
25195         [!+link] (+link): Define in terms of $(+link-before-libc) and
25196         $(+link-after-libc).
25197         [!+link-static] (+link-static-before-libc): New variable.
25198         [!+link-static] (+link-static-after-libc): Likewise.
25199         [!+link-static] (+link-static-tests): Likewise.
25200         [!+link-static] (+link-static): Define in terms of
25201         $(+link-static-before-libc) and $(+link-static-after-libc).
25202         [build-shared] (link-libc-before-gnulib): New variable.
25203         [build-shared] (link-libc-tests): Likewise.
25204         [build-shared] (link-libc): Define in terms of
25205         $(link-libc-before-gnulib).
25206         [!build-shared] (link-libc-tests): New variable.
25207         (link-libc-static-tests): New variable.
25208         [!gnulib] (gnulib-arch): New variable.
25209         [!gnulib] (gnulib-tests): Likewise.
25210         [!gnulib] (static-gnulib-arch): Likewise.
25211         [!gnulib] (static-gnulib-tests): Likewise.
25212         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
25213         Define with "=" instead of ":=".
25214         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
25215         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
25216         * Rules (binaries-all-notests): New variable.
25217         (binaries-all-tests): Likewise.
25218         (binaries-static-notests): Likewise.
25219         (binaries-static-tests): Likewise.
25220         (binaries-all): Define using $(binaries-all-notests) and
25221         $(binaries-all-tests).
25222         (binaries-static): Define using $(binaries-static-notests) and
25223         $(binaries-static-tests).
25224         (binaries-shared-tests): New variable.
25225         (binaries-shared-notests): Likewise.
25226         (binaries-shared): Remove variable.
25227         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25228         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25229         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25230         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25231         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25232         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25233         * elf/Makefile (sln-modules): New variable.
25234         (extra-objs): Add $(sln-modules:=.o).
25235         (ldconfig-modules): Add static-stubs.
25236         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25237         * elf/static-stubs.c: New file.
25239         [BZ #14283]
25240         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25241         by 7 not 8 to examine high bit of fractional part.  Use volatile
25242         variables when splitting into final array of floats if
25243         __FLT_EVAL_METHOD__ != 0.
25244         * math/libm-test.inc (cos_test): Add another test.
25245         (sin_test): Likewise.
25246         * sysdeps/i386/fpu/libm-test-ulps: Update.
25248         [BZ #14273]
25249         * math/libm-test.inc (cosh_test): Add more tests.
25251         * version.h (RELEASE): Set to "development".
25252         (VERSION): Set to "2.16.90".
25254 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
25256         * NEWS: Update copyright. Remove last-updated date.
25257         Mention math library bug fixes and timezone data changes.
25258         * README: Mention GNU/Hurd, x32, and HPPA support status.
25260 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
25262         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25264 2012-06-27  Andreas Jaeger  <aj@suse.de>
25266         * manual/contrib.texi (Contributors): Add Samuel Thibault.
25268 2012-06-25  Andreas Jaeger  <aj@suse.de>
25270         * sysdeps/s390/fpu/libm-test-ulps: Update.
25272 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
25273             Thomas Schwinge  <thomas@codesourcery.com>
25275         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25276         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25277         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25278         fanotify_mark.
25280 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
25282         * sysdeps/mach/start.c: Remove file.
25283         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25284         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25285         * sysdeps/sh/init-first.c: Likewise.
25287         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25288         registers for frame unwinding purposes, add CFI directives.
25289         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25290         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25291         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25292         Likewise.
25294         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25295         __fortify_fail returning.
25296         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25298         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25299         sysdeps/sh/____longjmp_chk.S.
25300         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25301         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25302         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25303         (gen-as-const-headers): Append sigaltstack-offsets.sym.
25305         * sysdeps/sh/abort-instr.h: New file.
25306         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25307         process in case exit returns.
25309         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25310         initialize the GOT register before use.
25312         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25313         calculation of ARGC > 4.
25315         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25316         meaningful names to some local labels.
25318 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25319             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25321         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25322         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25323         (__arch_compare_and_exchange_val_16_acq): Likewise.
25324         (__arch_compare_and_exchange_val_32_acq): Likewise.
25325         (atomic_exchange_and_add): Fix gUSA sequence.
25326         (atomic_add): Likewise.
25327         (atomic_add_negative): Likewise.
25328         (atomic_add_zero): Likewise.
25329         (atomic_bit_test_set): Likewise.
25331 2012-06-22  Andreas Schwab  <schwab@redhat.com>
25333         [BZ #13579]
25334         * include/link.h (struct link_map): Add l_free_initfini.
25335         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25336         l_initfini.
25337         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25338         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25339         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25340         set.
25342 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
25344         * configure.in: Use AC_LANG_SOURCE.
25345         * configure: Regenerate.
25347 2012-06-22  Roland McGrath  <roland@hack.frob.com>
25349         * configure.in (libc_cv_localstatedir): New substituted variable.
25350         * configure: Regenerated.
25351         * config.make.in (localstatedir): New variable, substituted from
25352         libc_cv_localstatedir.
25353         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25354         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25355         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25356         * sysdeps/gnu/configure: Regenerated.
25358 2012-06-21  Jeff Law  <law@redhat.com>
25360         [BZ #14277]
25361         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25362         free.  Simplify list management for _LIBC case.
25364 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
25366         [BZ #14273]
25367         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25368         Clear sign bit of 64-bit integer value before comparing against
25369         overflow value.
25371         * sysdeps/mach/configure: Regenerated.
25373 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
25375         [BZ #14278]
25376         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25378 2012-06-21  Jeff Law  <law@redhat.com>
25380         [BZ #13882]
25381         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
25382         uint16_t for elements in the "seen" array to avoid char overflows.
25383         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25384         * elf/dl-open.c (dl_open_worker): Likewise.
25386 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
25388         * scripts/list-sources.sh: Scan PORTS for translations.
25389         * po/libc.pot: Regenerated.
25391 2012-06-21  Andreas Jaeger  <aj@suse.de>
25393         [BZ #12194]
25394         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25395         warning.
25396         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25397         * bits/byteswap-16.h (__bswap_16): Likewise.
25398         * bits/byteswap.h (__bswap_constant_16): Likewise.
25400 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
25402         [BZ #14117]
25403         * sysdeps/i386/fpu_control.h: Removed.
25404         * sysdeps/x86_64/fpu_control.h: Moved to ...
25405         * sysdeps/x86/fpu_control.h: Here.
25407         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25408         (_FPU_SETCW): Likewise.
25410 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
25412         [BZ #14117]
25413         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25414         * sysdeps/x86/fpu/bits/mathinline.h: This.
25415         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25417         [BZ #14050]
25418         [BZ #14117]
25419         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25420         functions if __x86_64__ is defined.
25422 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
25424         * string/endian.h: Add !__ASSEMBLER__ condition for including
25425         conversion interfaces.
25427 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
25429         [BZ #14241]
25430         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25431         of ABS(x) in calculating zero to negative powers other than odd
25432         integers.
25433         * math/libm-test.inc (pow_test): Add more tests.
25435 2012-06-15  Andreas Jaeger  <aj@suse.de>
25437         * manual/contrib.texi (Contributors): Update entry of Liubov
25438         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25439         Machado Filho.
25441 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
25443         * string/string.h: Add __wur to GNU version of strerror_r.
25445 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
25447         [BZ #14229]
25448         * string/Makefile (tests): Add tst-strtok_r.
25449         * string/tst-strtok_r.c: New file.
25450         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25451         RAX_LP/RDX_LP on SAVE_PTR.
25453 2012-06-14  Roland McGrath  <roland@hack.frob.com>
25455         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25457 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
25459         * libm_test.inc (csqrt_test): Allow more spurious underflow
25460         exceptions.
25461         (j0_test): Likewise.
25462         (j1_test): Likewise.
25463         (y0_test): Likewise.
25464         (y1_test): Likewise.
25466 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
25468         * po/Makefile (libc.pot): Use UTF-8 charset.
25470 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
25472         [BZ #14210]
25473         Suppress sign-conversion warning from FD_SET.
25474         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25475         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25476         not unsigned long int.
25477         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25479 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
25481         [BZ #14050]
25482         [BZ #14117]
25483         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25484         __extern_always_inline instead of __extern_inline.
25485         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25486         (__signbit): Likewise.
25487         (__signbitl): Support C++ namespace.
25488         (lrintf): New inline function.
25489         (lrint): Likewise.
25490         (llrintf): Likewise.
25491         (llrint): Likewise.
25492         (fmaxf): Likewise.
25493         (fmax): Likewise.
25494         (fminf): Likewise.
25495         (fmin): Likewise.
25496         (rint): Likewise.
25497         (rintf): Likewise.
25498         (ceil): Likewise.
25499         (ceilf): Likewise.
25500         (floor): Likewise.
25501         (floorf): Likewise.
25502         (nearbyint): Likewise.
25503         (nearbyintf): Likewise.
25505 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
25507         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25508         non-default versions.
25510 2012-06-11  Roland McGrath  <roland@hack.frob.com>
25512         [BZ #14218]
25513         * manual/argp.texi (Argp): Reword argp_parse description slightly.
25515 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
25517         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25518         (FE_UPWARD, FE_DOWNWARD): Don't define.
25519         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25520         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25522         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25523         reading it.
25524         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25525         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25527 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25529         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25531         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25532         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25534 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
25536         [BZ #14117]
25537         * sysdeps/i386/fpu/bits/fenv.h: Removed.
25538         * sysdeps/i386/fpu/Implies: New file.
25539         * sysdeps/x86_64/fpu/Implies: Likewise.
25540         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25541         * sysdeps/x86/fpu/bits/fenv.h: This.
25543         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25544         __SSE_MATH__.
25546 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25548         [BZ #14134]
25549         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25550         character 0xffff that matches the last element of the
25551         conversion table.
25553 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25555         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25556         fmodl commit.
25558 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25561         values higher than 25.6283.
25563 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25565         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25566         subnormal exponent extraction and add some __builtin_expect.
25567         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25568         Fix for subnormal mantissa calculation.
25570 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
25572         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25573         cpu2 is -1 and errno is not ENOSYS.
25575 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
25577         [BZ #14117]
25578         * sysdeps/i386/i486/bits/string.h: Renamed to ...
25579         * sysdeps/x86/bits/string.h: This.
25580         * sysdeps/x86_64/bits/string.h: Removed.
25582         * sysdeps/i386/i486/bits/string.h: Define inline functions only
25583         if not compiling for x86-64, but compiling for >= i486.
25585         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25586         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25588         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25589         New macro from Linux kernel 3.4.0.
25590         (FP_XSTATE_MAGIC2): Likewise.
25591         (FP_XSTATE_MAGIC2_SIZE): Likewise.
25592         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25593         (struct _fpx_sw_bytes): New struct.
25594         (struct _xsave_hdr): Likewise.
25595         (struct _ymmh_state): Likewise.
25596         (struct _xstate): Likewise.
25598         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25599         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25600         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25601         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25602         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25603         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25605         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25606         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25607         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25608         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25609         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25610         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25612 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25614         [BZ #13743]
25615         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25616         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25617         (sysdep_headers): Include sys/platform/ppc.h.
25618         * sysdeps/powerpc/test-gettimebase.c: Test for
25619         __ppc_get_timebase() to catch future ISA opcode/insn changes.
25620         * manual/Makefile (appendices): Include platform.texi.
25621         * manual/contrib.texi (Contributors): Update @node pointers.
25622         * manual/maint.texi (Maintenance): Likewise.
25623         (Platform): New node.
25624         * manual/platform.texi: New file.  Document the new features.
25626 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25627             Jakub Jelinek  <jakub@redhat.com>
25629         [BZ #14188]
25630         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25631         where __builtin_expect is unavailable.
25633 2012-06-03  David S. Miller  <davem@davemloft.net>
25635         * stdlib/longlong.h: Updated from GCC.
25637 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
25639         [BZ #14042]
25640         * sysdeps/powerpc/powerpc32/mcount.c: New file.
25641         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25642         __mcount_internal.
25643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25644         (GLIBC_2.16): Likewise.
25646 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25648         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25650 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25653         (default-abi): New variable.
25654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25655         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25656         variable.
25657         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25658         Likewise.
25659         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25660         Likewise.
25661         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25662         Likewise.
25664         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25665         definition.  Document in comment.
25667 2012-06-01  David S. Miller  <davem@davemloft.net>
25669         * stdlib/longlong.h: Updated from GCC.
25671 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25673         [BZ #14117]
25674         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25675         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25676         sys/debugreg.h sys/io.h here.
25677         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25678         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25679         sys/io.h.
25680         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25681         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25682         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25683         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25684         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25685         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25687         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25688         Define only if __x86_64__ is defined.
25690 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25692         [BZ #14048]
25693         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25694         Use int64_t for variable i.
25695         * math/libm-test.inc (fmod_test): Add more tests.
25697         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25698         z computation is not scheduled after fetestexcept.
25699         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25700         Use math_force_eval instead of asm to ensure calculation scheduled
25701         before exception test.
25702         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25703         Ensure a1 + u.d computation is not scheduled after fetestexcept.
25705 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
25707         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25708         computation is not scheduled after fetestexcept.
25710 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25712         [BZ #14117]
25713         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25714         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25716 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25718         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25719         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25721 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25723         [BZ #14117]
25724         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25725         <bits/wordsize.h>.
25726         (__WCHAR_MIN): Support __WORDSIZE == 64.
25727         (__WCHAR_MAX): Likewise.
25729         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25730         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25732         [BZ #14183]
25733         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25734         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25736         [BZ #14117]
25737         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25738         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25740         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25741         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25743         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25744         Defined to 1 if __x86_64__ isn't defined.
25745         (_STAT_VER_LINUX_OLD): New.
25746         (st_atime): Remove duplicate.
25747         (st_mtime): Likewise.
25748         (st_ctime): Likewise.
25750 2012-05-31  David S. Miller  <davem@davemloft.net>
25752         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25753         entries.
25755 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
25757         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25758         gen-libm-test.pl.
25760         [BZ #14132]
25761         * elf/dl-reloc.c: Include <_itoa.h>.
25762         (_dl_reloc_bad_type): Remove use of INTUSE.
25763         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25764         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25765         * stdio-common/psiginfo.c (psiginfo): Likewise.
25766         * stdio-common/psignal.c (psignal): Likewise.
25767         * string/strsignal.c (strsignal): Likewise.
25768         * include/signal.h (_sys_siglist): Declare hidden proto.
25769         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
25770         INTVARDEF with libc_hidden_data_def.
25771         * stdio-common/itoa-udigits.c: Likewise.
25772         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25773         (_itoa_lower_digits_internal): Remove declaration.
25774         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25775         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25776         (_sys_sigabbrev_internal): Remove aliases.
25777         (_sys_siglist): Define hidden alias.
25779 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
25781         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25782         bits/sysctl.h.
25784 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25786         [BZ #14117]
25787         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25788         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25790         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25791         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25792         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25793         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25794         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25795         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25797         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25798         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25799         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25801         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25802         with __addr.
25803         (insw): Likewise.
25804         (insl): Likewise.
25805         (outsb): Likewise.
25806         (outsw): Likewise.
25807         (outsl): Likewise.
25809         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25810         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25811         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25813         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25814         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25815         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25816         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25817         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25818         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25820         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25821         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25823         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25824         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25826         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25827         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25828         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25830         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25831         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25832         to ...
25833         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25835         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25836         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25837         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25839         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25840         for x86-64.
25841         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25843 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
25845         * math/math.h (M_El): Use two more decimal places.
25846         (M_LOG2El): Likewise.
25847         (M_LOG10El): Likewise.
25848         (M_LN2l): Likewise.
25849         (M_LN10l): Likewise.
25850         (M_PIl): Likewise.
25851         (M_PI_2l): Likewise.
25852         (M_PI_4l): Likewise.
25853         (M_1_PIl): Likewise.
25854         (M_2_PIl): Likewise.
25855         (M_2_SQRTPIl): Likewise.
25856         (M_SQRT2l): Likewise.
25857         (M_SQRT1_2l): Likewise.
25859 2012-05-31  David S. Miller  <davem@davemloft.net>
25861         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25862         values between float registers.
25863         * sysdeps/sparc/sparc64/memset.S: Likewise.
25864         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25866 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
25868         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25869         -D_FORTIFY_SOURCE=1.
25870         (CPPFLAGS-tst-longjmp_chk.c): Define.
25871         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25872         (CPPFLAGS-tst-longjmp_chk2.c): Define.
25873         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25874         CFLAGS-tst-wchar-h.c.
25876 2012-05-31  Marek Polacek  <polacek@redhat.com>
25878         [BZ #14132]
25879         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25880         __endmntent_internal): Remove declaration.
25881         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25882         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25883         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25885 2012-05-30  David S. Miller  <davem@davemloft.net>
25887         * sysdeps/sparc/sparc32/soft-fp/q_util.c
25888         (___Q_simulate_exceptions): Use real FP ops rather than writing
25889         into the %fsr.
25890         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25891         Likewise.
25893 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25895         [BZ #14117]
25896         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25897         * sysdeps/x86/bits/xtitypes.h: This.
25899         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25900         * sysdeps/x86/bits/wordsize.h: This.
25902         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25903         * sysdeps/x86/bits/huge_vall.h: This.
25905         * sysdeps/i386/bits/select.h: Removed.
25906         * sysdeps/x86_64/bits/select.h: Renamed to ...
25907         * sysdeps/x86/bits/select.h: This.
25909         * sysdeps/i386/bits/setjmp.h: Removed.
25910         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25911         * sysdeps/x86/bits/setjmp.h: This.
25913         * sysdeps/i386/bits/mathdef.h: Removed.
25914         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25915         * sysdeps/x86/bits/mathdef.h: This.
25917 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
25919         [BZ #14132]
25920         * include/sys/socket.h (__connect_internal)
25921         (__libc_sa_len_internal): Remove declaration.
25922         (__connect, __libc_sa_len): Declare hidden_proto.
25923         (SA_LEN): Remove use of INTUSE.
25924         * socket/connect.c: Add libc_hidden_def.
25925         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25926         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25927         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25928         alias.
25929         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25930         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25931         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25932         of adding _internal alias.
25934 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25936         [BZ #14117]
25937         * sysdeps/i386/bits/link.h: Removed.
25938         * sysdeps/i386/bits/linkmap.h: Likewise.
25939         * sysdeps/x86_64/bits/link.h: Renamed to ...
25940         * sysdeps/x86/bits/link.h: This.
25941         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25942         * sysdeps/x86/bits/linkmap.h: This.
25944         * sysdeps/i386/bits/endian.h: Removed.
25945         * sysdeps/x86_64/bits/endian.h: Renamed to ...
25946         * sysdeps/x86/bits/endian.h: This.
25948         * sysdeps/i386/bits/byteswap.h: Removed.
25949         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25950         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25951         * sysdeps/x86/bits/byteswap.h: This.
25952         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25953         * sysdeps/x86/bits/byteswap-16.h: This.
25954         * sysdeps/i386/Implies: Add x86.
25955         * sysdeps/x86_64/Implies: Likewise.
25957 2012-05-30  David S. Miller  <davem@davemloft.net>
25959         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25960         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25961         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25962         (FP_TRAPPING_EXCEPTIONS): Define.
25963         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25964         (FP_TRAPPING_EXCEPTIONS): Define.
25965         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
25966         subnormals only when inexact has been signalled or underflow
25967         exceptions are enabled.
25968         (_FP_PACK_CANONICAL): Likewise.
25970 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25972         [BZ #14183]
25973         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
25974         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
25976 2012-05-30  Richard Henderson  <rth@twiddle.net>
25978         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
25979         with #ifndef NOT_IN_libc.
25981         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
25982         marked to avoid plt entry.
25984 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25986         [BZ #14112]
25987         * Makeconfig (default-abi): New macro.
25988         (abi-includes): Likewise.
25989         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
25990         $(abi-$(default-abi)-lib-soname) for soname if defined.
25991         ($(common-objpfx)gnu/lib-names.stmp): Generate from
25992         abi-variants.
25993         * Makefile (installed-stubs): Likewise.
25994         * include/stubs-biarch.h: Removed.
25995         * scripts/lib-names.awk: Only handle one library at a time.
25996         * scripts/soversions.awk: Remove WORDSIZE support.
25997         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
25998         entries.
25999         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26000         Removed.
26001         (syscall-list-default-condition): Likewise.
26002         (syscall-list-default-condition): Likewise.
26003         (syscall-list-includes): Likewise.
26004         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26005         syscall-list-* with abi-*.  Handle undefined abi-variants.
26006         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26007         * sysdeps/unix/sysv/linux/i386/Implies: New file.
26008         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26009         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26010         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26011         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26012         Removed.
26013         (syscall-list-32-options): Likewise.
26014         (syscall-list-32-condition): Likewise.
26015         (syscall-list-64-options): Likewise.
26016         (syscall-list-64-condition): Likewise.
26017         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26018         macro.
26019         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26020         Renamed to ...
26021         (abi-*): This.
26022         (abi-64-ld-soname): New macro.
26023         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26024         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26025         Renamed to ...
26026         (abi-*): This.
26027         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26028         * sysdeps/x86_64/x32/shlib-versions: Likewise.
26030 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
26032         * sysdeps/unix/sysv/linux/kernel-features.h
26033         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26034         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26035         include <kernel-features.h>.
26036         [!__NR_ftruncate64]: Remove conditional code.
26037         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26038         [__NR_ftruncate64]: Make code unconditional.
26039         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26040         * sysdeps/unix/sysv/linux/truncate64.c: Do not
26041         include <kernel-features.h>.
26042         [!__NR_ftruncate64]: Remove conditional code.
26043         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26044         [__NR_ftruncate64]: Make code unconditional.
26045         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26047         include <kernel-features.h>.
26048         [!__NR_ftruncate64]: Remove conditional code.
26049         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26050         [__NR_ftruncate64]: Make code unconditional.
26051         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26053         include <kernel-features.h>.
26054         [!__NR_ftruncate64]: Remove conditional code.
26055         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26056         [__NR_ftruncate64]: Make code unconditional.
26057         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26059         * configure.in (libc_cv_fpie): Weaken to a compile test using
26060         LIBC_TRY_CC_OPTION.
26061         * configure: Regenerated.
26063 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26069         Refreshed.
26070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26076         Refreshed.
26078 2012-05-27  David S. Miller  <davem@davemloft.net>
26080         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26081         (___Q_zero): New.
26082         (__Q_simulate_exceptions): Return void.  Change to simulate
26083         exceptions by writing into the %fsr.
26084         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26085         (__Qp_handle_exceptions): Likewise.
26086         (numbers): Delete.
26087         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26088         __Qp_handle_exceptions.
26089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26090         __Qp_handle_exceptions.
26091         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26092         as unused and give dummy FP_RND_NEAREST initializer.
26093         (FP_INHIBIT_RESULTS): Define.
26094         (___Q_simulate_exceptions): Update declaration.
26095         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26096         formatting.
26097         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26098         as unused and give dummy FP_RND_NEAREST initializer.
26099         (__Qp_handle_exceptions): Update declaration.
26100         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26101         formatting.
26103 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
26105         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26106         the temporary FPU control word.
26107         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26108         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26109         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26110         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26111         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26112         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26113         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26114         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26115         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26116         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26117         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26119 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26121         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26122         fields.
26124 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
26126         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26127         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26128         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26129         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26130         Likewise.
26131         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26132         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26133         Likewise.
26135 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
26137         * po/h.po: Update from translation team.
26139 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
26141         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26143         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26144         handling of denormals.
26145         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26146         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26147         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26148         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26149         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26150         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26152         Likewise.
26154 2012-05-26  Marek Polacek  <polacek@redhat.com>
26156         [BZ #14152]
26157         * math/libm-test.inc (fma_test): Don't always expect underflow
26158         exception.
26160 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26162         [BZ #12416]
26163         * elf/tst-execstack.c: Include stackinfo.h.
26164         (do_test): Adjust test case to ensure that pthread_getattr_np
26165         behaviour remains the same after marking stack executable.
26167 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26169         * sysdeps/unix/sysv/linux/kernel-features.h
26170         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26171         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26172         kernel-features.h.
26173         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26174         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26175         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26176         kernel-features.h.
26177         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26178         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26180 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
26182         * configure.in: Define the default includes to being none.
26183         * configure: Regenerated.
26185 2012-05-25  Roland McGrath  <roland@hack.frob.com>
26187         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26188         * sysdeps/x86_64/setjmp.S: Likewise.
26189         * sysdeps/i386/bsd-setjmp.S: Likewise.
26190         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26191         * sysdeps/i386/setjmp.S: Likewise.
26192         * sysdeps/i386/__longjmp.S: Likewise.
26193         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26194         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26196         * include/stap-probe.h: New file.
26197         * configure.in: Handle --enable-systemtap.
26198         * configure: Regenerated.
26199         * config.h.in (USE_STAP_PROBE): New #undef.
26200         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26201         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26202         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26204 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26206         [BZ #13717]
26207         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26208         to 2.4.0 where earlier.
26209         * sysdeps/unix/sysv/linux/configure: Regenerated.
26210         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26211         <kernel-features.h>.
26212         [__ASSUME_32BITUIDS]: Make code unconditional.
26213         [!__ASSUME_32BITUIDS]: Remove conditional code.
26214         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26215         <kernel-features.h>.
26216         [__ASSUME_32BITUIDS]: Make code unconditional.
26217         [!__ASSUME_32BITUIDS]: Remove conditional code.
26218         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26219         [__ASSUME_32BITUIDS]: Make code unconditional.
26220         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26221         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26222         <kernel-features.h>.
26223         [__ASSUME_32BITUIDS]: Make code unconditional.
26224         [!__ASSUME_32BITUIDS]: Remove conditional code.
26225         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26226         <kernel-features.h>.
26227         [__ASSUME_32BITUIDS]: Make code unconditional.
26228         [!__ASSUME_32BITUIDS]: Remove conditional code.
26229         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26230         <kernel-features.h>.
26231         [__ASSUME_32BITUIDS]: Make code unconditional.
26232         [!__ASSUME_32BITUIDS]: Remove conditional code.
26233         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26234         <kernel-features.h>.
26235         [__ASSUME_32BITUIDS]: Make code unconditional.
26236         [!__ASSUME_32BITUIDS]: Remove conditional code.
26237         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26238         <kernel-features.h>.
26239         [__ASSUME_32BITUIDS]: Make code unconditional.
26240         [!__ASSUME_32BITUIDS]: Remove conditional code.
26241         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26242         <kernel-features.h>.
26243         [__ASSUME_32BITUIDS]: Make code unconditional.
26244         [!__ASSUME_32BITUIDS]: Remove conditional code.
26245         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26246         <kernel-features.h>.
26247         [__ASSUME_32BITUIDS]: Make code unconditional.
26248         [!__ASSUME_32BITUIDS]: Remove conditional code.
26249         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26250         <kernel-features.h>.
26251         [__ASSUME_32BITUIDS]: Make code unconditional.
26252         [!__ASSUME_32BITUIDS]: Remove conditional code.
26253         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26254         <kernel-features.h>.
26255         [__ASSUME_32BITUIDS]: Make code unconditional.
26256         [!__ASSUME_32BITUIDS]: Remove conditional code.
26257         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26258         <kernel-features.h>.
26259         [__ASSUME_32BITUIDS]: Make code unconditional.
26260         [!__ASSUME_32BITUIDS]: Remove conditional code.
26261         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26262         <kernel-features.h>.
26263         [__NR_setresgid] (__setresgid): Do not declare.
26264         [__ASSUME_32BITUIDS]: Make code unconditional.
26265         [!__ASSUME_32BITUIDS]: Remove conditional code.
26266         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26267         <kernel-features.h>.
26268         [__NR_setresuid] (__setresuid): Do not declare.
26269         [__ASSUME_32BITUIDS]: Make code unconditional.
26270         [!__ASSUME_32BITUIDS]: Remove conditional code.
26271         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26272         <kernel-features.h>.
26273         [__ASSUME_32BITUIDS]: Make code unconditional.
26274         [!__ASSUME_32BITUIDS]: Remove conditional code.
26275         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26276         <kernel-features.h>.
26277         [__ASSUME_32BITUIDS]: Make code unconditional.
26278         [!__ASSUME_32BITUIDS]: Remove conditional code.
26279         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26280         <kernel-features.h>.
26281         [__ASSUME_32BITUIDS]: Make code unconditional.
26282         [!__ASSUME_32BITUIDS]: Remove conditional code.
26283         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26284         <kernel-features.h>.
26285         [__ASSUME_32BITUIDS]: Make code unconditional.
26286         [!__ASSUME_32BITUIDS]: Remove conditional code.
26287         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26288         <kernel-features.h>.
26289         [__ASSUME_32BITUIDS]: Make code unconditional.
26290         [!__ASSUME_32BITUIDS]: Remove conditional code.
26291         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26292         <kernel-features.h>.
26293         [__ASSUME_32BITUIDS]: Make code unconditional.
26294         [!__ASSUME_32BITUIDS]: Remove conditional code.
26295         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26296         <kernel-features.h>.
26297         [__ASSUME_32BITUIDS]: Make code unconditional.
26298         [!__ASSUME_32BITUIDS]: Remove conditional code.
26299         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26300         <kernel-features.h>.
26301         [__ASSUME_32BITUIDS]: Make code unconditional.
26302         [!__ASSUME_32BITUIDS]: Remove conditional code.
26303         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26304         <kernel-features.h>.
26305         [__ASSUME_32BITUIDS]: Make code unconditional.
26306         [!__ASSUME_32BITUIDS]: Remove conditional code.
26307         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26308         <kernel-features.h>.
26309         [__ASSUME_32BITUIDS]: Make code unconditional.
26310         [!__ASSUME_32BITUIDS]: Remove conditional code.
26311         * sysdeps/unix/sysv/linux/kernel-features.h
26312         (__ASSUME_SETRESUID_SYSCALL): Remove.
26313         (__ASSUME_SETRESGID_SYSCALL): Likewise.
26314         (__ASSUME_32BITUIDS): Likewise.
26315         (__ASSUME_LDT_WORKS): Likewise.
26316         (__ASSUME_O_DIRECTORY): Likewise.
26317         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26318         architecture but not kernel version.
26319         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26320         (__ASSUME_MMAP2_SYSCALL): Likewise.
26321         (__ASSUME_STAT64_SYSCALL): Likewise.
26322         (__ASSUME_IPC64): Likewise.
26323         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26324         <kernel-features.h>.
26325         [__ASSUME_32BITUIDS]: Make code unconditional.
26326         [!__ASSUME_32BITUIDS]: Remove conditional code.
26327         * sysdeps/unix/sysv/linux/opendir.c: Do not include
26328         <kernel-features.h>.
26329         [__ASSUME_O_DIRECTORY]: Make code unconditional.
26330         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26331         132096]: Remove conditional code.
26332         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26333         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26334         <kernel-features.h>.
26335         [__ASSUME_32BITUIDS]: Make code unconditional.
26336         [!__ASSUME_32BITUIDS]: Remove conditional code.
26337         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26338         <kernel-features.h>.
26339         [__ASSUME_32BITUIDS]: Make code unconditional.
26340         [!__ASSUME_32BITUIDS]: Remove conditional code.
26341         * sysdeps/unix/sysv/linux/setegid.c: Do not include
26342         <kernel-features.h>.
26343         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26344         unconditional.
26345         (__setresgid): Do not declare.
26346         [__ASSUME_32BITUIDS]: Make code unconditional.
26347         [!__ASSUME_32BITUIDS]: Remove conditional code.
26348         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26349         <kernel-features.h>.
26350         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26351         unconditional.
26352         (__setresuid): Do not declare.
26353         [__ASSUME_32BITUIDS]: Make code unconditional.
26354         [!__ASSUME_32BITUIDS]: Remove conditional code.
26355         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26356         <kernel-features.h>.
26357         [__ASSUME_32BITUIDS]: Make code unconditional.
26358         [!__ASSUME_32BITUIDS]: Remove conditional code.
26359         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26360         <kernel-features.h>.
26361         [__ASSUME_32BITUIDS]: Make code unconditional.
26362         [!__ASSUME_32BITUIDS]: Remove conditional code.
26364 2012-05-25  Richard Henderson  <rth@twiddle.net>
26366         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26367         dl_hwcap to ifunc resolver.
26368         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26369         elf_ifunc_invoke.
26370         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26371         dl_hwcap to ifunc resolver.
26372         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26374 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26376         [BZ #14153]
26377         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26378         for |x| <= 2**-26, not 2**-57.
26379         * math/libm-test.inc (acos_test): Do not allow spurious underflow
26380         exception.
26382 2012-05-24  Jeff Law  <law@redhat.com>
26384         * stdio-common/Makefile (tests): Add bug25.
26385         * stdio-common/bug25.c: New test.
26387 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26389         [BZ #13576]
26390         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26391         multiple of MALLOC_ALIGNMENT in size.
26392         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26394 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26396         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26397         Require >= 256.
26398         (FILENAME_MAX): Use macro-int-constant.
26399         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
26400         (_IOFBF): Use macro-int-constant.
26401         (_IOLBF): Likewise.
26402         (_IONBF): Likewise.
26403         (SEEK_CUR): Likewise.
26404         (SEEK_END): Likewise.
26405         (SEEK_SET): Likewise.
26406         (TMP_MAX): Likewise.
26407         (EOF): Use macro-int-constant.  Require < 0.
26408         (NULL): Use macro-constant.  Require == 0.
26409         (stdin): Require type to be FILE *.
26410         (stdout): Likewise.
26411         (stderr): Likewise.
26412         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26413         macro-int-constant.
26414         (EXIT_SUCCESS): Likewise.
26415         (NULL): Use macro-constant.  Require == 0.
26416         (RAND_MAX): Use macro-int-constant.
26417         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26418         [C99-based standards] (strtof): Require function.
26419         [C99-based standards] (strtold): Likewise.
26420         [C99-based standards] (strtoll): Likewise.
26421         [C99-based standards] (strtoull): Likewise.
26422         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26423         [ISO || ISO99 || ISO11] (limits.h): Likewise.
26424         [ISO || ISO99 || ISO11] (math.h): Likewise.
26425         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26426         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26427         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26429 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
26431         [BZ #14132]
26432         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26433         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26434         * intl/dgettext.c (DCGETTEXT): Likewise.
26435         * intl/gettext.c (DCGETTEXT): Likewise.
26436         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26437         * posix/regex_internal.h (gettext): Likewise.
26438         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26439         Remove declaration.
26440         * include/argz.h (__argz_count_internal)
26441         (__argz_stringify_internal): Remove declaration.
26442         (__argz_count, __argz_stringify): Declare hidden proto.
26443         * intl/dcgettext.c: Remove use of INTDEF.
26444         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26445         * string/argz-stringify.c: Likewise.
26446         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26447         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26448         Declare hidden proto.
26449         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26450         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26451         Declare hidden proto.
26452         * include/stdio.h (__asprintf_internal): Don't declare.
26453         (__asprintf): Don't define as macro.  Declare hidden proto.
26454         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26455         (__fsetlocking): Declare hidden proto.
26456         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26457         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26458         hidden proto.
26459         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26460         (_IO_setlinebuf): Remove use of INTUSE.
26461         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26462         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26463         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26464         Remove declaration.
26465         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26466         (_IO_do_flush): Remove use of INTUSE.
26467         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26468         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26469         (_IO_adjust_column, _IO_least_wmarker)
26470         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26471         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26472         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26473         (_IO_default_doallocate, _IO_wdefault_doallocate)
26474         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26475         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26476         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26477         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26478         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26479         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26480         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26481         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26482         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26483         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26484         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26485         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26486         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26487         proto.
26488         (_IO_flush_all_internal, _IO_adjust_column_internal)
26489         (_IO_default_uflow_internal, _IO_default_finish_internal)
26490         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26491         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26492         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26493         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26494         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26495         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26496         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26497         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26498         (_IO_file_close_internal, _IO_file_close_it_internal)
26499         (_IO_file_underflow_internal, _IO_file_overflow_internal)
26500         (_IO_file_init_internal, _IO_file_attach_internal)
26501         (_IO_file_fopen_internal, _IO_file_read_internal)
26502         (_IO_file_sync_internal, _IO_file_seek_internal)
26503         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26504         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26505         (_IO_str_underflow_internal, _IO_str_overflow_internal)
26506         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26507         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26508         (_IO_list_all_internal, _IO_link_in_internal)
26509         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26510         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26511         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26512         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26513         (_IO_do_write_internal, _IO_padn_internal)
26514         (_IO_getline_info_internal, _IO_getline_internal)
26515         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26516         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26517         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26518         (_IO_vfscanf_internal, _IO_vfprintf_internal)
26519         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26520         (_IO_init_internal, _IO_un_link_internal): Don't declare.
26521         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26522         with libc_hidden_ver, remove use of INTUSE.
26523         * libio/genops.c: Likewise.
26524         * libio/freopen.c: Likewise.
26525         * libio/freopen64.c: Likewise.
26526         * libio/iofclose.c: Likewise.
26527         * libio/iofdopen.c: Likewise.
26528         * libio/iofflush.c: Likewise.
26529         * libio/iofflush_u.c: Likewise.
26530         * libio/iofgets.c: Likewise.
26531         * libio/iofgets_u.c: Likewise.
26532         * libio/iofopen.c: Likewise.
26533         * libio/iofopncook.c: Likewise.
26534         * libio/iofread.c: Likewise.
26535         * libio/iofread_u.c: Likewise.
26536         * libio/ioftell.c: Likewise.
26537         * libio/iofwrite.c: Likewise.
26538         * libio/iogetline.c: Likewise.
26539         * libio/iogets.c: Likewise.
26540         * libio/iogetwline.c: Likewise.
26541         * libio/iopadn.c: Likewise.
26542         * libio/iopopen.c: Likewise.
26543         * libio/ioseekoff.c: Likewise.
26544         * libio/ioseekpos.c: Likewise.
26545         * libio/iosetbuffer.c: Likewise.
26546         * libio/iosetvbuf.c: Likewise.
26547         * libio/ioungetc.c: Likewise.
26548         * libio/ioungetwc.c: Likewise.
26549         * libio/iovdprintf.c: Likewise.
26550         * libio/iovsprintf.c: Likewise.
26551         * libio/iovsscanf.c: Likewise.
26552         * libio/memstream.c: Likewise.
26553         * libio/obprintf.c: Likewise.
26554         * libio/oldfileops.c: Likewise.
26555         * libio/oldiofclose.c: Likewise.
26556         * libio/oldiofdopen.c: Likewise.
26557         * libio/oldiofopen.c: Likewise.
26558         * libio/oldiopopen.c: Likewise.
26559         * libio/oldstdfiles.c: Likewise.
26560         * libio/putc.c: Likewise.
26561         * libio/setbuf.c: Likewise.
26562         * libio/setlinebuf.c: Likewise.
26563         * libio/stdfiles.c: Likewise.
26564         * libio/strops.c: Likewise.
26565         * libio/vasprintf.c: Likewise.
26566         * libio/vscanf.c: Likewise.
26567         * libio/vsnprintf.c: Likewise.
26568         * libio/vswprintf.c: Likewise.
26569         * libio/wfiledoalloc.c: Likewise.
26570         * libio/wfileops.c: Likewise.
26571         * libio/wgenops.c: Likewise.
26572         * libio/wmemstream.c: Likewise.
26573         * libio/wstrops.c: Likewise.
26574         * libio/__fpurge.c: Likewise.
26575         * libio/__fsetlocking.c: Likewise.
26576         * assert/assert.c: Likewise.
26577         * debug/fgets_chk.c: Likewise.
26578         * debug/fgets_u_chk.c: Likewise.
26579         * debug/fread_chk.c: Likewise.
26580         * debug/fread_u_chk.c: Likewise.
26581         * debug/gets_chk.c: Likewise.
26582         * debug/obprintf_chk.c: Likewise.
26583         * debug/vasprintf_chk.c: Likewise.
26584         * debug/vdprintf_chk.c: Likewise.
26585         * debug/vsnprintf_chk.c: Likewise.
26586         * debug/vsprintf_chk.c: Likewise.
26587         * malloc/mtrace.c: Likewise.
26588         * misc/error.c: Likewise.
26589         * misc/syslog.c: Likewise.
26590         * stdio-common/asprintf.c: Likewise.
26591         * stdio-common/fxprintf.c: Likewise.
26592         * stdio-common/getw.c: Likewise.
26593         * stdio-common/isoc99_fscanf.c: Likewise.
26594         * stdio-common/isoc99_scanf.c: Likewise.
26595         * stdio-common/isoc99_vfscanf.c: Likewise.
26596         * stdio-common/isoc99_vscanf.c: Likewise.
26597         * stdio-common/isoc99_vsscanf.c: Likewise.
26598         * stdio-common/printf-prs.c: Likewise.
26599         * stdio-common/printf_fp.c: Likewise.
26600         * stdio-common/printf_fphex.c: Likewise.
26601         * stdio-common/printf_size.c: Likewise.
26602         * stdio-common/putw.c: Likewise.
26603         * stdio-common/scanf.c: Likewise.
26604         * stdio-common/sprintf.c: Likewise.
26605         * stdio-common/tmpfile.c: Likewise.
26606         * stdio-common/vfprintf.c: Likewise.
26607         * stdio-common/vfscanf.c: Likewise.
26608         * stdlib/strfmon_l.c: Likewise.
26609         * sunrpc/openchild.c: Likewise.
26610         * sunrpc/xdr_stdio.c: Likewise.
26611         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26612         * sysdeps/mach/hurd/tmpfile.c: Likewise.
26614 2012-05-24  Roland McGrath  <roland@hack.frob.com>
26616         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26618         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26619         in the third column, to generate for the shared library an IFUNC
26620         that uses _dl_vdso_vsym.
26621         * Makerules (COMPILE.c, compile-stdin.c): New variables.
26622         * Makeconfig (object-suffixes-noshared): New variable.
26624         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26625         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26626         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26627         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26629         [BZ #14132]
26630         * include/sys/time.h (__gettimeofday): Remove macro.
26631         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26632         * time/gettimeofday.c (__gettimeofday): Remove #undef.
26633         Remove INTDEF.
26634         (__gettimeofday): Add libc_hidden_def.
26635         (gettimeofday): Add libc_hidden_weak.
26636         * sysdeps/mach/gettimeofday.c: Likewise.
26637         * sysdeps/posix/gettimeofday.c: Likewise.
26638         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26639         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26640         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26641         (__gettimeofday_internal): Remove strong_alias.
26642         (__gettimeofday): Add libc_hidden_def.
26643         (gettimeofday): Add libc_hidden_weak.
26644         * sysdeps/unix/syscalls.list (gettimeofday):
26645         Remove __gettimeofday_internal alias.
26647 2012-05-24  Daniel Jacobowitz  <drow@false.org>
26648             H.J. Lu  <hongjiu.lu@intel.com>
26650         [BZ #12495]
26651         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26652         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26653         (largebin_index_32_big): New.
26654         (largebin_index): Use it for 16-byte alignment.
26655         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
26656         correction with front_misalign.
26658 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26662         Likewise.
26663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26664         Likewise.
26665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26666         Likewise.
26667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26668         Likewise.
26669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26670         Likewise.
26671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26672         Likewise.
26673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26674         Likewise.
26675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26676         Likewise.
26677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26678         Likewise.
26679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26680         Likewise.
26681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26682         Likewise.
26683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26684         Likewise.
26686         * scripts/data/c++-types-x32-linux-gnu.data: New file.
26687         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26689 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26691         [BZ #10846]
26692         [BZ #14036]
26693         * math/libm-test.inc (exp_test): Add test from bug 14036.
26694         (pow_test): Add test from bug 10846.
26696         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26697         and other flags.
26698         (special_function): Do not include flags in test name.
26699         (parse_args): Likewise.
26700         * sysdeps/i386/fpu/libm-test-ulps: Update.
26701         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26702         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26703         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26706         * math/gen-libm-test.pl (%beautify): Add entries for underflow
26707         exceptions.
26708         * math/libm-test.inc ("Philosophy"): Update comment about
26709         exception testing.
26710         (UNDERFLOW_EXCEPTION): New macro.
26711         (UNDERFLOW_EXCEPTION_OK): Likewise.
26712         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26713         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26714         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26715         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26716         (INVALID_EXCEPTION_OK): Update value.
26717         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26718         (OVERFLOW_EXCEPTION_OK): Likewise.
26719         (IGNORE_ZERO_INF_SIGN): Likewise.
26720         (test_exceptions): Handle underflow exceptions.
26721         (acos_test): Update for underflow exception expectations.
26722         (cexp_test): Likewise.
26723         (clog_test): Likewise.
26724         (clog10_test): Likewise.
26725         (csqrt_test): Likewise.
26726         (ctan_test): Likewise.
26727         (ctanh_test): Likewise.
26728         (exp_test): Likewise.
26729         (exp10_test): Likewise.
26730         (exp2_test): Likewise.
26731         (expm1_test): Likewise.
26732         (fma_test): Likewise.
26733         (j0_test): Likewise.
26734         (jn_test): Likewise.
26735         (nexttoward_test): Likewise.
26736         (pow_test): Likewise.
26737         (scalbn_test): Likewise.
26738         (scalbln_test): Likewise.
26739         (tan_test): Likewise.
26740         (y1_test): Likewise.
26741         * sysdeps/i386/fpu/libm-test-ulps: Update.
26742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26744 2012-05-23  David S. Miller  <davem@davemloft.net>
26746         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26747         (__libc_sigaction): Remove unused local variables.
26749 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26751         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26753 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
26755         mktime: avoid signed integer overflow
26756         * time/mktime.c (__mktime_internal): Do not mishandle the case
26757         where diff == INT_MIN.
26759         mktime: simplify computation of average
26760         * time/mktime.c (ranged_convert): Use new time_t_avg function
26761         instead of rolling our own (probably-slower) code.
26763         mktime: do not assume signed right shift propagates sign bit
26764         * time/mktime.c (isdst_differ): New static function.
26765         (__mktime_internal): No need to normalize tm_isdst now.
26766         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26767         tm_isdst values.
26769         mktime: merge another wrapv change from gnulib
26770         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26771         from some compilers.
26773         mktime: remove incorrect attempt at unusual arithmetics
26774         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26775         The code didn't really work on such machines anyway.
26776         (TYPE_MINIMUM): Assume two's complement.
26777         (twos_complement_arithmetic): Verify that long_int and time_t
26778         are two's complement (or unsigned, in the latter case).
26780         mktime: check signed shifts on long_int and time_t, too
26781         * time/mktime.c (SHR): Check that shifts work as desired
26782         on the types long_int and time_t too, as SHR is used on
26783         such types.
26785         mktime: do not assume 'long' is wide enough
26786         * time/mktime.c (verify): Move decl up.
26787         (long_int): New type.
26788         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26789         to remove assumption in the code that 'long' is wide enough to
26790         store year values.  This assumption is not true on x32 and on
26791         some non-glibc platforms.
26793         mktime: merge wrapv change from gnulib
26794         * time/mktime.c (WRAPV): New macro.
26795         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26796         (guess_time_tm, __mktime_internal): Do not assume that signed
26797         integer overflow wraps around; modern compilers generate code
26798         where this assumption is no longer valid.
26800 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26802         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26803         Replace "jmp L(pseudo_end)" with "ret".
26804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26805         Likewise.
26807 2012-05-23  Andreas Jaeger  <aj@suse.de>
26809         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26810         * sysdeps/unix/sysv/linux/poll.c: Remove file.
26812 2012-05-23  Andreas Jaeger  <aj@suse.de>
26813             Maximilian Attems  <max@stro.at>
26815         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26816         New macros.
26818 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26820         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26821         code so that pseudo_end is just ret and the stack pointer is
26822         correct also for static library in error case.
26824 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
26826         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26827         move to syscalls.list.
26828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26833         * manual/install.texi (Running make install): Do not mention Linux
26834         kernel version for which pt_chown is not needed.
26835         (Linux): Do not mention problems with nscd with 2.0 kernels.
26836         * INSTALL: Regenerated.
26838 2012-05-23  Andreas Jaeger  <aj@suse.de>
26840         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26841         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26842         macro.
26843         * sysdeps/unix/sysv/linux/s390/bits/mman.h
26844         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26845         * sysdeps/unix/sysv/linux/sh/bits/mman.h
26846         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26847         * sysdeps/unix/sysv/linux/i386/bits/mman.h
26848         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26849         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26850         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26851         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26852         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26853         * sysdeps/unix/sysv/linux/bits/in.h
26854         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26856 2012-05-22  Roland McGrath  <roland@hack.frob.com>
26858         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26859         (PREPARE_VERSION): Just use assert instead, it will be elided
26860         under [NDEBUG] anyway.
26862 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26864         * sysdeps/unix/sysv/linux/Makefile: Include
26865         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26866         (sysdep_routines): Remove sysctl.
26867         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26868         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26869         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26870         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26871         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26873 2012-05-22  Andreas Jaeger  <aj@suse.de>
26875         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26876         that pseudo_end is just ret and the stack pointer is correct also
26877         for static library in error case.
26879 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26881         [BZ #14122]
26882         * nss/nsswitch.c (defconfig_entries): New variable.
26883         (__nss_database_lookup): Don't leak defconfig entries.
26884         (nss_parse_service_list): Don't leak on error paths.
26885         (free_database_entries): New function.
26886         (free_defconfig): New function.
26887         (free_mem): Move common code to free_database_entries.
26889 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26891         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26892         Add arch_prctl.
26893         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26895         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26896         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26897         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26898         New macro.
26899         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26900         (INTERNAL_SYSCALL_TYPES): Likewise.
26901         (LOAD_ARGS_TYPES_[1-6]): Likewise.
26902         (LOAD_REGS_TYPES_[1-6]): Likewise.
26903         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26904         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26906 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26908         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26909         copysignl for GLIBC_2_0.
26910         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26911         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26912         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26913         logbl for GLIBC_2_0.
26914         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26915         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26917 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26919         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26920         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26922         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26923         Use "neg %eax".
26925         * time/mktime.c: Update copyright years.
26927 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26929         mktime: merge comment-quoting-style change from gnulib
26930         * time/mktime.c: Quote 'like this' in comments.
26931         The GNU coding standards suggest that we no longer quote `like this',
26932         as "`" and "'" are typically rendered asymmetrically nowadays.
26933         The typical gnulib style is to quote 'like this' when quoting
26934         code, and "like this" when quoting English.
26936         * time/mktime.c (compile-command): Add "-I.".
26938         mktime: merge mktime-internal.h change from gnulib
26939         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26941         mktime: merge time_r change from gnulib
26942         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26944         mktime: merge DEBUG change from gnulib
26945         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26946         case system <time.h> has a #define.
26948         mktime: merge <sys/types.h> change from gnulib
26949         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26950         since <time.t> is now guaranteed to define time_t.
26952         mktime: merge HAVE_CONFIG_H change from gnulib
26953         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26955 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26958         Use "neg %eax".
26960         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26961         __rlim_t cast.
26962         (struct rusage): Use anonymous union to pad each field to
26963         __syscall_slong_t.
26965 2012-05-21  David S. Miller  <davem@davemloft.net>
26967         * Makefules (o-iterator): Remove .s cases.
26968         (compile-command.s): Delete.
26969         (COMPILE.s): Delete.
26970         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26972 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
26974         * configure.in (libc_cv_predef_stack_protector): Only consider
26975         "foobar" and "__stack_chk_fail" lines in libc_undefs.
26976         * configure: Regenerated.
26978 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26981         New macro.  Use R*LP on int and pointer.
26982         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
26983         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
26984         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
26985         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
26987         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
26988         [__WORDSIZE_TIME64_COMPAT32] instead of
26989         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
26990         (struct utmp): Likewise.
26991         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
26992         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
26993         Renamed to ...
26994         (__WORDSIZE_TIME64_COMPAT32): This.
26995         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
26996         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
26997         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
26998         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
26999         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27000         (__WORDSIZE_TIME64_COMPAT32): New macro.
27002 2012-05-21  Andreas Jaeger  <aj@suse.de>
27004         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27005         only if [SHARED]. Add prototype for __wcschr_ia32.
27007 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27009         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27010         of %rbp unmolested in the jmp_buf while mangling the low bits.
27011         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27012         unmolested high bits of %rbp while demangling the low bits.
27013         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27015 2012-05-21  Andreas Jaeger  <aj@suse.de>
27017         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27018         * sunrpc/svc_simple.c: Use it for registerrpc.
27019         * sunrpc/xcrypt.c: Use it for passwd2des.
27021         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27023 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27025         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27026         Don't define if [__SYSCALL_WORDSIZE != 32].
27027         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27028         New macro.
27030 2012-05-21  Bruno Haible  <bruno@clisp.org>
27031             Andreas Jaeger  <aj@suse.de>
27033         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27034         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27035         inptr and inend for must_buffer_ch.
27036         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27037         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27038         * stdio-common/Makefile (tests): Remove bug15.
27039         (bug15-ENV): Remove macro.
27040         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27041         anymore.
27043 2012-05-19  Andreas Jaeger  <aj@suse.de>
27044             Roland McGrath  <roland@hack.frob.com>
27046         * manual/contrib.texi: Completely rewritten. It contains now an
27047         alphabetical list of contributors and their contributions.
27049 2012-05-21  Richard Henderson  <rth@twiddle.net>
27051         * misc/getauxval.c (__getauxval): Use unsigned long int.
27052         * misc/sys/auxv.h: Include <sys/cdefs.h>.
27053         (getauxval): Use unsigned long int.
27055 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27057         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27059 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27061         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27062         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27063         __alignof__ (long double).
27065 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27069 2012-05-20  Richard Henderson  <rth@twiddle.net>
27071         * misc/getauxval.c: New file.
27072         * misc/sys/auxv.h: New file.
27073         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27074         (routines): Add getauxval.
27075         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27076         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27077         * elf/dl-sysdep.c (_dl_auxv): Remove.
27078         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27079         * elf/dl-support.c (_dl_auxv): New variable.
27080         (_dl_aux_init): Initialize it.
27081         * manual/startup.texi (Auxiliary Vector): New node.
27082         * sysdeps/generic/bits/hwcap.h: New file.
27083         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27084         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
27085         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27086         * sysdeps/sparc/sysdep.h: ... here.  Include it.
27087         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27088         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27090         Update.
27091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27094         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27100 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27104 2012-05-19  David S. Miller  <davem@davemloft.net>
27106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27108 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27110         [BZ #14123]
27111         * math/s_ccosh.c: Include <float.h>
27112         (__ccosh): Avoid internal overflow calculating sinh and cosh
27113         values before multiplying by sin and cos values.
27114         * math/s_ccoshf.c: Likewise.
27115         * math/s_ccoshl.c: Likewise.
27116         * math/s_csin.c: Likewise.
27117         * math/s_csinf.c: Likewise.
27118         * math/s_csinl.c: Likewise.
27119         * math/s_csinh.c: Likewise.
27120         * math/s_csinhf.c: Likewise.
27121         * math/s_csinhl.c: Likewise.
27122         * math/libm-test.inc (ccos_test): Add more tests.
27123         (ccosh_test): Likewise.
27124         (csin_test): Likewise.
27125         (csinh_test): Likewise.
27126         * sysdeps/i386/fpu/libm-test-ulps: Update.
27127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27129 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
27131         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27132         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27134         * sysdeps/x86_64/x32/_itoa.h: Add comment.
27136 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27138         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27139         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27140         * sysdeps/powerpc/soft-fp/Versions: Likewise.
27141         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27142         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27143         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27144         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27145         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27146         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27147         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27148         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27149         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27150         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27151         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27152         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27153         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27154         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27155         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27156         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27157         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27158         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27159         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27160         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27161         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27162         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27163         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27164         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27165         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27166         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27167         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27168         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27170 2012-05-18  Andreas Jaeger  <aj@suse.de>
27172         * csu/.gitignore: Delete.
27174 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27176         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27177         (timex): Use __syscall_slong_t.
27179 2012-05-18  Andreas Jaeger  <aj@suse.de>
27180             Carlos O'Donell  <carlos_odonell@mentor.com>
27182         * manual/install.texi (Configuring and compiling): Update
27183         description about files modified in the source directory.
27184         * INSTALL: Regenerated.
27186 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27188         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27189         value.  Use "or" to set return value to -1.
27190         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27191         negate return value.
27193 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27195         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27196         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27197         failure if the compiler has Graphite support disabled.
27198         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27199         Likewise.
27200         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27201         CFLAGS-memmove.c): Likewise.
27202         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27203         Likewise.
27205 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27207         * sysdeps/x86_64/x32/_itoa.h: New file.
27209         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27210         getdents system call only if kernel and user dirents have the
27211         same d_ino and d_off.
27213         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27214         LLONG_MAX != LONG_MAX.
27215         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27216         (_fitoa_word): Likewise.
27218         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27219         years.
27220         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27221         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27222         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27224         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27225         include <bits/wordsize.h>.  Check __x86_64__ instead of
27226         __WORDSIZE.
27227         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27228         if __x86_64__ is defined.  Use anonymous union on fpstate.
27230         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27231         anonymous union.
27233 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
27235         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27236         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27237         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27238         Refer to _rtld_local_ro instead of _rtld_global_ro.
27239         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27240         Likewise.
27241         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27242         Likewise.
27243         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27244         Likewise.
27245         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27246         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27247         of _rtld_global, and rtld_progname instead of _dl_argv[0].
27249         * sysdeps/powerpc/powerpc32/dl-machine.c
27250         (__elf_machine_runtime_setup) [PROF]: Don't reference
27251         _dl_prof_resolve.
27253 2012-05-18  Andreas Jaeger  <aj@suse.de>
27255         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27256         function only available for GCCs before 3.4 since GCC 3.4
27257         introduced a builtin.
27258         (lrint): Likewise.
27259         (llrintf): Likewise.
27260         (llrint): Likewise.
27261         (fmaxf): Likewise.
27262         (fmax): Likewise.
27263         (fminf): Likewise.
27264         (fmin): Likewise.
27265         (rint): Likewise.
27266         (rintf): Likewise.
27267         (nearbyint): Likewise.
27268         (nearbyintf): Likewise.
27269         (ceil): Likewise.
27270         (ceilf): Likewise.
27271         (floor): Likewise.
27272         (floorf): Likewise.
27274 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27276         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27277         on both fields and cast pointer to __syscall_ulong_t.
27279         * bits/types.h (__fsword_t): New type.
27280         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27281         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27283         (__FSWORD_T_TYPE): Likewise.
27284         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27285         (__FSWORD_T_TYPE): Likewise.
27286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27287         (__FSWORD_T_TYPE): Likewise.
27288         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27289         (__FSWORD_T_TYPE): Likewise.
27290         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27291         __SWORD_TYPE with __fsword_t.
27292         (statfs64): Likewise.
27294 2012-05-17  David S. Miller  <davem@davemloft.net>
27296         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27298 2012-05-17  Andreas Jaeger  <aj@suse.de>
27300         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27301         warning.
27303 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27305         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27307 2012-05-17  Andreas Jaeger  <aj@suse.de>
27309         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27310         when it is used.
27312 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27314         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27316 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27318         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27319         * sysdeps/x86_64/tst-mallocalign1.c: New file.
27321 2012-05-17  Andreas Jaeger  <aj@suse.de>
27322             Carlos O'Donell  <carlos_odonell@mentor.com>
27324         [BZ #14059]
27325         * sysdeps/x86_64/multiarch/init-arch.h
27326         (bit_YMM_Usable): Rename to...
27327         (bit_AVX_Usable): ... this.
27328         (bit_FMA4_Usable): New macro.
27329         (bit_XMM_state): New macro.
27330         (bit_YMM_state): New macro.
27331         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27332         [__ASSEMBLER__] (index_AVX_Usable): ... this.
27333         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27334         (CPUID_OSXSAVE): New macro.
27335         (CPUID_AVX): New macro.
27336         (CPUID_FMA4): New macro.
27337         (index_YMM_Usable): Rename to...
27338         (index_AVX_Usable): ... this.
27339         (HAS_AVX): Use HAS_ARCH_FEATURE.
27340         (HAS_FMA4): Likewise.
27341         (HAS_YMM_USABLE): Remove.
27342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27343         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27344         are present.
27345         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27346         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27347         * sysdeps/x86_64/multiarch/Makefile: Likewise.
27348         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27349         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27351 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27353         * math/libm-test.c: Support platforms without multiple rounding modes.
27354         * math/bug-nextafter.c: Support platforms without FP exceptions.
27355         * math/bug-nexttoward.c: Likewise.
27356         * math/test-fenv.c: Likewise.
27357         * math/test-misc.c: Likewise.
27358         * stdlib/bug-getcontext.c: Likewise.
27360 2012-05-17  Andreas Jaeger  <aj@suse.de>
27362         * manual/examples/search.c (critter_cmp): Change signature to
27363         avoid warnings.
27364         * manual/string.texi (Collation Functions): Likewise.
27366 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27368         * bits/types.h: Fold copyright years.
27369         * bits/typesizes.h: Likewise.
27370         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27371         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27372         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27373         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27374         * time/time.h: Likewise.
27376 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
27378         [BZ #208]
27379         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27380         in instead of returning them.  Return void.
27381         (__libc_mallinfo): Accumulate over all arenas.
27382         (__malloc_stats): Adjust for change in int_mallinfo interface.
27384 2012-05-16  Roland McGrath  <roland@hack.frob.com>
27386         [BZ #10375]
27387         * configure.in (NM): Add AC_CHECK_TOOL for it.
27388         (libc_extra_cflags): New substituted variable.
27389         Check for -fstack-protector being used implicitly.
27390         * configure: Regenerated.
27391         * config.make.in (config-extra-cflags): New variable,
27392         gets @libc_extra_cflags@.
27393         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27395         [BZ #10375]
27396         * configure.in: Check for _FORTIFY_SOURCE being predefined.
27397         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27398         * configure: Regenerated.
27399         * config.make.in (CPPUNDEFS): New substituted variable.
27400         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27401         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27402         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27404 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27406         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27407         (mq_attr): Use __syscall_slong_t.
27409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27411         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27412         Check __x86_64__ instead of __WORDSIZE.
27413         (_STAT_VER_LINUX): Likewise.
27414         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
27415         __syscall_ulong_t and __syscall_slong_t.
27416         (stat64): Likewise.
27418 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27420         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27422 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27424         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27426 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27428         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27429         __syscall_ulong_t.
27431         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27432         include <bits/wordsize.h>.  Check __x86_64__ instead of
27433         __WORDSIZE.
27434         (greg_t): Use "__extension__ long long int" if __x86_64__ is
27435         defined.
27436         (mcontext_t): Replace "unsigned long" with "unsigned long long".
27438         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27439         include <bits/wordsize.h>.  Check __x86_64__ instead of
27440         __WORDSIZE.
27441         (user_regs_struct): Use "__extension__ unsigned long long"
27442         instead of "unsigned long" if __x86_64__ is defined.
27443         (user): Likewise.  Pad after pointer field if __ILP32__ is
27444         defined.
27446 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
27448         * configure.in (makeinfo): Require version 4.5 or later.  Allow
27449         versions 5 to 9.
27450         * configure: Regenerated.
27451         * manual/install.texi (texinfo): Increase version requirement to
27452         4.5 or later.
27453         * INSTALL: Regenerated.
27455         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27457 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27459         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27461         * sysdeps/x86_64/x32/ffs.c: New file.
27463         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27464         __syscall_ulong_t.
27465         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27466         defined.  Use __syscall_ulong_t.
27467         (shminfo): Use __syscall_ulong_t.
27468         (shm_info): Likewise.
27470         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27471         __syscall_ulong_t.
27473         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27474         <bits/wordsize.h>.
27475         (msgqnum_t): Use __syscall_ulong_t.
27476         (msglen_t): Likewise.
27477         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
27478         __syscall_ulong_t.
27480         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27481         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27483         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27485         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27486         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27488         * sysvipc/sys/msg.h (msgbuf): Replace long int with
27489         __syscall_slong_t.
27491         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27492         include <bits/wordsize.h>.  Check __x86_64__ instead of
27493         __WORDSIZE.
27495         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27496         "unsigned long long int" if __x86_64__ is defined.
27497         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27499         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27500         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27501         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27503         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27504         <stdint.h>.
27505         (GET_PC): Cast to uintptr_t first.
27506         (GET_FRAME): Likewise.
27507         (GET_STACK): Likewise.
27509         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27510         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27511         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27512         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27513         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27514         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27515         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27516         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27517         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27518         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27519         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27520         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27521         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27522         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27523         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27524         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27525         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27526         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27527         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27528         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27529         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27530         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27531         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27532         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27533         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27534         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27535         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27536         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27537         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27539 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
27541         * Makerules (+depfiles): Also collect depfiles from .oS in
27542         $(extra-objs).
27543         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27544         .oS, $(libnldbl-routines)).
27546         * Makerules (native-compile-mkdep-flags): Define.
27547         * sunrpc/Makefile (extra-objs): Add $(addprefix
27548         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27549         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27550         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
27551         calling $(make-target-directory).
27553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27555         * bits/types.h (__snseconds_t): Removed.
27556         * time/time.h (struct timespec): Replace __snseconds_t with
27557         __syscall_slong_t.
27558         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27559         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27560         Likewise.
27561         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27562         (__SNSECONDS_T_TYPE): Likewise.
27563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27564         (__SNSECONDS_T_TYPE): Likewise.
27565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27566         (__SNSECONDS_T_TYPE): Likewise.
27568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27570         * sysdeps/mach/hurd/bits/typesizes.h
27571         (__SYSCALL_SLONG_TYPE): New macro.
27572         (__SYSCALL_ULONG_TYPE): Likewise.
27574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27576         * bits/types.h (__syscall_slong_t): New type.
27577         (__syscall_ulong_t): Likewise.
27579         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27580         (__SYSCALL_ULONG_TYPE): Likewise.
27581         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27582         (__SYSCALL_SLONG_TYPE): Likewise.
27583         (__SYSCALL_ULONG_TYPE): Likewise.
27584         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27585         (__SYSCALL_SLONG_TYPE): Likewise.
27586         (__SYSCALL_ULONG_TYPE): Likewise.
27587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27588         (__SYSCALL_SLONG_TYPE): Likewise.
27589         (__SYSCALL_ULONG_TYPE): Likewise.
27591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27593         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27594         Add sigaltstack-offsets.sym.
27595         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27596         <sigaltstack-offsets.h>.
27597         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
27598         longjmp_msg pointer.
27599         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
27600         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27601         signal stack.
27602         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27604 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27606         * elf/stackguard-macros.h: Remove file.
27607         * sysdeps/generic/stackguard-macros.h: New file.
27608         * sysdeps/i386/stackguard-macros.h: Likewise.
27609         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27610         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27611         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27612         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27613         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27614         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27615         * sysdeps/x86_64/stackguard-macros.h: Likewise.
27616         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27617         <elf/stackguard-macros.h>.
27619         [BZ #14109]
27620         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27621         __aligned__ in attribute.
27622         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27623         (gregset_t): Likewise.
27625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27627         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27628         * sysdeps/x86_64/64/Implies-after: Here.  New file.
27629         * sysdeps/x86_64/x32/Implies-after: New file.
27631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27633         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27634         and access return value for _dl_profile_fixup.  Use R10_LP to
27635         load frame size.
27637 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27639         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27643         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27644         * sysdeps/x86_64/x32/sysdep.h: New file.
27646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27648         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27649         * sysdeps/x86_64/setjmp.S: Likewise.
27651 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27653         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27654         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27655         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27656         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27657         remove unused global constant.
27659 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
27661         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27662         include of <not-cancel.h>.
27664 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27666         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27668 2012-05-15  Jeff Law  <law@redhat.com>
27669             Andreas Jaeger  <aj@suse.de>
27671         [BZ #13594]
27672         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27673         out from...
27674         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27675         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27676         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27677         code changing __hst_map_handle.map.
27679 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27681         * configure.in (sysnames): Look for Implies-before and Implies-after
27682         files.
27683         * configure: Regenerated.
27685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27687         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27688         8-byte data alignment with LP_SIZE alignment.
27690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27692         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27693         into R10_LP.
27695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27697         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27701         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27702         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27703         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27704         Likewise.
27705         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27709         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27710         (stackinfo_sub_sp): Likewise.
27712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27714         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27715         RAX_LP.
27717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27719         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27720         into R*_LP.
27722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27724         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27725         sizes into R*_LP.
27727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27729         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27733         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27734         into R11_LP and load __x86_64_shared_cache_size_half into
27735         R8_LP.
27737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27739         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27740         R8_LP.
27742 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27745         logb for POWER7.
27746         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27747         logbf for POWER7.
27748         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27749         logbl for POWER7.
27750         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27751         powerpc32/power7/fpu/s_logb.c via #include.
27752         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27753         powerpc32/power7/fpu/s_logbf.c via #include.
27754         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27755         powerpc32/power7/fpu/s_logbl.c via #include.
27757 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27759         * README.libm: Remove file.
27761 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27763         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27764         count for x32.  Use R*_LP and omit operand-size suffix.
27766 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27768         * shlib-versions: Move x86_64-.*-linux.* entries to ...
27769         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
27770         * sysdeps/x86_64/x32/shlib-versions: New file.
27772 2012-05-14  Roland McGrath  <roland@hack.frob.com>
27774         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27775         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27776         Use _dl_fatal_printf instead.
27778 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27780         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27781         set if not set by the user.  Do not allow for being unset.
27782         * sysdeps/unix/sysv/linux/configure: Regenerated.
27784 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27786         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27787         the `q' suffix from lea and replace .quad with ASM_ADDR.
27789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27792         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
27793         instead of $17.
27794         (PTR_DEMANGLE): Likewise.
27796 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27798         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27799         (LP_OP): Likewise.
27800         (ASM_ADDR): Likewise.
27801         (RAX_LP): Likewise.
27802         (RBP_LP): Likewise.
27803         (RBX_LP): Likewise.
27804         (RCX_LP): Likewise.
27805         (RDI_LP): Likewise.
27806         (RSI_LP): Likewise.
27807         (RSP_LP): Likewise.
27808         (R8_LP): Likewise.
27809         (R9_LP): Likewise.
27810         (R10_LP): Likewise.
27811         (R10_LP): Likewise.
27812         (R11_LP): Likewise.
27813         (R12_LP): Likewise.
27814         (R13_LP): Likewise.
27815         (R14_LP): Likewise.
27816         (R15_LP): Likewise.
27818 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27820         * sysdeps/x86_64/x32/dl-machine.h: New file.
27822 2012-05-14  Andreas Jaeger  <aj@suse.de>
27824         * manual/Makefile (subdir): Remove export of subdir.
27825         (all): Remove target.
27826         (.PHONY): Remove all from list.
27827         (mkinstalldirs): Remove.
27828         (.PHONY): Remove installdirs from list.
27829         ($(inst_infodir)/libc.info): Use make-target-directory.
27830         (installdirs): Remove.
27831         (subdir_%): Remove.
27832         (glibc-targets): Remove.
27833         (lib): Remove.
27834         (stubs): Remove.
27835         ($(objpfx)stubs ../po/manual.pot): Remove.
27836         ($(objpfx)stamp%): Remove.
27837         (make-target-directory): Remove.
27838         (subdir_install): Remove.
27839         (routines): Remove.
27840         (aux): Remove.
27841         (sources): Remove.
27842         (objects): Remove.
27843         (headers): Remove.
27845         [BZ #13750]
27846         * manual/.gitignore: Remove, it's not needed anymore.
27847         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27848         all files in it.
27849         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27850         directory.
27851         (texis): Renamed to $(objpfx)texis.
27852         (texis-path): New, contains path to generated files.
27853         (chapters.%): Use texis-path for complete path, add extra argument
27854         libc-texinfo.sh.
27855         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27856         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27857         (summary,texi, stamp-summary): Use complete path of
27858         files. Generate files in build dir.
27859         (dir-add.texi): Build in build dir.
27860         (libm-err.texi,stamp-libm-err): Likewise.
27861         (version.texi, stamp-version): Likewise.
27862         (.%c.texi): Likewise.
27863         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27864         (mostlyclean): Remove target.
27865         (realclean): Remove target.
27866         (generated): Add new variable with contents from mostlyclean and
27867         realclean, remove entries duplicated in common-mostlyclean, add
27868         stamp-libm-err and stamp-version.
27869         (generated-dirs): Add libc directory.
27870         ($(inst_infodir)/libc.info): Install files from build dir.
27872         * manual/install.texi (Configuring and compiling): Adjust since
27873         the info files are not part of the tar ball anymore.
27875 2012-05-14  Andreas Jaeger  <aj@suse.de>
27877         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27878         variable.
27880 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27882         [BZ #13717]
27883         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27884         to 2.2.0 where earlier.
27885         * sysdeps/unix/sysv/linux/configure: Regenerated.
27886         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27887         Remove conditional code.
27888         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27889         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27890         Remove conditional code.
27891         [!__NR_lchown]: Likewise.
27892         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27893         [__NR_lchown]: Likewise.
27894         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27895         comment referencing __ASSUME_LCHOWN_SYSCALL.
27896         * sysdeps/unix/sysv/linux/i386/sigaction.c
27897         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27898         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27899         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27900         Remove conditional code.
27901         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27902         (__protocol_available): Remove #if 0 code.
27903         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27904         conditional code.
27905         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27906         * sysdeps/unix/sysv/linux/kernel-features.h
27907         (__ASSUME_GETCWD_SYSCALL): Don't define.
27908         (__ASSUME_REALTIME_SIGNALS): Likewise.
27909         (__ASSUME_PREAD_SYSCALL): Likewise.
27910         (__ASSUME_PWRITE_SYSCALL): Likewise.
27911         (__ASSUME_POLL_SYSCALL): Likewise.
27912         (__ASSUME_LCHOWN_SYSCALL): Likewise.
27913         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27914         non-SPARC.
27915         (__ASSUME_SIOCGIFNAME): Don't define.
27916         (__ASSUME_MSG_NOSIGNAL): Likewise.
27917         (__ASSUME_SENDFILE): Define unconditionally.
27918         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27919         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27920         conditional code.
27921         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27922         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27923         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27924         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27925         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27926         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27927         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27929         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27930         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27932         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27933         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27935         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27936         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27938         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27939         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27941         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27942         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27944         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27945         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27947         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27948         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27950         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27951         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27952         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27953         Remove conditional code.
27954         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27955         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27956         Remove conditional code.
27957         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27958         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27959         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27960         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27961         Remove conditional code.
27962         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27963         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27964         Remove conditional code.
27965         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27966         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
27967         Remove conditional code.
27968         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27969         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27970         Remove conditional code.
27971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27972         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27973         Remove conditional code.
27974         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27975         * sysdeps/unix/sysv/linux/sh/pwrite64.c
27976         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27977         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27978         * sysdeps/unix/sysv/linux/sigaction.c
27979         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27980         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27981         * sysdeps/unix/sysv/linux/sigpending.c
27982         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27983         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27984         * sysdeps/unix/sysv/linux/sigprocmask.c
27985         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27986         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27987         * sysdeps/unix/sysv/linux/sigsuspend.c
27988         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27989         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27990         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27991         (__libc_missing_rt_sigs): Remove.
27992         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
27993         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
27994         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
27995         Remove conditional code.
27996         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
27997         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
27998         return 1.
27999         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28000         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28001         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28002         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28004 2012-05-14  Andreas Jaeger  <aj@suse.de>
28006         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28007         it's not used in glibc.
28008         (__coshm1): Likewise.
28009         (__acosh1p): Likewise.
28010         (__sgn): Likewise.
28012         * manual/string.texi (Copying and Concatenation): Add missing
28013         variable in concat example.
28014         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28018         [BZ #14103]
28019         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28020         __builtin_clzl with __builtin_clzll.
28022 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28024         [BZ #14104]
28025         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28026         libc_freeres_ptr.
28028 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28030         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28031         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28032         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28033         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28035 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
28037         * NEWS: Update ia64 info.
28039 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
28041         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28042         used as bcopy.
28044 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
28046         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28047         * sysdeps/unix/syscalls.list (dup3): Likewise.
28048         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28049         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28051 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28053         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28054         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28056 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28058         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28059         thread pointer.
28060         (TLS_IE): Use mov/add instead of movq/addq to load thread
28061         pointer.
28062         (TLS_GD_PREFIX): New.
28063         (TLS_GD): Use it.
28065 2012-05-11  David S. Miller  <davem@davemloft.net>
28067         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28068         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28069         (_FPU_SETCW): Likewise.
28071 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28073         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28074         is 32-byte aligned.
28076 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
28078         [BZ #11837]
28079         * iconvdata/gb18030.c: Update tables.
28080         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
28081         characters specially.
28082         (BODY for TO_LOOP): Add encoding of missing ranges.
28084 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
28086         [BZ #13673]
28087         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28088         * sysdeps/mach/hurd/dup3.c: Likewise.
28089         * sysdeps/mach/hurd/readlinkat.c: Likewise.
28090         * sysdeps/powerpc/memmove.c:: Likewise.
28092 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28094         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28095         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28097 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28099         * elf/elf.h (R_X86_64_RELATIVE64): New.
28100         (R_X86_64_NUM): Updated.
28101         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28102         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
28103         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28104         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28105         tst-quad1pie tst-quad2pie
28106         (modules-names): Add tst-quadmod1 tst-quadmod2.
28107         ($(objpfx)tst-quad1): New dependency.
28108         ($(objpfx)tst-quad2): Likewise.
28109         ($(objpfx)tst-quad1pie): Likewise.
28110         ($(objpfx)tst-quad2pie): Likewise.
28111         * sysdeps/x86_64/tst-quad1.c: New file.
28112         * sysdeps/x86_64/tst-quad1pie.c: New file.
28113         * sysdeps/x86_64/tst-quad2.c: Likewise.
28114         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28115         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28116         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28117         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28118         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28120 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28122         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28123         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28124         * streams/stropts.h (t_scalar_t): Define type.
28126         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28127         (_PATH_PRESERVE): Set to "/var/lib".
28128         (_PATH_RWHODIR): Set to "/var/spool/rwho".
28130         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28131         instead of int.
28133         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28134         if __dir_mkfile succeeded.
28136         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28137         checking for _hurd_dtablesize.  Unlock it right after having
28138         finished _hurd_dtable allocation.
28140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28142         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28143         * sysdeps/mach/hurd/configure: Regenerated.
28144         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28145         special-casing to...
28146         * sysdeps/gnu/configure.in: ... this new file.
28147         * sysdeps/unix/sysv/linux/configure: Regenerated.
28148         * sysdeps/gnu/configure: New generated file.
28150         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28151         for Linux: use nsec instead of usec, as well as:
28152         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28153         members of type struct timespec.
28154         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28155         New macros.
28156         (struct stat64): Likewise.
28157         (_STATBUF_ST_NSEC): New macro.
28158         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28160         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28161         __strtoul_internal rather than strtoul.
28163 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28165         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28166         and reject them.
28168 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28170         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28171         which preserves existing values.
28172         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28174 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28176         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28177         TIMEOUT values.  Return EINVAL for NFDS values either negative or
28178         greater than FD_SETSIZE.
28180 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28182         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28183         allocated, call __vm_protect to finish enabling the existing space, and
28184         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28185         allocate the remainder.
28187 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28189         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28190         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
28192 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28194         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28195         sysdeps/mach/hurd/readlink.c.
28197         * posix/tst-sysconf.c (posix_options): Only use
28198         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28199         _POSIX_SYNCHRONIZED_IO when they are defined
28200         * sysdeps/mach/hurd/bits/posix_opt.h:
28201         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28202         (_XOPEN_REALTIME): Undefine macro.
28203         (_XOPEN_REALTIME_THREADS): Undefine macro.
28204         (_XOPEN_SHM): Undefine macro.
28205         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28206         macro to -1.
28207         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28208         macro to -1.
28209         (_POSIX_ASYNC_IO): Undefine macro.
28210         (_POSIX_PRIORITIZED_IO): Undefine macro.
28211         (_POSIX_SPIN_LOCKS): Define macro to -1.
28213         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28214         SA_NODEFER, SA_RESETHAND.
28215         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28216         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28217         F_DUPFD_CLOEXEC.
28219 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28221         * elf/Makefile (pldd-modules): Define unconditionally.
28223 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28225         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28227 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28229         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28230         Return ENOENT when name is empty.
28231         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28233 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28235         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28237         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28239 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28241         Fix mlock in all cases except non-readable pages.
28242         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28243         instead of VM_PROT_ALL as parameter to __vm_wire function.
28245         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28246         (__mkdir): When path is `/', just fail with EEXIST.
28247         * sysdeps/mach/hurd/mkdirat.c: Likewise.
28249 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28251         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28252         <sys/uio.h> (for writev).
28253         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28254         and <sys/param.h> (for MIN).
28256 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28258         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28259         REQUESTED_TIME.  Properly set the remaining time and return EINTR
28260         if interrupted.
28262 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28264         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28265         Depend on against $(link-rpcuserlibs).
28267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28269         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28270         (__libc_stack_end): Do not use attribute_relro.
28271         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28272         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28273         to libthread-provided value.
28274         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28275         attribute_relro.
28277 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28279         [BZ #3748]
28280         * bits/libc-lock.h (__libc_once_get): New macro.
28281         * sysdeps/mach/bits/libc-lock.h: Likewise.
28282         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28283         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28284         instead of using implementation details.
28286         * libio/fileops.c: Unconditionally include <kernel-features.h>.
28287         * libio/freopen.c: Likewise.
28288         * libio/freopen64.c: Likewise.
28289         * misc/syslog.c: Likewise.
28290         * nscd/connections.c: Likewise.
28291         * nscd/netgroupcache.c: Likewise.
28292         * sysdeps/posix/getcwd.c: Likewise.
28294 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28296         * math/w_ilogbf.c: Add #include <limits.h>.
28298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28300         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28301         path instead of returning without unlocking.
28303         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28304         immediate-write ioctls.
28305         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28307 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28309         * sysdeps/mach/hurd/i386/init-first.c (init): Use
28310         __builtin_frame_address instead of making assumptions about the
28311         location of the return address relative to DATA.  Force early load of
28312         the return address.
28313         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28314         __builtin_frame_address.
28316         dup3 for GNU Hurd.
28317         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28318         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
28319         implement dup3 and do some further code clean-ups.
28320         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28321         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28325         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28327         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28328         HURD_CRITICAL_END around holding _hurd_dtable_lock.
28329         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28330         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28331         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28332         d->port.lock.
28334         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28335         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
28336         when handler == SIG_ERR, not when handler != SIG_ERR.
28338 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28340         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28341         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28342         definitions.
28344         accept4 for GNU Hurd.
28345         * include/sys/socket.h (__libc_accept4): New prototype.
28346         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
28347         to implement __libc_accept4.
28348         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28349         __libc_accept4.
28350         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28352         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28353         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28354         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28355         signal-defines.sym.
28357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28359         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28363         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28364         assertion on O_CLOEXEC flag.
28365         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28366         * hurd/intern-fd.c: Likewise.
28367         * hurd/port2fd.c: Likewise.
28369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28371         [BZ #3906]
28372         * bits/in.h (IPV6_PKTINFO): Define new macro.
28373         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28375 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28377         [BZ #13954]
28378         [BZ #13955]
28379         [BZ #13956]
28380         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28381         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28382         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28383         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28385         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28386         * math/libm-test.inc (logb_test) : Additional logb tests.
28388 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
28389             Andreas Jaeger  <aj@suse.de>
28391         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28392         * configure: Regenerated.
28393         * config.h.in (LINK_OBSOLETE_RPC): New macro.
28394         * config.make.in (link-obsolete-rpc): New substituted variable.
28395         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28396         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28397         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28398         (shared-only-routines): Don't set it under [link-obsolete-rpc],
28399         so that libc.a contains the symbols.
28400         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28401         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28402         * sunrpc/auth_none.c: Likewise.
28403         * sunrpc/auth_unix.c: Likewise.
28404         * sunrpc/authdes_prot.c: Likewise.
28405         * sunrpc/authuxprot.c: Likewise.
28406         * sunrpc/clnt_gen.c: Likewise.
28407         * sunrpc/clnt_perr.c: Likewise.
28408         * sunrpc/clnt_raw.c: Likewise.
28409         * sunrpc/clnt_simp.c: Likewise.
28410         * sunrpc/clnt_tcp.c: Likewise.
28411         * sunrpc/clnt_udp.c: Likewise.
28412         * sunrpc/clnt_unix.c: Likewise.
28413         * sunrpc/des_crypt.c: Likewise.
28414         * sunrpc/des_soft.c: Likewise.
28415         * sunrpc/get_myaddr.c: Likewise.
28416         * sunrpc/key_call.c: Likewise.
28417         * sunrpc/key_prot.c: Likewise.
28418         * sunrpc/netname.c: Likewise.
28419         * sunrpc/pm_getmaps.c: Likewise.
28420         * sunrpc/pm_getport.c: Likewise.
28421         * sunrpc/pmap_clnt.c: Likewise.
28422         * sunrpc/pmap_prot.c: Likewise.
28423         * sunrpc/pmap_prot2.c: Likewise.
28424         * sunrpc/pmap_rmt.c: Likewise.
28425         * sunrpc/publickey.c: Likewise.
28426         * sunrpc/rpc_cmsg.c: Likewise.
28427         * sunrpc/rpc_common.c: Likewise.
28428         * sunrpc/rpc_dtable.c: Likewise.
28429         * sunrpc/rpc_prot.c: Likewise.
28430         * sunrpc/rpc_thread.c: Likewise.
28431         * sunrpc/rtime.c: Likewise.
28432         * sunrpc/svc.c: Likewise.
28433         * sunrpc/svc_auth.c: Likewise.
28434         * sunrpc/svc_raw.c: Likewise.
28435         * sunrpc/svc_run.c: Likewise.
28436         * sunrpc/svc_tcp.c: Likewise.
28437         * sunrpc/svc_udp.c: Likewise.
28438         * sunrpc/svc_unix.c: Likewise.
28439         * sunrpc/svcauth_des.c: Likewise.
28440         * sunrpc/xcrypt.c: Likewise.
28441         * sunrpc/xdr.c: Likewise.
28442         * sunrpc/xdr_array.c: Likewise.
28443         * sunrpc/xdr_float.c: Likewise.
28444         * sunrpc/xdr_intXX_t.c: Likewise.
28445         * sunrpc/xdr_mem.c: Likewise.
28446         * sunrpc/xdr_rec.c: Likewise.
28447         * sunrpc/xdr_ref.c: Likewise.
28448         * sunrpc/xdr_sizeof.c: Likewise.
28449         * sunrpc/xdr_stdio.c: Likewise.
28451 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28453         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28454         change.  Update copyright years.
28456 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28458         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28460 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
28461             Joseph Myers  <joseph@codesourcery.com>
28462             Paul Pluzhnikov  <ppluzhnikov@google.com>
28464         [BZ #14012]
28465         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28466         requiring rpcgen.
28467         [cross-compiling] (extra-libs): Likewise.
28468         [cross-compiling] (extra-libs-others): Likewise.
28469         [cross-compiling] (librpcsvc-routines): Likewise.
28470         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28471         [cross-compiling] (omit-deps): Likewise.
28472         (sunrpc-CPPFLAGS): New variable.
28473         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28474         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28475         (cross-rpcgen-objs): New variable.
28476         (extra-objs): Append $(cross-rpcgen-objs).
28477         ($(cross-rpcgen-objs)): New rule.
28478         ($(objpfx)cross-rpcgen): Likewise.
28479         (rpcgen-cmd): Define to use $(built-program-file).  Expand
28480         comment.
28481         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28482         ($(objpfx)x%.stmp): Likewise.
28483         * sunrpc/proto.h [IS_IN_build] (_): Define.
28484         [IS_IN_build] (_libc_intl_domainname): Likewise.
28486 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28489         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28490         and R_X86_64_TPOFF64.
28492 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28494         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28495         sysdeps/unix/sysv/syscalls.list.
28496         (stime): Likewise.
28497         (utime): Likewise.
28498         * sysdeps/unix/sysv/syscalls.list: Remove file.
28500 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
28502         [BZ #3440]
28503         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28504         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28505         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28506         (__LC_IDENTIFICATION): Make these macros useful in #if
28507         expressions, as required by C99.
28509 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
28511         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28512         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
28513         after this.
28515 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
28517         * stdlib/longlong.h: Updated from GCC.
28519 2012-05-09  Andreas Jaeger  <aj@suse.de>
28521         * nscd/nscd.c (run_modes): Make named enum, reorder so that
28522         default is first entry.
28523         (run_mode): Set type.
28524         (main): Remove informal message about syslog.
28525         (options): Fix typo.
28527         [BZ #14053]
28528         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28529         to asm.
28530         (lrint): Likewise.
28531         (llrintf): Likewise.
28532         (llrint): Likewise.
28533         (rint): Likewise.
28534         (rintf): Likewise.
28535         (nearbyint): Likewise.
28536         (nearbyintf): Likewise.
28538 2012-05-09  Andreas Jaeger  <aj@suse.de>
28539             Pedro Alves  <palves@redhat.com>
28541         * nscd/nscd.c (run_mode): Use enum.
28542         (main): Cleanup coding style issue.
28544 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
28545             Andreas Jaeger  <aj@suse.de>
28547         * nscd/nscd.c (go_background): Replaced with...
28548         (run_mode): ... this.
28549         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28550         (options): Add -F --foreground.
28551         (main): Implement it.
28552         (parse_opt): Parse it.
28554 2012-05-09  Andreas Jaeger  <aj@suse.de>
28556         [BZ #14083]
28557         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28558         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28559         -Wconversion warning.
28560         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28561         Likewise.
28563 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
28565         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
28566         == 0.
28567         (LC_ALL): Use macro-int-constant.
28568         (LC_COLLATE): Likewise.
28569         (LC_CTYPE): Likewise.
28570         (LC_MESSAGES): Likewise.
28571         (LC_MONETARY): Likewise.
28572         (LC_NUMERIC): Likewise.
28573         (LC_TIME): Likewise.
28574         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28575         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28576         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28577         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28578         Specify type.
28579         [C99-based standards] (float_t): Expect type.
28580         [C99-based standards] (double_t): Expect type.
28581         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
28582         type.
28583         [C99-based standards] (HUGE_VALL): Likewise.
28584         [C99-based standards] (INFINITY): Likewise.
28585         [C99-based standards] (NAN): Likewise.
28586         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28587         [C99-based standards] (FP_NAN): Likewise.
28588         [C99-based standards] (FP_NORMAL): Likewise.
28589         [C99-based standards] (FP_SUBNORMAL): Likewise.
28590         [C99-based standards] (FP_ZERO): Likewise.
28591         [C99-based standards] (FP_FAST_FMA): Use
28592         optional-macro-int-constant.  Specify type.  Require == 1.
28593         [C99-based standards] (FP_FAST_FMAF): Likewise.
28594         [C99-based standards] (FP_FAST_FMAL): Likewise.
28595         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28596         [C99-based standards] (FP_ILOGBNAN): Likewise.
28597         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28598         Specify type.
28599         [C99-based standards] (MATH_ERREXCEPT): Likewise.
28600         [C99-based standards] (math_errhandling): Specify type.
28601         [ISO99 || ISO11] (signgam): Do not allow.
28602         [non-C99-based standards] (copysignf): Do not allow.
28603         [non-C99-based standards] (exp2f): Likewise.
28604         [non-C99-based standards] (log2f): Likewise.
28605         [non-C99-based standards] (modff): Allow.
28606         [non-C99-based standards] (erff): Do not allow.
28607         [non-C99-based standards] (erfcf): Likewise.
28608         [non-C99-based standards] (gammaf): Likewise.
28609         [non-C99-based standards] (hypotf): Likewise.
28610         [non-C99-based standards] (j0f): Likewise.
28611         [non-C99-based standards] (j1f): Likewise.
28612         [non-C99-based standards] (jnf): Likewise.
28613         [non-C99-based standards] (lgammaf): Likewise.
28614         [non-C99-based standards] (tgammaf): Likewise.
28615         [non-C99-based standards] (y0f): Likewise.
28616         [non-C99-based standards] (y1f): Likewise.
28617         [non-C99-based standards] (ynf): Likewise.
28618         [non-C99-based standards] (isnanf): Likewise.
28619         [non-C99-based standards] (acoshf): Likewise.
28620         [non-C99-based standards] (asinhf): Likewise.
28621         [non-C99-based standards] (atanhf): Likewise.
28622         [non-C99-based standards] (cbrtf): Likewise.
28623         [non-C99-based standards] (expm1f): Likewise.
28624         [non-C99-based standards] (ilogbf): Likewise.
28625         [non-C99-based standards] (log1pf): Likewise.
28626         [non-C99-based standards] (logbf): Likewise.
28627         [non-C99-based standards] (nextafterf): Likewise.
28628         [non-C99-based standards] (remainderf): Likewise.
28629         [non-C99-based standards] (rintf): Likewise.
28630         [non-C99-based standards] (scalbf): Likewise.
28631         [non-C99-based standards] (copysignl): Likewise.
28632         [non-C99-based standards] (exp2l): Likewise.
28633         [non-C99-based standards] (log2l): Likewise.
28634         [non-C99-based standards] (modfl): Allow.
28635         [non-C99-based standards] (erfl): Do not allow.
28636         [non-C99-based standards] (erfcl): Likewise.
28637         [non-C99-based standards] (gammal): Likewise.
28638         [non-C99-based standards] (hypotl): Likewise.
28639         [non-C99-based standards] (j0l): Likewise.
28640         [non-C99-based standards] (j1l): Likewise.
28641         [non-C99-based standards] (jnl): Likewise.
28642         [non-C99-based standards] (lgammal): Likewise.
28643         [non-C99-based standards] (tgammal): Likewise.
28644         [non-C99-based standards] (y0l): Likewise.
28645         [non-C99-based standards] (y1l): Likewise.
28646         [non-C99-based standards] (ynl): Likewise.
28647         [non-C99-based standards] (isnanl): Likewise.
28648         [non-C99-based standards] (acoshl): Likewise.
28649         [non-C99-based standards] (asinhl): Likewise.
28650         [non-C99-based standards] (atanhl): Likewise.
28651         [non-C99-based standards] (cbrtl): Likewise.
28652         [non-C99-based standards] (expm1l): Likewise.
28653         [non-C99-based standards] (ilogbl): Likewise.
28654         [non-C99-based standards] (log1pl): Likewise.
28655         [non-C99-based standards] (logbl): Likewise.
28656         [non-C99-based standards] (nextafterl): Likewise.
28657         [non-C99-based standards] (remainderl): Likewise.
28658         [non-C99-based standards] (rintl): Likewise.
28659         [non-C99-based standards] (scalbl): Likewise.
28660         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28661         [non-C99-based standards] (FP_*): Do not allow.
28662         [C99-based standards] (FP_*): Change to
28663         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28664         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28665         allow.
28666         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28667         (SIG_ERR): Likewise.
28668         [X/Open-based standards] (SIG_HOLD): Likewise.
28669         (SIG_IGN): Likewise.
28670         (SIGABRT): Use macro-int-constant.  Specify type.  Require
28671         positive value.
28672         (SIGFPE): Likewise.
28673         (SIGILL): Likewise.
28674         (SIGINT): Likewise.
28675         (SIGSEGV): Likewise.
28676         (SIGTER): Likewise.
28677         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28678         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28679         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28680         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28681         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28682         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28683         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28684         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28685         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28686         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28687         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28688         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28689         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28690         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28691         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28692         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28693         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28694         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28695         [X/Open-based standards] (SIGTRAP): Likewise.
28696         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28697         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28698         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28699         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28700         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28701         allow.
28703 2012-05-08  Ian Wienand  <ianw@vmware.com>
28705         [BZ #14080]
28706         * time/tzset.c (__tzset_parse_tz): Update default rules for
28707         daylight time changes in the Energy Policy Act of 2005.
28709 2012-05-09  Andreas Jaeger  <aj@suse.de>
28711         [BZ #13983]
28712         * elf/ldconfig.c (parse_conf): Change string to make clear that
28713         ldconfig only issued a warning if ld.so.conf does not exist.
28715 2012-05-08  David S. Miller  <davem@davemloft.net>
28717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28718         movxtod instead of popping the value on the stack.
28720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28722 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
28724         * config.h.in: Add HAVE_ARM_PCS_VFP.
28726 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
28728         [BZ #13979]
28729         * include/features.h: Warn if user requests __FORTIFY_SOURCE
28730         checking but the checks are disabled for any reason.
28732 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
28734         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28735         and ELF64_R_TYPE with ELFW(R_TYPE).
28737 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
28739         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28740         (ulimit): Likewise.
28742         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28743         (settimeofday): Likewise.
28745 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
28747         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
28748         a struct th_u2 inside the union, and move tu_block/tu_code into
28749         a new th_u3 union of tu_block/tu_code inside of that.  Move
28750         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
28751         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
28752         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28753         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28754         (th_stuff): Change to th_u1.tu_stuff.
28755         (th_data): Define.
28756         (th_msg): Change to th_u1.th_u2.tu_data.
28758 2012-05-07  David S. Miller  <davem@davemloft.net>
28760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28762         [BZ #14074]
28763         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28764         (SETUP_PIC_REG): Use it.
28765         (SETUP_PIC_REG_LEAF): Use it.
28767 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
28769         [BZ #13885]
28770         [BZ #13923]
28771         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28772         USE_AS_EXPM1L.
28773         (EXPL_FINITE): Likewise.
28774         (FLDLOG): Likewise.
28775         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28776         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28777         e_expl.S.
28778         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28779         USE_AS_EXPM1L.
28780         (EXPL_FINITE): Likewise.
28781         (FLDLOG): Likewise.
28782         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28783         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28784         e_expl.S.
28785         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
28786         test of -max_value argument for long double.
28787         * sysdeps/i386/fpu/libm-test-ulps: Update.
28788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28790 2012-05-06  David S. Miller  <davem@davemloft.net>
28792         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28793         quad soft-float symbols whose references which are compiler
28794         generated.
28795         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28797 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
28799         [BZ #13884]
28800         [BZ #13914]
28801         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28802         USE_AS_EXP10L.
28803         (EXPL_FINITE): Likewise.
28804         (FLDLOG): Likewise.
28805         (c0): Likewise.
28806         (c1): Likewise.
28807         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28808         Adjust comments for base varying.
28809         (__expl_finite): Change alias to EXPL_FINITE.
28810         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28811         e_expl.S.
28812         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28813         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28814         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28815         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28816         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28817         USE_AS_EXP10L.
28818         (EXPL_FINITE): Likewise.
28819         (FLDLOG): Likewise.
28820         (c0): Likewise.
28821         (c1): Likewise.
28822         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28823         Adjust comments for base varying.
28824         (__expl_finite): Change alias to EXPL_FINITE.
28825         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
28826         tests for bugs.
28827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28829         [BZ #14064]
28830         * math/libm-test.inc (check_float_internal): Correct ulp
28831         calculation for subnormal expected results.
28833 2012-05-06  Andreas Jaeger  <aj@suse.de>
28835         * Makeconfig (+math-flags): New, set to -frounding-math.
28836         (+cflags): Add +math-flags so that all of glibc gets compiled with
28837         it.
28839         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28841 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
28843         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28844         Disable one test.
28846         [BZ #13787]
28847         [BZ #13922]
28848         [BZ #14036]
28849         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28850         (__ieee754_expl): Allow for and saturate large arguments.
28851         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28852         (u_threshold): Likewise.
28853         (__exp): Call __ieee754_exp before checking for overflow and
28854         underflow.
28855         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28856         (u_threshold): Likewise.
28857         (__expf): Call __ieee754_expf before checking for overflow and
28858         underflow.
28859         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28860         (u_threshold): Likewise.
28861         (__expl): Call __ieee754_expl before checking for overflow and
28862         underflow.
28863         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28864         (__ieee754_expl): Allow for and saturate large arguments.
28865         * math/libm-test.inc (exp_test): Add another test.  Do not allow
28866         missing overflow exception on overflow.
28867         (expm1_test): Do not allow missing overflow exception on overflow.
28869         * sysdeps/i386/fpu/e_expl.c: Move to ...
28870         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
28871         rather than using inline asm.
28872         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28873         * sysdeps/x86_64/fpu/e_expl.S: Copy from
28874         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28876         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28877         (nice): Likewise.
28878         (poll): Likewise.
28879         (signal): Likewise.
28880         (time): Likewise.
28881         (times): Likewise.
28883 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28885         * sysdeps/unix/syscalls.list (adjtime): Add entry from
28886         sysdeps/unix/common/syscalls.list.
28887         (fchmod): Likewise.
28888         (fchown): Likewise.
28889         (ftruncate): Likewise.
28890         (getrusage): Likewise.
28891         (gettimeofday): Likewise.
28892         (setpgid): Likewise.
28893         (setregid): Likewise.
28894         (setreuid): Likewise.
28895         (sigaction): Likewise.
28896         (truncate): Likewise.
28897         (vhangup): Likewise.
28898         * sysdeps/unix/common/syscalls.list: Remove file.
28899         * sysdeps/unix/bsd/Implies: Don't include unix/common.
28900         * sysdeps/unix/sysv/linux/Implies: Likewise.
28902 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
28904         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28906         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28907         Moved to ...
28908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28909         Here.
28910         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28911         to ...
28912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28913         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28914         to ...
28915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28916         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28917         to ...
28918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28919         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28920         to ...
28921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28922         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28923         to ...
28924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28925         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28926         to ...
28927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28928         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28929         to ...
28930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28931         Here.
28932         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28933         to ...
28934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28935         Here.
28936         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28937         to ...
28938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28939         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28940         Moved to ...
28941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28942         Here.
28943         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28944         to ...
28945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28947 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28949         * sysdeps/unix/common/bits/dirent.h: Remove file.
28950         * sysdeps/unix/common/bits/fcntl.h: Likewise.
28952         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28953         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28954         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28955         * sysdeps/unix/bsd/isatty.c: Likewise.
28956         * sysdeps/unix/bsd/tcdrain.c: Likewise.
28957         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28958         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28960 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28962         [BZ #13563]
28963         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28964         long double comparison inaccuracies.
28965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28968 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
28970         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
28971         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
28973 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28975         [BZ #14049]
28976         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
28977         nonzero digits before rounding a hex value.
28978         * stdlib/tst-strtod.c (tests): Add another test.
28980 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28982         * sysdeps/s390/fpu/libm-test-ulps: Update.
28984 2012-05-03  Andreas Jaeger  <aj@suse.de>
28986         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
28987         does not get optimized out.
28988         (malloc_opt_barrier): New.
28990 2012-05-03  Andreas Jaeger  <aj@suse.de>
28991             Roland McGrath  <roland@hack.frob.com>
28993         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
28994         intermediate file deletion.
28995         (generated): Add .symlist files.
28997 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
28999         [BZ #13775]
29000         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29001         Redirect under this condition.
29002         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29003         [__USE_GNU] (__dprintf_chk): Not under this condition.
29004         [__USE_GNU] (__vdprintf_chk): Likewise.
29005         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29006         under this condition.
29007         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29008         [__USE_XOPEN2K8] (dprintf): Define under this condition.
29009         [__USE_XOPEN2K8] (vdprintf): Likewise.
29010         [__USE_GNU] (__dprintf_chk): Not under this condition.
29011         [__USE_GNU] (__vdprintf_chk): Likewise.
29012         [__USE_GNU] (dprintf): Likewise.
29013         [__USE_GNU] (vdprintf): Likewise.
29015 2012-05-03  Roland McGrath  <roland@hack.frob.com>
29017         * elf/Makefile (common-generated): Set this instead of generated for
29018         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
29019         $(all-built-dso)-derived lists.
29021 2012-05-03  Andreas Jaeger  <aj@suse.de>
29023         * sysdeps/i386/fpu/libm-test-ulps: Update.
29025         * FAQ: Removed.
29026         * FAQ.in: Likewise.
29027         * scripts/gen-FAQ.pl: Likewise.
29028         * manual/install.texi (Installation): Point to online location of
29029         FAQ.
29030         * Makefile (files-for-dist): Remove FAQ.
29031         (FAQ): Remove.
29033 2012-05-02  Allan McRae  <allan@archlinux.org>
29035         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29036         (LDFLAGS-reldepmod5.so): Likewise.
29037         (LDFLAGS-reldep6mod1.so): Likewise.
29038         (LDFLAGS-reldep6mod4.so): Likewise.
29039         (LDFLAGS-reldep8mod3.so): Likewise.
29040         (LDFLAGS-unload4mod1.so): Likewise.
29041         (LDFLAGS-unload4mod2.so): Likewise.
29042         (LDFLAGS-tst-initorder): Likewise.
29043         (LDFLAGS-tst-initordera2.so): Likewise.
29044         (LDFLAGS-tst-initordera3.so): Likewise.
29045         (LDFLAGS-tst-initordera4.so): Likewise.
29046         (LDFLAGS-tst-initorderb2.so): Likewise.
29047         (LDFLAGS-noload): Likewise.
29048         (LDFLAGS-next): Likewise.
29049         (LDFLAGS-order2mod1.so): Likewise.
29050         (LDFLAGS-order2mod2.so): Likewise.
29051         (LDFLAGS-tst-initorder2): Likewise.
29052         (LDFLAGS-tst-initorder2a.so): Likewise.
29053         (LDFLAGS-tst-initorder2b.so): Likewise.
29054         (LDFLAGS-tst-initorder2c.so): Likewise.
29055         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29057 2012-05-02  David S. Miller  <davem@davemloft.net>
29059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29061 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29063         [BZ #14055]
29064         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29066 2012-05-02  Andreas Jaeger  <aj@suse.de>
29068         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29069         since we manipulate rounding mode.
29070         (CPPFLAGS-test-idouble.c): Likewise.
29071         (CPPFLAGS-test-ifloat.c): Likewise.
29072         (CFLAGS-test-ldouble.c): Likewise.
29073         (CFLAGS-test-double.c): Likewise.
29074         (CFLAGS-test-float.c): Likewise.
29075         (CFLAGS-test-misc.c): Likewise.
29076         (CFLAGS-test-test-fenv.c): Likewise.
29078 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29080         [BZ #2550]
29081         [BZ #2570]
29082         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29083         comparisons to determine direction to adjust input.
29085 2012-05-01  Roland McGrath  <roland@hack.frob.com>
29087         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29088         output to the target.
29090         * scripts/localplt.awk: New file.
29091         * elf/Makefile ($(objpfx)check-localplt): Target removed.
29092         (check-localplt-CFLAGS): Variable removed.
29093         ($(all-built-dso:=.jmprel)): New static pattern rule.
29094         (generated): Add those targets.
29095         (localplt-built-dso): New variable.
29096         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29098         * elf/check-localplt.c: File removed.
29100         * scripts/check-execstack.awk: New file.
29101         * elf/Makefile ($(objpfx)check-execstack): Target removed.
29102         (check-execstack-CFLAGS): Variable removed.
29103         ($(objpfx)check-execstack.h): Target removed.
29104         ($(objpfx)execstack-default): New target.
29105         (generated): Add that instead of check-execstack.h.
29106         ($(all-built-dso:=.phdr)): New static pattern rule.
29107         (generated): Add those targets.
29108         * elf/check-execstack.c: File removed.
29110         * scripts/check-textrel.awk: New file.
29111         * elf/Makefile ($(objpfx)check-textrel): Target removed.
29112         (check-textrel-CFLAGS): Variable removed.
29113         (all-built-dso): Use := to define.o
29114         ($(all-built-dso:=.dyn)): New static pattern rule.
29115         (generated): Add those targets.
29116         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29117         * config.make.in (READELF): New substituted variable.
29118         * elf/check-textrel.c: File removed.
29120 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29122         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29123         allow.
29124         * conform/data/ctype.h-data [C99-based standards] (isblank):
29125         Expect function.
29126         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29127         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29128         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29129         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29130         Specify type.  Require positive value.
29131         (EILSEQ): Likewise.
29132         (ERANGE): Likewise.
29133         [ISO || POSIX] (EILSEQ): Do not expect.
29134         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29135         Specify type.  Require positive value.
29136         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29137         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29138         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29139         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29140         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29141         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29142         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29143         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29144         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29145         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29146         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29147         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29148         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29149         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29150         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29151         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29152         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29153         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29154         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29155         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29156         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29157         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29158         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29159         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29160         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29161         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29162         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29163         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29164         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29165         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29166         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29167         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29168         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29169         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29170         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29171         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29172         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29173         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29174         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29175         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29176         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29177         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29178         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29179         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29180         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29181         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29182         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29183         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29184         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29185         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29186         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29187         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29188         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29189         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29190         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29191         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29192         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29193         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29194         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29195         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29196         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29197         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29198         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29199         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29200         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29201         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29202         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29203         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29204         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29205         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29206         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29207         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29208         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29209         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29210         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29211         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29212         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29213         Require >= 2.
29214         (FLT_ROUNDS): Expect as macro, not constant.
29215         (FLT_MANT_DIG): Use macro-int-constant.
29216         (DBL_MANT_DIG): Likewise.
29217         (LDBL_MANT_DIG): Likewise.
29218         (FLT_DIG): Likewise.
29219         (DBL_DIG): Likewise.
29220         (LDBL_DIG): Likewise.
29221         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
29222         (DBL_MIN_EXP): Likewise.
29223         (LDBL_MIN_EXP): Likewise.
29224         (FLT_MAX_EXP): Use macro-int-constant.
29225         (DBL_MAX_EXP): Likewise.
29226         (LDBL_MAX_EXP): Likewise.
29227         (FLT_MAX_10_EXP): Likewise.
29228         (DBL_MAX_10_EXP): Likewise.
29229         (LDBL_MAX_10_EXP): Likewise.
29230         (FLT_MAX): Use macro-constant.
29231         (DBL_MAX): Likewise.
29232         (LDBL_MAX): Likewise.
29233         (FLT_EPSILON): Use macro-constant.  Give upper bound.
29234         (DBL_EPSILON): Likewise.
29235         (LDBL_EPSILON): Likewise.
29236         (FLT_MIN): Likewise.
29237         (DBL_MIN): Likewise.
29238         (LDBL_MIN): Likewise.
29239         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29240         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29241         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29242         [ISO11] (FLT_HAS_SUBNORM): Likewise.
29243         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29244         [ISO11] (DBL_DECIMAL_DIG): Likewise.
29245         [ISO11] (FLT_DECIMAL_DIG): Likewise.
29246         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29247         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29248         [ISO11] (FLT_TRUE_MIN): Likewise.
29249         [ISO11] (LDBL_TRUE_MIN): Likewise.
29250         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29251         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29252         (SCHAR_MIN): Use macro-int-constant.  Specify type.
29253         (SCHAR_MAX): Likewise.
29254         (UCHAR_MAX): Likewise.
29255         (CHAR_MIN): Likewise.
29256         (CHAR_MAX): Likewise.
29257         (MB_LEN_MAX): Use macro-int-constant.
29258         (SHRT_MIN): Use macro-int-constant.  Specify type.
29259         (SHRT_MAX): Likewise.
29260         (USHRT_MAX): Likewise.
29261         (INT_MAX): Likewise.
29262         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
29263         bound negative.
29264         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29265         bound with "U".
29266         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29267         bound with "L".
29268         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
29269         bound negative.  Suffix upper bound with "L".
29270         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29271         bound with "UL".
29272         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29273         Specify type.
29274         [C99-based standards] (LLONG_MAX): Likewise.
29275         [C99-based standards] (ULLONG_MAX): Likewise.
29276         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
29277         == 0.
29278         [ISO11] (max_align_t): Require type.
29279         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29281         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29282         from $CFLAGS, without defining away __attribute__ calls.
29283         (checknamespace): Use $CFLAGS_namespace.
29285         * conform/conformtest.pl (@keywords): Only include C99 keywords
29286         for standards based on C99 or C11.
29288         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29289         Disable tests.
29290         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29291         UNIX98]: Likewise.
29293         * conform/conformtest.pl: Handle "macro-int-constant" and test for
29294         usability of symbols in #if.
29296         * conform/conformtest.pl: If macro or constant types start
29297         "promoted:", expect the symbol to be of the following type
29298         promoted by the integer promotions.
29300         * conform/conformtest.pl: Parse all "constant" and "macro" lines
29301         in one place.  Also handle "macro-constant".
29303         * conform/conformtest.pl: Only accept expected macro values with
29304         "==".  Parse all "macro" lines in one place.
29305         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29307         * conform/conformtest.pl: Handle braced types on "constant" lines
29308         instead of handling "typed-constant".
29309         * conform/data/signal.h-data: Use "constant" instead of
29310         "typed-constant".
29312         * conform/conformtest.pl: Handle "optional-" at start of lines in
29313         one place rather than duplicating several cases.  Handle each
29314         format of "macro" line with initial "optional-".
29316         * conform/conformtest.pl: Only accept expected constant or
29317         optional-constant values with "==".  Parse all "constant" lines in
29318         one place.  Parse all "optional-constant" lines in one place.
29319         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29320         * conform/data/fmtmsg.h-data: Likewise.
29321         * conform/data/netinet/in.h-data: Likewise.
29322         * conform/data/tar.h-data: Likewise.
29323         * conform/data/limits.h-data: Use "==" form on "constant" and
29324         "optional-constant" lines.
29326         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29327         Use -std=c99 for XOPEN2K.
29328         (@knownproblems): Remove.
29329         (newtoken): Don't check %isknown.
29331         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29332         Do not expect macro.
29333         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29334         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29335         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29336         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29337         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29338         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29339         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29340         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29341         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29342         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29343         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29344         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29345         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29346         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29347         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29348         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29349         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29350         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29351         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29352         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29353         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29354         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29355         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29356         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29357         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29358         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29359         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29360         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29361         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29362         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29363         [XPG3] (acosh): Likewise.
29364         [XPG3] (asinh): Likewise.
29365         [XPG3] (atanh): Likewise.
29366         [XPG3] (cbrt): Likewise.
29367         [XPG3] (expm1): Likewise.
29368         [XPG3] (ilogb): Likewise.
29369         [XPG3] (log1p): Likewise.
29370         [XPG3] (logb): Likewise.
29371         [XPG3] (nextafter): Likewise.
29372         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29373         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29374         [XPG3] (remainder): Likewise.
29375         [XPG3] (rint): Likewise.
29376         [XPG3 || XPG4 || UNIX98] (round): Likewise.
29377         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29378         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29379         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29380         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29381         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29382         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29383         [UNIX98 || XOPEN2K] (scalb): Expect.
29384         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29385         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29386         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29387         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29388         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29389         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29390         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29391         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29392         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29393         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29394         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29395         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29396         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29397         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29398         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29399         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29400         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29401         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29402         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29403         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29404         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29405         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29406         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29407         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29408         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29409         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29410         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29411         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29412         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29413         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29414         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29415         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29416         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29417         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29418         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29419         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29420         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29421         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29422         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29423         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29424         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29425         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29426         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29427         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29428         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29429         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29430         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29431         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29432         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29433         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29434         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29435         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29436         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29437         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29438         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29439         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29440         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29441         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29442         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29443         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29444         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29445         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29446         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29447         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29448         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29449         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29450         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29451         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29452         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29453         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29454         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29455         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29456         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29457         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29458         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29459         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29460         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29461         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29462         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29463         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29464         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29465         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29466         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29467         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29468         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29469         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29470         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29471         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29472         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29473         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29474         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29475         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29476         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29477         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29478         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29479         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29480         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29481         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29482         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29483         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29484         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29485         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29486         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29487         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29488         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29489         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29490         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29491         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29492         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29493         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29494         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29495         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29496         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29497         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29498         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29499         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29500         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29501         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29502         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29503         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29504         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29505         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29506         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29507         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29508         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29509         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29510         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29511         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29512         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29513         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29514         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29515         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29516         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29517         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29518         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29519         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29520         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29522         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29523         _XOPEN_SOURCE_EXTENDED for XPG4.
29525         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29527         * Makeconfig (localtime): Remove variable.
29528         (inst_localtime-file): Likewise.
29530 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29533         Update.
29534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29535         Update.
29536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29537         Update.
29538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29539         Update.
29540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29541         Update.
29542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29543         Update.
29544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29545         Update.
29546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29547         Update.
29548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29549         Update.
29551 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29553         [BZ #2550]
29554         [BZ #2570]
29555         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29556         comparisons to determine direction to adjust input.
29557         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29558         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29559         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29560         Likewise.
29561         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29562         Likewise.
29563         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29564         Likewise.
29565         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29566         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29567         Likewise.
29568         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29569         Likewise.
29570         * math/libm-test.inc (nexttoward_test): Add more tests.
29572 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29574         [BZ #14040]
29575         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29576         in version GLIBC_2.1, not GLIBC_2.0.
29577         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29578         Likewise.
29580 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
29582         [BZ #13942]
29583         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29584         (1 - x) * (1 + x).
29585         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29586         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29587         * math/libm-test.inc (acos_test): Add more tests.
29588         (asin_test): Likewise.
29589         * sysdeps/i386/fpu/libm-test-ulps: Update.
29590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29592         [BZ #14034]
29593         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29594         of square root.
29595         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29596         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29597         * math/libm-test.inc (acos_test_tonearest): New function.
29598         (acos_test_towardzero): Likewise.
29599         (acos_test_downward): Likewise.
29600         (acos_test_upward): Likewise.
29601         (asin_test_tonearest): Likewise.
29602         (asin_test_towardzero): Likewise.
29603         (asin_test_downward): Likewise.
29604         (asin_test_upward): Likewise.
29605         (main): Call the new functions.
29606         * sysdeps/i386/fpu/libm-test-ulps: Update.
29607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29609         [BZ #13884]
29610         [BZ #13924]
29611         * math/e_exp10.c: Include <float.h>.
29612         (__ieee754_exp10): Handle underflow here rather than multiplying
29613         large negative argument by M_LN10.
29614         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29615         of __ieee754_expf.
29616         * math/e_exp10l.c: Include <float.h>.
29617         (__ieee754_exp10l): Handle underflow here rather than multiplying
29618         large negative argument by M_LN10l.
29619         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
29620         spurious overflow exception on underflow.
29622 2012-04-29  Marek Polacek  <polacek@redhat.com>
29624         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29625         (__fortify_function): New macro.
29626         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29627         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29628         __extern_always_inline.
29629         * libio/bits/stdio2.h: Likewise.
29630         * libio/bits/stdio.h: Likewise.
29631         * string/string.h: Likewise.
29632         * string/bits/string3.h: Likewise.
29633         * include/stdio.h: Likewise.
29634         * stdlib/bits/stdlib.h: Likewise.
29635         * stdlib/stdlib.h: Likewise.
29636         * rt/bits/mqueue2.h: Likewise.
29637         * rt/mqueue.h: Likewise.
29638         * posix/bits/unistd.h: Likewise.
29639         * posix/unistd.h: Likewise.
29640         * io/bits/poll2.h: Likewise.
29641         * io/bits/fcntl2.h: Likewise.
29642         * io/fcntl.h: Likewise.
29643         * io/sys/poll.h: Likewise.
29644         * misc/bits/syslog.h: Likewise.
29645         * misc/bits/syslog-ldbl.h: Likewise.
29646         * misc/sys/syslog.h: Likewise.
29647         * socket/bits/socket2.h: Likewise.
29648         * socket/sys/socket.h: Likewise.
29649         * debug/tst-chk1.c: Likewise.
29650         * wcsmbs/bits/wchar2.h: Likewise.
29651         * wcsmbs/bits/wchar-ldbl.h: Likewise.
29652         * wcsmbs/wchar.h: Likewise.
29654 2012-04-29  Andreas Jaeger  <aj@suse.de>
29656         * Makerules (tests): Remove enable-check-abi protection.
29657         (check-abi-warn): Remove.
29658         (check-abi-%): Remove check-abi-warn usage.
29660         * configure.in: Remove check-abi configure option.
29661         * configure: Regenerated.
29662         * config.make.in (enable-check-abi): Remove.
29664 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
29666         [BZ #14033]
29667         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29668         double functions to double *_finite functions.
29670         [BZ #13941]
29671         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29672         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29673         LDBL_MIN_EXP.
29674         * stdio-common/Makefile (tests): Add tst-sprintf3.
29675         * stdio-common/tst-sprintf3.c: New file.
29677         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29678         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29680 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29682         * conform/conformtest.pl: Remove duplicate typed-constant
29683         handling.
29685 2012-04-28  David S. Miller  <davem@davemloft.net>
29687         * Makerules (%.abilist): Add vpath on sysdep_dirs.
29688         (check-abi-%): Remove AWK script prerequisite and explicit
29689         abilist directory.
29690         (check-abi): Rewrite to just diff the symlist with the abilist.
29691         (config-tls, config-abi-config): Delete, no longer used.
29692         (update-abi-%): Remove AWK script and explicit abilist directory.
29693         (update-abi): Rewrite to simply compare and conditionally copy the
29694         symlist and the sysdep abilist file.  Remove update-abi-config
29695         checks.
29696         * abilist/ld.abilist: Remove.
29697         * abilist/libBrokenLocale.abilist: Remove.
29698         * abilist/libanl.abilist: Remove.
29699         * abilist/libcrypt.abilist: Remove.
29700         * abilist/libdl.abilist: Remove.
29701         * abilist/librt.abilist: Remove.
29702         * abilist/libthread_db.abilist: Remove.
29703         * abilist/libutil.abilist: Remove.
29704         * scripts/extract-abilist.awk: Remove.
29705         * scripts/merge-abilist.awk: Remove.
29706         * sysdeps/generic/libcidn.abilist: New file.
29707         * sysdeps/generic/libnss_compat.abilist: New file.
29708         * sysdeps/generic/libnss_db.abilist: New file.
29709         * sysdeps/generic/libnss_dns.abilist: New file.
29710         * sysdeps/generic/libnss_files.abilist: New file.
29711         * sysdeps/generic/libnss_hesiod.abilist: New file.
29712         * sysdeps/generic/libnss_nis.abilist: New file.
29713         * sysdeps/generic/libnss_nisplus.abilist: New file.
29714         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29715         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29716         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29717         file.
29718         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29719         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29720         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29721         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29722         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29723         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29724         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29725         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29726         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29727         file.
29728         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29729         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29730         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29731         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29732         file.
29733         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29734         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29735         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29736         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29737         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29738         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29739         file.
29740         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29741         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29742         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29743         file.
29744         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29745         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29746         New file.
29747         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29748         New file.
29749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29750         New file.
29751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29752         New file.
29753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29754         New file.
29755         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29756         New file.
29757         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29758         New file.
29759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29760         New file.
29761         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29762         New file.
29763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29764         New file.
29765         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29766         New file.
29767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29768         New file.
29769         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29770         New file.
29771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29772         file.
29773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29774         New file.
29775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29776         New file.
29777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29778         file.
29779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29780         New file.
29781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29782         New file.
29783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29784         file.
29785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29786         New file.
29787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29788         New file.
29789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29790         New file.
29791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29792         New file.
29793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29794         New file.
29795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29796         New file.
29797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29799         file.
29800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29801         New file.
29802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29803         file.
29804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29805         file.
29806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29807         file.
29808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29809         file.
29810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29811         file.
29812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29813         New file.
29814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29815         file.
29816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29817         file.
29818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29819         New file.
29820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29821         file.
29822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29824         file.
29825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29826         New file.
29827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29828         file.
29829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29830         file.
29831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29832         file.
29833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29834         file.
29835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29836         file.
29837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29838         New file.
29839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29840         file.
29841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29842         file.
29843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29844         New file.
29845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29846         file.
29847         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29848         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29849         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29850         file.
29851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29852         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29853         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29854         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29855         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29856         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29857         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29858         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29859         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29860         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29863         file.
29864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29865         New file.
29866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29867         file.
29868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29869         file.
29870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29871         file.
29872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29873         file.
29874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29875         file.
29876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29877         New file.
29878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29879         New file.
29880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29881         file.
29882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29883         New file.
29884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29885         file.
29886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29888         file.
29889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29890         New file.
29891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29892         file.
29893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29894         file.
29895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29896         file.
29897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29898         file.
29899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29900         file.
29901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29902         New file.
29903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29904         New file.
29905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29906         file.
29907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29908         New file.
29909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29910         file.
29912 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29914         * conform/conformtest.pl: Fix typo in handling typed-constant from
29915         allow-header.
29917 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29919         * README: Cut down references to pre-2.6 Linux kernels and
29920         Linuxthreads.  Update lists of configurations in libc and ports
29921         and sort alphabetically.  Say "or newer" with Linux kernel version
29922         requirements.
29924         * config.h.in [IS_IN_build]: Allow compiling without optimization.
29926 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29928         [BZ #887]
29929         * math/libm-test.inc (logb_test_downward): New test to expose
29930         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29931         rounding mode.
29933 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29935         [BZ #14027]
29936         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29937         to be done.
29938         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29939         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29941 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
29943         * sysdeps/unix/i386/brk.S: Remove file.
29944         * sysdeps/unix/i386/dl-brk.S: Likewise.
29945         * sysdeps/unix/i386/pipe.S: Likewise.
29946         * sysdeps/unix/i386/sigreturn.S: Likewise.
29947         * sysdeps/unix/i386/syscall.S: Likewise.
29948         * sysdeps/unix/i386/vfork.S: Likewise.
29949         * sysdeps/unix/i386/wait.S: Likewise.
29951         * sysdeps/unix/common/tcsendbrk.c: Move to ...
29952         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29954         * configure.in (arm*-none*): Do not allow without
29955         --enable-hacker-mode.
29956         (netbsd*): Remove case setting base_os.
29957         (386bsd*): Likewise.
29958         (freebsd*): Likewise.
29959         (bsdi*): Likewise.
29960         (osf*): Likewise.
29961         (sunos*): Likewise.
29962         (ultrix*): Likewise.
29963         (newsos*): Likewise.
29964         (dynix*): Likewise.
29965         (*bsd*): Likewise.
29966         (sysv*): Likewise.
29967         (isc*): Likewise.
29968         (esix*): Likewise.
29969         (sco*): Likewise.
29970         (minix*): Likewise.
29971         (irix4*): Likewise.
29972         (irix6*): Likewise.
29973         (solaris[2-9]*): Likewise.
29974         (none): Likewise.
29975         * configure: Regenerated.
29977 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29979         [BZ #11521]
29980         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
29981         overflow or cancellation in calculating denominator.
29982         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
29983         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
29984         down expression to avoid unexpected rounding in newer GCCs.
29985         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
29987 2012-04-26  David S. Miller  <davem@davemloft.net>
29989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
29990         long-double compat symbols.
29991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
29995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
29997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
29998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
29999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30005 2012-04-25  David S. Miller  <davem@davemloft.net>
30007         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30008         HWCAP_* values only after the memory barriers have been defined.
30009         (atomic_full_barrier): Define.
30010         (atomic_read_barrier): Define.
30011         (atomic_write_barrier): Define.
30013 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30015         * shlib-versions: Add libgcc_s version information.
30016         * sysdeps/generic/libgcc_s.h: Remove.
30017         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30018         libgcc_s.h.
30019         * sysdeps/gnu/unwind-resume.c: Likewise.
30020         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30022 2012-04-25  David S. Miller  <davem@davemloft.net>
30024         * sysdeps/unix/sparc/brk.S: Delete.
30025         * sysdeps/unix/sparc/dl-brk.S: Delete.
30026         * sysdeps/unix/sparc/pipe.S: Delete.
30027         * sysdeps/unix/sparc/sysdep.S: Delete.
30028         * sysdeps/unix/sparc/sysdep.h: Delete.
30029         * sysdeps/unix/sparc/vfork.S: Delete.
30030         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30031         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30032         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30033         ret_ERRVAL, r0, r1, MOVE): Define.
30034         (JUMPTARGET): Remove.
30035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30036         sysdeps/unix/sparc/sysdep.h
30037         (ENTRY, END): Remove.
30038         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30040 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
30042         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30043         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30044         -DIS_IN_build.
30046         * timezone/README: Update upstream location and email address for
30047         tzcode and tzdata.
30048         * timezone/zdump.c: Update from tzcode 2012b.
30049         * timezone/zic.c: Likewise.
30051         * configure.in (libc_cv_as_needed): Remove test.
30052         * configure: Regenerated.
30053         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30054         conditional definition.
30055         [$(have-as-needed) != yes] (no-as-needed): Likewise.
30056         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30057         * config.make.in (have-as-needed): Remove variable.
30059 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30060             Paul Pluzhnikov  <ppluzhnikov@google.com>
30062         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30063         strings correctly.
30065 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
30067         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30068         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30069         * sysdeps/sh/strlen.S: Likewise.
30071 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30073         * sysdeps/unix/fork.S: Remove file.
30074         * sysdeps/unix/i386/fork.S: Likewise.
30075         * sysdeps/unix/sparc/fork.S: Likewise.
30077         * sysdeps/unix/system.c: Remove file.
30078         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30080         * sysdeps/unix/getegid.S: Remove file.
30081         * sysdeps/unix/geteuid.S: Likewise.
30083 2012-04-24  Roland McGrath  <roland@hack.frob.com>
30085         * scripts/check-localplt.awk: New file.
30086         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30087         of diff.
30088         * scripts/data/localplt-generic.data: Add a comment.
30090         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30091         NODE when __dir_mkfile failed.
30092         * sysdeps/mach/hurd/symlinkat.c: Likewise.
30093         Reported by Ludovic Courtès <ludo@gnu.org>.
30095 2012-04-24  Andreas Jaeger  <aj@suse.de>
30097         * Makerules (common-clean): Also remove gen-as-const-headers
30098         files.
30100 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30102         * Makerules (native-compile): Do not change working directory for
30103         build.  Use $(OUTPUT_OPTION) in command.
30104         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30106 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30108         [BZ #13886]
30109         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30110         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30111         * math/libm-test.inc (floor_test): Add more tests.
30112         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30114 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30116         * sysdeps/unix/getdents.c: Remove file.
30117         * sysdeps/unix/sysv/getdents.c: Likewise.
30118         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30120         * sysdeps/unix/syscalls.list (madvise): Add syscall from
30121         sysdeps/unix/mman/syscalls.list.
30122         (mmap): Likewise.
30123         (mprotect): Likewise.
30124         (msync): Likewise.
30125         (munmap): Likewise.
30126         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30127         * sysdeps/unix/mman/syscalls.list: Remove.
30128         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30130         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30131         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30132         * configure: Regenerated.
30133         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30134         $(libgcc_s_suffix).
30135         * config.make.in (libgcc_s_suffix): Remove variable.
30137 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
30139         * sysdeps/unix/sysv/gethostname.c: Move to ...
30140         * sysdeps/posix/gethostname.c: ... here.
30142         * sysdeps/unix/execve.S: Remove file.
30144         * sysdeps/unix/_exit.S: Remove file.
30146 2012-04-23  Andreas Jaeger  <aj@suse.de>
30148         [BZ #13739]
30149         * manual/Makefile: Remove make dist support, there's no
30150         need for a stand-alone documentation tar ball.
30151         (TEXI2DVI): Define always, it's not in Makeconfig.
30152         (dist): Removed.
30153         (tar-it): Removed.
30154         (edition): Removed.
30155         (glibc-doc-$(edition).tar): Removed
30156         (%.Z): Removed.
30157         (%.gz): Removed.
30158         (%.uu): Removed.
30159         (ETAGS): Remove, it's in Makeconfig.
30160         (move-if-change): Remove, it's in Makeconfig.
30162 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
30164         [BZ #13970]
30165         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30166         (strtod, strtof, strtold, strtol, strtoul, strtoq)
30167         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30168         (strtod_l, strtof_l, strtold_l): Remove __wur.
30169         It is not necessarily an error to ignore strtol's return value.
30170         One can reliably look at the stored endptr to decide whether
30171         the number had valid syntax.
30173 2012-04-21  Andreas Jaeger  <aj@suse.de>
30175         [BZ #13739]
30176         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30178 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
30180         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30181         * sysdeps/unix/sysv/Versions: Remove file.
30183 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
30185         [BZ #13927]
30186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30188 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
30190         [BZ #7064]
30191         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30192         version from __vm86.
30194 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
30196         * sysdeps/unix/common/lxstat.c: Remove file.
30197         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30199         * sysdeps/unix/sysv/Makefile: Remove file.
30201         * sysdeps/unix/sysv/direct.h: Remove file.
30203         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30204         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30205         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30206         * sysdeps/unix/sysv/bits/signum.h: Likewise.
30207         * sysdeps/unix/sysv/bits/stat.h: Likewise.
30208         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30209         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30211         * sysdeps/unix/sysv/setrlimit.c: Remove file.
30213         * sysdeps/unix/xmknod.c: Remove file.
30214         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30216         * sysdeps/unix/sysv/settimeofday.c: Remove file.
30218         * sysdeps/unix/sysv/i386/time.S: Remove file.
30220         * sysdeps/unix/fxstat.c: Remove file.
30221         * sysdeps/unix/xstat.c: Likewise.
30222         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30224         * sysdeps/unix/sysv/sigaction.c: Remove file.
30226         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30227         (sysdep_headers): Remove variable.
30228         [termio.h not in sysdep_headers] (generated): Likewise.
30229         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30230         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30231         * sysdeps/unix/sysv/tcdrain.c: Likewise.
30232         * sysdeps/unix/sysv/tcflow.c: Likewise.
30233         * sysdeps/unix/sysv/tcflush.c: Likewise.
30234         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30235         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30236         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30237         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30238         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30240         * sysdeps/unix/siglist.c: Remove file.
30242         * sysdeps/unix/getppid.S: Remove file.
30244         * sysdeps/unix/mkdir.c: Remove file.
30245         * sysdeps/unix/rmdir.c: Likewise.
30247 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
30249         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30250         ERR_MAX value.
30251         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30252         errlist-compat value.
30254 2012-04-18  David S. Miller  <davem@davemloft.net>
30256         * sysdeps/generic/memcopy.h (reg_char): Delete.
30257         * debug/strcat_chk.c: Use char, not reg_char.
30258         * debug/strcpy_chk.c: Likewise.
30259         * debug/strncat_chk.c: Likewise.
30260         * debug/strncpy_chk.c: Likewise.
30261         * string/memchr.c: Likewise.
30262         * string/memrchr.c: Likewise.
30263         * string/rawmemchr.c: Likewise.
30264         * string/strcat.c: Likewise.
30265         * string/strchr.c: Likewise.
30266         * string/strchrnul.c: Likewise.
30267         * string/strcmp.c: Likewise.
30268         * string/strcpy.c: Likewise.
30269         * string/strncat.c: Likewise.
30270         * string/strncmp.c: Likewise.
30271         * string/strncpy.c: Likewise.
30273 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30275         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30276         __builtin_memcopy is called when src and dest ranges are known to not
30277         overlap.
30279 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30281         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30282         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30283         fwd_align_merge macro call.
30284         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30285         bwd_align_merge macro call.
30286         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30288 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30290         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30291         bwd_align_merge macros.
30292         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30293         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30294         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30296 2012-04-18  David S. Miller  <davem@davemloft.net>
30298         * sysdeps/sparc/sparc64/memcopy.h: Delete.
30300 2012-04-18  Andreas Jaeger  <aj@suse.de>
30302         [BZ# 6794]
30303         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30304         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30305         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30307         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30308         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30309         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30311         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30312         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30313         Adjust for changed ldbl-128 files.
30315         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30316         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30317         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30319 2012-04-17  David S. Miller  <davem@davemloft.net>
30321         * sysdeps/sparc/sparc32/memcopy.h: Delete.
30323 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
30325         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30326         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30327         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30328         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30329         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30330         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30332 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30334         [BZ #6794]
30335         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30336         * math/libm-test.inc: Add ilogb errno and exception tests.
30337         * math/w_ilogb.c: New file: ilogb wrapper.
30338         * math/w_ilogbf.c: New file: ilogbf wrapper.
30339         * math/w_ilogbl.c: New file: ilogbl wrapper.
30340         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30341         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30342         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30343         exception being thrown with 0.0 as argument.
30344         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30345         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30346         exception being thrown with 0.0 as argument.
30347         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30348         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30349         exception being thrown with 0.0 as argument.
30350         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30351         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30352         exception being thrown with 0.0 as argument.
30353         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30354         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30355         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30356         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30357         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30358         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30359         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30360         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30361         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30363 2012-04-17  Petr Baudis  <pasky@ucw.cz>
30365         * include/sys/uio.h: Change __vector to __iovec to avoid clash
30366         with altivec.
30368 2012-04-16  Marek Polacek  <polacek@redhat.com>
30370         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30372 2012-04-16  Marek Polacek  <polacek@redhat.com>
30374         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30375         operands of fdivp instruction.
30377 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30379         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30380         * elf/tst-auditmod3b.c: Likewise.
30381         * elf/tst-auditmod4b.c: Likewise.
30382         * elf/tst-auditmod5b.c: Likewise.
30383         * elf/tst-auditmod6b.c: Likewise.
30384         * elf/tst-auditmod6c.c: Likewise.
30385         * elf/tst-auditmod7b.c: Likewise.
30386         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30387         * sysdeps/x86_64/preconfigure.in: Likewise.
30388         * sysdeps/x86_64/preconfigure: Regenerated.
30390 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30392         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30393         __ILP32__.
30395 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
30397         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30398         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30400 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
30402         [BZ #13973]
30403         * locale/iso-639.def: Fix gl language name. Spotted by
30404         Yaron Shahrabani.
30406 2012-04-12  Roland McGrath  <roland@hack.frob.com>
30408         [BZ #2074]
30409         * libio/libio.h (__io_write_fn): Update comment.
30411 2012-04-12  Petr Baudis  <pasky@ucw.cz>
30413         [BZ #2074]
30414         * stdio.texi (Hook Functions): The user provided writer function
30415         is not allowed to return -1.
30417 2012-04-11  David S. Miller  <davem@davemloft.net>
30419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30421 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
30423         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30424         Add a leading slash to rtkaio.
30426 2012-04-11  Jim Meyering  <meyering@redhat.com>
30428         [BZ #11959]
30429         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30430         It is not necessarily an error to ignore fwrite's return
30431         value.  One can reliably use ferror to test for errors after
30432         the fact.
30434 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30436         * bits/types.h (__snseconds_t): New type.
30437         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30439         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30440         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30441         (__SNSECONDS_T_TYPE): Likewise.
30442         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30443         (__SNSECONDS_T_TYPE): Likewise.
30444         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30445         (__SNSECONDS_T_TYPE): Likewise.
30447 2012-04-10  Andreas Jaeger  <aj@suse.de>
30449         [BZ #2636]
30450         * manual/time.texi (Processor Time): Return type of times is
30451         elapsed real time since an arbitrary point in the past.
30452         (CPU Time): Move CLK_TCK from here...
30453         (Processor Time): ...to here.  Correct description.
30454         * manual/conf.texi (Constants for Sysconf): Correct description of
30455         _SC_CLK_TCK.
30457 2012-04-10  David S. Miller  <davem@davemloft.net>
30459         [BZ #13967]
30460         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30461         where the is a gap between DT_REL(A) and DT_JMPREL.
30463 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30465         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30466         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30467         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30469 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30471         * elf/dl-support.c (_dl_inhibit_cache): New variable.
30472         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30473         (dl_main): Handle --inhibit-cache.
30474         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30475         _dl_inhibit_cache.
30476         * elf/dl-load.c (_dl_map_object): Use it.
30477         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30479 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
30481         [BZ #13872]
30482         * sysdeps/i386/fpu/e_powl.S (p78): New object.
30483         (__ieee754_powl): Saturate large exponents rather than testing for
30484         overflow of y*log2(x).
30485         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30486         * math/libm-test.inc (pow_test): Do not permit spurious overflow
30487         exceptions.
30489         [BZ #11521]
30490         * math/s_ctan.c: Include <float.h>.
30491         (__ctan): Avoid internal overflow or cancellation in calculating
30492         denominator.
30493         * math/s_ctanf.c: Likewise.
30494         * math/s_ctanl.c: Likewise.
30495         * math/s_ctanh.c: Likewise.
30496         * math/s_ctanhf.c: Likewise.
30497         * math/s_ctanhl.c: Likewise.
30498         * math/libm-test.inc (ctan_test): Add more tests.
30499         (ctanh_test): Likewise.
30500         * sysdeps/i386/fpu/libm-test-ulps: Update.
30501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30503 2012-04-09  Andreas Jaeger  <aj@suse.de>
30505         [BZ #6894]
30506         * manual/filesys.texi (Directory Entries): Mention that d_namlen
30507         is an optional BSD extension.
30509         [BZ #10254]
30510         * manual/stdio.texi (Opening Streams): Document additional fopen
30511         parameters.
30513 2012-04-09  Roland McGrath  <roland@hack.frob.com>
30515         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30516         %eax without telling the compiler.
30518 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
30520         [BZ # 13963]
30521         * manual/install.texi: Use sourceware.org.
30523 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
30525         [BZ #13873]
30526         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30527         (__ieee754_pow): Generate overflow and underflow using huge*huge
30528         and tiny*tiny rather than just returning constant infinity or zero
30529         for large exponents.
30530         * math/libm-test.inc (pow_test): Require overflow exceptions for
30531         applicable cases of large exponents.
30533         [BZ #706]
30534         * sysdeps/i386/fpu/e_pow.S (p10): New object.
30535         (__ieee754_pow): Use iterative multiplication algorithm only for
30536         integer exponents with absolute value below 1024.  Check for odd
30537         integer exponents when using algorithm for real exponents.
30538         * math/libm-test.inc (pow_test): Add more tests.
30539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30541 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
30543         [BZ #13705]
30544         * math/libm-test.inc (exp_test): Do not allow overflow exception
30545         on underflow test.
30547 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
30549         [BZ #13705]
30550         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30551         instead of __kernel_standard_f.
30553 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
30555         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30556         * sysdeps/x86_64/memset_chk.S: Likewise.
30558 2012-04-08  Andreas Jaeger  <aj@suse.de>
30560         [BZ #10153]
30561         * manual/startup.texi (Environment Access): Describe return value
30562         for putenv and setenv.
30564         [BZ #6895]
30565         * manual/filesys.texi (Directory Entries): Add description for
30566         DT_LNK.
30568         [BZ #6890]
30569         * manual/filesys.texi (Directory Entries): Clarify that it's file
30570         system not operating system in the description of DT_UNKNOWN.
30572         [BZ #6578]
30573         * manual/syslog.texi (closelog): Fix reference, it's openlog.
30575 2012-04-08  Stephen Compall  <s11@member.fsf.org>
30577         [BZ #6649]
30578         * manual/llio.texi (Opening and Closing Files): Add cross
30579         reference to explain mode argument.
30581 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
30583         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30584         * sysdeps/x86_64/memset_chk.S: Likewise.
30586 2012-04-07  David S. Miller  <davem@davemloft.net>
30588         * elf/elf.h (R_SPARC_WDISP10): Define.
30589         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30590         R_SPARC_SIZE32.
30591         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30592         R_SPARC_SIZE64 and R_SPARC_H34.
30594 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
30596         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30597         conditions and remove no longer applicable assertion.
30599 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30601         * bits/byteswap.h: Include <features.h>.
30602         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30603         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30605 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30607         * bits/byteswap.h (__bswap_16): Removed.
30608         Include <bits/byteswap-16.h> to get __bswap_16.
30609         * sysdeps/i386/bits/byteswap.h: Likewise.
30610         * sysdeps/s390/bits/byteswap.h: Likewise.
30611         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30612         * bits/byteswap-16.h: New file.
30613         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30614         * sysdeps/s390/bits/byteswap-16.h: Likewise.
30615         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30616         * string/Makefile (headers): Add bits/byteswap-16.h.
30618 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30620         [BZ #13895]
30621         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30622         extra indirection.
30623         * nss/Makefile (tests-static, tests): Add tst-nss-static.
30624         * nss/tst-nss-static.c: New.
30626 2012-04-06  Robert Millan  <rmh@gnu.org>
30628         [BZ #6486]
30629         * manual/llio.texi (File Position Primitive): lseek
30630         refers to WHENCE when it really means OFFSET.
30632 2012-04-06  Andreas Jaeger  <aj@suse.de>
30634         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30635         strncmp declarations.
30637         * abilist/libc.abilist: Add __poll and __ppoll.
30639 2012-04-05  David S. Miller  <davem@davemloft.net>
30641         * scripts/check-local-headers.sh: Accept a host triplet in the
30642         path matched by the exclude regexp.
30644         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30645         definition.
30646         * sysdeps/powerpc/powerpc32/dl-machine.h
30647         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30648         * sysdeps/s390/s390-32/dl-machine.h
30649         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30650         * sysdeps/sparc/sparc32/dl-machine.h
30651         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30652         * sysdeps/sparc/sparc64/dl-machine.h
30653         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30655         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30656         lazy binding.
30657         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30658         undefined symbol errors.
30660         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30661         DT_NEEDED entries.
30663 2012-04-05  Michael Matz  <matz@suse.de>
30665         [BZ #13592]
30666         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30668 2012-04-05  Andreas Jaeger  <aj@suse.de>
30670         [BZ #13908]
30671         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30672         comment.
30674 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30676         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30677         which ROUND is no valid rounding mode.
30679 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30681         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30682         read again.
30683         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30685 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30687         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30688         an exception using FPU order intentionally.
30690 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30692         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30693         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30694         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30695         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30697 2012-04-05  Simon Josefsson  <simon@josefsson.org>
30699         [BZ #12340]
30700         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30701         EINVAL when BUFLEN is too smal.
30703 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30705         [BZ #13553]
30706         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30707         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30709 2012-04-03  Andreas Jaeger  <aj@suse.de>
30711         [BZ #13938]
30712         * manual/setjmp.texi (System V contexts): Fix sentence.
30714         [BZ #13926]
30715         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30716         New macro for this case.
30717         [!__GNUC__] (__bswap_64): New inline function for this case.
30718         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30719         * bits/byteswap.h: Likewise.
30720         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30721         ull, guard with __GLIBC_HAVE_LONG_LONG.
30723         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30724         __GLIBC_HAVE_LONG_LONG.
30726         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30727         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30729 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30731         [BZ #13691]
30732         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30733         inptr and inend, rather than using last_ch.
30735 2012-04-02  David S. Miller  <davem@davemloft.net>
30737         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30738         * stdio-common/printf-parse.h (read_int): Change return type to
30739         'int', return -1 on INT_MAX overflow.
30740         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30741         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
30742         overflows INT_MAX.  Check for overflow of in-format-string precision
30743         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
30744         SIZE_MAX not INT_MAX for integer overflow test.
30745         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30746         skip the construct in the format string but do not record anything.
30747         * stdio-common/bug22.c: Adjust to test both width/prevision
30748         INT_MAX overflow as well as total length INT_MAX overflow.  Check
30749         explicitly for proper errno values.
30751 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30753         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30754         CHAR_MAX.
30755         * string/test-strcmp.c [! WIDE]: Likewise.
30756         * time/tst-mktime2.c: Likewise for INT_MAX.
30757         * string/test-string.h: #include <sys/param.h> for MIN.
30759         * csu/init-first.c (__libc_init_first): Call __ctype_init.
30760         * sysdeps/i386/init-first.c (init): Likewise.
30761         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30762         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30763         * sysdeps/sh/init-first.c (init): Likewise.
30765 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
30767         * po/ru.po: Update from translation team.
30768         * po/vi.po: Likewise.
30770 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30772         * resolv/nss_dns/dns-host.c: Merge copyright years.
30774 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30776         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30777         Optimize memcpy with prefetch if
30778         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
30779         src, dst pointers have unequal 16 byte alignments.
30781 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30783         [BZ #13928]
30784         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30785         from a CNAME entry and return the minimum ttl for the query.
30786         (gaih_getanswer_slice): Likewise.
30788 2012-03-30  Jeff Law  <law@redhat.com>
30790         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30791         due to long keys.
30792         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30793         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30795         * resolv/nss_dns/dns-host.c: Update copyright year.
30797 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
30799         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30800         requests to save a system call.  Fix check that all bytes are sent.
30802         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30803         comments for sendmmsg.
30805 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30807         [BZ #13691]
30808         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30809         with only 1 character between 0x0041 and 0x01b0.
30810         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30811         * wcsmbs/tst-mbsnrtowcs.c: New file.
30813 2012-03-29  David S. Miller  <davem@davemloft.net>
30815         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30816         small copies by hand.
30818 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30820         [BZ #13761]
30821         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30822         _nss_compat_initgroups_dyn): Fall back to malloc/free
30823         for large group memberships.
30825 2012-03-28  David S. Miller  <davem@davemloft.net>
30827         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30828         that branches into memcpy.
30829         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30830         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30831         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30832         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30833         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30834         bits.
30835         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30836         implementation too.
30837         * sysdeps/sparc/mempcpy.S: New file.
30839         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30840         the IFUNC routine in the libc case.
30841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30843         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30844         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30845         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30846         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30847         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30848         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30849         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30850         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30852         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30853         loop to 256 bytes instead of 64 bytes and fix test signedness.
30855         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30856         * sysdeps/sparc/sparc32/Makefile: rather than here...
30857         * sysdeps/sparc/sparc64/Makefile: and here.
30859 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
30861         * malloc/mallocbug.c: Avoid warnings about unused variables.
30863 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30865         [BZ #13760]
30866         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30867         in the right place. Discard and retry query if response is
30868         larger than input buffer size.
30870 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
30872         [BZ #369]
30873         [BZ #2678]
30874         [BZ #3866]
30875         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30876         x for large integer exponent.
30877         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30878         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
30879         sign of result as needed afterwards.
30880         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30881         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30882         result for underflowing pow the same as for overflow.
30883         (__kernel_standard_l): Handle powl overflow and underflow here
30884         rather than calling __kernel_standard.
30885         * math/libm-test.inc (pow_test): Add more tests.
30887         [BZ #3868]
30888         [BZ #13879]
30889         [BZ #13910]
30890         [BZ #13911]
30891         [BZ #13912]
30892         [BZ #13913]
30893         [BZ #13915]
30894         [BZ #13916]
30895         [BZ #13917]
30896         [BZ #13918]
30897         [BZ #13919]
30898         [BZ #13920]
30899         [BZ #13921]
30900         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30901         * sysdeps/ieee754/k_standard.c: Include <float.h>.
30902         (__kernel_standard_l): New function.
30903         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30904         __kernel_standard.
30905         * math/w_acosl.c (__acosl): Likewise.
30906         * math/w_asinl.c (__asinl): Likewise.
30907         * math/w_atan2l.c (__atan2l): Likewise.
30908         * math/w_atanhl.c (__atanhl): Likewise.
30909         * math/w_coshl.c (__coshl): Likewise.
30910         * math/w_exp10l.c (__exp10l): Likewise.
30911         * math/w_exp2l.c (__exp2l): Likewise.
30912         * math/w_fmodl.c (__fmodl): Likewise.
30913         * math/w_hypotl.c (__hypotl): Likewise.
30914         * math/w_j0l.c (__j0l, __y0l): Likewise.
30915         * math/w_j1l.c (__j1l, __y1l): Likewise.
30916         * math/w_jnl.c (__jnl, __ynl): Likewise.
30917         * math/w_lgammal.c (__lgammal): Likewise.
30918         * math/w_log10l.c (__log10l): Likewise.
30919         * math/w_log2l.c (__log2l): Likewise.
30920         * math/w_logl.c (__logl): Likewise.
30921         * math/w_powl.c (__powl): Likewise.
30922         * math/w_remainderl.c (__remainderl): Likewise.
30923         * math/w_scalbl.c (sysv_scalbl): Likewise.
30924         * math/w_sinhl.c (__sinhl): Likewise.
30925         * math/w_sqrtl.c (__sqrtl): Likewise.
30926         * math/w_tgammal.c (__tgammal): Likewise.
30927         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30928         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30929         * math/libm-test.inc (acos_test): Add more tests.
30930         (acosh_test): Likewise.
30931         (asin_test): Likewise.
30932         (atanh_test): Likewise.
30933         (exp_test): Likewise.
30934         (exp10_test): Likewise.
30935         (exp2_test): Likewise.
30936         (expm1_test): Likewise.
30937         (lgamma_test): Likewise.
30938         (log_test): Likewise.
30939         (log10_test): Likewise.
30940         (log1p_test): Likewise.
30941         (log2_test): Likewise.
30942         (pow_test): Do not allow some spurious overflow exceptions.
30943         (sqrt_test): Add more tests.
30944         (tgamma_test): Likewise.
30945         (y0_test): Likewise.
30946         (y1_test): Likewise.
30947         (yn_test): Likewise.
30949 2012-03-27  Anton Blanchard  <anton@samba.org>
30951         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30952         MAP_HUGETLB.
30953         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30954         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30955         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30957 2012-03-27  David S. Miller  <davem@davemloft.net>
30959         * conform/Makefile: Run run-conformtest.sh using $(BASH).
30961         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30962         have-as-vis3 check.
30964 2012-03-27  Andreas Jaeger  <aj@suse.de>
30966         * sysdeps/x86_64/elf/configure.in: Moved to ...
30967         * sysdeps/x86_64/configure.in: ... here.
30968         * sysdeps/x86_64/elf/start.S: Moved to ...
30969         * sysdeps/x86_64/start.S: ... here.
30970         * sysdeps/x86_64/elf/configure: Delete.
30972         * sysdeps/x86_64/configure.in: Merge contents from
30973         sysdeps/i386/configure.in (without i686 check).
30975         * sysdeps/i386/elf/Versions: Merge into ...
30976         * sysdeps/i386/Versions: ... this.
30977         * sysdeps/i386/elf/Versions: Delete file.
30978         * sysdeps/i386/elf/start.S: Moved to ...
30979         * sysdeps/i386/start.S: ...here.
30980         * sysdeps/i386/elf/configure.in: Merge into...
30981         * sysdeps/i386/configure.in: ...here.
30982         * sysdeps/i386/elf/configure.in: Delete file.
30983         * sysdeps/i386/elf/configure: Delete file.
30985         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
30986         * debug/backtracesyms.c: ... here.
30987         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
30988         * debug/backtracesymsfd.c: ... here.
30989         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
30990         * sysdeps/generic/ifunc-sel.h: ... here.
30992         * sysdeps/unix/i386/start.c: Delete file.
30993         * sysdeps/unix/sparc/start.c: Delete file.
30994         * sysdeps/unix/start.c: Delete file.
30996         * sysdeps/sh/elf/configure.in: Moved to ...
30997         * sysdeps/sh/configure.in: ... here.
30998         * sysdeps/sh/elf/start.S: Moved to ...
30999         * sysdeps/sh/start.S: ... here.
31000         * sysdeps/sh/elf/configure: Delete file.
31002         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31003         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31004         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31005         * sysdeps/powerpc/powerpc64/entry.h: ... here.
31006         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31007         * sysdeps/powerpc/powerpc64/start.S: here.
31008         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31009         * sysdeps/powerpc/powerpc64/Makefile: ... this.
31010         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31011         * sysdeps/powerpc/powerpc64/configure.in: ... this.
31012         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31014         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31015         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31016         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31017         * sysdeps/powerpc/powerpc32/start.S: ... here.
31018         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31019         * sysdeps/powerpc/powerpc32/configure.in: ... this.
31020         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31022         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31023         * sysdeps/powerpc/ifunc-sel.h: ... here.
31024         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31025         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31027         * sysdeps/sparc/elf/configure.in: Moved to ...
31028         * sysdeps/sparc/configure.in: ... here.
31029         * sysdeps/sparc/elf/configure: Delete file.
31030         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31031         * sysdeps/sparc/sparc32/start.S: ... here.
31032         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31033         * sysdeps/sparc/sparc64/start.S: ... here.
31034         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31035         * sysdeps/sparc/sparc32/Makefile: ... this.
31036         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31037         * sysdeps/sparc/sparc64/Makefile: ... this.
31039         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31040         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31041         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31042         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31043         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31044         * sysdeps/s390/s390-32/setjmp.S: ... here.
31045         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31046         * sysdeps/s390/s390-32/configure.in: ... here.
31047         * sysdeps/s390/s390-32/elf/configure: Delete file.
31048         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31049         * sysdeps/s390/s390-32/start.S: ... here.
31051         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31052         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31053         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31054         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31055         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31056         * sysdeps/s390/s390-64/setjmp.S: ... here.
31057         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31058         * sysdeps/s390/s390-64/configure.in: ... here
31059         * sysdeps/s390/s390-64/elf/configure: Delete file.
31060         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31061         * sysdeps/s390/s390-64/start.S: ... here.
31062         * sysdeps/s390/s390-64/elf/configure: Delete.
31064         * configure.in: Remove support for elf directories in sysdeps.
31066         * configure: Regenerated.
31067         * sysdeps/i386/configure: Regenerated.
31068         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31069         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31070         * sysdeps/s390/s390-32/configure: Regenerated.
31071         * sysdeps/s390/s390-64/configure: Regenerated.
31072         * sysdeps/sh/configure: Regenerated.
31073         * sysdeps/sparc/configure: Regenerated.
31074         * sysdeps/x86_64/configure: Regenerated.
31076 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
31078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31080         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31081         denormal result into account.
31083 2012-03-25  Roland McGrath  <roland@hack.frob.com>
31085         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31086         Reported by Allan McRae <allan@archlinux.org>.
31088 2012-03-23  Jeff Law  <law@redhat.com>
31090         * nss/getnssent.c (__nss_getent): Fix typo.
31092 2012-03-23  David S. Miller  <davem@davemloft.net>
31094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31096 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
31098         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31099         to pad to uint64_t for each field.
31100         (dl_tls_index): Replace unsigned long with uint64_t.
31102 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
31103         Paul Pluzhnikov  <ppluzhnikov@google.com>
31105         [BZ #6528]
31106         * grp/Makefile (otherlibs): Don't set it.
31107         * inet/Makefile (otherlibs): Likewise.
31108         * login/Makefile (otherlibs): Likewise.
31109         * nscd/Makefile (otherlibs): Likewise.
31110         * posix/Makefile (otherlibs): Likewise.
31111         * pwd/Makefile (otherlibs): Likewise.
31112         * rt/Makefile (otherlibs): Likewise.
31113         * sunrpc/Makefile (otherlibs): Likewise.
31114         * nss/Makefile (otherlibs): Likewise.
31115         Add libnss_files to routines and static-only-routines.
31116         ($(objpfx)getent): Remove rule.
31117         * resolv/Makefile: Add libnss_dns and libresolv to routines and
31118         static-only-routines.
31120 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31122         [BZ #13892]
31123         * math/s_cexp.c: Include <float.h>.
31124         (__cexp): Handle exp result overflowing not necessarily
31125         overflowing both real and imaginary parts of result.
31126         * math/s_cexpf.c: Likewise.
31127         * math/s_cexpl.c: Likewise.
31128         * math/libm-test.inc (cexp_test): Add more tests.
31129         * sysdeps/i386/fpu/libm-test-ulps: Update.
31130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31132 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31134         * include/link.h (ELFW): New macro.
31135         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31136         Replace ELF64_R_TYPE with ELFW(R_TYPE).
31138 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31140         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31141         with uint64_t.
31143 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31145         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31146         declaration.
31147         (struct La_x32_retval): Likewise.
31149 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31151         * sysdeps/x86_64/preconfigure.in: New file.
31152         * sysdeps/x86_64/preconfigure: New generated file.
31154 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31156         [BZ #13824]
31157         * math/e_exp2l.c: Include <float.h>.
31158         (__ieee754_exp2l): Handle overflow and underflow cases
31159         separately.  Only pass fractional part of argument to
31160         __ieee754_expl.
31161         * math/libm-test.inc (exp2_test): Add more tests.
31163         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31164         negating x to take absolute value.
31165         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31166         Likewise.
31167         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31168         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31169         Likewise.
31170         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31171         computing low part if x was negated.
31172         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31174 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31176         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31177         la_x32_gnu_pltexit.
31178         (pltexit): Cast int_retval to ptrdiff_t.
31179         * elf/tst-auditmod3b.c: Likewise.
31180         * elf/tst-auditmod4b.c: Likewise.
31181         * elf/tst-auditmod5b.c: Likewise.
31182         * elf/tst-auditmod6b.c: Likewise.
31183         * elf/tst-auditmod6c.c: Likewise.
31184         * elf/tst-auditmod7b.c: Likewise.
31186         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31187         and x32_gnu_pltexit.
31189         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31190         __ELF_NATIVE_CLASS.
31191         (La_x32_regs): New macro.
31192         (La_x32_retval): Likewise.
31193         (la_x32_gnu_pltenter): New function prototype.
31194         (la_x32_gnu_pltexit): Likewise.
31196 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
31198         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31199         exponent.
31201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31203         * configure.in (libc_cv_cc_nofma): Check for option to disable
31204         generation of FMA instructions.
31205         * configure: Regenerate.
31206         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31207         * sysdeps/ieee754/dbl-64/Makefile: New file.
31208         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31209         Remove brandred-fma4.
31210         (CFLAGS-brandred-fma4.c): Remove.
31211         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31212         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31213         define.
31214         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31215         define.
31217 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31219         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31220         LLONG_MAX != LONG_MAX.
31221         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31222         (_fitoa_word): Likewise.
31223         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31224         LLONG_MAX != LONG_MAX.
31225         * stdio-common/_itowa.h: Include <_itoa.h>.
31226         (_itowa_word): Use _ITOA_WORD_TYPE on value.
31227         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
31228         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
31229         only if not defined.
31230         (_ITOA_WORD_TYPE): Likewise.
31231         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31232         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31234 2012-03-21  David S. Miller  <davem@davemloft.net>
31236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31238 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31240         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31241         of x86_64 when setting libc_cv_slibdir, libdir and
31242         libc_cv_localedir.
31243         * sysdeps/unix/sysv/linux/configure: Regenerated.
31245 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31247         * manual/lang.texi (Old Varargs): Remove section.
31248         (How Variadic): Update menu.
31249         (va_start): Do not mention varargs.h.
31251 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31252             Joseph Myers  <joseph@codesourcery.com>
31254         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31255         link test.
31256         * configure: Regenerated.
31258 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31260         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31261         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31262         conformtest.pl
31264 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31266         * NOTES: Remove.
31267         * Makefile (files-for-dist): Remove NOTES.
31268         (NOTES): Remove rule.
31269         * README: Don't refer to NOTES.
31270         * manual/creature.texi: Don't include macros.texi.
31271         * manual/intro.texi (creature.texi): Remove comment referring to
31272         NOTES.
31274         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31275         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31276         * configure: Regenerated.
31277         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31278         LIBC_TRY_CC_OPTION.
31279         (libc_cv_as_i686): Likewise.
31280         (libc_cv_cc_avx): Likewise.
31281         (libc_cv_cc_sse2avx): Likewise.
31282         (libc_cv_cc_fma4): Likewise.
31283         (libc_cv_cc_novzeroupper): Likewise.
31284         * sysdeps/i386/configure: Regenerated.
31286         [BZ #13883]
31287         * sysdeps/i386/fpu/s_cexp.S: Remove.
31288         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31289         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31290         * math/libm-test.inc (cexp_test): Add more tests.
31291         * sysdeps/i386/fpu/libm-test-ulps: Update.
31292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31294 2012-03-21  Allan McRae  <allan@archlinux.org>
31296         * timezone/Makefile: Do not install iso3166.tab and zone.tab
31298 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31300         [BZ #13871]
31301         * math/w_exp2.c: Do not include <float.h>.
31302         (o_threshold, u_threshold): Remove.
31303         (__exp2): Calculate result before checking finiteness and calling
31304         __kernel_standard.
31305         * math/w_exp2f.c: Likewise.
31306         * math/w_exp2l.c: Likewise.
31307         * math/libm-test.inc (exp2_test): Require overflow exception for
31308         1e6 input.
31310         [BZ #3866]
31311         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31312         range of signed 64-bit integers before using fistpll.  Remove
31313         checks for whether integers fit in mantissa bits.
31314         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31315         the range of signed 32-bit integers before using fistpl.  Remove
31316         checks for whether integers fit in mantissa bits.
31317         * sysdeps/i386/fpu/e_powl.S (p64): New object.
31318         (__ieee754_powl): Test for y outside the range of signed 64-bit
31319         integers before using fistpll.  Reduce 64-bit values to 63-bit
31320         ones as needed.
31321         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31322         divide-by-zero is raised for zero to large negative powers.
31323         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31324         (__ieee754_powl): Test for y outside the range of signed 64-bit
31325         integers before using fistpll.  Reduce 64-bit values to 63-bit
31326         ones as needed.
31327         * math/libm-test.inc (pow_test): Add more tests.
31329 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31331         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31332         <stdio-common/_itoa.h>.
31333         * debug/segfault.c: Likewise.
31334         * elf/dl-cache.c: Likewise.
31335         * elf/dl-minimal.c: Likewise.
31336         * elf/dl-misc.c: Likewise.
31337         * elf/dl-sysdep.c: Likewise.
31338         * elf/dl-version.c: Likewise.
31339         * elf/rtld.c: Likewise.
31340         * hurd/hurdsock.c: Likewise.
31341         * hurd/lookup-retry.c: Likewise.
31342         * malloc/malloc.c: Likewise.
31343         * malloc/mtrace.c: Likewise.
31344         * nscd/nscd_getgr_r.c: Likewise.
31345         * nscd/nscd_getpw_r.c: Likewise.
31346         * nscd/nscd_getserv_r.c: Likewise.
31347         * posix/getopt_init.c: Likewise.
31348         * posix/wordexp.c: Likewise.
31349         * stdio-common/_itoa.c: Likewise.
31350         * stdio-common/printf_fphex.c: Likewise.
31351         * stdio-common/vfprintf.c: Likewise.
31352         * string/_strerror.c: Likewise.
31353         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31354         * sysdeps/i386/i686/hp-timing.h: Likewise.
31355         * sysdeps/mach/_strerror.c: Likewise.
31356         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31357         * sysdeps/mach/hurd/sethostid.c: Likewise.
31358         * sysdeps/mach/hurd/xmknodat.c: Likewise.
31359         * sysdeps/mach/xpg-strerror.c: Likewise.
31360         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31361         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31362         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31363         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31364         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31365         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31366         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31367         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31368         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31369         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31370         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31371         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31372         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31373         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31374         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31375         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31376         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31377         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31378         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31379         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31380         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31382         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31384         * stdio-common/_itoa.h: Moved to ...
31385         * sysdeps/generic/_itoa.h: Here.
31387         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31389         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31390         instead of "_itoa.h" and "_itowa.h".
31391         * stdio-common/vfprintf.: Likewise.
31393 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31395         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31396         <bits/wordsize.h>.
31397         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31398         (__signbit): Likwise.
31399         (llrintf): Likwise.
31400         (llrint): Likwise.
31402 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31404         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31405         __WORDSIZE != 64.
31407 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
31409         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31410         OVERFLOW_EXCEPTION_OK.
31411         * math/libm-test.inc ("Philosophy"): Update comment about
31412         exception testing.
31413         (OVERFLOW_EXCEPTION): Define.
31414         (OVERFLOW_EXCEPTION_OK): Likewise.
31415         (INVALID_EXCEPTION_OK): Renumber.
31416         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31417         (IGNORE_ZERO_INF_SIGN): Likewise.
31418         (test_exceptions): Handle FE_OVERFLOW.
31419         (exp10_test): Expect overflow exceptions.
31420         (exp2_test): Likewise.
31421         (expm1_test): Likewise.
31422         (nextafter_test): Likewise.
31423         (pow_test): Likewise.
31424         (scalbn_test): Likewise.
31425         (scalbln_test): Likewise.
31427 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31429         * sysdeps/x86_64/bits/atomic.h
31430         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31431         64bit integer.
31432         (atomic_exchange_acq): Likewise.
31433         (__arch_exchange_and_add_body): Likewise.
31434         (__arch_add_body): Likewise.
31435         (atomic_add_negative): Likewise.
31436         (atomic_add_zero): Likewise.
31438 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31440         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31441         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31443 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31445         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31446         Check __x86_64__ instead of __WORDSIZE.
31448 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31450         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31452 2012-03-19  David S. Miller  <davem@davemloft.net>
31454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31456         * sysdeps/sparc/fpu/fenv_private.h: New file.
31457         * sysdeps/sparc/fpu/math_private.h: Use it.
31458         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31459         Remove.
31460         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31461         (libc_feholdexcept_setroundl): Remove.
31462         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31463         Remove.
31464         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31465         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31467 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31469         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31470         int64_t instead of long int.
31471         (INSERT_WORDS64): Likwise.
31473 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31475         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31476         _Unwind_GetCFA return to _Unwind_Ptr first.
31478 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
31480         [BZ #13629]
31481         * math/s_clog.c: Include <float.h>.
31482         (__clog): Scale large or subnormal inputs.
31483         * math/s_clogf.c: Likewise.
31484         * math/s_clogl.c: Likewise.
31485         * math/s_clog10.c: Include <float.h>.
31486         (M_LOG10_2): Define.
31487         (__clog10): Scale large or subnormal inputs.
31488         * math/s_clog10f.c: Likewise.
31489         * math/s_clog10l.c: Likewise.
31490         * math/libm-test.inc (clog_test): Add more tests.
31491         (clog10_test): Likewise.
31492         * sysdeps/i386/fpu/libm-test-ulps: Update.
31493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31495         [BZ #11451]
31496         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31497         x and y.
31498         * math/libm-test.inc (atan2_test): Add another test.
31500         * Makerules (common-objdir-compile): Remove.
31501         * sysdeps/unix/Makefile (config-generated): Do not add
31502         $(unix-generated) to variable.
31503         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31504         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31505         Remove rule.
31506         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31507         Likewise.
31508         [generic bits/local_lim.h] (before-compile): Do not append to
31509         variable.
31510         [generic bits/local_lim.h] (common-generated): Likewise.
31511         [generic sys/param.h] (before-compile): Do not append to variable.
31512         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31513         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31514         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31515         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31516         include.
31517         [generic sys/param.h] (sys/param.h-includes): Remove variable.
31518         [generic sys/param.h] (sys/param.h-includes): Remove rule.
31519         [generic sys/param.h] ($(addprefix
31520         $(common-objpfx),$(sys/param.h-includes))): Likewise.
31521         [generic sys/param.h] (common-generated): Do not append to
31522         variable.
31523         [generic sys/param.h] (sysdep_headers): Likewise.
31524         [generic bits/errno.h] (before-compile): Do not append to
31525         variable.
31526         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31527         rule.
31528         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31529         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31530         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31531         [generic bits/errno.h] (common-generated): Do not append to
31532         variable.
31533         [generic bits/ioctls.h] (before-compile): Do not append to
31534         variable.
31535         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31536         rule.
31537         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31538         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31539         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31540         rule.
31541         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31542         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31543         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31544         [generic bits/ioctls.h] (common-generated): Do not append to
31545         variable.
31546         [generic sys/syscall.h] (syscall.h): Remove variable.
31547         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31548         rule.
31549         [generic sys/syscall.h] (before-compile): Do not append to
31550         variable.
31551         [generic sys/syscall.h] (common-generated): Likewise.
31552         * sysdeps/unix/errnos-tmpl.c: Remove file.
31553         * sysdeps/unix/errnos.awk: Likewise.
31554         * sysdeps/unix/ioctls-tmpl.c: Likewise.
31555         * sysdeps/unix/ioctls.awk: Likewise.
31556         * sysdeps/unix/mk-local_lim.c: Likewise.
31557         * sysdeps/unix/snarf-ioctls: Likewise.
31559 2012-03-19  Richard Henderson  <rth@twiddle.net>
31561         * sysdeps/i386/fpu/fenv_private.h: New file.
31562         * sysdeps/i386/fpu/math_private.h: Use it.
31563         (math_opt_barrier, math_force_eval): Remove.
31564         (libc_feholdexcept_setround_53bit): Remove.
31565         (libc_feupdateenv_53bit): Remove.
31566         * sysdeps/x86_64/fpu/math_private.h: Likewise.
31567         (math_opt_barrier, math_force_eval): Remove.
31568         (libc_feholdexcept): Remove.
31569         (libc_feholdexcept_setround): Remove.
31570         (libc_fetestexcept, libc_fesetenv): Remove.
31571         (libc_feupdateenv_test): Remove.
31572         (libc_feupdateenv, libc_feholdsetround): Remove.
31573         (libc_feresetround): Remove.
31575         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31576         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31578         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31579         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31580         (libc_feupdateenv_testl): New.
31581         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31582         (libc_feupdateenv_testf): New.
31583         (libc_feupdateenv): Use libc_feupdateenv_test.
31584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31585         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31587         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31588         (libc_feholdsetroundf, libc_feholdsetroundl): New.
31589         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31590         (libc_feresetround_noex): New.
31591         (libc_feresetround_noexf): New.
31592         (libc_feresetround_noexl): New.
31593         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31594         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31595         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31596         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31597         SET_RESTORE_ROUND.
31598         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31599         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31600         (__cos): Likewise.
31601         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31602         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31603         SET_RESTORE_ROUND_NOEX.
31604         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31605         SET_RESTORE_ROUND_NOEXF.
31606         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31607         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31608         (libc_feholdsetroundf): New.
31609         (libc_feresetround, libc_feresetroundf): New.
31611         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31612         (libc_feholdexcept_setround_53bit): Convert from macro to function.
31613         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
31615         * sysdeps/generic/math_private.h: Include <fenv.h>.
31616         (default_libc_feholdexcept): New.
31617         (default_libc_feholdexcept_setround): New.
31618         (default_libc_fesetenv, default_libc_feupdateenv): New.
31619         (libc_feholdexcept): Only define if undefined.
31620         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31621         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31622         (libc_feholdexcept_setroundl): Likewise.
31623         (libc_feholdexcept_setround_53bit): Likewise.
31624         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31625         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31626         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31627         (libc_feupdateenv_53bit): Likewise.
31628         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31629         (libc_feholdexcept): Convert from macro to inline function.
31630         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31631         (libc_fesetenv, libc_feupdateenv): Likewise.
31633         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31634         not previously defined.
31635         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31636         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31637         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31638         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31639         * sysdeps/ieee754/flt-32/math_private.h: New file.
31640         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31641         math_private.h below SET_FLOAT_WORD.
31642         (__isnan, __isinf_ns, __finite): Remove.
31643         (__isnanf, __isinf_nsf, __finitef): Remove.
31645 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
31647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31649 2012-03-17  David S. Miller  <davem@davemloft.net>
31651         [BZ #6471]
31652         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31653         for 2.16.
31655 2012-03-16  David S. Miller  <davem@davemloft.net>
31657         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31658         warnings.
31660         [BZ #6471]
31661         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31662         properly.
31663         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31664         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31665         sysdep_routines when subdir is sysvipc.
31666         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31667         __getshmlba helper.
31669         * sysdeps/sparc/fpu/libm-test/ulps: Update.
31671 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31673         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31674         [__LP64__].
31676 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31678         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31679         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31680         (__lround): Renamed to ...
31681         (__llround): This.  Replace long int with long long int.
31682         Define lround functions as aliases of llround functions.
31683         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31685 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31687         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31688         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
31689         adresses to uintptr_t.  Replace "long int" and "unsigned long
31690         int" with "greg_t" on va_arg.
31692 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31694         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31695         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31697         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31698         Move e_machine check before EI_CLASS check.  Handle x32
31699         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31700         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31701         SKIP_EM_IA_64 and include
31702         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31704         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31705         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31706         (add_system_dir): New macro.
31708         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31709         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31711 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31713         [BZ #2551]
31714         [BZ #2552]
31715         [BZ #2553]
31716         [BZ #2554]
31717         [BZ #2562]
31718         [BZ #2563]
31719         [BZ #2565]
31720         [BZ #2566]
31721         [BZ #2576]
31722         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31723         (y0): Likewise.
31724         * math/w_j0f.c (j0f): Likewise.
31725         (y0f): Likewise.
31726         * math/w_j0l.c (__j0l): Likewise.
31727         (__y0l): Likewise.
31728         * math/w_j1.c (j1): Likewise.
31729         (y1): Likewise.
31730         * math/w_j1f.c (j1f): Likewise.
31731         (y1f): Likewise.
31732         * math/w_j1l.c (__j1l): Likewise.
31733         (__y1l): Likewise.
31734         * math/w_jn.c (jn): Likewise.
31735         (yn): Likewise.
31736         * math/w_jnf.c (jnf): Likewise.
31737         (ynf): Likewise.
31738         * math/w_jnl.c (__jnl): Likewise.
31739         (__ynl): Likewise.
31740         * math/libm-test.inc (j0_test): Add more tests.
31741         (j1_test): Likewise.
31742         (jn_test): Likewise.  Add trailing semicolon to existing test.
31743         (y0_test): Likewise.
31744         (y1_test): Likewise.
31745         * sysdeps/i386/fpu/libm-test-ulps: Update.
31746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31748         [BZ #13851]
31749         [BZ #13854]
31750         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31751         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31752         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31753         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31754         (__tanl): Set errno for infinite argument.
31755         * sysdeps/i386/fpu/mptan.c: Remove.
31756         * sysdeps/i386/fpu/s_tan.S: Likewise.
31757         * sysdeps/i386/fpu/s_tanl.S: Likewise.
31758         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31759         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31760         * math/libm-test.inc (tan_test): Add more tests and enable more
31761         tests for double and long double.
31762         * sysdeps/i386/fpu/libm-test-ulps: Update.
31763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31765 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
31767         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31768         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31770 2012-03-16  Roland McGrath  <roland@hack.frob.com>
31772         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31773         * configure.in: Use it for both main tree and add-ons.
31774         * configure: Regenerated.
31776 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31778         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31780 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31782         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31783         in comment.
31785         [BZ #13851]
31786         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31787         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31788         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31789         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31790         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31791         infinite argument.
31792         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31793         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31794         != 0 for prec == 2.
31795         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31796         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31797         * sysdeps/i386/fpu/s_cosl.S: Likewise.
31798         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31799         * sysdeps/i386/fpu/s_sinl.S: Likewise.
31800         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31801         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31802         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31803         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31804         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31805         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31806         * math/libm-test.inc (cos_test): Add more tests and enable more
31807         tests for long double.
31808         (sin_test): Likewise.
31809         (sincos_test): Likewise.
31810         * sysdeps/i386/fpu/libm-test-ulps: Update.
31811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31813 2012-03-16  David S. Miller  <davem@davemloft.net>
31815         * sysdeps/sparc/fpu/math_private.h: New file.
31817 2012-03-15  David S. Miller  <davem@davemloft.net>
31819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31820         file.
31821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31823         file.
31824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31828         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31829         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31830         sysdep routines.
31831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31833         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31834         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31836         * sysdeps/sparc/sparc-ifunc.h: New file.
31837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31838         sparc-ifunc.h
31839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31841         Likewise.
31842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31843         Likewise.
31844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31848         Likewise.
31849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31854         Likewise.
31855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31856         Likewise.
31857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31863         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31864         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31865         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31870         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31871         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31872         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31873         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31874         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31875         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31876         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31877         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31878         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31879         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31880         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31882 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31884         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31885         scaling.
31886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31888 2012-03-15  Andreas Jaeger  <aj@suse.de>
31890         [BZ #13852]
31891         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31892         ieee754/flt-32 implementation for sin, cos and sincos.
31893         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31894         * sysdeps/i386/fpu/s_cosf.S: Likewise.
31895         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31896         * sysdeps/i386/fpu/s_sinf.S: Likewise.
31897         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31898         ieee754/flt-32 implementation for tan.
31900         * math/libm-test.inc (cos_test): Enable some large input tests for
31901         float as well
31902         (sin_test): Likewise.
31903         (sincos_test): Likewise.
31904         (tan_test): Add tests for large input.
31906         * sysdeps/i386/fpu/libm-test-ulps: Update.
31908 2012-03-15  Andreas Jaeger  <aj@suse.de>
31910         [BZ #13658]
31911         * math/libm-test.inc (cos_test): Add more test cases.
31912         (sin_test): Likewise.
31913         (sincos_test): Likewise.
31915 2012-03-15  Andreas Jaeger  <aj@suse.de>
31917         [BZ #13837]
31918         * math/libm-test.inc (cos_test): Add a test case for large input
31919         value.
31920         (sin_test): Likewise.
31921         (sincos_test): Likewise.
31923 2012-03-15  Andreas Jaeger  <aj@suse.de>,
31924         Joseph Myers  <joseph@codesourcery.com>
31926         [BZ #13658]
31927         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
31928         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31929         * sysdeps/i386/fpu/branred.c: Likewise.
31930         * sysdeps/i386/fpu/dosincos.c: Likewise.
31931         * sysdeps/i386/fpu/mpa.c: Likewise.
31932         * sysdeps/i386/fpu/s_cos.S: Likewise.
31933         * sysdeps/i386/fpu/s_sin.S: Likewise.
31934         * sysdeps/i386/fpu/s_sincos.S: Likewise.
31935         * sysdeps/i386/fpu/sincos32.c: Likewise.
31937         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31938         Define.
31939         (libc_feupdateenv_53bit): Define.
31940         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31941         Define.
31942         (libc_feupdateenv_53bit): Define.
31944         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31945         53 bit (without extend i386 double precision).
31947         * math/libm-test.inc (sincos_test): Add tests for large input.
31948         (sin): Likewise.
31949         (cos): Likewise.
31951         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31953 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31957 2012-03-15  David S. Miller  <davem@davemloft.net>
31959         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31960         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31961         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31962         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
31966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
31967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
31968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
31969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
31970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
31971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
31972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
31973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
31974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
31975         file.
31976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
31977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
31978         file.
31979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
31980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
31981         file.
31982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
31983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
31984         file.
31985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
31986         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
31987         fmin/fmax sysdep routines.
31988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31990 2012-03-14  David S. Miller  <davem@davemloft.net>
31992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
31993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
31994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
31995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
31996         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
31997         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
31998         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
31999         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32004         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32005         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32006         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32007         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32008         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32009         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32010         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32012         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32013         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32014         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32015         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32016         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32017         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32018         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32019         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32020         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32021         routines.
32022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32023         file.
32024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32026         file.
32027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32029         file.
32030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32032         file.
32033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32035         file.
32036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32038         file.
32039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32040         file.
32041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32042         file.
32043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32044         file.
32045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32046         New file.
32047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32048         file.
32049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32050         file.
32051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32053         file.
32054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32056         file.
32057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32059         file.
32060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32062         VIS3 routines.
32064         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32065         New file.
32067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32069         * sysdeps/sparc/configure.in: New file.
32070         * sysdeps/sparc/configure: Generate.
32071         * configure.in (libc_cv_sparc_as_vis3): Substitute.
32072         * configure: Regenerate.
32073         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32074         * config.make.in (have-as-vis3): New.
32075         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32076         available use -Av9d instead of -Av9a.
32077         * sysdeps/sparc/sparc64/Makefile: Likewise.
32078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32080         New file.
32081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32082         file.
32083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32084         New file.
32085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32086         file.
32087         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32088         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32089         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32090         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32091         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32093         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32094         fzeros/fnegs to load 0x80000000 into a float register instead of
32095         using the stack.
32096         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32098 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32100         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32101         bits/syscall.h.
32102         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32103         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32104         ($(inst_includedir)/bits/syscall.h): Remove rule.
32105         ($(objpfx)bits/syscall.d): Include instead of
32106         $(objpfx)syscall-list.d.
32107         (generated): Change syscall-list.h and syscall-list.d to
32108         bits/syscall.h and bits/syscall.d.
32110 2012-03-14  Roland McGrath  <roland@hack.frob.com>
32112         [BZ #13846]
32113         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32115 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32117         [BZ #13841]
32118         * math/s_csqrt.c: Include <float.h>.
32119         (__csqrt): Scale large or subnormal inputs.
32120         * math/s_csqrtf.c: Likewise.
32121         * math/s_csqrtl.c: Likewise.
32122         * math/libm-test.inc (csqrt_test): Add more tests.
32123         * sysdeps/i386/fpu/libm-test-ulps: Update.
32124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32126         [BZ #13840]
32127         * math/libm-test.inc (hypot_test): Add more tests.
32129 2012-03-13  David S. Miller  <davem@davemloft.net>
32131         [BZ #13840]
32132         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32133         double-precision for the calculation instead of scaling.
32135 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
32137         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32138         manipulate bits before adding and subtracting TWO52[sx].
32139         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32140         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32141         Likewise.
32142         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32144 2012-03-13  David S. Miller  <davem@davemloft.net>
32146         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32147         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32148         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32149         rtld-global-offsets.h
32150         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32152         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32153         large parameters.
32155         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32157         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32158         'err' in the ifdef scope in which it is actually used.
32160         * nss/nss_db/db-init.c: Include string.h
32162 2012-03-12  David S. Miller  <davem@davemloft.net>
32164         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32165         masking out of the most significant byte of random value used.
32166         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32167         Fix coding style in previous change.
32169         * sysdeps/unix/sysv/linux/kernel-features.h
32170         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32171         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32172         expression.
32173         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32174         later.
32176 2012-03-11  David S. Miller  <davem@davemloft.net>
32178         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32179         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32180         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32181         for 'resultvar' otherwise things get truncated on 64-bit.
32183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32184         Fix masking out of the most significant byte of random value used.
32186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32188 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
32190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32192 2012-03-09  David S. Miller  <davem@davemloft.net>
32194         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32195         variables with appropriate CPP guards.
32196         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32197         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
32198         on resulting framesize and the management of the outregs buffer for pltexit.
32199         Preserve floating point return values across _dl_call_pltexit call.
32200         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32201         framesize and the management of the outregs buffer for pltexit.
32202         Preserve floating point return values across _dl_call_pltexit
32203         call.
32204         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32205         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32206         (print_exit): Fix format string for return register value.
32208 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
32210         * sunrpc/Makefile (others): Add rpcgen.
32211         ($(objpfx)rpcgen): Remove special build rule and dependency on
32212         libc.
32213         * sunrpc/rpcgen.c: New file.
32215 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
32217         [BZ #13673]
32218         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32219         * stdio-common/bug-vfprintf-nargs.c: Likewise.
32220         * sysdeps/i386/crti.S: Likewise.
32221         * sysdeps/i386/crtn.S: Likewise.
32222         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32223         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32224         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32225         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32226         * sysdeps/sh/crti.S: Likewise.
32227         * sysdeps/sh/crtn.S: Likewise.
32228         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32230         [BZ #13673]
32231         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32232         with URL.
32233         * locale/programs/locfile-kw.gperf: Likewise.
32234         * locale/programs/charmap-kw.h: Regenerated.
32235         * locale/programs/locfile-kw.h: Likewise.
32237         [BZ #13673]
32238         * intl/plural.y: Replace FSF snail mail address with URL.
32239         * intl/plural.c: Regenerated.
32241 2012-03-09  Richard Henderson  <rth@twiddle.net>
32243         * include/math_private.h: Remove file.
32244         * math/math_private.h: Move file ...
32245         * sysdeps/generic/math_private.h: ... here.
32247         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32248         * sysdeps/powerpc/fpu/math_private.h: Likewise.
32249         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32251         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32252         and <math_private.h>.
32253         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32254         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32255         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32256         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32257         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32258         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32259         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32260         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32261         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32262         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32264         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32265         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32266         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32267         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32268         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32269         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32270         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32271         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32272         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32273         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32274         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32275         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32277         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32278         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32279         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32280         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32281         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32282         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32283         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32284         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32285         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32286         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32287         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32288         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32289         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32290         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32291         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32292         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32293         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32294         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32295         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32296         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32297         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32298         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32299         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32300         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32301         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32302         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32303         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32304         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32305         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32306         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32307         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32308         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32309         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32310         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32311         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32312         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32313         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32314         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32315         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32316         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32317         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32318         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32319         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32320         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32321         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32322         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32323         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32324         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32325         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32326         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32327         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32328         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32329         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32330         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32331         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32332         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32333         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32334         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32335         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32336         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32337         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32338         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32339         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32340         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32341         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32342         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32343         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32344         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32345         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32346         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32347         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32348         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32349         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32350         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32351         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32352         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32353         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32354         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32355         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32356         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32357         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32358         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32359         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32360         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32361         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32362         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32363         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32364         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32365         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32366         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32367         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32368         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32369         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32370         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32371         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32372         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32373         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32374         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32375         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32376         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32377         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32378         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32379         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32380         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32381         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32382         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32383         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32384         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32385         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32386         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32387         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32388         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32389         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32390         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32391         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32392         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32393         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32394         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32395         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32396         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32397         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32398         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32399         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32400         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32401         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32402         * sysdeps/ieee754/k_standard.c: Likewise.
32403         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32404         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32405         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32406         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32407         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32408         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32409         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32410         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32411         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32412         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32413         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32414         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32415         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32416         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32417         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32418         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32419         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32420         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32421         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32422         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32423         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32424         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32425         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32426         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32427         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32428         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32429         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32430         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32431         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32432         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32433         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32434         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32435         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32436         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32437         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32438         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32439         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32440         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32441         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32442         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32443         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32444         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32445         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32446         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32447         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32448         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32449         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32450         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32451         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32452         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32453         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32454         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32455         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32456         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32457         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32458         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32459         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32460         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32461         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32462         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32463         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32464         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32465         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32466         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32467         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32468         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32469         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32470         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32471         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32472         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32473         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32475         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32476         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32477         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32478         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32479         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32480         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32481         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32482         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32483         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32484         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32485         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32486         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32487         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32488         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32489         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32490         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32491         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32492         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32493         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32494         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32495         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32496         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32497         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32498         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32499         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32500         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32501         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32502         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32503         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32504         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32505         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32506         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32507         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32508         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32509         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32510         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32511         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32512         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32513         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32514         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32515         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32516         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32517         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32518         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32519         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32520         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32521         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32522         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32523         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32524         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32525         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32526         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32527         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32528         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32529         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32530         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32531         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32532         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32533         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32534         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32535         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32536         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32537         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32538         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32539         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32540         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32541         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32542         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32543         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32544         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32545         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32546         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32547         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32548         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32549         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32550         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32551         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32552         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32553         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32554         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32555         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32556         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32557         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32558         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32559         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32560         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32561         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32562         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32563         * sysdeps/ieee754/s_lib_version.c: Likewise.
32564         * sysdeps/ieee754/s_matherr.c: Likewise.
32565         * sysdeps/ieee754/s_signgam.c: Likewise.
32566         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32567         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32568         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32569         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32570         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32571         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32572         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32573         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32574         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32575         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32576         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32577         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32578         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32579         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32580         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32581         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32582         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32583         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32584         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32586         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32588 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32590         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32591         * sunrpc/rpc_main.c: Likewise.
32592         * sunrpc/rpc_svcout.c: Likewise.
32594 2012-03-09  David S. Miller  <davem@davemloft.net>
32596         * include/math_private.h: New file.
32598 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32600         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32601         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32602         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32603         from <bits/socket_type.h>.
32604         (enum __socket_type): Don't define here.
32605         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32607         bits/socket_type.h.
32609         [BZ #13566]
32610         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32611         checking __USE_GNU.
32613         * Makerules ($(inst_includedir)/%.h): New rule.
32614         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32615         (install-others): Remove variable setting.
32616         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32618 2012-03-08  Richard Henderson  <rth@twiddle.net>
32620         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32621         from macro to inline function; merge with the
32622         !__LIBC_INTERNAL_MATH_INLINES version.
32623         (__ieee754_sqrtf): Likewise.
32625         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32626         to inline function.
32627         (__rintf, __floor, __floorf): Likewise.
32629         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32630         macro to inline function.
32631         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32633         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32634         not <math/math_private.h>.
32636 2012-03-08  David S. Miller  <davem@davemloft.net>
32638         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32639         copyright year.
32640         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32642 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
32644         * resolv/gai_misc.c (handle_requests): Fix struct timespec
32645         normalization.
32646         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32647         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32649 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
32651         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
32652         be defined individually, they must be defined as a block.  Define
32653         S for printing a string instead of hidint the different by using a
32654         macro for adding the 'l'.
32655         * stdio-common/tst-fphex-wide.c: Adjust.
32657 2012-03-07  Marek Polacek  <polacek@redhat.com>
32659         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32661 2012-03-08  Marek Polacek  <polacek@redhat.com>
32663         [BZ #13806]
32664         * stdio-common/Makefile (tests): Add tst-fphex-wide.
32665         * stdio-common/tst-fphex.c: Define a few macros to make the
32666         test reusable.  Use them.
32667         * stdio-common/tst-fphex-wide.c: New file.
32669 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
32671         [BZ #6911]
32672         * manual/macros.texi (gnusystems): New macro.
32673         (nongnusystems): Likewise.
32674         (gnulinuxhurdsystems): Likewise.
32675         (gnuhurdsystems): Likewise..
32676         (gnulinuxsystems): Likewise.
32677         * manual/charset.texi: Use new macros or @theglibc{} to refer to
32678         variants of the GNU system, not "GNU system".
32679         * manual/conf.texi: Likewise.
32680         * manual/errno.texi: Likewise.  Update example of errno macro
32681         expansion.
32682         * manual/filesys.texi: Likewise.
32683         (getumask): Document as specific to GNU/Hurd.
32684         * manual/install.texi: Likewise.  Reword some references to
32685         GNU/Linux.
32686         * manual/intro.texi: Likewise.
32687         * manual/io.texi: Likewise.
32688         (File Name Portability): Detail which constraints are inapplicable
32689         to all GNU systems and which are only inapplicable to GNU/Hurd.
32690         * manual/job.texi: Likewise.
32691         * manual/llio.texi: Likewise.
32692         (O_NOCTTY): Document as present on GNU/Linux.
32693         * manual/maint.texi: Likewise.
32694         * manual/memory.texi: Likewise.
32695         * manual/pattern.texi: Likewise.
32696         * manual/pipe.texi: Likewise.
32697         * manual/process.texi: Likewise.
32698         * manual/resource.texi: Likewise.
32699         (RUSAGE_CHILDREN): Remove statement about specifying a particular
32700         child on GNU/Hurd.
32701         * manual/setjmp.texi: Likewise.
32702         * manual/signal.texi: Likewise.
32703         * manual/startup.texi: Likewise.
32704         * manual/stdio.texi: Likewise.
32705         * manual/terminal.texi: Likewise.
32706         (ONLCR): Document as POSIX.
32707         (OXTABS): Document availability on GNU/Linux as XTABS.
32708         (ONOEOT): Document availability separately from other bits.
32709         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32710         * manual/time.texi: Likewise.
32711         * manual/users.texi: Likewise.
32712         * INSTALL: Regenerated.
32713         * sysdeps/gnu/errlist.c: Regenerated.
32715         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32716         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32717         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
32718         puts.
32719         * configure: Regenerated.
32721 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
32723         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32724         default includes instead of AC_HEADER_CHECK.
32725         * sysdeps/i386/configure: Regenerated.
32727         [BZ #10716]
32728         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32729         * math/s_cacoshf.c (__cacoshf): Likewise.
32730         * math/s_cacoshl.c (__cacoshl): Likewise.
32731         * math/s_casinh.c (__casinh): Set signs of result from argument.
32732         * math/s_casinhf.c (__casinhf): Likewise.
32733         * math/s_casinhl.c (__casinhl): Likewise.
32734         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32735         (casinh_test): Add more tests.
32736         * sysdeps/i386/fpu/libm-test-ulps: Update.
32737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32739 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
32741         * po/zh_TW.po: Update from translation team.
32743         * login/Makefile (distribute): Remove variable.
32744         * catgets/Makefile: Likewise.
32745         * mach/Makefile: Likewise.
32746         * malloc/Makefile: Likewise.
32747         * misc/Makefile: Likewise.
32748         * iconv/Makefile: Likewise.
32749         * nscd/Makefile: Likewise.
32750         * hurd/Makefile: Likewise.
32751         * manual/Makefile: Likewise.
32752         * locale/Makefile: Likewise.
32753         * intl/Makefile: Likewise.
32754         * conform/Makefile: Likewise.
32755         * nss/Makefile: Likewise.
32756         * time/Makefile: Likewise.
32757         * soft-fp/Makefile: Likewise.
32758         * dirent/Makefile: Likewise.
32759         * gmon/Makefile: Likewise.
32760         * po/Makefile: Likewise.
32761         * rt/Makefile: Likewise.
32762         * socket/Makefile: Likewise.
32763         * math/Makefile: Likewise.
32764         * signal/Makefile: Likewise.
32765         * debug/Makefile: Likewise.
32766         * elf/Makefile: Likewise.
32767         * timezone/Makefile: Likewise.
32768         * stdlib/Makefile: Likewise.
32769         * iconvdata/Makefile: Likewise.
32770         * sunrpc/Makefile: Likewise.
32771         * io/Makefile: Likewise.
32772         * argp/Makefile: Likewise.
32773         * inet/Makefile: Likewise.
32774         * hesiod/Makefile: Likewise.
32775         * grp/Makefile: Likewise.
32776         * csu/Makefile: Likewise.
32777         * wctype/Makefile: Likewise.
32778         * crypt/Makefile: Likewise.
32779         * libio/Makefile: Likewise.
32780         * string/Makefile: Likewise.
32781         * nis/Makefile: Likewise.
32782         * resolv/Makefile: Likewise.
32783         * stdio-common/Makefile: Likewise.
32784         * wcsmbs/Makefile: Likewise.
32785         * dlfcn/Makefile: Likewise.
32786         * posix/Makefile: Likewise.
32788         [BZ #6959]
32789         * timezone/Makefile: Don't install timezone files, just the programs
32790         and scripts.
32792 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
32794         * nss/databases.def: Add missing gshadow entry.
32796         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
32798 2012-03-06  Marek Polacek  <polacek@redhat.com>
32800         [BZ #13726]
32801         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32802         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32803         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32804         * stdio-common/tst-long-dbl-fphex.c: New file.
32806 2012-03-06  David S. Miller  <davem@davemloft.net>
32808         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32809         (set_obp_int): New function.
32810         (get_obp_int): New function.
32811         (__get_clockfreq_via_dev_openprom): Likewise.
32812         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32813         Avoid unused variable warnings on 'val' and use builtin_expect.
32814         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32815         __builtin_expect.
32816         (INLINE_CLONE_SYSCALL): Likewise.
32818 2012-03-05  David S. Miller  <davem@davemloft.net>
32820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32822 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
32824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32826         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32827         only for |x| >= 40.
32828         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32830 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32832         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32833         Replace gettimeofday with __vdso_gettimeofday.
32835         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32836         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32837         __vdso_clock_gettime and __vdso_getcpu.
32839         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32840         time with __vdso_time.
32842 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32844         * manual/lang.texi (size_t): Note types to which size_t may be
32845         equivalent with the GNU C Library, but do not describe when
32846         differences between them are significant.
32848 2012-03-05  Andreas Jaeger  <aj@suse.de>
32850         * sysdeps/i386/fpu/libm-test-ulps: Update.
32852 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32854         [BZ #3976]
32855         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32856         (__ieee754_pow): Save and restore rounding mode and use
32857         round-to-nearest for main computations.
32858         * math/libm-test.inc (pow_test_tonearest): New function.
32859         (pow_test_towardzero): Likewise.
32860         (pow_test_downward): Likewise.
32861         (pow_test_upward): Likewise.
32862         (main): Call the new functions.
32863         * sysdeps/i386/fpu/libm-test-ulps: Update.
32864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32866         [BZ #3976]
32867         * math/libm-test.inc (cosh_test_tonearest): New function.
32868         (cosh_test_towardzero): Likewise.
32869         (cosh_test_downward): Likewise.
32870         (cosh_test_upward): Likewise.
32871         (sinh_test_tonearest): Likewise.
32872         (sinh_test_towardzero): Likewise.
32873         (sinh_test_downward): Likewise.
32874         (sinh_test_upward): Likewise.
32875         (main): Call the new functions.
32876         * sysdeps/i386/fpu/libm-test-ulps: Update.
32877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32879 2012-03-05  Tom de Vries  <tom@codesourcery.com>
32881         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32882         default stack guard is set in last bytes.
32883         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32885 2012-03-05  Kees Cook  <keescook@chromium.org>
32887         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32889         [BZ #13656]
32890         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32891         possibly allocate from heap instead of stack.
32892         * stdio-common/bug-vfprintf-nargs.c: New file.
32893         * stdio-common/Makefile (tests): Add nargs overflow test.
32895 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
32897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32899 2012-03-03  Marek Polacek  <polacek@redhat.com>
32901         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32902         * math/math_private.h: Likewise.
32903         * stdlib/tst-strtod.c: Likewise.
32904         * sysdeps/i386/i486/bits/atomic.h: Likewise.
32905         * sysdeps/x86_64/bits/atomic.h: Likewise.
32907 2012-03-02  David S. Miller  <davem@davemloft.net>
32909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32913         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32914         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32915         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32916         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32918 2012-03-02  Roland McGrath  <roland@hack.frob.com>
32920         [BZ #13792]
32921         * manual/examples/README: New file, says the example source files
32922         can be used under GPL>=2.
32923         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32924         line containing just "*/".
32925         * manual/examples/add.c: Add copyright header (GPL>=2).
32926         * manual/examples/argp-ex1.c: Likewise.
32927         * manual/examples/argp-ex2.c: Likewise.
32928         * manual/examples/argp-ex3.c: Likewise.
32929         * manual/examples/argp-ex4.c: Likewise.
32930         * manual/examples/atexit.c: Likewise.
32931         * manual/examples/db.c: Likewise.
32932         * manual/examples/dir.c: Likewise.
32933         * manual/examples/dir2.c: Likewise.
32934         * manual/examples/execinfo.c: Likewise.
32935         * manual/examples/filecli.c: Likewise.
32936         * manual/examples/filesrv.c: Likewise.
32937         * manual/examples/fmtmsgexpl.c: Likewise.
32938         * manual/examples/genpass.c: Likewise.
32939         * manual/examples/inetcli.c: Likewise.
32940         * manual/examples/inetsrv.c: Likewise.
32941         * manual/examples/isockad.c: Likewise.
32942         * manual/examples/longopt.c: Likewise.
32943         * manual/examples/memopen.c: Likewise.
32944         * manual/examples/memstrm.c: Likewise.
32945         * manual/examples/mkfsock.c: Likewise.
32946         * manual/examples/mkisock.c: Likewise.
32947         * manual/examples/mygetpass.c: Likewise.
32948         * manual/examples/pipe.c: Likewise.
32949         * manual/examples/popen.c: Likewise.
32950         * manual/examples/rprintf.c: Likewise.
32951         * manual/examples/search.c: Likewise.
32952         * manual/examples/select.c: Likewise.
32953         * manual/examples/setjmp.c: Likewise.
32954         * manual/examples/sigh1.c: Likewise.
32955         * manual/examples/sigusr.c: Likewise.
32956         * manual/examples/stpcpy.c: Likewise.
32957         * manual/examples/strdupa.c: Likewise.
32958         * manual/examples/strftim.c: Likewise.
32959         * manual/examples/strncat.c: Likewise.
32960         * manual/examples/subopt.c: Likewise.
32961         * manual/examples/swapcontext.c: Likewise.
32962         * manual/examples/termios.c: Likewise.
32963         * manual/examples/testopt.c: Likewise.
32964         * manual/examples/testpass.c: Likewise.
32965         * manual/examples/timeval_subtract.c: Likewise.
32967         [BZ #13792]
32968         * manual/time.texi (Elapsed Time): Move timeval_subtract example
32969         function to ...
32970         * manual/timeval_subtract.c.texi: ... here, new file.
32972 2012-03-02  David S. Miller  <davem@davemloft.net>
32974         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
32976 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
32978         [BZ #3976]
32979         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
32980         (__sin): Save and restore rounding mode and use round-to-nearest
32981         for all computations.
32982         (__cos): Save and restore rounding mode and use round-to-nearest
32983         for all computations.
32984         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
32985         <fenv.h>.
32986         (tan): Save and restore rounding mode and use round-to-nearest for
32987         all computations.
32988         * math/libm-test.inc (cos_test_tonearest): New function.
32989         (cos_test_towardzero): Likewise.
32990         (cos_test_downward): Likewise.
32991         (cos_test_upward): Likewise.
32992         (sin_test_tonearest): Likewise.
32993         (sin_test_towardzero): Likewise.
32994         (sin_test_downward): Likewise.
32995         (sin_test_upward): Likewise.
32996         (tan_test_tonearest): Likewise.
32997         (tan_test_towardzero): Likewise.
32998         (tan_test_downward): Likewise.
32999         (tan_test_upward): Likewise.
33000         (main): Call the new functions.
33001         * sysdeps/i386/fpu/libm-test-ulps: Update.
33002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33004         [BZ #10135]
33005         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33006         small n, then large n, before computing and testing k+n.
33007         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33008         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33009         Likewise.
33010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33011         Likewise.
33012         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33013         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33014         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33015         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33016         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33017         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33018         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33019         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33020         * math/libm-test.inc (scalbn_test): Add more tests.
33021         (scalbln_test): Likewise.
33023         * manual/filesys.texi (mode_t): Describe constraints on size and
33024         signedness, not exact equivalence to a particular type.
33025         (ino_t): Likewise.
33026         (ino64_t): Likewise.
33027         (dev_t): Likewise.
33028         (nlink_t): Likewise.
33029         (blkcnt_t): Likewise.
33030         (blkcnt64_t): Likewise.
33031         * manual/llio.texi (off_t): Likewise.
33033         [BZ #3976]
33034         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33035         (__ieee754_exp): Save and restore rounding mode and use
33036         round-to-nearest for all computations.
33037         * math/libm-test.inc (exp_test_tonearest): New function.
33038         (exp_test_towardzero): Likewise.
33039         (exp_test_downward): Likewise.
33040         (exp_test_upward): Likewise.
33041         (main): Call the new functions.
33042         * sysdeps/i386/fpu/libm-test-ulps: Update.
33043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33045 2012-03-01  Chris Demetriou  <cgd@google.com>
33047         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33048         have predictable order.
33050 2012-03-01  David S. Miller  <davem@davemloft.net>
33052         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33054         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33055         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33056         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33057         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33059         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33060         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33061         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33063         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33064         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33065         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33066         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33067         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33071         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33072         * sysdeps/sparc/fpu/libm-test-ulps: to here.
33073         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33075         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33076         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33077         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33078         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33079         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33080         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33081         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33082         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33083         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33084         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33085         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33086         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33087         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33088         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33089         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33091         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33092         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33093         * sysdeps/sparc/elf/configure: Regenerated.
33095 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
33097         * configure.in (AS, LD): Require binutils 2.20 or later.
33098         * configure: Regenerated.
33099         * manual/install.texi (Tools for Compilation): Give binutils 2.20
33100         as required minimum version.
33101         * INSTALL: Regenerated.
33103         [BZ #2541]
33104         [BZ #4108]
33105         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33106         before squaring exponent.
33107         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33108         bottom long double and 27 bits of top long double before squaring
33109         exponent.
33110         * math/libm-test.inc (erfc_test): Add more tests.
33111         * sysdeps/i386/fpu/libm-test-ulps: Update.
33112         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33115 2012-03-01  Kai Tietz  <ktietz@redhat.com>
33117         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33118         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33119         containing bit-fields.
33120         * soft-fp/extended.h (_FP_UNION_E): Likewise.
33121         * soft-fp/single.h (_FP_UNION_S): Likewise.
33122         * soft-fp/double.h (_FP_UNION_D): Likewise.
33124 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33126         [BZ #13786]
33127         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33128         not include ../strcmp.S.
33129         [USE_AS_STRNCASECMP_L]: Likewise.
33130         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33131         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33132         * sysdeps/i386/i686/multiarch/strncase_l-c.c
33133         (__strncasecmp_l_ia32): Define as alias to
33134         __strncasecmp_l_nonascii.
33136         [BZ #5794]
33137         * math/libm-test.inc (expm1_test): Add test for bug 5794.
33138         * sysdeps/i386/fpu/libm-test-ulps: Update.
33139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33141         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33144 2012-02-29  Jeff Law  <law@redhat.com>
33146         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33147         out of bounds read.
33149 2012-02-29  Marek Polacek  <polacek@redhat.com>
33151         [BZ #13706]
33152         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33153         * elf/Makefile: Add rules to run tst-unused-dep.out.
33155 2012-02-28  David S. Miller  <davem@davemloft.net>
33157         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33158         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33159         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33160         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33161         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33162         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33164 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33166         * math/libm-test.inc (llround_test): Move one test from
33167         lround_test.  Use TEST_f_L in moved test.
33168         (lround_test): Move misplaced test to llround_test.  Add testcase
33169         from bug 2561.
33171 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
33173         * sysdeps/x86_64/fpu/e_expf.S: New file.
33174         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33176 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
33178         [BZ #13637]
33179         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33180         of remain_len that may cause incomplete multi-byte character and
33181         false match.
33182         * posix/bug-regex33.c: New file.
33183         * posix/Makefile (tests): Add bug-regex33.
33185 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
33187         * manual/macros.texi: New file.
33188         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33189         * manual/libc.texinfo: Include macros.texi.
33190         * manual/creatute.texi: Likewise.
33191         * manual/install.texi: Likewise.
33192         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33193         @glibcadj{} in references to the GNU C Library.
33194         * manual/charset.texi: Likewise.
33195         * manual/conf.texi: Likewise.
33196         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
33197         when not using those macros.
33198         * manual/creature.texi: Likewise.
33199         * manual/crypt.texi: Likewise.
33200         * manual/errno.texi: Likewise.
33201         * manual/filesys.texi: Likewise.
33202         * manual/header.texi: Likewise.
33203         * manual/install.texi: Likewise.
33204         * manual/intro.texi: Likewise.
33205         * manual/io.texi: Likewise.
33206         * manual/job.texi: Likewise.
33207         * manual/lang.texi: Likewise.
33208         * manual/libc.texiinfo: Likewise.
33209         * manual/llio.texi: Likewise.
33210         * manual/locale.texi: Likewise.
33211         * manual/maint.texi: Likewise.
33212         * manual/math.texi: Likewise.
33213         * manual/memory.texi: Likewise.
33214         * manual/message.texi: Likewise.
33215         * manual/nss.texi: Likewise.
33216         * manual/pattern.texi: Likewise.
33217         * manual/process.texi: Likewise.
33218         * manual/resource.texi: Likewise.
33219         * manual/search.texi: Likewise.
33220         * manual/setjmp.texi: Likewise.
33221         * manual/signal.texi: Likewise.
33222         * manual/socket.texi: Likewise.
33223         * manual/startup.texi: Likewise.
33224         * manual/stdio.texi: Likewise.
33225         * manual/string.texi: Likewise.
33226         * manual/sysinfo.texi: Likewise.
33227         * manual/syslog.texi: Likewise.
33228         * manual/terminal.texi: Likewise.
33229         * manual/time.texi: Likewise.
33230         * manual/users.texi: Likewise.
33231         * INSTALL: Regenerated.
33232         * NOTES: Regenerated.
33233         * sysdeps/gnu/errlist.c: Regenerated.
33235 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
33237         * include/dirent.h: Include <dirstream.h> before
33238         <dirent/dirent.h>.
33240 2012-02-28  David S. Miller  <davem@davemloft.net>
33242         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33243         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33244         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33245         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33247 2012-02-27  David S. Miller  <davem@davemloft.net>
33249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33251         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33252         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33255         frame pointer instead of stack pointer relative arg slot.
33256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33257         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33258         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33260 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
33262         [BZ #3992]
33263         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33265 2012-02-27  David S. Miller  <davem@davemloft.net>
33267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33271         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33272         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33273         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33274         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33276 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33278         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33279         later.  Allow versions 5-9.
33280         * configure: Regenerated.
33281         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33282         required minimum version and 4.6 as recommended version.  Do not
33283         mention bugs in GCC 2.7 and 2.8.
33284         * INSTALL: Regenerated.
33286 2012-02-27  David S. Miller  <davem@davemloft.net>
33288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33292         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33293         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33294         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33295         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33297         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33298         manipulate bits before adding and subtracting TWO112[sx].
33299         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33301 2012-02-27  Roland McGrath  <roland@hack.frob.com>
33303         [BZ #13775]
33304         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33305         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33306         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33307         being in POSIX, because they are in 1003.1-2008.
33309         * rt/tst-aio.c: Include <fcntl.h>.
33310         * rt/tst-aio7.c: Likewise.
33311         * rt/tst-aio64.c: Likewise.
33313         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33315 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33317         * manual/install.texi (--with-headers): Describe headers as
33318         interface headers, not private headers.
33319         (Specific advice for GNU/Linux systems): Describe use of headers
33320         from "make headers_install", not private headers from older
33321         kernels.
33322         * INSTALL: Regenerated.
33323         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33324         Change to 2.6.19.
33325         * sysdeps/unix/sysv/linux/configure: Regenerated.
33327         * manual/llio.texi (fclean): Remove documentation.
33329         * manual/Makefile (libc-texi-generated): New variable.  Include
33330         version.texi.
33331         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33332         $(libc-texi-generated), not duplicated list of files.
33333         (version.texi, stamp-version): New rules.
33334         (realclean): Remove $(libc-texi-generated), not individual files
33335         from that list.  Do not remove dir-add.texinfo.
33336         * manual/libc.texinfo: Comment out uses of edition numbers and
33337         references to printed manual.  Remove last-updated dates.
33338         (EDITION): Comment out.
33339         (ISBN): Likewise.
33340         (VERSION, UPDATED): Remove.
33341         (version.texi): Include.
33343 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
33345         * sysdeps/posix/spawni.c: Include <signal.h>.
33346         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33347         * sysdeps/pthread/aio_fsync.c: Likewise.
33349 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
33351         * conform/Makefile (tests): Run only when not cross-compiling and
33352         when fast-check is not defined.
33354         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33355         * conform/data/limits.h-data: Fixes for POSIX2008.
33356         * conform/run-conformtest.sh: Run all tests.
33357         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33358         headers.
33359         * include/bits/dlfcn.h: Likewise.
33360         * include/langinfo.h: Likewise.
33361         * include/monetary.h: Likewise.
33362         * include/sys/poll.h: Likewise.
33364         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33365         for __USE_GNU.
33366         * posix/spawn.h: Define __need_sigset_t.
33367         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33368         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33369         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
33370         to get sigevent_t only.
33371         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33372         only for __USE_GNU.
33373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33374         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33375         process_vm_writev only for __USE_GNU.
33376         * termios/termios.h: Declare tcgetsid also for POSIX2008.
33378         * conform/Makefile: For now ignore errors from run-conformtest.
33379         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
33380         POSIX to avoid namespace pollution.  Don't prepend headers.
33381         * conform/data/aio.h-data: Fixes for POSIX testing.
33382         * conform/data/fcntl.h-data: Likewise.
33383         * conform/data/glob.h-data: Likewise.
33384         * conform/data/grp.h-data: Likewise.
33385         * conform/data/pthread.h-data: Likewise.
33386         * conform/data/pwd.h-data: Likewise.
33387         * conform/data/signal.h-data: Likewise.
33388         * conform/data/spawn.h-data: Likewise.
33389         * conform/data/stdio.h-data: Likewise.
33390         * conform/data/stdlib.h-data: Likewise.
33391         * conform/data/stropts.h-data: Likewise.
33392         * conform/data/sys/mman.h-data: Likewise.
33393         * conform/data/sys/stat.h-data: Likewise.
33394         * conform/data/sys/types.h-data: Likewise.
33395         * conform/data/sys/wait.h-data: Likewise.
33396         * conform/data/time.h-data: Likewise.
33397         * conform/data/unistd.h-data: Likewise.
33398         * conform/data/utime.h-data: Likewise.
33400         * io/sys/stat.h: fchmod was always in POSIX.
33401         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33402         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33403         * rt/aio.h: Define __need_timespec before including <time.h>.
33404         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33405         struct.  Add forward declaration of pthread_attr_t and use it in
33406         sigevent.
33407         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33408         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33409         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33410         always remove CLK_TCK definition.
33412 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
33414         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33416 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
33418         * conform/run-conformtest.sh: New file.
33419         * conform/Makefile: Run run-conformtest for tests.
33420         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
33421         support.
33423         * conform/data/uchar.h-data: New file.
33424         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33425         * conform/data/arpa/inet.h-data: Likewise.
33426         * conform/data/assert.h-data: Likewise.
33427         * conform/data/complex.h-data: Likewise.
33428         * conform/data/cpio.h-data: Likewise.
33429         * conform/data/ctype.h-data: Likewise.
33430         * conform/data/dirent.h-data: Likewise.
33431         * conform/data/dlfcn.h-data: Likewise.
33432         * conform/data/errno.h-data: Likewise.
33433         * conform/data/fcntl.h-data: Likewise.
33434         * conform/data/float.h-data: Likewise.
33435         * conform/data/fmtmsg.h-data: Likewise.
33436         * conform/data/fnmatch.h-data: Likewise.
33437         * conform/data/ftw.h-data: Likewise.
33438         * conform/data/glob.h-data: Likewise.
33439         * conform/data/grp.h-data: Likewise.
33440         * conform/data/iconv.h-data: Likewise.
33441         * conform/data/inttypes.h-data: Likewise.
33442         * conform/data/langinfo.h-data: Likewise.
33443         * conform/data/libgen.h-data: Likewise.
33444         * conform/data/limits.h-data: Likewise.
33445         * conform/data/locale.h-data: Likewise.
33446         * conform/data/math.h-data: Likewise.
33447         * conform/data/monetary.h-data: Likewise.
33448         * conform/data/mqueue.h-data: Likewise.
33449         * conform/data/ndbm.h-data: Likewise.
33450         * conform/data/net/if.h-data: Likewise.
33451         * conform/data/netdb.h-data: Likewise.
33452         * conform/data/netinet/in.h-data: Likewise.
33453         * conform/data/nl_types.h-data: Likewise.
33454         * conform/data/poll.h-data: Likewise.
33455         * conform/data/pthread.h-data: Likewise.
33456         * conform/data/pwd.h-data: Likewise.
33457         * conform/data/regex.h-data: Likewise.
33458         * conform/data/sched.h-data: Likewise.
33459         * conform/data/search.h-data: Likewise.
33460         * conform/data/semaphore.h-data: Likewise.
33461         * conform/data/setjmp.h-data: Likewise.
33462         * conform/data/signal.h-data: Likewise.
33463         * conform/data/spawn.h-data: Likewise.
33464         * conform/data/stdarg.h-data: Likewise.
33465         * conform/data/stdio.h-data: Likewise.
33466         * conform/data/stdlib.h-data: Likewise.
33467         * conform/data/string.h-data: Likewise.
33468         * conform/data/strings.h-data: Likewise.
33469         * conform/data/stropts.h-data: Likewise.
33470         * conform/data/sys/ipc.h-data: Likewise.
33471         * conform/data/sys/mman.h-data: Likewise.
33472         * conform/data/sys/msg.h-data: Likewise.
33473         * conform/data/sys/resource.h-data: Likewise.
33474         * conform/data/sys/select.h-data: Likewise.
33475         * conform/data/sys/sem.h-data: Likewise.
33476         * conform/data/sys/shm.h-data: Likewise.
33477         * conform/data/sys/socket.h-data: Likewise.
33478         * conform/data/sys/stat.h-data: Likewise.
33479         * conform/data/sys/statvfs.h-data: Likewise.
33480         * conform/data/sys/time.h-data: Likewise.
33481         * conform/data/sys/timeb.h-data: Likewise.
33482         * conform/data/sys/times.h-data: Likewise.
33483         * conform/data/sys/types.h-data: Likewise.
33484         * conform/data/sys/uio.h-data: Likewise.
33485         * conform/data/sys/un.h-data: Likewise.
33486         * conform/data/sys/utsname.h-data: Likewise.
33487         * conform/data/sys/wait.h-data: Likewise.
33488         * conform/data/syslog.h-data: Likewise.
33489         * conform/data/tar.h-data: Likewise.
33490         * conform/data/termios.h-data: Likewise.
33491         * conform/data/utime.h-data: Likewise.
33492         * conform/data/utmpx.h-data: Likewise.
33493         * conform/data/varargs.h-data: Likewise.
33494         * conform/data/wchar.h-data: Likewise.
33495         * conform/data/wctype.h-data: Likewise.
33496         * conform/data/wordexp.h-data: Likewise.
33498         * include/stropts.h: New file.
33499         * include/uchar.h: New file.
33500         * include/aio.h: Changes to allow conformtest.pl to use the headers.
33501         * include/assert.h: Likewise.
33502         * include/ctype.h: Likewise.
33503         * include/dirent.h: Likewise.
33504         * include/dlfcn.h: Likewise.
33505         * include/fcntl.h: Likewise.
33506         * include/fnmatch.h: Likewise.
33507         * include/glob.h: Likewise.
33508         * include/grp.h: Likewise.
33509         * include/libio.h: Likewise.
33510         * include/locale.h: Likewise.
33511         * include/math.h: Likewise.
33512         * include/net/if.h: Likewise.
33513         * include/netdb.h: Likewise.
33514         * include/netinet/in.h: Likewise.
33515         * include/pthread.h: Likewise.
33516         * include/pwd.h: Likewise.
33517         * include/regex.h: Likewise.
33518         * include/sched.h: Likewise.
33519         * include/search.h: Likewise.
33520         * include/setjmp.h: Likewise.
33521         * include/signal.h: Likewise.
33522         * include/stdio.h: Likewise.
33523         * include/stdlib.h: Likewise.
33524         * include/string.h: Likewise.
33525         * include/sys/cdefs.h: Likewise.
33526         * include/sys/mman.h: Likewise.
33527         * include/sys/msg.h: Likewise.
33528         * include/sys/resource.h: Likewise.
33529         * include/sys/select.h: Likewise.
33530         * include/sys/socket.h: Likewise.
33531         * include/sys/stat.h: Likewise.
33532         * include/sys/statvfs.h: Likewise.
33533         * include/sys/time.h: Likewise.
33534         * include/sys/times.h: Likewise.
33535         * include/sys/uio.h: Likewise.
33536         * include/sys/utsname.h: Likewise.
33537         * include/sys/wait.h: Likewise.
33538         * include/termios.h: Likewise.
33539         * include/time.h: Likewise.
33540         * include/ulimit.h: Likewise.
33541         * include/unistd.h: Likewise.
33542         * include/utime.h: Likewise.
33543         * include/wchar.h: Likewise.
33544         * include/wctype.h: Likewise.
33545         * include/wordexp.h: Likewise.
33547         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33549         * time/time.h: TIME_UTC must be a macro.
33550         Make timespec_get available for ISO C11 only as well.
33552 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
33554         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33555         Reported by Peng Haitao <penght@cn.fujitsu.com>.
33557 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33559         * configure.in: Use -o not -a in test for unsupported multi-arch.
33561 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33563         * manual/texinfo.tex: Update to version 2012-01-19.16.
33565 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33567         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33569 2012-02-24  Roland McGrath  <roland@hack.frob.com>
33571         [BZ #13738]
33572         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33573         * manual/fdl-1.3.texi: New file.
33574         * manual/fdl-1.1.texi: File removed.
33576         [BZ #13738]
33577         * manual/libc.texinfo (FDL_VERSION): New @set.
33578         Use it for mention of FDL in cover text.
33579         (Documentation License): Use it in @include file name.
33581 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33582             Roland McGrath  <roland@hack.frob.com>
33584         [BZ #5461]
33585         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33586         not LONG_LONG_MAX and LONG_LONG_MIN.
33587         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33588         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
33589         name.
33590         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33592 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33594         [BZ #2547]
33595         [BZ #11365]
33596         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33597         manipulate bits before adding and subtracting TWO23[sx].
33598         * math/libm-test.inc (nearbyint_test): Add more tests.
33600 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33602         [BZ #2548]
33603         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33604         bits before adding and subtracting TWO23[sx].
33605         * math/libm-test.inc (rint_test): Add more tests.
33606         (rint_test_tonearest): Likewise.
33607         (rint_test_towardzero): Likewise.
33608         (rint_test_downward): Likewise.
33609         (rint_test_upward: Likewise.
33611 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33613         [BZ #10110]
33614         * include/stdc-predef.h: New file.  Extracted from features.h.
33615         * include/features.h: Include stdc-predef.h.
33616         * Makefile (headers): Add stdc-predef.h.
33617         * CONFORMANCE (Compiler limitations): Update.
33619 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33621         * manual/libc.texinfo (VERSION, UPDATED): Revert.
33623 2012-02-21  David S. Miller  <davem@davemloft.net>
33625         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33626         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33628 2012-02-20  David S. Miller  <davem@davemloft.net>
33630         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33631         using a normal save/restore sequence, rather than allocating a
33632         dummy stack frame just to store a frame pointer and restore.
33633         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33635 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33637         * manual/install.texi: Fix stray word in line-wrapped comment.
33639 2012-02-20  David S. Miller  <davem@davemloft.net>
33641         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33642         both binutils and gcc support GOTDATA.
33644         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33645         "rd %pc" in the PIC register setup sequences.
33647         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33648         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33649         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33650         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33651         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33652         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33653         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33654         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33656         (SYSCALL_ERROR_HANDLER): Likewise.
33657         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33658         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33660         (SYSCALL_ERROR_HANDLER): Likewise.
33662         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33663         (HAVE_GCC_GOTDATA): New.
33664         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33665         relocation support in both binutils and gcc.
33666         * sysdeps/sparc/elf/configure: Regenerate.
33668         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33669         * sysdeps/sparc/sparc32/elf/configure: Delete.
33670         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33671         * sysdeps/sparc/sparc64/elf/configure: Delete.
33672         * sysdeps/sparc/elf/configure.in: New file.
33673         * sysdeps/sparc/elf/configure: Generate.
33675         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33676         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33677         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33678         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33679         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33681 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33683         * manual/install.texi: Do not mention specific glibc version
33684         numbers.
33685         * manual/libc.texinfo (VERSION, UPDATED): Update.
33686         (@copying): Use @copyright{} and range of years.
33688 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33690         [BZ #13695]
33691         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33692         [crti.S not in sysdirs] (generated): Do not append.
33693         [crti.S not in sysdirs] (omit-deps): Likewise.
33694         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33695         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33696         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33697         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33698         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33699         Likewise.
33700         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33701         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33702         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33703         * csu/defs.awk: Remove file.
33704         * sysdeps/generic/initfini.c: Likewise.
33705         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33706         variable.
33707         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33708         Likewise.
33710 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33712         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33713         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33714         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33715         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33716         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33717         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33718         <bits/epoll.h>.
33719         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33720         (__EPOLL_PACKED): Define to empty if not defined by
33721         <bits/epoll.h>.
33722         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33724         bits/epoll.h.
33726 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33728         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33729         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33730         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33731         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33732         <bits/timerfd.h>.
33733         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33734         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33735         bits/timerfd.h.
33737 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33739         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33740         in C locale.
33741         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33742         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33743         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33746 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
33748         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33749         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33751 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
33753         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33754         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33755         defined.
33756         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33757         Likewise.
33758         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33759         entry for 2.16.
33761 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
33763         * math/w_acos.c: Use non-signaling floating-point comparisons.
33764         * math/w_acosf.c: Likewise.
33765         * math/w_acosh.c: Likewise.
33766         * math/w_acoshf.c: Likewise.
33767         * math/w_acoshl.c: Likewise.
33768         * math/w_acosl.c: Likewise.
33769         * math/w_asin.c: Likewise.
33770         * math/w_asinf.c: Likewise.
33771         * math/w_asinl.c: Likewise.
33772         * math/w_atanh.c: Likewise.
33773         * math/w_atanhf.c: Likewise.
33774         * math/w_atanhl.c: Likewise.
33775         * math/w_exp2.c: Likewise.
33776         * math/w_exp2f.c: Likewise.
33777         * math/w_exp2l.c: Likewise.
33778         * math/w_j0.c: Likewise.
33779         * math/w_j0f.c: Likewise.
33780         * math/w_j0l.c: Likewise.
33781         * math/w_j1.c: Likewise.
33782         * math/w_j1f.c: Likewise.
33783         * math/w_j1l.c: Likewise.
33784         * math/w_jn.c: Likewise.
33785         * math/w_jnf.c: Likewise.
33786         * math/w_log.c: Likewise.
33787         * math/w_log10.c: Likewise.
33788         * math/w_log10f.c: Likewise.
33789         * math/w_log10l.c: Likewise.
33790         * math/w_log2.c: Likewise.
33791         * math/w_log2f.c: Likewise.
33792         * math/w_log2l.c: Likewise.
33793         * math/w_logf.c: Likewise.
33794         * math/w_logl.c: Likewise.
33795         * math/w_sqrt.c: Likewise.
33796         * math/w_sqrtf.c: Likewise.
33797         * math/w_sqrtl.c: Likewise.
33798         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33799         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33800         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33801         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33802         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33804 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33806         [BZ #9739]
33807         * manual/string.texi (strnlen): Use correct parameter name in
33808         equivalent expression.
33810 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33812         [BZ #11174]
33813         * manual/users.texi (seteuid): Consistently use neweuid for
33814         argument name.
33816 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33818         [BZ #13704]
33819         * manual/nss.texi (Services in the NSS configuration): Correct
33820         list of services in example configuration file.
33822 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
33824         [BZ #11322]
33825         * manual/arith.texi: Remove statements about negative zero
33826         behaving identically to zero.
33828 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33830         [BZ #5993]
33831         * manual/install.texi: Do not document upgrading from libc5.
33833 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33835         [BZ #4596]
33836         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33838 2012-02-18  David S. Miller  <davem@davemloft.net>
33840         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33841         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33842         %o7 across the call.
33843         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33844         instead.
33845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33846         SETUP_PIC_REG_LEAF.
33847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33848         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33849         * sysdeps/sparc/crtn.S: Likewise.
33851 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
33853         * aout/Makefile: Remove.
33855 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
33857         [BZ #13058]
33858         * manual/examples/argp-ex1.c (main): Format definition in GNU
33859         style.
33860         * manual/examples/argp-ex2.c (main): Likewise.
33861         * manual/examples/argp-ex3.c (main): Likewise.
33862         * manual/examples/argp-ex4.c (main): Likewise.
33863         * manual/examples/longopt.c (main): Use new-style prototype
33864         definition.
33865         * manual/examples/strncat.c (main): Specify return type and use
33866         (void) for arguments.
33867         * manual/examples/subopt.c (main): Use char **argv argument.
33869 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33871         [BZ #5077]
33872         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33873         rounding modes.
33875 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
33877         [BZ #6907]
33878         * manual/string.texi (strchr): Change when strchrnul is
33879         recommended.
33881 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
33883         [BZ #174]
33884         * manual/locale.texi (setlocale): Document LOCPATH.
33886 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33888         [BZ #10210]
33889         * manual/process.texi (execle): Move @dots{} before last argument.
33891 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
33893         [BZ #12047]
33894         * manual/charset.texi (Generic Charset Conversion): Fix typo
33895         (LC_TYPE -> LC_CTYPE).
33897 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
33899         [BZ #5805]
33900         * manual/arith.texi (scalbn): Use @var{} on parameter names.
33901         (scalbnf): Likewise.
33902         (scalbnl): Likewise.
33903         (scalbln): Likewise.
33904         (scalblnf): Likewise.
33905         (scalblnl): Likewise.
33906         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33907         (vwarnx): Likewise.
33908         (verr): Likewise.
33909         (verrx): Likewise.
33910         * manual/filesys.texi (telldir): Use braces around return type.
33911         * manual/llio.texi (mmap): Add space after comma.
33912         (mmap64): Likewise.
33913         * manual/math.texi (jn): Use @var{} on parameter names.
33914         (jnf): Likewise.
33915         (jnl): Likewise.
33916         (yn): Likewise.
33917         (ynf): Likewise.
33918         (ynl): Likewise.
33919         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33920         line.
33921         * manual/resource.texi (ulimit): Use @dots{} instead of literal
33922         "...".
33923         (sched_get_priority_min): Remove semicolon on @deftypefun line.
33924         (sched_get_priority_max): Likewise.
33925         * manual/signal.texi (sigvec): Add space after comma.
33926         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33927         names.
33928         (if_indextoname): Likewise.
33929         (if_freenameindex): Likewise.
33930         (sendto): Use ',' instead of '.' in prototype.
33931         * manual/startup.texi (syscall): Use @dots{} instead of literal
33932         "...".
33933         * manual/stdio.texi (__fpending): Separate initial words of
33934         paragraph from @deftypefun line.
33935         * manual/syslog.texi (syslog): Use @dots{} instead of literal
33936         "...".
33937         (vsyslog): Use @var{} on parameter names.
33938         * manual/terminal.texi (stty): Use @var{} on parameter names.
33939         * manual/users.texi (getutmp): Use @var{} on parameter names.
33940         (getutmpx): Likewise.
33942 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33944         [BZ #6884]
33945         * manual/stdio.texi (fopen): Fix typos in description of
33946         ",ccs=STRING".
33948 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
33950         [BZ #4026]
33951         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33952         get clock_id definition.
33954 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
33956         [BZ #4822]
33957         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33958         (madvise): Cast every argument to void on its own.
33960 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33962         [BZ #9902]
33963         * manual/startup.texi (Exit Status): Fix typo.
33965 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33967         [BZ #10140]
33968         * manual/examples/argp-ex1.c: Include <stdlib.h>.
33969         * manual/examples/argp-ex2.c: Likewise.
33970         * manual/examples/argp-ex3.c: Likewise.
33972 2012-02-16  Richard Henderson  <rth@redhat.com>
33974         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
33975         * sysdeps/s390/s390-32/initfini.c: Remove.
33976         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
33977         * sysdeps/s390/s390-64/initfini.c: Remove.
33979 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33981         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
33982         compiler output for sysdeps/generic/initfini.c.
33983         * sysdeps/sh/elf/initfini.c: Remove file.
33985 2012-02-16  David S. Miller  <davem@davemloft.net>
33987         [BZ #11494]
33988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
33990         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
33991         * sysdeps/sparc/crti.S: New file.
33992         * sysdeps/sparc/crtn.S: New file.
33993         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
33994         * sysdeps/sparc/sparc64/Makefile: Likewise.
33996 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
33998         [BZ #3335]
33999         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34001 2012-02-15  Roland McGrath  <roland@hack.frob.com>
34003         [BZ #4822]
34004         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34006         * mach/devstream.c (cookie_io_functions_t): Macro removed.
34007         (write, read, close): Likewise.
34008         Patch by Aurelien Jarno <aurelien@aurel32.net>.
34010 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
34012         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34013         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34014         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34015         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34016         <bits/signalfd.h>.
34017         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34019         bits/signalfd.h.
34021 2012-02-14  Marek Polacek  <polacek@redhat.com>
34023         * sysdeps/x86_64/crti.S: New file.
34024         * sysdeps/x86_64/crtn.S: New file.
34025         * sysdeps/x86_64/elf/initfini.c: Remove file.
34027 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34029         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34030         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34031         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34032         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34033         <bits/inotify.h>.
34034         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34035         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34036         bits/inotify.h.
34038 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34040         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34041         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34042         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34043         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34044         <bits/eventfd.h>.
34045         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34047         bits/eventfd.h.
34049 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
34051         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34052         __feraiseexcept instead of feraiseexcept.
34054         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34055         nanosleep invocations.
34056         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34057         strings, and add error checking for a nanosleep invocations.
34059 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
34061         Replace FSF snail mail address with URLs, as per GNU coding standards.
34062         Most of the snail mail addresses were wrong anyway, and omitting
34063         them makes the source code easier to maintain.  Almost all of the
34064         changes are to license notices and to locale LC_IDENTIFICATION
34065         addresses, except for this one:
34066         * manual/libc.texinfo: In "Published by", give the FSF's URL,
34067         not its snail mail address.
34069 2012-02-09  Richard Henderson  <rth@twiddle.net>
34071         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34072         of kernel-features.h.
34074         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34076 2012-02-08  Marek Polacek  <polacek@redhat.com>
34078         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34079         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34080         * sysdeps/gnu/_G_config.h: Likewise.
34081         * sysdeps/generic/_G_config.h: Likewise.
34083 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
34085         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34086         tests.
34087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34089         * sysdeps/powerpc/powerpc32/crti.S: New file.
34090         * sysdeps/powerpc/powerpc32/crtn.S: New file.
34091         * sysdeps/powerpc/powerpc64/crti.S: New file.
34092         * sysdeps/powerpc/powerpc64/crtn.S: New file.
34094         * Makeconfig (have-initfini): Don't set.
34095         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34096         * configure.in (nopic_initfini): Don't substitute.
34097         * config.h.in (HAVE_INITFINI): Don't #undef.
34098         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34099         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34101 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
34103         Support crti.S and crtn.S provided directly by architectures.
34104         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34105         [crti.S in sysdirs] (omit-deps): Likewise.
34106         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34107         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34108         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34109         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34110         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34111         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34112         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34113         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34114         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34115         compiler output for sysdeps/generic/initfini.c.
34116         * sysdeps/i386/elf/Makefile: Remove file.
34117         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34119 2012-02-07  Marek Polacek  <polacek@redhat.com>
34121         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34122         * sysdeps/gnu/_G_config.h: Likewise.
34123         * sysdeps/mach/hurd/_G_config.h: Likewise.
34125 2012-02-07  Marek Polacek  <polacek@redhat.com>
34127         * math/Makefile (tests): Add tst-CMPLX2.
34128         * math/tst-CMPLX2.c: New file.
34130 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
34132         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34134         * math/libm-test.inc (jn_test): Add missing L suffix.
34136 2012-02-06  Marek Polacek  <polacek@redhat.com>
34138         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34139         * sysdeps/i386/fpu/e_powf.S: Likewise.
34140         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34141         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34142         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34143         * sysdeps/i386/fpu/e_pow.S: Likewise.
34144         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34145         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34146         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34147         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34148         * sysdeps/i386/fpu/e_log2.S: Likewise.
34149         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34150         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34151         * sysdeps/i386/fpu/e_powl.S: Likewise.
34152         * sysdeps/i386/fpu/s_log1p.S: Likewise.
34153         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34154         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34155         * sysdeps/i386/fpu/e_logl.S: Likewise.
34156         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34157         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34158         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34159         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34160         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34161         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34162         * sysdeps/i386/fpu/e_log.S: Likewise.
34163         * sysdeps/i386/fpu/s_cexp.S: Likewise.
34164         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34165         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34166         * sysdeps/i386/fpu/e_logf.S: Likewise.
34167         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34168         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34169         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34170         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34171         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34172         * sysdeps/i386/fpu/e_log10.S: Likewise.
34173         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34174         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34175         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34176         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34177         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34178         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34179         * sysdeps/i386/asm-syntax.h: Likewise.
34180         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34181         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34182         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34183         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34184         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34185         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34186         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34187         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34188         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34189         * sysdeps/powerpc/sysdep.h: Likewise.
34190         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34191         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34193 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34195         [BZ #411]
34196         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34198 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34200         * sysdeps/i386/sysdep.h: Include <features.h>.
34201         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34202         version.
34204 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
34206         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34207         Define.
34208         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34209         LOAD_PIC_REG_STR.
34211 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34213         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34214         (SETUP_PIC_REG): Use GET_PC_THUNK.
34215         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34216         macro.
34218 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34220         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34221         for non-PIC compilation.
34222         (SETUP_PIC_REG): Add .p2align directive.
34223         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34224         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34225         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34226         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34227         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34228         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34229         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34230         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34231         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34232         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34233         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34234         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34235         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34236         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34237         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34238         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34239         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34240         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34241         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34242         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34243         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34244         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34245         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34246         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34249         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34250         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34251         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34252         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34253         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34254         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34255         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34256         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34257         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34258         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34259         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34260         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34261         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34262         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34263         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34265 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34267         * math/tst-CMPLX.c: Include <stdio.h>.
34269 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
34271         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34272         float.
34273         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34274         * sysdeps/sparc/bits/mathdef.h: Likewise.
34276 2012-01-31  Marek Polacek  <polacek@redhat.com>
34278         * libio/libio.h: Don't define _PARAMS.
34279         * locale/programs/config.h: Don't define PARAMS.
34280         * stdlib/strtol_l.c: Likewise.
34281         (__strtol_l): Remove PARAMS from the prototype.
34283 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
34285         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
34286         names.  Just use the correct names.  Remove unnecessary wrapper
34287         functions.
34288         * malloc/arena.c: Likewise.
34289         * malloc/hooks.c: Likewise.
34291         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34292         ARENA_TEST says not to.  Simplify test for creation of a new arena.
34293         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34295 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
34297         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34298         into tail calls.
34299         (update_get_addr): New function.
34300         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34301         GET_ADDR_MODULE parameter.
34303 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34305         * crypt/cert.c: Remove __STDC__ conditionals.
34306         * crypt/crypt-entry.c: Likewise.
34307         * crypt/crypt_util.c: Likewise.
34308         * libio/filedoalloc.c: Likewise.
34309         * libio/fileops.c: Likewise.
34310         * libio/genops.c: Likewise.
34311         * libio/iofclose.c: Likewise.
34312         * libio/iofdopen.c: Likewise.
34313         * libio/iofopen.c: Likewise.
34314         * libio/iofopen64.c: Likewise.
34315         * libio/iogetdelim.c: Likewise.
34316         * libio/iopopen.c: Likewise.
34317         * libio/obprintf.c: Likewise.
34318         * libio/oldfileops.c: Likewise.
34319         * libio/oldiofclose.c: Likewise.
34320         * libio/oldiofdopen.c: Likewise.
34321         * libio/oldiofopen.c: Likewise.
34322         * libio/oldiopopen.c: Likewise.
34323         * libio/wfiledoalloc.c: Likewise.
34324         * libio/wgenops.c: Likewise.
34325         * locale/programs/xmalloc.c: Likewise.
34326         * misc/syslog.c: Likewise.
34327         * stdio-common/xbug.c: Likewise.
34328         * string/memchr.c: Likewise.
34329         * string/memcmp.c: Likewise.
34330         * string/memrchr.c: Likewise.
34331         * string/rawmemchr.c: Likewise.
34332         * sysdeps/posix/getcwd.c: Likewise.
34333         * time/strftime_l.c: Likewise.
34335 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34337         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34338         * config.make.in (config-cflags-sse2avx): Define.
34339         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34340         Fix typo.
34342 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
34344         * scripts/config.guess: Update from upstream config git repository.
34345         * scripts/config.sub: Likewise.
34347 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
34349         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34350         (EM_NUM): Update.
34351         (R_TILEPRO_*, R_TILEGX_*): New macros.
34353         * scripts/firstversions.awk: Fix bug in version range handling.
34355         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34357         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34359         * include/sys/epoll.h: New file.
34360         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34361         libc_hidden_def.
34363 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
34365         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34366         Avoid unnecessary __WORDSIZE == 64 test.
34367         (fmaxf): Use VEX format if possible.
34368         (fmax): Likewise.
34369         (fminf): Likewise.
34370         (fmin): Likewise.
34372         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34373         * math/math_private.h: Remove libc_fegetround* and
34374         libc_fesetround*.
34375         * sysdeps/i386/configure.in: Check for -msse2avx.
34376         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34377         also if SSE2AVX is defined.
34378         Remove libc_fegetround* and libc_fesetround*.
34379         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34380         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
34381         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34382         of HAS_YMM_USABLE.
34383         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34384         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34385         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34386         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34387         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34389         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34391 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34393         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34394         size is not set.
34395         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34397 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
34399         [BZ #13618]
34400         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34401         relocation.
34402         * Makeconfig (libm): Define.
34403         * elf/Makefile: Add rules to build and run tst-relsort1.
34404         * elf/tst-relsort1.c: New file.
34405         * elf/tst-relsort1mod1.c: New file.
34406         * elf/tst-relsort1mod2.c: New file.
34408 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
34410         * math/s_ldexp.c: Remove __STDC__ conditionals.
34411         * math/s_ldexpf.c: Likewise.
34412         * math/s_ldexpl.c: Likewise.
34413         * math/s_nextafter.c: Likewise.
34414         * math/s_nexttowardf.c: Likewise.
34415         * math/s_significand.c: Likewise.
34416         * math/s_significandf.c: Likewise.
34417         * math/s_significandl.c: Likewise.
34418         * math/w_jnl.c: Likewise.
34419         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34420         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34421         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34422         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34423         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34425         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34426         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34427         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34428         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34429         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34430         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34431         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34432         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34433         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34434         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34435         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34436         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34437         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34438         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34439         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34440         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34441         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34442         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34443         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34444         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34445         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34446         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34447         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34448         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34449         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34450         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34451         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34452         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34453         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34454         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34455         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34456         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34457         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34458         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34459         * sysdeps/ieee754/k_standard.c: Likewise.
34460         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34461         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34462         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34463         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34464         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34465         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34467         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34468         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34469         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34470         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34471         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34472         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34473         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34474         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34475         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34476         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34477         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34478         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34479         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34480         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34481         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34482         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34483         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34484         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34485         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34486         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34487         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34489         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34490         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34491         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34492         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34493         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34495         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34496         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34497         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34498         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34499         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34500         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34501         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34502         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34503         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34504         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34505         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34506         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34507         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34508         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34509         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34510         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34511         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34512         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34513         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34514         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34515         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34516         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34517         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34518         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34519         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34520         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34521         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34522         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34523         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34524         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34525         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34526         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34527         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34528         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34529         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34530         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34531         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34532         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34533         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34534         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34535         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34536         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34537         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34538         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34539         * sysdeps/ieee754/s_matherr.c: Likewise.
34540         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34541         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34542         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34543         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34545 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
34547         * crypt/md5.h: Remove __STDC__ conditionals.
34548         * libio/libioP.h: Likewise.
34549         * locale/programs/config.h: Likewise.
34550         * sysdeps/generic/sysdep.h: Likewise.
34551         * sysdeps/i386/asm-syntax.h: Likewise.
34552         * sysdeps/s390/asm-syntax.h: Likewise.
34553         * sysdeps/unix/sysdep.h: Likewise.
34554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34557 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
34559         * libio/libio.h: Remove __STDC__ conditionals.
34560         * malloc/obstack.h: Likewise.
34561         * math/complex.h: Likewise.
34562         * math/math.h: Likewise.
34563         * sysdeps/generic/_G_config.h: Likewise.
34564         * sysdeps/gnu/_G_config.h: Likewise.
34565         * sysdeps/mach/hurd/_G_config.h: Likewise.
34566         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34567         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34568         * sysdeps/sparc/bits/mathdef.h: Likewise.
34570 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
34572         [BZ #13583]
34573         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34574         Clean up HAS_* macros.
34575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34576         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34577         possible.
34578         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34579         HAS_AVX.
34580         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34581         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34582         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34583         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34584         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34586 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
34588         * elf/tst-unique3.cc (gets): Remove declaration.
34589         * elf/tst-unique3lib.cc (gets): Likewise.
34590         * elf/tst-unique3lib2.cc (gets): Likewise.
34591         * elf/tst-unique4.cc (gets): Likewise.
34593 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
34595         * include/stdio.h: Add C++ protection.  Add gets declarations and
34596         definitions.
34597         * debug/tst-chk1.c: Don't declare gets here.
34598         * stdio-common/tst-gets.c: Likewise.
34600 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34602         * posix/glob: Remove directory.
34604 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34606         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34608 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
34610         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34611         of the non-standard EPFNOSUPPORT.
34613 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34615         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34616         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34617         ANYWHERE set to 1 only on KERN_NO_SPACE error.
34619 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
34621         * wcsmbs/uchar.h: Test __STDC_VERSION__.
34623 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
34625         * nscd/aicache.c (addhstaiX): Do not cache negative results of
34626         transient errors.
34627         * nscd/grpcache.c (cache_addgr): Likewise.
34628         * nscd/hstcache.c (cache_addhst): Likewise.
34629         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34630         * nscd/pwdcache.c (cache_addpw): Likewise.
34631         * nscd/servicescache.c (cache_addserv): Likewise.
34633 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
34635         * malloc/malloc.c: Various cleanups.
34636         * malloc/hooks.c: Likewise.
34638         * stdlib/Makefile (tests): Add bug-fmtmsg1.
34639         * stdlib/bug-fmtmsg1.c: New file.
34641         * stdlib/fmtmsg.c (init): Add missing unlock.
34642         Patch by Peng Haitao <penght@cn.fujitsu.com>.
34644 2012-01-12  Marek Polacek  <polacek@redhat.com>
34646         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34647         and _GNU_SOURCE.
34649 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34651         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34652         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34653         macro to ensure uniqueness of label name.
34654         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34655         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34657 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
34659         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34661         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34662         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34663         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34664         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34666 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
34668         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34670         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34671         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34672         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34674         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34676         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34677         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34678         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34679         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34681         * math/bits/math-finite.h: Add ldexp support.
34683 2012-01-10  Marek Polacek  <polacek@redhat.com>
34685         * locale/programs/localedef.h (show_archive_content): Add noreturn
34686         attribute.
34688 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
34690         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34692 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34694         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34696         * io/Makefile (headers): Add bits/poll2.h.
34698 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
34700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34701         typo #include statement.
34703 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34705         * include/sys/cdefs.h: Define __attribute_alloc_size.
34706         * catgets/gencat.c: Add alloc_size attribute and apply consistently
34707         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34708         * elf/pldd.c: Likewise.
34709         * iconv/iconv_charmap.c: Likewise.
34710         * iconv/iconvconfig.c: Likewise.
34711         * iconv/strtab.c: Likewise.
34712         * locale/programs/locale.c: Likewise.
34713         * locale/programs/localedef.h: Likewise.
34714         * locale/programs/simple-hash.c: Likewise.
34715         * nscd/nscd.h: Likewise.
34716         * nss/makedb.c: Likewise.
34717         * sysdeps/generic/ldconfig.h: Likewise.
34718         * locale/programs/localedef.c: Remove xmalloc prototype.
34719         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34721 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34723         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34724         appropriate.
34726 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34728         * math/Makefile (tests): Add tst-CMPLX.
34729         * math/tst-CMPLX.c: New file.
34731         * math/complex.h (CMPLXL): Fix typo.
34733         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34734         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34735         GLIBC_2.16.
34736         * debug/tst-chk1.c: Add poll and ppoll tests.
34737         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34738         * include/sys/poll.h: Add hidden proto for ppoll.
34739         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34740         * sysdeps/mach/hurd/ppoll.c: Likewise.
34741         * io/ppoll.c: Likewise.
34742         * debug/poll_chk.c: New file.
34743         * debug/ppoll_chk.c: New file.
34744         * include/bits/poll2.h: New file.
34745         * io/bits/poll2.h: New file.
34747         [BZ #1350]
34748         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34750         * configure.in: static is always set to yes.  Remove.
34751         * config.make.in: Don't set build-static.
34752         * Makeconfig: Remove use of build-static.
34753         * dlfcn/Makefile: Likewise.
34754         * elf/Makefile: Likewise.
34755         * math/Makefile: Likewise.
34756         * misc/Makefile: Likewise.
34757         * nptl/Makefile: Likewise.
34758         * sysdeps/mach/hurd/Makefile: Likewise.
34760         * configure.in: PWD_P is not used anymore.
34761         * config.make.in: Remove PWD_P entry.
34763         * configure.in: Remove last remnants of RANLIB.
34764         No need to check for signed size_t anymore.
34765         Don't set libc_commonpagesize and libc_relro_required here for Alpha
34766         and IA-64.
34767         Remove __builtin_expect test because we require at least gcc 3.4.
34768         * aclocal.m4: Likewise.
34770         * wcsmbs/mbrtoc16.c: Implement using towc function.
34771         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34772         * wcsmbs/wcsmbsload.c: Likewise.
34773         * iconv/gconv_simple.c: Likewise.
34774         * iconv/gconv_int.h: Likewise.
34775         * iconv/gconv_builtin.h: Likewise.
34776         * iconv/iconv_prog.c: Remove CHAR16 handling.
34778         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34780         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34782         * configure.in: Remove --with-elf and --enable-bounded options.
34783         Dont set base_machine for ia64.  More non-ELF conditions removed.
34784         Remove testing and setting of leading underscore information.
34785         * config.make.in (build-bounded): Set to no.
34786         * config.h.in: Remove NO_UNDERSCORES entry.
34787         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
34788         them.
34789         * csu/start.c: Remove !NO_UNDERSCORE code.
34790         * locale/localeinfo.h: Likewise.
34791         * sysdeps/generic/machine-gmon.h: Likewise.
34792         * sysdeps/generic/sysdep.h: Likewise.
34793         * sysdeps/i386/sysdep.h: Likewise.
34794         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34795         * sysdeps/mach/sysdep.h: Likewise.
34796         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34797         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34798         * sysdeps/sh/sysdep.h: Likewise.
34799         * sysdeps/sparc/sparc32/alloca.S: Likewise.
34800         * sysdeps/unix/i386/sysdep.S: Likewise.
34801         * sysdeps/unix/sparc/start.c: Likewise.
34802         * sysdeps/unix/sparc/sysdep.S: Likewise.
34803         * sysdeps/unix/sparc/sysdep.h: Likewise.
34804         * sysdeps/unix/start.c: Likewise.
34805         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34806         * sysdeps/x86_64/sysdep.h: Likewise.
34808 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
34810         [BZ #13553]
34811         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34812         for non-gcc.
34813         * argp/argp-fmtstream.h: Use const instead __const.
34814         * argp/argp.h: Likewise.
34815         * assert/assert.h: Likewise.
34816         * bits/fenv.h: Likewise.
34817         * bits/sched.h: Likewise.
34818         * bits/sigset.h: Likewise.
34819         * bits/sigthread.h: Likewise.
34820         * catgets/nl_types.h: Likewise.
34821         * conform/data/pthread.h-data: Likewise.
34822         * crypt/crypt-private.h: Likewise.
34823         * crypt/crypt.h: Likewise.
34824         * crypt/crypt_util.c: Likewise.
34825         * ctype/ctype.h: Likewise.
34826         * debug/execinfo.h: Likewise.
34827         * debug/mbsnrtowcs_chk.c: Likewise.
34828         * debug/mbsrtowcs_chk.c: Likewise.
34829         * debug/wcsnrtombs_chk.c: Likewise.
34830         * debug/wcsrtombs_chk.c: Likewise.
34831         * debug/wcstombs_chk.c: Likewise.
34832         * dirent/dirent.h: Likewise.
34833         * dlfcn/dlfcn.h: Likewise.
34834         * elf/neededtest4.c: Likewise.
34835         * grp/grp.h: Likewise.
34836         * gshadow/gshadow.h: Likewise.
34837         * iconv/gconv.h: Likewise.
34838         * iconv/gconv_int.h: Likewise.
34839         * iconv/gconv_simple.c: Likewise.
34840         * iconv/iconv.h: Likewise.
34841         * iconv/loop.c: Likewise.
34842         * iconv/skeleton.c: Likewise.
34843         * include/aio.h: Likewise.
34844         * include/aliases.h: Likewise.
34845         * include/argz.h: Likewise.
34846         * include/arpa/inet.h: Likewise.
34847         * include/assert.h: Likewise.
34848         * include/dirent.h: Likewise.
34849         * include/dlfcn.h: Likewise.
34850         * include/execinfo.h: Likewise.
34851         * include/fcntl.h: Likewise.
34852         * include/fenv.h: Likewise.
34853         * include/glob.h: Likewise.
34854         * include/grp.h: Likewise.
34855         * include/libintl.h: Likewise.
34856         * include/mntent.h: Likewise.
34857         * include/netdb.h: Likewise.
34858         * include/pwd.h: Likewise.
34859         * include/rpc/netdb.h: Likewise.
34860         * include/sched.h: Likewise.
34861         * include/search.h: Likewise.
34862         * include/shadow.h: Likewise.
34863         * include/signal.h: Likewise.
34864         * include/stdio.h: Likewise.
34865         * include/stdlib.h: Likewise.
34866         * include/string.h: Likewise.
34867         * include/sys/socket.h: Likewise.
34868         * include/sys/stat.h: Likewise.
34869         * include/sys/statfs.h: Likewise.
34870         * include/sys/statvfs.h: Likewise.
34871         * include/sys/syslog.h: Likewise.
34872         * include/sys/time.h: Likewise.
34873         * include/sys/uio.h: Likewise.
34874         * include/time.h: Likewise.
34875         * include/unistd.h: Likewise.
34876         * include/utmp.h: Likewise.
34877         * include/wchar.h: Likewise.
34878         * include/wctype.h: Likewise.
34879         * inet/aliases.h: Likewise.
34880         * inet/arpa/inet.h: Likewise.
34881         * inet/netinet/ether.h: Likewise.
34882         * inet/netinet/in.h: Likewise.
34883         * intl/libintl.h: Likewise.
34884         * io/bits/fcntl2.h: Likewise.
34885         * io/fcntl.h: Likewise.
34886         * io/ftw.h: Likewise.
34887         * io/sys/poll.h: Likewise.
34888         * io/sys/stat.h: Likewise.
34889         * io/sys/statfs.h: Likewise.
34890         * io/sys/statvfs.h: Likewise.
34891         * io/utime.h: Likewise.
34892         * libio/bits/stdio.h: Likewise.
34893         * libio/bits/stdio2.h: Likewise.
34894         * libio/libio.h: Likewise.
34895         * libio/libioP.h: Likewise.
34896         * libio/stdio.h: Likewise.
34897         * locale/lc-ctype.c: Likewise.
34898         * locale/locale.h: Likewise.
34899         * login/utmp.h: Likewise.
34900         * malloc/arena.c: Likewise.
34901         * malloc/malloc.c: Likewise.
34902         * malloc/malloc.h: Likewise.
34903         * malloc/mcheck.c: Likewise.
34904         * malloc/mtrace.c: Likewise.
34905         * math/bits/mathcalls.h: Likewise.
34906         * math/fenv.h: Likewise.
34907         * math/math_private.h: Likewise.
34908         * misc/bits/error.h: Likewise.
34909         * misc/bits/syslog.h: Likewise.
34910         * misc/err.h: Likewise.
34911         * misc/error.h: Likewise.
34912         * misc/fstab.h: Likewise.
34913         * misc/mntent.h: Likewise.
34914         * misc/regexp.h: Likewise.
34915         * misc/search.h: Likewise.
34916         * misc/sgtty.h: Likewise.
34917         * misc/sys/mman.h: Likewise.
34918         * misc/sys/syslog.h: Likewise.
34919         * misc/sys/uio.h: Likewise.
34920         * misc/sys/xattr.h: Likewise.
34921         * misc/ttyent.h: Likewise.
34922         * nis/rpcsvc/ypclnt.h: Likewise.
34923         * nss/nss.h: Likewise.
34924         * posix/bits/unistd.h: Likewise.
34925         * posix/fnmatch.h: Likewise.
34926         * posix/glob.h: Likewise.
34927         * posix/sched.h: Likewise.
34928         * posix/spawn.h: Likewise.
34929         * posix/sys/wait.h: Likewise.
34930         * posix/unistd.h: Likewise.
34931         * posix/wordexp.h: Likewise.
34932         * pwd/pwd.h: Likewise.
34933         * resolv/netdb.h: Likewise.
34934         * resource/sys/resource.h: Likewise.
34935         * rt/aio.h: Likewise.
34936         * rt/bits/mqueue2.h: Likewise.
34937         * rt/mqueue.h: Likewise.
34938         * shadow/shadow.h: Likewise.
34939         * signal/signal.h: Likewise.
34940         * socket/send.c: Likewise.
34941         * socket/sendto.c: Likewise.
34942         * socket/sys/socket.h: Likewise.
34943         * stdio-common/printf.h: Likewise.
34944         * stdlib/bits/stdlib.h: Likewise.
34945         * stdlib/fmtmsg.h: Likewise.
34946         * stdlib/monetary.h: Likewise.
34947         * stdlib/stdlib.h: Likewise.
34948         * stdlib/ucontext.h: Likewise.
34949         * streams/stropts.h: Likewise.
34950         * string/argz.h: Likewise.
34951         * string/bits/string2.h: Likewise.
34952         * string/string.h: Likewise.
34953         * string/strings.h: Likewise.
34954         * sunrpc/rpc/auth.h: Likewise.
34955         * sunrpc/rpc/auth_des.h: Likewise.
34956         * sunrpc/rpc/clnt.h: Likewise.
34957         * sunrpc/rpc/netdb.h: Likewise.
34958         * sunrpc/rpc/pmap_clnt.h: Likewise.
34959         * sunrpc/rpc/xdr.h: Likewise.
34960         * sysdeps/generic/inttypes.h: Likewise.
34961         * sysdeps/generic/net/if.h: Likewise.
34962         * sysdeps/generic/sys/swap.h: Likewise.
34963         * sysdeps/gnu/net/if.h: Likewise.
34964         * sysdeps/gnu/utmpx.h: Likewise.
34965         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
34966         * sysdeps/i386/i486/bits/string.h: Likewise.
34967         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
34968         * sysdeps/s390/bits/string.h: Likewise.
34969         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
34970         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
34971         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
34972         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
34973         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
34974         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
34975         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
34976         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
34977         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
34978         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34979         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
34980         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34981         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
34982         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34983         * sysdeps/unix/sysv/linux/readv.c: Likewise.
34984         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
34985         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34986         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34987         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34988         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34989         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34990         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
34991         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
34992         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
34993         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
34994         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
34995         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
34996         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34997         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
34998         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
34999         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35000         * sysvipc/sys/ipc.h: Likewise.
35001         * sysvipc/sys/msg.h: Likewise.
35002         * sysvipc/sys/sem.h: Likewise.
35003         * sysvipc/sys/shm.h: Likewise.
35004         * termios/termios.h: Likewise.
35005         * time/sys/time.h: Likewise.
35006         * time/time.h: Likewise.
35007         * wcsmbs/bits/wchar2.h: Likewise.
35008         * wcsmbs/uchar.h: Likewise.
35009         * wcsmbs/wchar.h: Likewise.
35010         * wctype/wctype.h: Likewise.
35012         [BZ #13551]
35013         * Makeconfig: Remove all but ELF support including AIX support.
35014         * Makerules: Likewise.
35015         * config.h.in: Likewise.
35016         * config.make.in: Likewise.
35017         * configure: Likewise.
35018         * configure.in: Likewise.
35019         * csu/Makefile: Likewise.
35020         * csu/version.c: Likewise.
35021         * debug/Makefile: Likewise.
35022         * dlfcn/Makefile: Likewise.
35023         * elf/Makefile: Likewise.
35024         * extra-lib.mk: Likewise.
35025         * iconv/Makefile: Likewise.
35026         * include/libc-symbols.h: Likewise.
35027         * include/shlib-compat.h: Likewise.
35028         * resolv/Makefile: Likewise.
35029         * resolv/res_libc.c: Likewise.
35030         * rt/Makefile: Likewise.
35031         * sysdeps/i386/asm-syntax.h: Likewise.
35032         * sysdeps/i386/sysdep.h: Likewise.
35033         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35034         * sysdeps/mach/sysdep.h: Likewise.
35035         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35036         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35037         * sysdeps/s390/asm-syntax.h: Likewise.
35038         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35039         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35040         * sysdeps/sh/sysdep.h: Likewise.
35041         * sysdeps/unix/sparc/sysdep.h: Likewise.
35042         * sysdeps/wordsize-32/divdi3.c: Likewise.
35043         * sysdeps/x86_64/sysdep.h: Likewise.
35045         * argp/Versions: Remove _argp_unlock_xxx.
35047         [BZ #13559]
35048         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
35049         * abilist/libBrokenLocale.abilist: Likewise.
35050         * abilist/libanl.abilist: Likewise.
35051         * abilist/libc.abilist: Likewise.
35052         * abilist/libcrypt.abilist: Likewise.
35053         * abilist/libdl.abilist: Likewise.
35054         * abilist/libm.abilist: Likewise.
35055         * abilist/libnsl.abilist: Likewise.
35056         * abilist/libpthread.abilist: Likewise.
35057         * abilist/libresolv.abilist: Likewise.
35058         * abilist/librt.abilist: Likewise.
35059         * abilist/libthread_db.abilist: Likewise.
35060         * abilist/libutil.abilist: Likewise.
35061         * abilist/libnss_db.abilist: New file.
35063         * scripts/abilist.awk: Add support for indirect functions.
35065         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35067         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35069         * shlib-versions: Remove entries for ports architectures.
35071         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
35072         files in ports.
35073         * elf/stackguard-macros.h: Remove support for IA-64.
35074         * elf/tst-auditmod1.c: Likewise.
35075         * sysdeps/generic/ldsodefs.h: Likewise.
35077         * sysdeps/unix/sysv/linux/configure.in: Ports should define
35078         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35079         configure files.
35081         [BZ #13552]
35082         * configure.in: Remove --enable-omitfp support.
35083         * FAQ.in: Adjust.
35084         * config.make.in: Likewise.
35085         * Makeconfig: Likewise.
35086         * manual/install.texi: Likewise.
35088         In case anyone cares, the IA-64 architecture could move to ports.
35089         * sysdeps/ia64/*: Removed.
35090         * sysdeps/unix/sysv/linux/ia64/*: Removed.
35091         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35093         [BZ #13555]
35094         * configure.in: Remove entries for unsupported architectures.
35096         [BZ #13533]
35097         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35098         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
35099         routines.
35100         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35101         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35102         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
35103         fall back to using wcrtomb.
35104         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35105         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
35106         renaming.
35107         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35108         * wcsmbs/tst-c16c32-1.c: New file.
35110         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35111         local variable.
35113         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35115         * elf/tst-unique3.cc: Add explicit declaration of gets.
35116         * elf/tst-unique3lib.cc: Likewise.
35117         * elf/tst-unique3lib2.cc: Likewise.
35118         * elf/tst-unique4.cc: Likewise.
35120         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35122 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
35124         [BZ #13566]
35125         * assert/assert.h (static_assert): Don't define for C++.
35126         * libio/stdio.h (gets): Do declare for C++ <= C++11.
35127         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35129 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
35131         * iconv/loop.c (single loop): Fix assertion in storing of
35132         remaining bytes.
35134         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35136 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
35138         * posix/getconf.c: Update copyright year.
35139         * nss/getent.c: Likewise.
35140         * nss/makedb.c: Likewise.
35141         * iconv/iconvconfig.c: Likewise.
35142         * iconv/iconv_prog.c: Likewise.
35143         * elf/ldconfig.c: Likewise.
35144         * elf/pldd.c: Likewise.
35145         * elf/sotruss.ksh: Likewise.
35146         * catgets/gencat.c: Likewise.
35147         * csu/version.c: Likewise.
35148         * elf/ldd.bash.in: Likewise.
35149         * elf/sprof.c (print_version): Likewise.
35150         * locale/programs/locale.c: Likewise.
35151         * locale/programs/localedef.c: Likewise.
35152         * login/programs/pt_chown.c: Likewise.
35153         * nscd/nscd.c (print_version): Likewise.
35154         * debug/xtrace.sh: Likewise.
35155         * malloc/memusage.sh: Likewise.
35156         * malloc/mtrace.pl: Likewise.
35157         * debug/catchsegv.sh: Likewise.
35159 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
35161         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35162         pure attribute.
35164 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
35166         [BZ #13533]
35167         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35168         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35169         transformations.
35170         * iconv/gconv_int.h: Likewise.
35171         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35172         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35173         from libc for GLIBC_2.16.
35174         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35175         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35176         * wcsmbs/uchar.h: Really define mbstate_t.
35177         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35178         * wcsmbs/c16rtomb.c: New file.
35179         * wcsmbs/mbrtoc16.c: New file.
35180         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35181         for C/POSIX locale.
35182         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35183         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35185         * wcsmbs/wchar.h: Add missing __restrict.
35187 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35189         [BZ #13532]
35190         * time/Makefile (routines): Add timespec_get.
35191         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35192         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
35193         timespec for ISO C11.
35194         * time/timespec_get.c: New file.
35195         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35196         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35198         [BZ #13531]
35199         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35200         * stdlib/stdlib.h: Declare aligned_alloc.
35201         * Versions.def: Add GLIBC_2.16 for libc.
35202         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35204         [BZ 13527]
35205         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35206         ISO C11.
35208         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35209         code.
35211         [BZ #13528]
35212         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35214         [BZ #13529]
35215         * assert/assert.h (static_assert): Define.
35217         * version.h: Update for 2.16 development version.
35219         [BZ #13526]
35220         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35221         _ISOC11_SOURCE.
35223         * version.h (RELEASE): Bump for 2.15 release.
35224         * include/features.h (__GLIBC_MINOR__): Bump to 15.
35226         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35227         Patch by Marek Polacek <mpolacek@redhat.com>.
35229         * bits/byteswap.h: Protect long long constants with __extension__.
35230         * sysdeps/i386/bits/byteswap.h: Likewise.
35231         * sysdeps/ia64/bits/byteswap.h: Likewise.
35232         * sysdeps/s390/bits/byteswap.h: Likewise.
35233         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35235 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35237         [BZ #13540]
35238         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35239         destination buffer.
35240         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35242 2011-12-23  Marek Polacek  <polacek@redhat.com>
35244         * elf/dl-addr.c (determine_info): Add inline keyword.
35245         * elf/tst-auditmod4b.c (check_avx): Likewise.
35246         * elf/tst-auditmod6b.c (check_avx): Likewise.
35247         * elf/tst-auditmod6c.c (check_avx): Likewise.
35248         * elf/tst-auditmod7b.c (check_avx): Likewise.
35250 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35252         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35253         !__SSE_MATH__.
35255 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35257         [BZ #13540]
35258         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35259         processing for last bytes.
35261 2011-08-06  Bruno Haible  <bruno@clisp.org>
35263         [BZ #13061]
35264         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35265         U+0385, not to U+1FEE.
35267         [BZ #13062]
35268         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35269         entry for U+00A5 U+0301.
35271 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35273         [BZ #13166]
35274         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35275         buffer for the output is too small.
35277         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35278         optimization.
35280         [BZ #13185]
35281         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35282         SSE flags if possible.
35284 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35286         [BZ #13540]
35287         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35288         processing for last bytes.
35290 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
35292         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35293         (syscall-list-default-options, syscall-list-default-condition)
35294         (syscall-list-includes): Define.
35295         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35296         list of ABIs and options and #if conditions for each ABI.  Do not
35297         handle common syscalls between ABIs specially.
35298         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35299         Remove.
35300         (syscall-list-variants, syscall-list-32bit-options)
35301         (syscall-list-32bit-condition, syscall-list-64bit-options)
35302         (syscall-list-64bit-condition): Define.
35303         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35304         (syscall-list-variants, syscall-list-32bit-options)
35305         (syscall-list-32bit-condition, syscall-list-64bit-options)
35306         (syscall-list-64bit-condition): Define.
35307         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35308         Remove.
35309         (syscall-list-variants, syscall-list-32bit-options)
35310         (syscall-list-32bit-condition, syscall-list-64bit-options)
35311         (syscall-list-64bit-condition): Define.
35312         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35313         Remove.
35314         (syscall-list-variants, syscall-list-32bit-options)
35315         (syscall-list-32bit-condition, syscall-list-64bit-options)
35316         (syscall-list-64bit-condition): Define.
35318 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35320         * locale/iso-639.def: Add brx entry.
35322         [BZ #13328]
35323         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35324         Proposed by Mariusz_Cukr <marcukr@op.pl>.
35326         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35327         __feraiseexcept_renamed.
35329 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35331         [BZ #13538]
35332         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35333         EPOLLET with unsigned values.
35334         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35335         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35337         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35338         to large cancellation.
35339         * math/s_cacoshf.c: Likewise.
35340         * math/s_cacoshl.c: Likewise.
35342 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
35344         [BZ #13305]
35345         [BZ #12786]
35346         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35347         * math/s_cacoshf.c: Likewise.
35348         * math/s_cacoshl.c: Likewise.
35350 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35352         [BZ #13439]
35353         * iconv/gconv.h: Define __GCONV_SWAP.
35354         * iconvdata/unicode.c: The swap bit must be stored in __flags.
35355         * iconvdata/utf-16.c: Likewise.
35356         * iconvdata/utf-32.c: Likewise.
35358 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35360         [BZ #13524]
35361         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35362         numerator after shifting it by one limb.
35364 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
35366         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35367         under [__USE_EXTERN_INLINES].
35369 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35371         [BZ #13446]
35372         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35374 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35376         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35377         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35378         optimized code.
35379         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35380         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35381         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35382         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35383         for strncasecmp/strncasecmp_l compilation.
35384         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35385         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35387 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
35389         [BZ #13484]
35390         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35391         of __asm__.
35393 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35395         [BZ #13506]
35396         * time/tzfile.c (__tzfile_read): Check values from file header.
35398 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35400         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35401         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35402         * powerpc/powerpc32/dl-start.S: Likewise.
35403         * powerpc/powerpc32/elf/start.S: Likewise.
35404         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35405         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35406         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35407         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35408         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35409         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35410         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35411         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35412         * powerpc/powerpc32/fpu/s_round.S: Likewise.
35413         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35414         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35415         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35416         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35417         * powerpc/powerpc32/memset.S: Likewise.
35418         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35419         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35420         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35421         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35422         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35423         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35424         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35425         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35426         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35427         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35428         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35429         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35430         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35432 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35434         * math/libm-test.inc: Added more nearbyint tests.
35435         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35436         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35437         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35438         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35440 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
35442         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35443         FD_CLOEXEC.
35445 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35447         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35448         Add wcscpy-ssse3 wcscpy-c.
35449         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35450         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35451         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35452         * sysdeps/x86_64/wcschr.S: New file.
35453         * sysdeps/x86_64/wcsrchr.S: New file.
35454         * string/test-strcmp.c: Remove checking of wcscmp function for
35455         wrong alignments.
35456         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35457         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35458         wcsrchr-sse2 wcsrchr-c.
35459         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35460         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35461         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35462         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35463         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35464         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35465         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35466         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35467         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35468         * wcsmbc/wcschr.c (WCSCHR): New macro.
35470 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35472         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35473         * wcsmbs/test-wcsrchr.c: New file.
35474         * string/test-strrchr.c: Add wcsrchr support.
35475         (WIDE): New macro.
35476         * wcsmbs/test-wcscpy.c: New file.
35477         * string/test-strcpy.c: Add wcscpy support.
35478         (WIDE): New macro.
35480 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
35482         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35483         the inner loop.
35485 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
35487         [BZ #13472]
35488         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35490 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
35492         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35493         Minor optimizations.
35495         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35496         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35497         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35499 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
35501         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35502         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35503         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35504         for gcc to avoid warnings.
35505         * inet/Makefile (tests): Add tst-checks.
35506         * inet/tst-checks.c: New file.
35508         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35509         warning.
35511         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35512         __wmemcmp_sse2.
35514         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35515         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35517         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35519 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
35521         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35522         problem.
35524         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35526 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
35528         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35529         conditional on GCC version.
35530         (__arch_compare_and_exchange_val_8_acq)
35531         (__arch_compare_and_exchange_val_16_acq)
35532         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35533         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35534         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35536 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
35538         * sysdeps/sh/backtrace.c: New file.
35540 2011-12-02  Andreas Schwab  <schwab@redhat.com>
35542         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
35543         parenthesis.
35545 2011-12-01  Andreas Schwab  <schwab@redhat.com>
35547         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35548         falling back to utime.
35550 2011-11-30  Andreas Schwab  <schwab@redhat.com>
35552         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35553         expectations for float.
35555 2011-11-29  Andreas Schwab  <schwab@redhat.com>
35557         * locale/weight.h (findidx): Add parameter len.
35558         * locale/weightwc.h (findidx): Likewise.
35559         * posix/fnmatch_loop.c (FCT): Adjust caller.
35560         * posix/regcomp.c (build_equiv_class): Likewise.
35561         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35562         * posix/regexec.c (check_node_accept_bytes): Likewise.
35563         * string/strcoll_l.c (STRCOLL): Likewise.
35564         * string/strxfrm_l.c (STRXFRM): Likewise.
35566 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
35568         * Makefile.in: Remove CVSOPT handling.
35569         * configure.in: Remove use of AC_REVISION.
35570         * iconvdata/Makefile (distribute): No need to filter out CVS.
35571         * scripts/list-sources.sh: Remove CVS, subversion and monotone
35572         handling.
35574 2011-11-16  Andreas Schwab  <schwab@redhat.com>
35576         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35577         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35578         [USE_AS_STRNCASECMP_L]: Likewise.
35579         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35580         NO_TLS_DIRECT_SEG_REFS.
35581         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35582         Fix argument offsets for non-PIC.
35583         [USE_AS_STRNCASECMP_L]: Likewise.
35584         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35585         NO_TLS_DIRECT_SEG_REFS.
35587 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35589         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35590         O_CLOEXEC.
35591         * locale/loadlocale.c (_nl_load_locale): Likewise.
35593 2011-11-15  Andreas Schwab  <schwab@redhat.com>
35595         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35596         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35597         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35598         (SYSCALL_GETTIME): Set errno on error.
35600         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35601         count references to noai6ai_cached.
35603 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35605         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35607         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35608         FD_CLOEXEC for /proc/self/maps.
35610         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35611         FD_CLOEXEC for /proc/meminfo.
35613         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35614         gai.conf.
35616         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
35617         FD_CLOEXEC for given file.
35619         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35621         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35622         FD_CLOEXEC for /etc/hosts.
35623         (_gethtent): Likewise.
35625         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35627         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35628         cancellation and set FD_CLOEXEC for /etc/netgroup.
35630         * nss/nss_files/files-key.c (search): Don't allow cancellation when
35631         reading /etc/publickey.
35633         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35634         allow cancellation when reading /etc/group.
35636         * nss/nss_files/files-alias.c (internal_setent): Don't allow
35637         cancellation.
35638         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
35640         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35641         when using data file.
35643         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35645         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35646         (write_nis_obj): Use "c" and "e" in fopen.
35648         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35650         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35652         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35654         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35656         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35657         locale.alias.
35659         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35661         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35663         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35665         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35666         file parsing and set FD_CLOEXEC.
35668 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35670         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35672 2011-11-14  Andreas Schwab  <schwab@redhat.com>
35674         * malloc/arena.c (arena_get2): Don't call reused_arena when
35675         _int_new_arena failed.
35677 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35679         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35680         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35681         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35682         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35683         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35684         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35685         to compile strcasecmp and strncasecmp.
35686         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35687         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35691 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
35693         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35694         locale-defines.sym to gen-as-const-headers.
35695         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35696         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35697         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35698         to compile strcasecmp and strncasecmp.
35699         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35700         strcasecmp_l and strncasecmp_l.
35701         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35702         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35703         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35704         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35705         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35706         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35707         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35708         * sysdeps/i386/i686/multiarch/strncase.S: New file.
35709         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35710         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35711         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35713 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
35715         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35716         result of SYSDEP_GETTIME_CPU to retval.
35717         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35718         parameter list to macro.  Remove trailing semicolon.  Adjust users.
35720         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35721         variable.
35723         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35724         mantissa words.
35725         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35727         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35728         from unused variable.
35730         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35731         DWARF definitions.
35732         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35733         for assembling.
35735         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35736         over namespaces.
35738         * sunrpc/rpc_prot.c (rejected): Fix case value.
35740         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35741         unsigned long long int to avoid warnings in shift.
35743         * posix/regex_internal.c (re_string_reconstruct): Actually use result
35744         of use of trans.
35745         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35746         variable tmp.
35748         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35749         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35750         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35752         * nis/nis_table.c (nis_list): Use variable of correct type for
35753         result of __follow_path call.
35755 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35757         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35758         of math functions ceil, trunc, floor, round, and sqrt, when
35759         avaliable on the platform.
35760         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35761         name clash.
35762         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35763         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35764         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35766 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
35768         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35769         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35771 2011-11-11  Roland McGrath  <roland@hack.frob.com>
35773         * include/unistd.h: Fix __readlink return type.
35774         Reported by Chris Metcalf <cmetcalf@tilera.com>.
35776 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
35778         * stdlib/ucontext.h: Undo last change for makecontext.
35780 2011-11-11  Andreas Schwab  <schwab@redhat.com>
35782         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35784         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35785         * setjmp/setjmp.h: Mark functions as non-leaf.
35786         * setjmp/bits/setjmp2.h: Likewise.
35787         * stdlib/ucontext.h: Likewise.
35789 2011-11-10  Andreas Schwab  <schwab@redhat.com>
35791         * malloc/arena.c (_int_new_arena): Don't increment narenas.
35792         (reused_arena): Don't check arena limit.
35793         (arena_get2): Atomically check arena limit.
35795 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
35797         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35798         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35800         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35801         instructions.
35803 2011-11-07  Andreas Schwab  <schwab@redhat.com>
35805         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35806         handler when locking.
35808         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35809         Fix size of allocated buffer.
35811 2011-11-04  Andreas Schwab  <schwab@redhat.com>
35813         [BZ #10103]
35814         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35815         declarations for long double functions.
35816         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35818         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35820 2011-11-03  Andreas Schwab  <schwab@redhat.com>
35822         * nscd/nscd.c (main): Don't start AVC thread until credentials are
35823         installed.
35825         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35826         is disabled.
35828 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35830         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35832 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35834         * include/alloca.h (stackinfo_alloca_round): Define.
35835         (extend_alloca): Use it.
35836         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35837         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35838         here.
35840         * scripts/check-local-headers.sh: Ignore libaudit.h.
35842         * nscd/Makefile (extra-objs): Make recursively expanded.
35844 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
35846         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35847         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35849         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35850         * posix/tst-rfc3484-2.c: Likewise.
35851         * posix/tst-rfc3484-3.c: Likewise.
35853         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35854         process_vm_writev.
35855         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35856         process_vm_writev.
35857         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35858         process_vm_writev from libc using GLIBC_2.15 version.
35860         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35862 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
35864         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35865         stack usage.
35867 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
35869         [BZ #13367]
35870         * nss/getent.c (initgroups_keys): Show error message in case no group
35871         names are given.
35873         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35874         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35875         __bump_nl_timestamp.
35876         * nscd/connections (nscd_init): When host database is served open
35877         netlink socket and request notification about configuration changes.
35878         (main_loop_poll): Track netlink file descriptor and bump timestamp
35879         in case data becomes available.
35880         (main_loop_epoll): Likewise.
35881         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35882         (database_pers_head): Add extra_data fileds.
35883         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35884         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35885         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35886         Adjust caller.
35887         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35888         in6ai data, call __free_in6ai.
35889         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35890         Add -DHAVE_NETLINK.
35891         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
35892         interface information.  Reuse previous data if netlink timestamp
35893         is not changed.
35894         (__bump_nl_timestamp): New function.
35895         (__free_in6ai): New function.
35897 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
35899         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35900         close_not_cancel_no_status here.
35901         (__check_pf): Reorganize code a bit to not call close twice if OOM.
35903 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35905         [BZ #13276]
35906         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35907         return value.
35909         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
35910         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35911         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35913 2011-07-03  Andreas Jaeger  <aj@suse.de>
35915         [BZ #10709]
35916         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35917         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35918         * math/libm-test.inc (sin_test): Add test case.
35920 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35922         [BZ #13337]
35923         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35924         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35926         * elf/chroot_canon.c (chroot_canon): Cleanups.
35928         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35930         [BZ #13335]
35931         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35932         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35934         * string/test-strchr.c: Make usable for strchrnul testing.
35935         * string/test-strchrnul.c: New file.
35936         * string/Makefile (strop-tests): Add strchrnul.
35938         * po/it.po: Update from translation team.
35939         * po/es.po: Likewise.
35941 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
35943         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35944         the three constants needed as parameters.  Drop the others.
35945         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35946         __m128i_strloadu_tolower.
35947         Create and initialize variable zero and use it in all the places
35948         where _mm_setzero_si128 was used.
35950         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35951         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35952         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35953         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35954         anymore.
35955         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35956         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35957         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35958         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35959         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35960         __mpranred, __mptan.
35961         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35962         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35963         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35964         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35965         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
35966         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
35967         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
35968         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
35969         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
35971 2011-10-28  Andreas Schwab  <schwab@redhat.com>
35973         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
35974         redefine if SHARED.
35975         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
35977         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
35978         wide char related routines to wcsmbs subdir.
35980 2011-10-27  Andreas Schwab  <schwab@redhat.com>
35982         [BZ #13344]
35983         * misc/sys/cdefs.h (__THROWNL): Define.
35984         * posix/unistd.h: Use __THREADNL instead of __THREAD
35985         for memory synchronization functions.
35987 2011-10-26  Roland McGrath  <roland@hack.frob.com>
35989         [BZ #13349]
35990         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
35991         doesn't exist.
35992         * manual/stdio.texi (Obstack Streams): Node removed.
35994 2011-10-26  Andreas Schwab  <schwab@redhat.com>
35996         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
35997         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35998         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36000         * math/math_private.h (math_force_eval): Allow non-addressable
36001         arguments.
36002         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36004 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36006         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36007         file is not needed.
36009         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36010         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36011         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36012         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36013         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36014         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36015         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36016         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36017         Add AVX variants.
36018         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36019         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36020         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36021         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36022         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36023         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36024         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36025         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36026         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36027         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36028         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36029         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36030         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36031         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36032         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36033         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36034         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36035         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36036         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36038         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36039         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
36041         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36042         place.  Use VEX encoding when compiling for AVX.
36044 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36046         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36047         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36049         * string/test-strchr.c (do_test): Don't generate NUL bytes.
36051 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36053         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36054         useless if() expression.
36055         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36056         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36057         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36058         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36059         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36060         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36061         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36062         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36063         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36064         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36065         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36066         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36067         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36068         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36069         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36070         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36071         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36072         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36073         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36075         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36077 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36079         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36080         condition.
36081         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36083 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36085         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36086         .text section.  Avoid duplicate constants.
36087         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36088         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36089         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36090         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36091         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36093         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36094         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36095         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36096         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36097         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36098         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36099         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36100         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36101         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36102         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36103         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36104         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36105         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36107         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36108         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36109         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36110         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36111         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36112         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36113         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36114         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36115         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36116         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36117         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36118         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36119         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36120         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36121         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36122         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36123         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36124         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36125         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36126         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36127         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36128         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36129         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36130         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36131         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36133 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
36135         * sysdeps/x86_64/dla.h: Move to ...
36136         * sysdeps/x86_64/fpu/dla.h: ...here.
36137         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36138         situations.  Use __builtin_fma only for gcc 4.6 and up.
36140         * config.make.in: Add have-mfma4 entry.
36141         * configure.in: Substitute libc_cv_cc_fma4.
36142         * math/Makefile (dbl-only-routines): Add sincostab.
36143         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36144         Use __sincostab not sincos.
36145         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36146         name is a macro.
36147         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36148         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36149         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36150         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
36151         using __copysign.
36152         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
36153         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
36154         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36155         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36156         and __inv.
36157         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36158         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36159         __copysign.
36160         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
36161         define aliases when function name is a macro.
36162         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36163         sysdeps/ieee754/dbl-64/sincos.tbl.
36164         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36165         fma4-enabled routines.
36166         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36167         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36168         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36169         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36170         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36171         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36172         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36173         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36174         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36175         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36176         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36177         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36178         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36179         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36180         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36181         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36182         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36183         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36184         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36185         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36186         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36187         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36188         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36189         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36190         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36191         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36192         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36193         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36194         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36195         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36197         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36198         rename.
36199         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36200         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36201         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36202         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36203         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36204         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36205         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36206         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36208 2011-10-24  Andreas Schwab  <schwab@redhat.com>
36210         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36212 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36214         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36216         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36217         prediction.
36218         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36220         * string/strnlen.c: Don't define STRNLEN, reverse logic.
36221         Remove unused variable magic_bits.
36222         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36224         * string/strnlen.c: Define and use STRNLEN macro.
36225         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36226         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36227         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36228         * wcsmbs/wcslen.c: Define and use WCSLEN.
36229         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36230         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36231         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36232         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36233         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36234         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36235         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36237 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36240         strnlen-sse2-no-bsf.
36241         Rename strlen-no-bsf to strlen-sse2-no-bsf.
36242         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36243         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36244         Add strnlen support.
36245         (USE_AS_STRNLEN): New macro.
36246         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36247         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36248         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36249         * sysdeps/x86_64/wcslen.S: New file.
36251 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
36253         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36254         XMM-moves are used for copying on small sizes.
36256 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36258         * wcsmbs/Makefile (strop-tests): Add wcschr.
36259         * wcsmbs/test-wcschr.c: New file.
36260         * string/test-strchr.c: Update.
36261         Add wcschr support.
36262         (WIDE): New macro.
36264 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36266         * wcsmbs/Makefile (strop-tests): Add wcslen.
36267         * wcsmbs/test-wcslen.c: New file.
36268         * string/test-strlen.c: Update.
36269         Add wcslen support.
36270         (WIDE): New macro.
36272 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36274         * po/it.po: Update from translation team.
36276 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36278         * sysdeps/x86_64/wcscmp.S: Update.
36279         Fix wrong comparison semantics.
36280         wcscmp shall use signed comparison not unsigned.
36281         Don't use substraction to avoid overflow bug.
36282         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36283         * wcsmbc/wcscmp.c: Likewise.
36284         * string/test-strcmp.c: Likewise.
36285         Add new tests to check cases with negative values.
36287 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36289         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36290         * sysdeps/x86_64/dla.h: ...here.  New file.
36291         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36292         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36293         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36294         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36296         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36297         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36298         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36299         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36301 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
36303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36304         __ynl_finite aliases.
36306 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36310         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36311         define DLA_FMA.
36312         [DLA_FMA] (EMULV): Use DLA_FMA.
36313         [DLA_FMA] (MUL12): Use EMULV.
36314         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36315         that are not needed.
36316         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36317         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36318         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36320         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36321         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36322         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36324 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
36326         * math/s_nan.c: Undef __nan.
36327         * math/s_nanf.c: Undef __nanf.
36328         * math/s_nanl.c: Undef __nanl.
36329         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36330         "math_private.h".
36332 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36334         * math/s_catan.c: Add branch predictions.
36335         * math/s_catanf.c: Likewise.
36336         * math/s_catanh.c: Likewise.
36337         * math/s_catanhf.c: Likewise.
36338         * math/s_catanhl.c: Likewise.
36339         * math/s_catanl.c: Likewise.
36340         * math/s_cexp.c: Likewise.
36341         * math/s_cexpf.c: Likewise.
36342         * math/s_cexpl.c: Likewise.
36343         * math/s_clog.c: Likewise.
36344         * math/s_clog10.c: Likewise.
36345         * math/s_clog10f.c: Likewise.
36346         * math/s_clog10l.c: Likewise.
36347         * math/s_clogf.c: Likewise.
36348         * math/s_clogl.c: Likewise.
36349         * math/s_csqrt.c: Likewise.
36350         * math/s_csqrtf.c: Likewise.
36351         * math/s_csqrtl.c: Likewise.
36352         * math/s_ctanf.c: Likewise.
36353         * math/s_ctanh.c: Likewise.
36354         * math/s_ctanhf.c: Likewise.
36355         * math/s_ctanhl.c: Likewise.
36356         * math/s_ctanl.c: Likewise.
36358         * math/math_private.h: Define __nan, __nanf, __nanl.
36359         * math/s_cacosh.c: Include <math_private.h>.
36360         * math/s_cacoshl.c: Likewise.
36361         * math/s_casinh.c: Likewise.
36362         * math/s_casinhf.c: Likewise.
36363         * math/s_casinhl.c: Likewise.
36364         * math/s_ccos.c: Rely entire on ccosh.
36365         * math/s_ccosf.c: Rely entire on ccoshf.
36366         * math/s_ccosl.c: Rely entirely on ccoshl.
36367         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
36368         Remove tests for FE_INVALID.
36369         * math/s_ccoshf.c: Likewise.
36370         * math/s_ccoshl.c: Likewise.
36371         * math/s_csin.c: Likewise.
36372         * math/s_csinf.c: Likewise.
36373         * math/s_csinh.c Likewise.
36374         * math/s_csinhf.c: Likewise.
36375         * math/s_csinhl.c: Likewise.
36376         * math/s_csinl.c: Likewise.
36377         * math/s_ctan.c: Likewise.
36378         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36379         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36380         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36382 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
36384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36385         compilation problems.
36387         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36388         __builtin_expect.
36390 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
36392         * sysdeps/i386/configure.in: Test for -mfma4 option.
36393         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36394         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36395         COMMON_CPUID_INDEX_80000001.
36396         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36397         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36398         use it if FMA3 is not supported.
36399         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36401         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36402         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36404 2011-10-20  Andreas Schwab  <schwab@redhat.com>
36406         [BZ #12892]
36407         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36408         it would create a cycle with a link time dependency.
36410 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
36412         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36413         instruction.
36414         * string/Makefile (strop-tests): Add rawmemchr.
36415         * string/test-rawmemchr.c: New file.
36417         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36418         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
36419         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
36420         when compiling str{,n}casecmp and when AVX is available.  Hook up
36421         new optimized code in initializers.
36423 2011-10-19  Andreas Schwab  <schwab@redhat.com>
36425         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36426         __feraiseexcept instead of feraiseexcept.
36428 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
36430         * math/math_private.h: Define defaults for libc_fetestexcept and
36431         libc_feupdateenv.
36432         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36433         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36434         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36435         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36436         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36437         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36438         libc_fetestexcept and libc_feupdateenv.
36440         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36441         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36442         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36443         * sysdeps/x86_64/fpu/math_private.h: Define special version of
36444         libc_feholdexcept_setround.
36446         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36447         Add s_nearbyint-c and s_nearbyintf-c.
36448         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36449         nearbyintf inlines.
36450         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36451         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36452         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36453         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36455         * math/math_private.h: Define defaults for libc_fegetround,
36456         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36457         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36458         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36459         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36460         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36461         standard functions.
36462         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36463         Remove comments and hacks for old compiler versions.
36464         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36465         libc_fegetround, libc_fesetround, libc_feholdexcept, and
36466         libc_feholdexceptl.
36468 2011-10-18  Andreas Schwab  <schwab@redhat.com>
36470         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36471         (__feraiseexcept_renamed): Add __NTH.
36472         (feraiseexcept): Add __NTH.  Rename local variables to fix
36473         namespace violations.
36475 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
36477         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36479         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36481         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36482         recently added interfaces.
36483         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36485         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36486         about macro parameter expansion.
36488         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36489         __NO_MATH_INLINES is defined.  Cleanups.
36491         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36492         and __floorf is target has SSE4.1.
36493         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36494         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36495         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36496         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36498         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36499         name.
36500         (floorf): Likewise.
36502         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36504 2011-10-17  Andreas Schwab  <schwab@redhat.com>
36506         * misc/sys/cdefs.h: Fix last change.
36508         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36509         database lookup.
36511 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
36513         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36515         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36517         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36518         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36519         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36520         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36521         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36522         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36523         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36524         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36525         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36526         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36527         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36528         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36529         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36530         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36531         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36532         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36533         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36534         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36535         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36536         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36538         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36539         ceil, ceilf, floor, floorf.
36541         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36542         Perform IRELATIVE relocations last.
36544         * elf/do-rel.h: Add another parameter nrelative, replacing the
36545         local variable with the same name.  Change name of the function
36546         to end in Rel or Rela (uppercase).
36547         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36548         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
36549         elf_dynamic_do_##reloc function.
36551 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36553         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36554         is sufficient, at least on modern CPUs.
36556         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36558         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36559         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36561         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36562         __expl_finite.
36563         * math/bits/math-finite.h: Add entries for exp.
36564         * math/e_expl.c: Add __*_finite alias.
36565         * sysdeps/i386/fpu/e_exp.S: Likewise.
36566         * sysdeps/i386/fpu/e_expf.S: Likewise.
36567         * sysdeps/i386/fpu/e_expl.c: Likewise.
36568         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36569         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36570         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36571         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36572         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36573         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36574         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36576         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36577         is sufficient, at least on modern CPUs.
36579         * ctype/ctype-info.c (__ctype_init): Define.
36580         * include/ctype.h (__ctype_init): Declare.
36581         (__ctype_b_loc): The variable is always initialized.
36582         (__ctype_toupper_loc): Likewise.
36583         (__ctype_tolower_loc): Likewise.
36584         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36585         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36587 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
36589         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36591         * configure.in: Also look in $cxxmachine/include for C++ system
36592         headers.
36594 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36596         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36597         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36598         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36599         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
36600         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36601         (USE_AS_WMEMCMP): New macro.
36602         Fixing indents.
36603         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36604         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36605         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36606         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36607         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36608         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36609         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36610         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36611         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36612         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36613         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36614         (USE_AS_WMEMCMP): New macro.
36615         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36616         * sysdeps/string/test-memcmp.c: Update.
36617         Fix simple_wmemcmp.
36618         Add new tests.
36619         * wcsmbs/wmemcmp.c: Update.
36620         (WMEMCMP): New macro.
36621         Fix overflow bug.
36623 2011-10-12  Andreas Jaeger  <aj@suse.de>
36625         [BZ #13268]
36626         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36628 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36630         * libio/iofwide.c (do_length): Avoid warning.
36632         * ctype/ctype.h (__isctype_f): Add missing __THROW.
36634 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
36636         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36638         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36639         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36640         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36641         * sysdeps/i386/i686/fpu/e_log.S: New file.
36642         * sysdeps/i386/i686/fpu/e_logf.S: New file.
36643         * sysdeps/i386/i686/fpu/e_logl.S: New file.
36645         * ctype/ctype.h: Add support for inlined isXXX functions when
36646         compiling C++ code.
36648 2011-10-14  Andreas Schwab  <schwab@redhat.com>
36650         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36652         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36654 2011-10-13  Roland McGrath  <roland@hack.frob.com>
36656         [BZ #13291]
36657         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36659 2011-10-13  Andreas Schwab  <schwab@redhat.com>
36661         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36662         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36663         feraiseexcept.
36665         * sysdeps/x86_64/memrchr.S: Check for zero size.
36667         * string/stratcliff.c: Add memrchr tests.
36669 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36672         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36673         rawmemchr-sse2 rawmemchr-sse2-bsf.
36674         * sysdeps/i386/i686/multiarch/memchr.S: New file.
36675         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36676         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36677         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36678         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36679         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36680         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36681         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36682         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36683         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36684         * string/memrchr.c (MEMRCHR): New macro.
36686 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
36688         Add integration with gcc's -ffinite-math-only and optimize wrapper
36689         functions in libm.
36690         * Versions.def: Define GLIBC_2.15 version for libm.
36691         * math/Makefile (headers): Add bits/math-finite.h.
36692         * math/bits/math-finite.h: New file.
36693         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36694         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36695         * math/e_acoshl.c: Add __*_finite alias.
36696         * math/e_acosl.c: Likewise.
36697         * math/e_asinl.c: Likewise.
36698         * math/e_atan2l.c: Likewise.
36699         * math/e_atanhl.c: Likewise.
36700         * math/e_coshl.c: Likewise.
36701         * math/e_exp10.c: Likewise.
36702         * math/e_exp10f.c: Likewise.
36703         * math/e_exp10l.c: Likewise.
36704         * math/e_exp2l.c: Likewise.
36705         * math/e_fmodl.c: Likewise.
36706         * math/e_gammal_r.c: Likewise.
36707         * math/e_hypotl.c: Likewise.
36708         * math/e_j0l.c: Likewise.
36709         * math/e_j1l.c: Likewise.
36710         * math/e_jnl.c: Likewise.
36711         * math/e_lgammal_r.c: Likewise.
36712         * math/e_log10l.c: Likewise.
36713         * math/e_log2l.c: Likewise.
36714         * math/e_logl.c: Likewise.
36715         * math/e_powl.c: Likewise.
36716         * math/e_sinhl.c: Likewise.
36717         * math/e_sqrtl.c: Likewise.
36718         * math/e_scalb.c: Completely rewritten and optimized.
36719         * math/e_scalbf.c: Likewise.
36720         * math/e_scalbl.c: Likewise.
36721         * math/w_acos.c: Likewise.
36722         * math/w_acosf.c: Likewise.
36723         * math/w_acosl.c: Likewise.
36724         * math/w_acosh.c: Likewise.
36725         * math/w_acoshf.c: Likewise.
36726         * math/w_acoshl.c: Likewise.
36727         * math/w_asin.c: Likewise.
36728         * math/w_asinf.c: Likewise.
36729         * math/w_asinl.c: Likewise.
36730         * math/w_atan2.c: Likewise.
36731         * math/w_atan2f.c: Likewise.
36732         * math/w_atan2l.c: Likewise.
36733         * math/w_atanh.c: Likewise.
36734         * math/w_atanhf.c: Likewise.
36735         * math/w_atanhl.c: Likewise.
36736         * math/w_exp10.c: Likewise.
36737         * math/w_exp10f.c: Likewise.
36738         * math/w_exp10l.c: Likewise.
36739         * math/w_fmod.c: Likewise.
36740         * math/w_fmodf.c: Likewise.
36741         * math/w_fmodl.c: Likewise.
36742         * math/w_j0.c: Likewise.
36743         * math/w_j0f.c: Likewise.
36744         * math/w_j0l.c: Likewise.
36745         * math/w_j1.c: Likewise.
36746         * math/w_j1f.c: Likewise.
36747         * math/w_j1l.c: Likewise.
36748         * math/w_jn.c: Likewise.
36749         * math/w_jnf.c: Likewise.
36750         * math/w_log.c: Likewise.
36751         * math/w_logf.c: Likewise.
36752         * math/w_logl.c: Likewise.
36753         * math/w_log10.c: Likewise.
36754         * math/w_log10f.c: Likewise.
36755         * math/w_log10l.c: Likewise.
36756         * math/w_log2.c: Likewise.
36757         * math/w_log2f.c: Likewise.
36758         * math/w_log2l.c: Likewise.
36759         * math/w_pow.c: Likewise.
36760         * math/w_powf.c: Likewise.
36761         * math/w_powl.c: Likewise.
36762         * math/w_remainder.c: Likewise.
36763         * math/w_remainderf.c: Likewise.
36764         * math/w_remainderl.c: Likewise.
36765         * math/w_scalb.c: Likewise.
36766         * math/w_scalbf.c: Likewise.
36767         * math/w_scalbl.c: Likewise.
36768         * math/w_sqrt.c: Likewise.
36769         * math/w_sqrtf.c: Likewise.
36770         * math/w_sqrtl.c: Likewise.
36771         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36772         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
36773         used.
36774         * math/math_private.h: Declare __kernel_standard_f.
36775         * math/w_cosh.c: Remove cruft and optimize a bit.
36776         * math/w_coshf.c: Likewise.
36777         * math/w_coshl.c: Likewise.
36778         * math/w_exp2.c: Likewise.
36779         * math/w_exp2f.c: Likewise.
36780         * math/w_exp2l.c: Likewise.
36781         * math/w_hypot.c: Likewise.
36782         * math/w_hypotf.c: Likewise.
36783         * math/w_hypotl.c: Likewise.
36784         * math/w_lgamma.c: Likewise.
36785         * math/w_lgamma_r.c: Likewise.
36786         * math/w_lgammaf.c: Likewise.
36787         * math/w_lgammaf_r.c: Likewise.
36788         * math/w_lgammal.c: Likewise.
36789         * math/w_lgammal_r.c: Likewise.
36790         * math/w_sinh.c: Likewise.
36791         * math/w_sinhf.c: Likewise.
36792         * math/w_sinhl.c: Likewise.
36793         * math/w_tgamma.c: Likewise.
36794         * math/w_tgammaf.c: Likewise.
36795         * math/w_tgammal.c: Likewise.
36796         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36797         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36798         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36799         Minor optimizations.  Pretty printing.  Remove cruft.
36800         * sysdeps/i386/fpu/e_acosf.S: Likewise.
36801         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36802         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36803         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36804         * sysdeps/i386/fpu/e_acosl.c: Likewise.
36805         * sysdeps/i386/fpu/e_asin.S: Likewise.
36806         * sysdeps/i386/fpu/e_asinf.S: Likewise.
36807         * sysdeps/i386/fpu/e_atan2.S: Likewise.
36808         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36809         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36810         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36811         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36812         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36813         * sysdeps/i386/fpu/e_exp10.S: Likewise.
36814         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36815         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36816         * sysdeps/i386/fpu/e_exp2.S: Likewise.
36817         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36818         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36819         * sysdeps/i386/fpu/e_fmod.S: Likewise.
36820         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36821         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36822         * sysdeps/i386/fpu/e_hypot.S: Likewise.
36823         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36824         * sysdeps/i386/fpu/e_log.S: Likewise.
36825         * sysdeps/i386/fpu/e_log10.S: Likewise.
36826         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36827         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36828         * sysdeps/i386/fpu/e_log2.S: Likewise.
36829         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36830         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36831         * sysdeps/i386/fpu/e_logf.S: Likewise.
36832         * sysdeps/i386/fpu/e_logl.S: Likewise.
36833         * sysdeps/i386/fpu/e_pow.S: Likewise.
36834         * sysdeps/i386/fpu/e_powf.S: Likewise.
36835         * sysdeps/i386/fpu/e_powl.S: Likewise.
36836         * sysdeps/i386/fpu/e_remainder.S: Likewise.
36837         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36838         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36839         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36840         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36841         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36842         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36843         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36844         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36845         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36846         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36847         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36848         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36849         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36850         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36851         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36852         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36853         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36854         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36855         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36856         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36857         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36858         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36859         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36860         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36861         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36862         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36863         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36864         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36865         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36866         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36867         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36868         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36869         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36870         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36871         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36872         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36873         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36874         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36875         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36876         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36877         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36878         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36879         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36880         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36881         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36882         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36883         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36884         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36885         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36886         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36887         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36888         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36889         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36890         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36891         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36892         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36893         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36894         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36895         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36896         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36897         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36898         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36899         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36900         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36901         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36902         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36903         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36904         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36905         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36906         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36907         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36908         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36909         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36910         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36911         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36912         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36913         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36914         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36915         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36916         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36917         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36918         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36919         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36920         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36921         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36922         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36923         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36924         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36925         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36928         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36929         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36930         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36931         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36932         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36933         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36934         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36935         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36936         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36937         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36938         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36939         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36940         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36941         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36942         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36943         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36944         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36945         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36946         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36947         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36948         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36949         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36950         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36951         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36952         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36953         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36954         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36955         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
36956         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36957         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36958         (__isnanf): Likewise.
36959         (__isinf_ns): Likewise.
36960         (__isinf_nsf): Likewise.
36961         (__finite): Likewise.
36962         (__finitef): Likewise.
36963         (__ieee754_sqrt): Define as macro.
36964         (__ieee754_sqrtf): Define as macro.
36965         (__ieee754_sqrtl): Define as macro.
36966         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
36967         inlined copy.
36968         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
36969         __FINITE_MATH_ONLY__ consistent.
36970         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
36972 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
36974         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
36975         of rawmemchr.
36977         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
36979 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
36981         * po/ja.po: Update from translation team.
36983 2011-10-08  Roland McGrath  <roland@hack.frob.com>
36985         * locale/programs/locarchive.c (prepare_address_space): New function.
36986         (create_archive, enlarge_archive, open_archive): Use it.
36988         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
36989         inside [SHARED], where it is used.
36991         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
36993         * nss/getent.c (netgroup_keys): Remove unused variable.
36994         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36996 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
36998         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
36999         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37000         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37001         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37002         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37003         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37004         * math/Makefile (libm-calls): Add s_isinf_ns.
37005         * math/divtc3.c: Use __isinf_nsl instead of isinf.
37006         * math/multc3.c: Likewise.
37007         * math/s_casin.c: Likewise.
37008         * math/s_casinf.c: Likewise.
37009         * math/s_casinl.c: Likewise.
37010         * math/s_ccos.c: Likewise.
37011         * math/s_ccosf.c: Likewise.
37012         * math/s_ccosl.c: Likewise.
37013         * math/s_ctan.c: Likewise.
37014         * math/s_ctanf.c: Likewise.
37015         * math/s_ctanh.c: Likewise.
37016         * math/s_ctanhf.c: Likewise.
37017         * math/s_ctanhl.c: Likewise.
37018         * math/s_ctanl.c: Likewise.
37019         * math/w_fmod.c: Likewise.
37020         * math/w_fmodf.c: Likewise.
37021         * math/w_fmodl.c: Likewise.
37022         * math/w_remainder.c: Likewise.
37023         * math/w_remainderf.c: Likewise.
37024         * math/w_remainderl.c: Likewise.
37025         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37026         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37027         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37028         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37029         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37030         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37031         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37032         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37034         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37035         of the number.
37036         * stdio-common/printf_fphex.c: Likewise.
37037         * stdio-common/printf_size.c: Likewise.
37039         * math/e_exp10.c: Include math_private.h using <...> not "...".
37040         * math/e_exp10f.c: Likewise.
37041         * math/e_exp10l.c: Likewise.
37042         * math/e_exp2l.c: Likewise.
37043         * math/e_j0l.c: Likewise.
37044         * math/e_j1l.c: Likewise.
37045         * math/e_jnl.c: Likewise.
37046         * math/e_lgammal_r.c: Likewise.
37047         * math/e_rem_pio2l.c: Likewise.
37048         * math/e_scalb.c: Likewise.
37049         * math/e_scalbf.c: Likewise.
37050         * math/e_scalbl.c: Likewise.
37051         * math/k_cosl.c: Likewise.
37052         * math/k_sinl.c: Likewise.
37053         * math/k_tanl.c: Likewise.
37054         * math/s_cacoshf.c: Likewise.
37055         * math/s_catan.c: Likewise.
37056         * math/s_catanf.c: Likewise.
37057         * math/s_catanh.c: Likewise.
37058         * math/s_catanhf.c: Likewise.
37059         * math/s_catanhl.c: Likewise.
37060         * math/s_catanl.c: Likewise.
37061         * math/s_ccosh.c: Likewise.
37062         * math/s_ccoshf.c: Likewise.
37063         * math/s_ccoshl.c: Likewise.
37064         * math/s_cexp.c: Likewise.
37065         * math/s_cexpf.c: Likewise.
37066         * math/s_cexpl.c: Likewise.
37067         * math/s_clog.c: Likewise.
37068         * math/s_clog10.c: Likewise.
37069         * math/s_clog10f.c: Likewise.
37070         * math/s_clog10l.c: Likewise.
37071         * math/s_clogf.c: Likewise.
37072         * math/s_clogl.c: Likewise.
37073         * math/s_csin.c: Likewise.
37074         * math/s_csinf.c: Likewise.
37075         * math/s_csinh.c: Likewise.
37076         * math/s_csinhf.c: Likewise.
37077         * math/s_csinhl.c: Likewise.
37078         * math/s_csinl.c: Likewise.
37079         * math/s_csqrt.c: Likewise.
37080         * math/s_csqrtf.c: Likewise.
37081         * math/s_csqrtl.c: Likewise.
37082         * math/s_ctan.c: Likewise.
37083         * math/s_ctanf.c: Likewise.
37084         * math/s_ctanh.c: Likewise.
37085         * math/s_ctanhf.c: Likewise.
37086         * math/s_ctanhl.c: Likewise.
37087         * math/s_ctanl.c: Likewise.
37088         * math/s_ldexp.c: Likewise.
37089         * math/s_ldexpf.c: Likewise.
37090         * math/s_ldexpl.c: Likewise.
37091         * math/s_significand.c: Likewise.
37092         * math/s_significandf.c: Likewise.
37093         * math/s_significandl.c: Likewise.
37094         * math/w_acos.c: Likewise.
37095         * math/w_acosf.c: Likewise.
37096         * math/w_acosh.c: Likewise.
37097         * math/w_acoshf.c: Likewise.
37098         * math/w_acoshl.c: Likewise.
37099         * math/w_acosl.c: Likewise.
37100         * math/w_asin.c: Likewise.
37101         * math/w_asinf.c: Likewise.
37102         * math/w_asinl.c: Likewise.
37103         * math/w_atan2.c: Likewise.
37104         * math/w_atan2f.c: Likewise.
37105         * math/w_atan2l.c: Likewise.
37106         * math/w_atanh.c: Likewise.
37107         * math/w_atanhf.c: Likewise.
37108         * math/w_atanhl.c: Likewise.
37109         * math/w_cosh.c: Likewise.
37110         * math/w_coshf.c: Likewise.
37111         * math/w_coshl.c: Likewise.
37112         * math/w_dremf.c: Likewise.
37113         * math/w_exp10.c: Likewise.
37114         * math/w_exp10f.c: Likewise.
37115         * math/w_exp10l.c: Likewise.
37116         * math/w_exp2.c: Likewise.
37117         * math/w_exp2f.c: Likewise.
37118         * math/w_fmod.c: Likewise.
37119         * math/w_fmodf.c: Likewise.
37120         * math/w_fmodl.c: Likewise.
37121         * math/w_hypot.c: Likewise.
37122         * math/w_hypotf.c: Likewise.
37123         * math/w_hypotl.c: Likewise.
37124         * math/w_j0.c: Likewise.
37125         * math/w_j0f.c: Likewise.
37126         * math/w_j0l.c: Likewise.
37127         * math/w_j1.c: Likewise.
37128         * math/w_j1f.c: Likewise.
37129         * math/w_j1l.c: Likewise.
37130         * math/w_jn.c: Likewise.
37131         * math/w_jnf.c: Likewise.
37132         * math/w_jnl.c: Likewise.
37133         * math/w_lgamma.c: Likewise.
37134         * math/w_lgamma_r.c: Likewise.
37135         * math/w_lgammaf.c: Likewise.
37136         * math/w_lgammaf_r.c: Likewise.
37137         * math/w_lgammal.c: Likewise.
37138         * math/w_lgammal_r.c: Likewise.
37139         * math/w_log.c: Likewise.
37140         * math/w_log10.c: Likewise.
37141         * math/w_log10f.c: Likewise.
37142         * math/w_log10l.c: Likewise.
37143         * math/w_log2.c: Likewise.
37144         * math/w_log2f.c: Likewise.
37145         * math/w_log2l.c: Likewise.
37146         * math/w_logf.c: Likewise.
37147         * math/w_logl.c: Likewise.
37148         * math/w_pow.c: Likewise.
37149         * math/w_powf.c: Likewise.
37150         * math/w_powl.c: Likewise.
37151         * math/w_remainder.c: Likewise.
37152         * math/w_remainderf.c: Likewise.
37153         * math/w_remainderl.c: Likewise.
37154         * math/w_scalb.c: Likewise.
37155         * math/w_scalbf.c: Likewise.
37156         * math/w_scalbl.c: Likewise.
37157         * math/w_sinh.c: Likewise.
37158         * math/w_sinhf.c: Likewise.
37159         * math/w_sinhl.c: Likewise.
37160         * math/w_sqrt.c: Likewise.
37161         * math/w_sqrtf.c: Likewise.
37162         * math/w_sqrtl.c: Likewise.
37163         * math/w_tgamma.c: Likewise.
37164         * math/w_tgammaf.c: Likewise.
37165         * math/w_tgammal.c: Likewise.
37167         * po/ja.po: Update from translation team.
37169 2011-09-29  Andreas Jaeger  <aj@suse.de>
37171         [BZ #13179]
37172         * sunrpc/netname.c (netname2host): Fix logic.
37174         [BZ #6779]
37175         [BZ #6783]
37176         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37177         correctly.
37178         * math/w_remainder.c (__remainder): Likewise.
37179         * math/w_remainderf.c (__remainderf): Likewise.
37180         * math/libm-test.inc (remainder_test): Add test cases.
37182 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37184         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
37185         sdiv_qrnnd.
37187 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37189         * string/test-memcmp.c: Avoid unncessary #defines.
37190         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37192 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37194         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37195         Use new sse2 version for core i3 - i7 as it's faster
37196         than sse42 version.
37197         (bit_Prefer_PMINUB_for_stringop): New.
37198         * sysdeps/x86_64/rawmemchr.S: Update.
37199         Replace with faster SSE2 version.
37200         * sysdeps/x86_64/memrchr.S: New file.
37201         * sysdeps/x86_64/memchr.S: Update.
37202         Replace with faster SSE2 version.
37204 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
37206         * elf/dl-load.c (lose): Add cast to avoid warning.
37208 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37210         * po/ca.po: Update from translation team.
37212         * inet/getnetgrent_r.c: Hook up nscd.
37213         * nscd/Makefile (routines): Add nscd_netgroup.
37214         (nscd-modules): Add netgroupcache.
37215         (CFLAGS-netgroupcache.c): Define.
37216         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37217         (cache_search): Add const to second parameter.
37218         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37219         INNETGR.
37220         (dbs): Add netgrdb entry.
37221         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37222         (verify_persistent_db): Handle netgrdb.
37223         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37224         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37225         GETFDNETGR.
37226         (netgroup_response_header): Define.
37227         (innetgroup_response_header): Define.
37228         (datahead): Add netgroup_response_header and innetgroup_response_header
37229         elements.
37230         * nscd/nscd.conf: Add entries for netgroup cache.
37231         * nscd/nscd.h (dbtype): Add netgrdb.
37232         (_PATH_NSCD_NETGROUP_DB): Define.
37233         (netgroup_iov_disabled): Declare.
37234         (xmalloc, xcalloc, xrealloc): Move declarations here.
37235         (cache_search): Adjust prototype.
37236         Add netgroup-related prototypes.
37237         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37238         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37239         (__nscd_innetgr): Declare.
37240         * nscd/selinux.c (perms): Use access_vector_t as element type and
37241         add netgroup-related initializers.
37242         * nscd/netgroupcache.c: New file.
37243         * nscd/nscd_netgroup.c: New file.
37244         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37245         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37246         For four parameters use innetgr.
37247         * nss/nss_files/files-init.c: Add definition and callback for netgr.
37248         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37249         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37250         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37252         * nscd/connections.c (register_traced_file): Don't register file
37253         for disabled databases.
37255 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
37257         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37259         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37260         from tree and freeing node.
37262 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
37264         * nss/nsswitch.c (__nss_database_lookup): Handle
37265         nss_parse_service_list out of memory case.
37267 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
37269         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37270         out of memory case.
37272 2011-10-04  Andreas Schwab  <schwab@redhat.com>
37274         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37275         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37276         pass it down.
37277         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37278         elf_machine_rela, elf_machine_lazy_rel.
37279         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37280         (ELF_DYNAMIC_DO_REL): Likewise.
37281         (ELF_DYNAMIC_DO_RELA): Likewise.
37282         (ELF_DYNAMIC_RELOCATE): Likewise.
37283         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37284         to ELF_DYNAMIC_DO_REL.
37285         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37286         (dl_main): In trace mode always set __RTLD_NOIFUNC.
37287         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37288         elf_machine_rela.
37289         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37290         skip_ifunc, don't call ifunc function if non-zero.
37291         (elf_machine_rela): Likewise.
37292         (elf_machine_lazy_rel): Likewise.
37293         (elf_machine_lazy_rela): Likewise.
37294         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37295         (elf_machine_lazy_rel): Likewise.
37296         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37297         Likewise.
37298         (elf_machine_lazy_rel): Likewise.
37299         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37300         Likewise.
37301         (elf_machine_lazy_rel): Likewise.
37302         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37303         (elf_machine_lazy_rel): Likewise.
37304         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37305         (elf_machine_lazy_rel): Likewise.
37306         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37307         (elf_machine_lazy_rel): Likewise.
37308         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37309         (elf_machine_lazy_rel): Likewise.
37310         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37311         (elf_machine_lazy_rel): Likewise.
37312         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37313         (elf_machine_lazy_rel): Likewise.
37315 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
37317         * nss/nss_files/files-init.c (_nss_files_init): Use static
37318         initialization for all the *_traced_file variables.
37320 2011-09-28  Andreas Schwab  <schwab@redhat.com>
37322         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37324 2011-09-27  Roland McGrath  <roland@hack.frob.com>
37326         [BZ #13226]
37327         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37329 2011-09-27  Andreas Schwab  <schwab@redhat.com>
37331         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37332         Reread the line before reparsing it.
37334 2011-09-26  Andreas Schwab  <schwab@redhat.com>
37336         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37338 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
37339             Maxim Kuvyrkov  <maxim@codesourcery.com>
37340             Joseph Myers  <joseph@codesourcery.com>
37342         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37343         if needed for __stack_chk_guard.
37345 2011-09-19  Roland McGrath  <roland@hack.frob.com>
37347         * sysdeps/posix/spawni.c (script_execute): Always define it.
37348         It will be optimized away if unused.
37349         (maybe_script_execute): New function.
37350         (__spawni): Call it.
37352         * Makerules: Don't include tls.make.
37353         (config-tls): Always set to thread.
37354         * tls.make.c: File removed.
37356 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
37358         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37359         * config.make.in (CPPFLAGS-config): New substituted variable.
37361 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37363         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37365         [BZ #13192]
37366         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37367         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37369 2011-09-15  Roland McGrath  <roland@hack.frob.com>
37371         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37372         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37374         (CALL_FAIL): Likewise.
37375         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37376         (CALL_FAIL): Macro removed.
37377         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37379 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37381         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37382         for __FINITE_MATH_ONLY__ == 1.
37384 2011-09-15  Andreas Schwab  <schwab@redhat.com>
37386         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37387         __ieee754_sqrt instead of sqrt.
37388         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37389         __ieee754_sqrtf instead of sqrtf.
37390         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37391         __floorf instead of floorf.
37392         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37393         __floorf, __truncf instead of floorf, truncf.
37395 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
37397         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37399         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37400         __extern_always_inline.
37401         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37402         32-bit.
37404 2011-09-14  Andreas Schwab  <schwab@redhat.com>
37406         * elf/rtld.c (dl_main): Also relocate in dependency order when
37407         doing symbol dependency testing.
37409 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
37411         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37412         Always define `refsym'.
37414 2011-09-13  Andreas Schwab  <schwab@redhat.com>
37416         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37417         (__FD_ELT): Renamed from __FDELT.
37418         * misc/bits/select2.h (__FD_ELT): Likewise.
37419         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37420         __FD_MASK instead of __FDELT, __FDMASK.
37421         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37422         Likewise.
37423         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37424         Likewise.
37426         * elf/Makefile (gen-ldd): Fix pattern.
37428         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37429         (init_tls): Likewise.
37431 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
37433         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37435 2011-09-12  Andreas Schwab  <schwab@redhat.com>
37437         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37438         `struct cmsghdr *' instead of `void *'.
37439         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37440         Likewise.
37442 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
37444         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37445         if non-absolute.
37446         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37447         ldd_rewrite_script.
37449 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
37451         * configure.in: Remove --with-tls option.
37452         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37453         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37454         out in case it is missing.
37455         * sysdeps/ia64/elf/configure.in: Likewise.
37456         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37457         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37458         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37459         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37460         * sysdeps/sh/elf/configure.in: Likewise.
37461         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37462         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37463         * sysdeps/x86_64/elf/configure.in: Likewise.
37464         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37465         * sysdeps/mach/hurd/tls.h: Likewise.
37467         [BZ #13067]
37468         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37470         [BZ #13090]
37471         * configure.in: Fix use of AC_INIT.
37473         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37475 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
37477         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37478         __set_errno.
37479         * malloc/hooks.c: Likewise.
37481         [BZ #11929]
37482         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
37483         variables statically.
37484         (narenas): Initialize.
37485         (list_lock): Initialize.
37486         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
37487         initializtion of main_arena and list_lock.  Small cleanups.
37488         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37489         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
37490         Add initializers to main_arena and mp_.
37491         (malloc_state): Remove pagesize member.  Change all users to use
37492         GLRO(dl_pagesize).
37494         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37495         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
37496         is always initialized.
37498         * malloc/malloc.c: Removed unused configurations and dead code.
37499         * malloc/arena.c: Likewise.
37500         * malloc/hooks.c: Likewise.
37501         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37503         * include/tls.h: Removed.  USE___THREAD must always be defined.
37504         * bits/libc-tsd.h: Don't handle !USE___THREAD.
37505         * elf/dl-libc.c: Likewise.
37506         * elf/dl-tsd.c: Likewise.
37507         * include/errno.h: Likewise.
37508         * include/netdb.h: Likewise.
37509         * include/resolv.h: Likewise.
37510         * inet/herrno-loc.c: Likewise.
37511         * inet/herrno.c: Likewise.
37512         * malloc/arena.c: Likewise.
37513         * malloc/hooks.c: Likewise.
37514         * malloc/malloc.c: Likewise.
37515         * resolv/res-state.c: Likewise.
37516         * resolv/res_libc.c: Likewise.
37517         * sysdeps/i386/dl-machine.h: Likewise.
37518         * sysdeps/ia64/dl-machine.h: Likewise.
37519         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37520         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37521         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37522         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37523         * sysdeps/sh/dl-machine.h: Likewise.
37524         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37525         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37526         * sysdeps/unix/i386/sysdep.S: Likewise.
37527         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37528         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37530         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37533         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37534         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37535         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37536         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37537         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37538         * sysdeps/x86_64/dl-machine.h: Likewise.
37539         * tls.make.c: Likewise.
37541         * configure.in: Remove --with-__thread option.  Make tests for
37542         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37543         tls_model attribute fail if no support is available.  Remove
37544         USE_IN_LIBIO.
37545         * Makeconfig: Adjust for dropped configure option.  All features are
37546         now mandatory.
37547         * Makerules: Likewise.
37548         * Versions.def: Likewise.
37549         * argp/argp-fmtstream.c: Likewise.
37550         * argp/argp-fmtstream.h: Likewise.
37551         * argp/argp-help.c: Likewise.
37552         * assert/assert.c: Likewise.
37553         * config.h.in: Likewise.
37554         * config.make.in: Likewise.
37555         * configure: Likewise.
37556         * configure.in: Likewise.
37557         * csu/Versions: Likewise.
37558         * csu/init.c: Likewise.
37559         * elf/tst-audit2.c: Likewise.
37560         * elf/tst-tls10.c: Likewise.
37561         * elf/tst-tls10.h: Likewise.
37562         * elf/tst-tls11.c: Likewise.
37563         * elf/tst-tls12.c: Likewise.
37564         * elf/tst-tls14.c: Likewise.
37565         * elf/tst-tlsmod11.c: Likewise.
37566         * elf/tst-tlsmod12.c: Likewise.
37567         * elf/tst-tlsmod13.c: Likewise.
37568         * elf/tst-tlsmod13a.c: Likewise.
37569         * elf/tst-tlsmod14a.c: Likewise.
37570         * elf/tst-tlsmod15b.c: Likewise.
37571         * elf/tst-tlsmod16a.c: Likewise.
37572         * elf/tst-tlsmod16b.c: Likewise.
37573         * elf/tst-tlsmod7.c: Likewise.
37574         * elf/tst-tlsmod8.c: Likewise.
37575         * elf/tst-tlsmod9.c: Likewise.
37576         * gmon/gmon.c: Likewise.
37577         * grp/fgetgrent_r.c: Likewise.
37578         * grp/putgrent.c: Likewise.
37579         * hurd/fopenport.c: Likewise.
37580         * include/libc-symbols.h: Likewise.
37581         * include/tls.h: Likewise.
37582         * intl/gettextP.h: Likewise.
37583         * intl/loadinfo.h: Likewise.
37584         * locale/global-locale.c: Likewise.
37585         * locale/localeinfo.h: Likewise.
37586         * mach/devstream.c: Likewise.
37587         * malloc/arena.c: Likewise.
37588         * malloc/set-freeres.c: Likewise.
37589         * misc/err.c: Likewise.
37590         * misc/getttyent.c: Likewise.
37591         * misc/mntent_r.c: Likewise.
37592         * posix/getopt.c: Likewise.
37593         * posix/wordexp.c: Likewise.
37594         * pwd/fgetpwent_r.c: Likewise.
37595         * resolv/Versions: Likewise.
37596         * resolv/res_hconf.c: Likewise.
37597         * shadow/fgetspent_r.c: Likewise.
37598         * shadow/putspent.c: Likewise.
37599         * stdio-common/printf_fphex.c: Likewise.
37600         * stdio-common/tmpfile.c: Likewise.
37601         * stdlib/abort.c: Likewise.
37602         * stdlib/fmtmsg.c: Likewise.
37603         * sunrpc/auth_unix.c: Likewise.
37604         * sunrpc/clnt_perr.c: Likewise.
37605         * sunrpc/clnt_tcp.c: Likewise.
37606         * sunrpc/clnt_udp.c: Likewise.
37607         * sunrpc/clnt_unix.c: Likewise.
37608         * sunrpc/openchild.c: Likewise.
37609         * sunrpc/svc_simple.c: Likewise.
37610         * sunrpc/svc_tcp.c: Likewise.
37611         * sunrpc/svc_udp.c: Likewise.
37612         * sunrpc/svc_unix.c: Likewise.
37613         * sunrpc/xdr.c: Likewise.
37614         * sunrpc/xdr_array.c: Likewise.
37615         * sunrpc/xdr_rec.c: Likewise.
37616         * sunrpc/xdr_ref.c: Likewise.
37617         * sunrpc/xdr_stdio.c: Likewise.
37619 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37621         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37623 2011-07-03  Andreas Jaeger  <aj@suse.de>
37625         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37626         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37627         regenerate with gen-libm-tests.pl.
37629 2010-05-12  Petr Baudis  <pasky@suse.cz>
37631         [BZ #11589]
37632         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37633         around j0() zero points by switching to j1().
37634         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37635         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37636         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37637         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37639 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37641         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37642         instead of 0.
37643         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37644         instead of 0.
37645         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37646         Patch in part by Pavel Roskin <proski@gnu.org>.
37648         [BZ #13138]
37649         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37650         realloc.
37651         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
37652         Free memory block if necessary.
37654         [BZ #12847]
37655         * libio/genops.c (INTDEF): For string streams the _lock pointer can
37656         be NULL.  Don't lock in this case.
37658 2011-09-09  Roland McGrath  <roland@hack.frob.com>
37660         * elf/elf.h (ELFOSABI_GNU): New macro.
37661         (ELFOSABI_LINUX): Define to that.
37663 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
37665         * string/strncat.c (strncat): Undef the symbol in case it has been
37666         defined in bits/string.h.
37668 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37670         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37672         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37673         link map.
37675 2011-08-17  Andreas Jaeger  <aj@suse.de>
37677         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37679 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37680             Ian Lance Taylor  <iant@google.com>
37682         * math/libm-test.inc (lround_test): New testcase.
37683         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37685 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
37687         * Makefile: Remove support for automatic cvs check-ins.
37688         * Makerules: Likewise.
37689         * config.make.in: Likewise.
37690         * configure.in: Likewise.
37691         * intl/Makefile: Likewise.
37692         * locale/Makefile: Likewise.
37693         * po/Makefile: Likewise.
37694         * posix/Makefile: Likewise.
37695         * sysdeps/gnu/Makefile: Likewise.
37696         * sysdeps/mach/hurd/Makefile: Likewise.
37697         * sysdeps/sparc/sparc32/Makefile: Likewise.
37699         [BZ #13118]
37700         * posix/Makefile (bug-regex32-ENV): Define.
37701         Patch by John Stanley <jpsinthemix@verizon.net>.
37703         * misc/Makefile (headers): Add bits/select2.h.
37704         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37705         * misc/bits/select2.h: New file.
37706         * include/bits/select2.h: New file.
37707         * debug/Makefile (routines): Add fdelt_chk.
37708         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37709         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37710         FD_ISSET.
37711         * debug/fdelt_chk.c: New file.
37713         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
37714         * wcsmbs/test-wmemcmp.c: Likewise.
37715         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37716         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37718 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37720         * string/Makefile (strop-tests): Add memcmp.
37721         * string/test-wmemcmp.c: New file.
37722         * string/test-memcmp.c: Add wmemcmp support.
37724 2011-09-08  Roland McGrath  <roland@hack.frob.com>
37726         [BZ #13153]
37727         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37728         2011-07-19 change.
37730         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37731         garbage value in a __mach_port_mod_refs call in the cases of the
37732         task-self and thread-self ports.
37734 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37736         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37738 2011-09-08  Andreas Schwab  <schwab@redhat.com>
37740         * elf/dl-load.c (lose): Check for non-null L.
37742 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37744         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37746         * elf/dl-libc.c (dlerror_run): Pass back error code from
37747         dl_catch_error.
37749         [BZ #13123]
37750         * elf/dl-load.c (lose): Free l_origin if it is valid.
37752         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37753         names.
37754         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37755         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37757         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37758         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37759         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37761 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37763         * sysdeps/powerpc/fpu/e_hypot.c: New file.
37764         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37765         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37766         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37767         * sysdeps/powerpc/fpu/k_cosf.c: New file.
37768         * sysdeps/powerpc/fpu/k_sinf.c: New file.
37769         * sysdeps/powerpc/fpu/s_cosf.c: New file.
37770         * sysdeps/powerpc/fpu/s_sinf.c: New file.
37771         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37772         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37774 2011-08-15  Alan Modra  <amodra@gmail.com>
37776         [BZ #13092]
37777         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37778         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37779         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
37780         ppc_mcount to static-only-routines.
37781         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37782         __mcount_internal.
37783         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37784         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
37786 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
37788         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37789         for finite and infinity parameters.
37791 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37793         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37794         and add nop instructions for throughput optimization.
37795         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37797 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
37799         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37800         aligned copy for power7 with vector-scalar instructions.
37801         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37803 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
37805         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37806         AVX check.
37808 2011-09-07  Andreas Schwab  <schwab@redhat.com>
37810         [BZ #13144]
37811         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37812         last change.
37814 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37816         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37817         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37818         syscall wrapper around clock_gettime in __vdso_clock_gettime.
37819         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37820         clock_gettime.
37822 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37824         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37825         Forgot to demangle the pointer.
37827         * sysdeps/i386/sysdep.h: Define atom_text_section.
37828         * sysdeps/x86_64/sysdep.h: Likewise.
37829         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37830         section with atom_text_section.
37831         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37832         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37833         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37834         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37835         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37837         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37838         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37839         already be defined.  Change to take two parameters and don't assign
37840         result to variable.  Adjust all users.
37841         Define INTERNAL_GETTIME if not already defined.
37842         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37843         call.
37844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37845         HAVE_CLOCK_GETTIME_VSYSCALL.
37846         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37848         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37849         gettimeofday vsyscall, just use time.
37851 2011-09-06  Andreas Schwab  <schwab@redhat.com>
37853         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37854         <errno.h>.
37856 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37858         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37859         syscall on x86-64.
37860         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37861         syscall.
37862         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37863         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37864         syscall if possible.
37866 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37868         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37869         e_ident.  Don't pass to find_mapsXX.
37870         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37872 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37875         strchr-sse2-no-bsf strrchr-sse2-no-bsf
37876         * sysdeps/x86_64/multiarch/strchr.S: Update.
37877         Check bit_slow_BSF bit.
37878         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37879         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37880         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37882 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37884         [BZ #13134]
37885         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37886         before glibc 2.15.
37887         (tryshell): Define.
37888         (__spawni): Change last parameter to be flag.  Test
37889         SPAWN_XFLAGS_USE_PATH flag to use path or not.
37890         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37891         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37892         * posix/spawni.c: Likewise.
37893         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37894         * posix/spawnp.c: Likewise.  Change normal version to use
37895         SPAWN_XFLAGS_USE_PATH.
37896         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37897         SPAWN_XFLAGS_TRY_SHELL.
37899         [BZ #13150]
37900         * posix/glob.h: Remove gcc 1.x support.
37902         [BZ #13068]
37903         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37905 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37908         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37909         strrchr-sse2-bsf
37910         * sysdeps/i386/i686/multiarch/strchr.S: New file.
37911         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37912         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37913         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37914         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37915         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37917 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37919         * sysdeps/x86_64/wcscmp.S: New file.
37921         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37922         wcscmp-c wcscmp-sse2
37923         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37924         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37925         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37926         * wcsmbs/wcscmp.c: Allow renaming.
37928 2011-09-05  David S. Miller  <davem@davemloft.net>
37930         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37931         stack slot, rather than the struct return pointer slot.
37932         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37933         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37935         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37937 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37939         * po/ja.po: Update from translation team.
37941         [BZ #13144]
37942         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37943         kernel in 64-bit binaries.
37945 2011-09-01  David S. Miller  <davem@davemloft.net>
37947         * elf/elf.h (HWCAP_SPARC_*): Move to..
37948         * sysdeps/sparc/sysdep.h: this new file and add new values.
37949         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37950         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37951         _DL_HWCAP_COUNT to 24.
37952         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37953         entries.
37954         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37955         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37956         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37957         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37958         instead of magic constants.
37959         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37961 2011-08-31  David S. Miller  <davem@davemloft.net>
37963         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37964         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37965         Reimplement to do errno handling inline.
37966         (SYSCALL_ERROR_HANDLER): New macro.
37967         (__SYSCALL_STRING): Do not do errno handling in asm.
37968         (__CLONE_SYSCALL_STRING): Delete.
37969         (__INTERNAL_SYSCALL_STRING): Delete.
37970         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
37971         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
37972         (PSEUDO): Reimplement to do errno handling inline.
37973         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
37974         (SYSCALL_ERROR_HANDLER): New macro.
37975         (__SYSCALL_STRING): Do not do errno handling in asm.
37976         (__CLONE_SYSCALL_STRING): Delete.
37977         (__INTERNAL_SYSCALL_STRING): Delete.
37978         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
37979         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
37980         i386.
37981         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
37982         (inline_syscall*): Add 'err' argument.
37983         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
37984         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
37985         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
37986         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
37988         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
37989         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37991 2011-08-30  Andreas Schwab  <schwab@redhat.com>
37993         * elf/rtld.c (dl_main): Relocate objects in dependency order.
37995 2011-08-29  Jiri Olsa <jolsa@redhat.com>
37997         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
37998         directive.
38000 2011-08-24  David S. Miller  <davem@davemloft.net>
38002         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38004 2011-08-24  Andreas Schwab  <schwab@redhat.com>
38006         * elf/Makefile: Add rules to build and run unload8 test.
38007         * elf/unload8.c: New file.
38008         * elf/unload8mod1.c: New file.
38009         * elf/unload8mod1x.c: New file.
38010         * elf/unload8mod2.c: New file.
38011         * elf/unload8mod3.c: New file.
38013         * elf/dl-close.c (_dl_close_worker): Reset private search list if
38014         it wasn't used.
38016 2011-08-23  David S. Miller  <davem@davemloft.net>
38018         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38019         subtract stack bias.
38020         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38021         %sp not %fp in calculations.
38022         (_JMPBUF_UNWINDS_ADJ): Likewise.
38024         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38025         (aio_suspend): Call it to force an exception region around the
38026         AIO_MISC_WAIT() invocation.
38028 2011-08-23  Andreas Schwab  <schwab@redhat.com>
38030         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38031         backslash.
38033 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
38035         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38036         protection macro.
38037         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38038         and <dl-machine.h>.
38039         (Elf64_FuncDesc): Remove.
38041 2011-08-22  David S. Miller  <davem@davemloft.net>
38043         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38044         sigaltstack check, add missing cfi directives.
38045         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38046         missing cfi directives, and sigaltstack handling.
38048 2011-08-16  Andreas Schwab  <schwab@redhat.com>
38050         [BZ #11724]
38051         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38052         object is seen twice.
38053         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38055         * elf/Makefile (distribute): Add tst-initorder2.c.
38056         (tests): Add tst-initorder2.
38057         (modules-names): Add tst-initorder2a tst-initorder2b
38058         tst-initorder2c tst-initorder2d.  Add rules to build them.
38059         ($(objpfx)tst-initorder2.out): New rule.
38060         * elf/tst-initorder2.c: New file.
38061         * elf/tst-initorder2.exp: New file.
38063 2011-08-22  Andreas Schwab  <schwab@redhat.com>
38065         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38067         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38068         dependencies back to end of function.
38070         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38071         $(elfobjdir)/ld.so.
38073 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
38075         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38076         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38077         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38078         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38079         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38080         of __vdso_gettimeofday.
38081         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38082         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
38083         attribute_hidden.
38084         (_libc_vdso_platform_setup): Remove initialization of
38085         __vdso_gettimeofday and __vdso_time.
38087 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38089         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38090         and fgetc_unlocked.
38091         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38092         getc_unlocked.
38094         * elf/dl-open.c (add_to_global): Report additions to the global scope
38095         for LD_DEBUG=scopes.
38096         (dl_open_worker): Also print scope of newly loaded dependencies.
38097         (_dl_show_scope): Indicate if there is no scope.
38099         [BZ #13114]
38100         * stdio-common/Makefile (tests): Add bug24.
38101         * stdio-common/bug24.c: New file.
38103 2011-08-19  Andreas Jaeger  <aj@suse.de>
38105         [BZ #13114]
38106         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38107         non-existant file when using close-on-exec mode.
38109 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38111         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38112         the very first instruction.
38114         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38115         the CFI state in the end.
38116         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38117         inclusion of dl-trampoline.h.
38118         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38120 2011-08-19  Andreas Schwab  <schwab@redhat.com>
38122         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38123         expectations for long double.
38125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38126         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38128 2011-08-14  David S. Miller  <davem@davemloft.net>
38130         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38131         artificual limit depends upon the system page size.
38133 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38135         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38136         * resolv/Makefile: Define CFLAGS-libresolv.
38138 2011-08-17  Andreas Schwab  <schwab@redhat.com>
38140         * nss/makedb.c (compute_tables): Make variables used in nested
38141         function static.
38143 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38145         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38146         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38147         if buffer was too small.
38149         * elf/pldd.c (main): Attach to all threads in the process.
38150         Rewrite /proc handling to use *at functions.
38152 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
38154         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38155         specifies first scope to show.
38156         (dl_open_worker): Update callers.  Move printing scope of new
38157         object to before the relocation.
38158         * elf/rtld.c (dl_main): Update _dl_show_scope call.
38159         * sysdeps/generic/ldsodefs.h: Update declaration.
38161         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38162         string for the scope number.
38164 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
38166         * nscd/servicescache.c (cache_addserv): Make sure written is always
38167         initialized.
38169 2011-08-14  Roland McGrath  <roland@hack.frob.com>
38171         * sysdeps/i386/i486/bits/atomic.h
38172         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38173         statement expression, so as to suppress "set but not used" warning.
38174         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38176         * string/strncat.c (STRNCAT): Use prototype definition.
38178         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38179         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38180         -Iprograms here.
38181         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38182         (localedef-modules): Add localedef.
38183         (locale-modules): Add locale.
38185         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38186         * elf/rtld.c (dl_main): Invert order of assignment in last change,
38187         to avoid a warning.
38189 2011-08-14  David S. Miller  <davem@davemloft.net>
38191         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38192         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38194 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
38196         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38197         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38198         * elf/rtld.c (dl_main): Set l_name of vDSO.
38199         Call _dl_show_scope when DL_DEBUG_SCOPES.
38200         (process_dl_debug): Recognize scopes flag and also set it for all.
38201         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38202         Declare _dl_show_scope.
38204         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38205         (do_dlopen): Pass caller_dlopen to dl_open.
38206         (__libc_dlopen_mode): Initialize caller_dlopen.
38208         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38209         of libc.  Make tolower call locale-independent.  Optimize a bit by
38210         using isdigit instead of isalnum.
38211         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38213 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
38215         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38216         was a dependency or dynamically loaded.
38218 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
38220         * intl/l10nflist.c: Allow architecture-specific pop function.
38221         * sysdeps/x86_64/l10nflist.c: New file.
38223         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38224         classification.
38226 2011-08-10  Andreas Schwab  <schwab@redhat.com>
38228         * include/dirent.h: Add libc_hidden_proto for scandirat and
38229         scandirat64.  Don't declare __scandirat64.
38230         * dirent/scandirat.c: Add libc_hidden_def.
38231         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38232         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38234 2011-08-10  David S. Miller  <davem@davemloft.net>
38236         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38237         enum.
38238         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38239         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38240         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38242 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
38244         * Versions.def [libc]: Add GLIBC_2.15.
38245         * dirent/Makefile (routines): Add scandirat and scandirat64.
38246         * dirent/Versions [libc]: Export scandirat and scandirat64 for
38247         GLIBC_2.15.
38248         * dirent/dirent.h: Declare scandirat and scandirat64.
38249         * dirent/scandirat.c: New file.
38250         * dirent/scandirat64.c: New file.
38251         * sysdeps/wordsize-64/scandirat.c: New file.
38252         * sysdeps/wordsize-64/scandirat64.c: New file.
38253         * dirent/opendir.c: Define opendirat.
38254         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
38255         using scandirat.
38256         * dirent/scandir64.c: Adjust for scandir.c change.
38257         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
38258         __scandirat64, and __scandir_cancel_handler.
38259         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
38260         additional parameter and use openat instead of open (outside of ld.so).
38261         Add new __opendir as wrapper around __opendirat.
38262         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38263         here without requiring old scandirat implementation.
38265 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
38267         * dirent/scandir.c (cancel_handler): Renamed to
38268         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
38269         defined.  Adjust users.
38270         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38271         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38273 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
38275         * string/test-string.h (IMPL): Use __STRING to expand name and then
38276         stringify it.
38278         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
38279         of cleanups.
38281 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38283         * string/Makefile: Update.
38284         (strop-tests): Append strncat.
38285         * string/test-wcscmp.c: New file.
38286         New comprehensive test for wcscmp.
38287         * string/test-strcmp.c: Update.
38288         (WIDE): New define.
38290 2011-07-22  Andreas Schwab  <schwab@redhat.com>
38292         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38293         line.
38295 2011-07-26  Andreas Schwab  <schwab@redhat.com>
38297         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38298         encoding to ACE if AI_IDN.
38300 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
38302         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38303         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38305 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38307         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38308         Fix overflow bug in strncat.
38309         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38311         * string/test-strncat.c: Update.
38312         Add new tests for checking overflow bugs.
38314 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38316         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38317         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38318         * sysdeps/i386/i686/multiarch/strcat.S: New file.
38319         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38320         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38321         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38322         * sysdeps/i386/i686/multiarch/strncat.S: New file.
38323         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38324         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38326         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38327         (USE_AS_STRCAT): Define.
38328         Add strcat and strncat support.
38329         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38331 2011-07-25  Andreas Schwab  <schwab@redhat.com>
38333         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38334         __n bigger than INT_MAX+1.
38335         (__strncmp_g): Likewise.
38337 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
38339         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38340         * libio/stido.h: Likewise.
38342         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38343         (AF_NFC): Define.
38344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38345         (AF_NFC): Define.
38347         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38348         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38349         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38350         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38351         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38353         [BZ #13021]
38354         * scripts/test-installation.pl: Don't expect libnss_test1 to be
38355         installed.
38357         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38358         typo.
38359         (_dl_x86_64_save_sse): Likewise.
38361 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
38363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38364         OSXSAVE.
38365         (_dl_x86_64_save_sse): Likewise.
38367         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38369         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38371 2011-07-21  Andreas Schwab  <schwab@redhat.com>
38373         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38374         change.
38375         (_dl_x86_64_save_sse): Use correct AVX check.
38377 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38379         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38380         bug in strncpy/strncat.
38381         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38383 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
38385         * string/tester.c (test_strcat): Add tests for different alignments
38386         of source and destination.
38387         (test_strncat): Likewise.
38389 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38391         [BZ #12852]
38392         * posix/glob.c (glob): Check passed in values before using them in
38393         expressions to avoid some overflows.
38394         (glob_in_dir): Likewise.
38396         [BZ #13007]
38397         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38398         check for AVX enablement so that we don't crash with old kernels and
38399         new hardware.
38400         * elf/tst-audit4.c: Add same checks here.
38401         * elf/tst-audit6.c: Likewise.
38403         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38405 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
38407         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38409 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38411         * po/cs.po: Update from translation team.
38412         * po/bg.po: Likewise.
38414 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
38416         * misc/sys/cdefs.h: Add support for const attribute.
38417         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38418         to gnu_dev_{major,minor,makedev} functions.
38420 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
38422         * intl/dcigettext.c (get_output_charset): Add missing bracket.
38424 2011-07-20  Andreas Schwab  <schwab@redhat.com>
38426         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38427         strlen results.
38429 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38432         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38433         register in order to avoid conflicts with the soft frame pointer
38434         being held in r11 when necessary.
38435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38436         (INTERNAL_VSYSCALL_NCS): Likewise.
38438 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
38440         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38441         * elf/dl-fini.c (_dl_fini): Adjust caller.
38442         * elf/dl-close.c (_dl_close_worker): Likewise.
38443         * sysdeps/generic/ldsodefs.h: Adjust declaration.
38445 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38447         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38448         "aux_cache->nlibs < 0".
38450         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38451         in the reload-count case.
38453 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38456         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38457         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38458         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38459         * sysdeps/x86_64/multiarch/strcat.S: New file.
38460         * sysdeps/x86_64/multiarch/strncat.S: New file.
38461         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38462         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38463         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38464         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38465         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38466         (USE_AS_STRCAT): Define.
38467         Add strcat and strncat support.
38468         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38469         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38470         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38471         * string/strncat.c: Update.
38472         (USE_AS_STRNCAT): Define.
38473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38474         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38475         and i7.
38476         * sysdeps/x86_64/multiarch/init-arch.h
38477         (bit_Prefer_PMINUB_for_stringop): New.
38478         (index_Prefer_PMINUB_for_stringop): Likewise.
38479         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38480         bit_Prefer_PMINUB_for_stringop.
38482 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
38484         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38485         buffer64.
38486         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38487         of casting of buffer.
38488         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38489         buffer32 and buffer64.
38490         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38491         writes instead of casting of buffer.
38492         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38493         buffer32.
38494         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38495         casting of buffer.
38497 2011-07-19  Andreas Schwab  <schwab@redhat.com>
38499         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38501 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
38503         * nscd/nscd.c (termination_handler): Don't do anything for a database
38504         if it has not yet been initialized.
38506 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
38508         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38510 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38512         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38514 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
38516         * po/nl.po: Update from translation team.
38517         * po/sv.po: Likewise.
38519 2011-07-16  Roland McGrath  <roland@hack.frob.com>
38521         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38522         now disallowed by GCC.
38524         * configure.in (use-default-link): Default to yes if a test -shared
38525         link meets our qualifications.
38526         * configure: Regenerated.
38528         * config.make.in (output-format): New variable.
38529         * configure.in: Check for ld --print-output-format support.
38530         * configure: Regenerated.
38531         * Makerules ($(common-objpfx)format.lds)
38532         [$(output-format) != unknown]: Just use $(output-format),
38533         instead of the linker-script munging.
38535 2011-07-14  Roland McGrath  <roland@hack.frob.com>
38537         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38538         of $(common-objpfx)shlib.lds.
38539         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38541         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38542         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38544         * configure.in (-z relro check): Adjust test code to add a large
38545         writable data section after it.
38546         * configure: Regenerated.
38548 2011-07-11  Roland McGrath  <roland@hack.frob.com>
38550         * configure.in (-z relro check): Fix test code to make the variable
38551         truly const.
38552         * configure: Regenerated.
38554 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
38556         * nscd/nscd.h (struct traced_file): Define.
38557         (struct database_dyn): Remove inotify_descr, reset_res, and filename
38558         elements.  Add traced_files.
38559         (inotify_fd): Declare.
38560         (register_traced_file): Declare.
38561         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38562         (inotify_fd): Export.
38563         (resolv_conf_descr): Remove.
38564         (nscd_init): Move inotify descriptor creation to main.
38565         Don't register files for notification here.
38566         (register_traced_file): New function.
38567         (invalidate_cache): Don't use reset_res to determine whether to call
38568         res_init, go through the list of registered files.
38569         (main_loop_poll): The inotify descriptors are now stored in the
38570         structures for the traced files.
38571         (main_loop_epoll): Likewise
38572         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
38573         to __nss_disable_nscd.
38574         * nscd/cache.c (prune_cache): There is no single inotify descriptor
38575         for a database anymore.  Check the records for all the registered
38576         files instead.
38577         * nss/Makefile (libnss_files-routines): Add files-init.
38578         (libnss_db-routines): Add db-init.
38579         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38580         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38581         * nss/nss_db/db-init.c: New file.
38582         * nss/nss_files/files-init.c: New file.
38583         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
38584         __nss_lookup_function.
38585         (__nss_lookup_function): Call nss_load_library.
38586         (nss_load_all_libraries): New function.
38587         (__nss_disable_nscd): Take parameter with callback function for files
38588         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
38589         used for the cached services.
38590         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38591         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38592         options for features to all the files in nscd.
38594         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38596 2011-07-10  Roland McGrath  <roland@hack.frob.com>
38598         * csu/elf-init.c (__libc_csu_init): Comment typo.
38600 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
38602         * po/pl.po: Update from translation team.
38603         * po/ja.po: Likewise.
38604         * po/ru.po: Likewise.
38605         * po/ko.po: Likewise.
38606         * po/fr.po: Likewise.
38608 2011-07-09  Roland McGrath  <roland@hack.frob.com>
38610         * configure.in (.ctors/.dtors header and trailer check):
38611         Use an empirical test on a built program.
38612         * configure: Regenerated.
38614         * configure.in (-z relro check): Use an empirical test on a built DSO.
38615         Detect, but do not require, on ia64.
38616         * configure: Regenerated.
38618         * configure.in (READELF): Find it with AC_CHECK_TOOL.
38619         Update tests that use readelf to use $READELF instead.
38620         * configure: Regenerated.
38622 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
38624         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38625         if the result is not used.
38627 2011-07-05  Andreas Jaeger  <aj@suse.de>
38629         [BZ#9696]
38630         * stdlib/tst-strtod.c: Add testcase.
38632 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
38634         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38635         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38636         The latter has a higher limit.  Take additional parameter to pass to
38637         the new function.
38638         (__pathconf): Pass file to __statfs_link_max.
38639         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38640         __statfs_link_max.
38641         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38642         __statfs_link_max.
38644         [BZ #12868]
38645         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38646         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38647         Handle Lustre.
38648         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38649         (__statfs_filesize_max): Likewise.
38650         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38652 2011-07-05  Andreas Jaeger  <aj@suse.de>
38654         * resolv/res_comp.c (dn_skipname): Remove unused variable.
38656 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
38658         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38659         `status' variable.
38660         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38661         Likewise.
38663 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
38665         * Makefile (strop-tests): Add strncat.
38666         * string/test-strncat.c: New file.
38668 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
38670         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38672 2011-06-21  Andreas Jaeger  <aj@suse.de>
38674         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38675         Copy rule from iconvdata/Makefile.
38677 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38679         [BZ #12922]
38680         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38681         but no long options are defined, just return 'W'.
38683 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
38685         [BZ #9696]
38686         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38688 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38690         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38691         netgroups to read.
38692         (innetgr): Likewise.
38694 2011-07-05  Roland McGrath  <roland@hack.frob.com>
38696         * config.make.in (install_root): Default to $(DESTDIR).
38698 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
38700         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38702 2011-07-02  Roland McGrath  <roland@hack.frob.com>
38704         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38706         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38707         containing directory rather than embedding absolute directory names.
38709         * scripts/check-local-headers.sh: Rewritten using awk.
38710         Match by word, not by line.  Print error messages for matches.
38711         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38713         * Makerules [shlib-lds-flags empty]:
38714         ($(common-objpfx)libc_pic.opts): New target.
38715         ($(common-objpfx)libc_pic.os.clean): New target.
38716         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38718         * config.make.in (OBJCOPY): New variable.
38719         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38720         * configure: Regenerated.
38722         * config.make.in (use-default-link): New variable.
38723         * configure.in (use_default_link): Grok --with-default-link to set it.
38724         * configure: Regenerated.
38725         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38726         (shlib-lds, shlib-lds-flags): Define to empty.
38728         * Makerules (shlib-lds): New variable.
38729         (shlib-lds-flags): New variable.
38730         (build-shlib, build-moduile, build-module-asneeded): Use it.
38731         ($(common-objpfx)libc.so): Use $(shlib-lds).
38732         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38733         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38735         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38736         DT_FLAGS/DT_FLAGS_1 with zero flags.
38738         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38739         linker script munging.
38741 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
38743         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38744         as 128-bit value.
38745         * crypt/sha512.c (sha512_process_block): Perform total addition using
38746         128-bit if possible.
38747         (__sha512_finish_ctx): Likewise.
38748         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38749         as 64-bit value.
38750         * crypt/sha256.c (SWAP64): Define.
38751         (sha256_process_block): Perform total addition using 64-bit if
38752         possible.
38753         (__sha256_finish_ctx): Likewise.
38755 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
38757         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
38758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38759         * nscd/hstcache.c (cache_addhst): Likewise.
38760         * nscd/grpcache.c (cache_addgr): Likewise.
38761         * nscd/aicache.c (addhstaiX): Likewise
38762         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38764 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
38766         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38767         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38768         * nscd/hstcache.c (cache_addhst): Likewise.
38769         * nscd/grpcache.c (cache_addgr): Likewise.
38770         * nscd/aicache.c (addhstaiX): Likewise
38772 2011-07-01  Andreas Schwab  <schwab@redhat.com>
38774         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38775         domain only when needed.
38777 2011-06-30  Andreas Schwab  <schwab@redhat.com>
38779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38780         is always restored.
38782 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
38784         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38785         are re-adding the entry.
38786         * nscd/servicescache.c (cache_addserv): Likewise.
38788 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
38790         * sysdeps/generic/dl-irel.h: fix protection against multiple
38791         inclusions.
38792         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38794 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
38796         [BZ #12935]
38797         * malloc/memusage.sh: Fix quoting in message.
38798         * debug/xtrace.sh: Likewise.
38800         * configure.in: Remove support for --experimental-malloc option, make
38801         it the default.
38802         * config.make.in: Likewise.
38803         * malloc/Makefile: Likewise.
38805 2011-06-27  Andreas Schwab  <schwab@redhat.com>
38807         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38808         two-byte characters.
38810 2011-06-27  Roland McGrath  <roland@hack.frob.com>
38812         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38813         AC_CACHE_CHECK invocation.
38814         * configure: Regenerated.
38816         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38818 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
38820         [BZ #12350]
38821         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
38822         bit from old_res_options.
38824         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38826         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38827         value type for setfct.
38829 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
38831         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38832         __gettimeofday instead of gettimeofday.
38834 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
38836         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38838 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
38840         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38842         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38843         info.
38845 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38848         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38849         strcpy-sse2-unaligned strncpy-sse2-unaligned
38850         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38851         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38852         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38853         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38854         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38855         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38856         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38857         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38858         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38859         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38860         (STRCPY): Support SSE2 and SSSE3 versions.
38862 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
38864         [BZ #12874]
38865         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38866         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38867         kernels which artificially limit size of requests.
38869 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38871         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38872         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38873         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38874         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38875         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38876         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38877         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38878         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38879         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38880         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38881         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38882         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38883         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38884         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38885         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38887         Enable unaligned load optimization for Intel Core i3, i5 and i7
38888         processors.
38889         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38890         Define.
38891         (index_Fast_Unaligned_Load): Define.
38892         (HAS_FAST_UNALIGNED_LOAD): Define.
38894 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
38896         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38898 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38900         [BZ #12907]
38901         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38902         until it is clear that the information is realy needed.
38903         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38905 2011-06-22  Andreas Schwab  <schwab@redhat.com>
38907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38909 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38911         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38912         /sys/devices/system/cpu/online if it is usable.
38914         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38915         reading the information from the /proc filesystem to once a second.
38917 2011-06-21  Andreas Jaeger  <aj@suse.de>
38919         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38920         NULL after inclusion of kernel headers.
38922 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
38924         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38925         calls to internal_setent.
38927         [BZ #12885]
38928         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38929         addresses using gethostbyname4_r ignore IPv4 addresses.
38931         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38932         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
38934         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38936 2011-06-20  David S. Miller  <davem@davemloft.net>
38938         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38939         inclusions.
38940         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38942         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38943         (elf_irel): Use it.
38944         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38945         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38946         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38947         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38948         * sysdeps/x86_64/dl-irel.h: Likewise.
38950         * elf/dl-runtime.c: Use elf_ifunc_invoke.
38951         * elf/dl-sym.c: Likewise.
38953 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38955         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
38956         need to dereference resplen2.
38958 2011-06-14  Andreas Schwab  <schwab@redhat.com>
38960         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38962 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38964         * Makeconfig: Define vardbdir and inst_vardbdir.
38965         * nss/Makefile: Add rules to install db-Makefile.
38967         * nss/nss_db/db-XXX.c: Cleanup.
38969         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
38970         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
38971         GLIBC_PRIVATE.
38972         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
38973         * nss/makedb.c: Implement -g option to specify that value strings
38974         are generated and should not be added to table iterated over for
38975         get*ent calls.
38976         * nss/nss_db/db-initgroups.c: New file.
38978         * nss/getent.c: Add support for initgroups lookups through getgrouplist
38979         interface.
38981         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
38982         (internal_getgrouplist): Adjust to name change.
38983         Update use_initgroups_entry if this is not the first call.
38984         * nss/databases.def: Add initgroups entry.
38986         * nss/makedb.c (compute_tables): Check result of multiple hash table
38987         sizes to minimize maximum chain length.
38989 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
38991         * Versions.def: Add entry for libnss_db.
38992         * shlib-versions: Likewise.
38993         * nss/Makefile: Add rules to build libnss_db.
38994         * nss/Versions: Add libnss_db information.  Organize libnss_files
38995         entries better.
38996         * nss/db-Makefile: Add gshadow support.  Change rules for the new
38997         makedb progra.  Some minor improvements to generate smaller files.
38998         * nss/nss_db/nss_db.h: Move NSS database header data structures to
38999         here from...
39000         * nss/makedb.c: ...here.
39001         Improve database format to be smaller and require less memory at
39002         runtime.
39003         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
39004         db anymore.
39005         * nss/nss_db/db-netgrp.c: Likewise.
39006         * nss/nss_db/db-open.c: Likewise.
39007         * nss/nss_files/flies-XXX.x: Adjust comments.
39008         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39009         * nss/nss_files/files-grp.c: Likewise.
39010         * nss/nss_files/files-hosts.c: Likewise.
39011         * nss/nss_files/files-network.c: Likewise.
39012         * nss/nss_files/files-proto.c: Likewise.
39013         * nss/nss_files/files-pwd.c: Likewise.
39014         * nss/nss_files/files-rpc.c: Likewise.
39015         * nss/nss_files/files-service.c: Likewise.
39016         * nss/nss_files/files-sgrp.c: Likewise.
39017         * nss/nss_files/files-spwd.c: Likewise.
39018         * nss/nss_db/db-alias.c: Removed.
39019         * nss/nss_db/dummy-db.h: Removed.
39021 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
39023         * nss/makedb.c: Rewritten to not use database library.
39024         * nss/Makefile: Update to build new makedb program.
39026 2011-06-14  Andreas Jaeger  <aj@suse.de>
39028         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39029         memset declaration.
39031 2011-06-10  Andreas Schwab  <schwab@redhat.com>
39033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39034         tmpbuf.
39036 2011-06-10  Roland McGrath  <roland@hack.frob.com>
39038         * Makerules (shlib.lds): Fail if the linker script comes out empty.
39039         * elf/Makefile ($(objpfx)ld.so): Likewise.
39041         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39042         Don't list ld.so twice in dependencies.
39044         * posix/bug-regex31.c: Include <stdlib.h>.
39046         * nscd/hstcache.c (cache_addhst): Remove unused variable.
39048         * nis/nss_compat/compat-spwd.c
39049         (getspent_next_nss_netgr): Remove unused variable.
39050         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39052         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39053         nonmembers" output to use the right array.
39055         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39057         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39059         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39060         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39061         * catgets/gencat.c (read_input_file): Likewise.
39062         * locale/programs/locarchive.c (enlarge_archive): Likewise.
39064         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39065         variable definition inside #if's controlling its use.
39067         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39069         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39071         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39073         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39074         unreachable code.
39076         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39078         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39079         * configure: Regenerated.
39081         * Makerules: Revert last change.
39082         * elf/Makefile: Likewise.
39084 2011-06-09  Roland McGrath  <roland@hack.frob.com>
39086         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39087         * elf/Makefile ($(objpfx)librtld.os): Likewise.
39088         (reloc-link): Likewise.
39090 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
39092         * elf/Makefile: Add rules to build pldd.
39093         * elf/pldd.c: New file.
39094         * elf/pldd-xx.c: New file.
39096 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
39098         * version.h: Update for 2.15 development version.
39100 2011-06-07  David S. Miller  <davem@davemloft.net>
39102         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39103         ifuncs.
39104         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39105         elf_machine_lazy_rel): Likewise.
39106         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39107         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39108         elf_machine_lazy_rel): Likewise.
39109         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39110         dl_hwcap via passed in argument.
39111         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39112         Likewise.
39114 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39116         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
39118 2011-06-06  Roland McGrath  <roland@hack.frob.com>
39120         [BZ #12849]
39121         * manual/fdl-1.1.texi: New file, verbatim from:
39122         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39123         * manual/lgpl-2.1.texi: New file, verbatim from:
39124         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39125         * manual/Makefile (licenses): New variable, list those new file names.
39126         (texis): Use it.
39127         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39129         * manual/fdl.texi: File removed.
39130         * manual/lesser.texi: File removed.
39131         * manual/libc.texinfo (Copying, Documentation License):
39132         Use new @include file names, put @appendix directive before @include.
39134 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
39136         [BZ #12841]
39137         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39138         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39139         (mq_open): Add __NTH.
39141 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
39143         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39144         Assume Intel Core i3/i5/i7 processor if AVX is available.
39146 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39148         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39149         typo.
39151 2011-05-31  Andreas Schwab  <schwab@redhat.com>
39153         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39154         memory.  Use alloca_account.  Fix memory leak when retrying.
39156 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39158         * version.h (RELEASE): Bump for 2.14 release.
39159         * include/features.h (__GLIBC_MINOR__): Bump to 14.
39161         * config.make.in (RANLIB): Remove entry.
39163 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
39165         * po/Makefile (po-sed-cmd): Add ksh to extensions.
39166         (libc.pot): Work around missing support for .ksh extension in xgettext.
39168         [BZ #12684]
39169         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39170         if both request failed.
39171         (send_dg): In case of server errors clear resplen or *resplen2.
39173         [BZ #12454]
39174         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39175         when there are multiple maps.
39176         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39177         (_dl_fini): Remove test here.
39179         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39181 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
39183         [BZ #12350]
39184         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39185         bit from old_res_options.
39186         (gaih_inet): Likewise.
39188         [BZ #11099]
39189         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39190         as signed.
39192         * resolv/res_init.c (res_setoptions): Make the code more compact.
39194         [BZ #11558]
39195         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39196         set RES_USEVC.
39198         [BZ #11634]
39199         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39201         * malloc/malloc.h: Mark malloc hook variables as deprecated.
39203         [BZ #11781]
39204         * malloc/malloc.h: Declare malloc hook variables as volatile.
39206         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39207         in last patch.
39209         [BZ #11799]
39210         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39211         raise in the comment.
39212         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39213         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39214         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39216 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
39218         [BZ #12811]
39219         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39220         grow the buffers more if it already has to be sufficient.
39221         (build_wcs_upper_buffer): Likewise.
39222         * posix/regexec.c (check_matching): Likewise.
39223         (clean_state_log_if_needed): Likewise.
39224         (extend_buffers): Don't enlarge buffers beyond size of the input
39225         buffer.
39226         Patches mostly by Emil Wojak <emil@wojak.eu>.
39227         * posix/bug-regex32.c: New file.
39228         * posix/Makefile (tests): Add bug-regex32.
39230         * locale/findlocale.c (_nl_find_locale): Return right away if
39231         _nl_explode_name failed.
39232         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39234         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39236         * debug/xtrace.sh: Unify messages.
39237         * malloc/memusage.sh: Likewise.
39239         [BZ #12813]
39240         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39241         time symbol from vDSO.  Substitute with vsyscall if not available.
39242         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39243         __vdso_time.
39245         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39246         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39247         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39248         Add sendmmsg and internal_sendmmsg.
39249         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39250         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39251         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39253         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39254         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39255         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39257 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
39259         [BZ #12813]
39260         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39261         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
39262         available.
39263         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39264         __vdso_getcpu.
39266         [BZ #12814]
39267         * iconvdata/Makefile (tests): Add bug-iconv9.
39268         * iconvdata/bug-iconv9.c: New file.
39270 2011-05-27  Andreas Schwab  <schwab@redhat.com>
39272         [BZ #12814]
39273         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39275 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
39277         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39278         (struct user_regs_struct): Change intcs field back to cs.
39280 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
39282         * po/ja.po: Update from translation team.
39284 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
39286         [BZ #12795]
39287         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39288         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39290 2011-05-20  Andreas Schwab  <schwab@redhat.com>
39292         * stdlib/longlong.h: Update from GCC.
39294 2011-05-23  Andreas Schwab  <schwab@redhat.com>
39296         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39297         parameter name.
39298         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39299         Add parameter name.
39300         (__sysconf): Pass it down.
39302 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
39304         [BZ #12671]
39305         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39306         some situations.
39307         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39308         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39309         add in in __libc_use_alloca calls.  Adjust callers.
39310         (glob): Use malloc in some situations.
39312         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39313         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39314         pltexit.
39316 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
39318         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39319         and CLOCK_BOOTTIME_ALARM.
39321         [BZ #12782]
39322         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39323         is returned.
39325         * string/_strerror.c (__strerror_r): Print negative errors as signed
39326         numbers.
39328         [BZ #12777]
39329         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39330         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39331         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39333         * configure.in: Fix typo in redirection and correct removal of test
39334         files in two cases.
39336         [BZ #12788]
39337         * locale/setlocale.c (new_composite_name): Fix test to check for
39338         identical name of all categories.
39340         [BZ #12792]
39341         * libio/filedoalloc.c (local_isatty): New function.
39342         (_IO_file_doallocate): Use local_isatty.
39343         * stdio-common/perror.c (perror): In case a new stream is used
39344         forward the stream error.
39345         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39346         error flag.
39348 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
39350         [BZ #11869]
39351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39352         alloca.
39353         * include/alloca.h (extend_alloca_account): Define.
39355         [BZ #11857]
39356         * posix/regex.h: Fix comments with documentation of user-accessible
39357         fields after compilation and describe correct free'ing of pattern
39358         after re_compile_pattern.
39359         Patch by Reuben Thomas <rrt@sc3d.org>.
39361 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
39363         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39364         and -mno-altivec to prevent the compiler from using Altivec and/or
39365         VSX instructions when the corresponding registers are not available.
39367 2011-05-19  Andreas Schwab  <schwab@redhat.com>
39369         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39371 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
39373         * libio/freopen.c (freopen): Use __dup2, not dup2.
39374         * libio/freopen64.c (freopen64): Likewise.
39376 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39378         [BZ #12775]
39379         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39380         * math/Makefile (tests): Add test-powl.
39381         (CFLAGS-test-powl.c): Define.
39382         * math/test-powl.c: New file.
39384 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39386         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39388 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
39390         [BZ #11837]
39391         * iconvdata/gb18030.c: Update to GB18020-2005.
39393 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
39395         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39396         RE_SYNTAX_POSIX_AWK): Update to match recent development.
39397         Patch by Aharon Robbins <arnold@skeeve.com>.
39399         [BZ #11892]
39400         * stdlib/putenv.c (putenv): Don't always create copy of the variable
39401         on the stack.
39403         [BZ #11895]
39404         * misc/pselect.c (__pselect): Handle timeout value errors hidden
39405         through underflows.
39407         [BZ #12766]
39408         * misc/error.c (error_at_line): Ensure file_name and old_file_name
39409         point to strings before performing equality test for error_one_per_line
39410         mode.
39412         [BZ #11697]
39413         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39415         [BZ #11820]
39416         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39417         (struct user_fpregs_struct): Avoid __uint*_t types.
39419         [BZ #6420]
39420         * malloc/mtrace.c (tr_where): Add additional parameter to point to
39421         symbol info.  Use it instead of calling _dl_addr locally.
39422         (lock_and_info): New function.
39423         (tr_freehook): Call lock_and_info and pass symbol info as additional
39424         parameter to tr_where.
39425         (tr_mallochook): Likewise.
39426         (tr_reallochook): Likewise.
39427         (tr_memalignhook): Likewise.
39429         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
39430         used and couldn't be at all thread-safe.
39432 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
39434         * libio/freopen.c (freopen): Don't close old file descriptor
39435         before the new one is opened.  Instead dup the new file descriptor
39436         to the old one after the new stream is created.
39437         * libio/freopen64.c (freopen64): Likewise.
39438         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39439         * libio/fileops.c (_IO_new_file_close_it): Handle new
39440         _IO_FLAGS2_NOCLOSE flag.
39441         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39442         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39443         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39444         _IO_FLAGS2_NOCLOSE flag.
39445         * include/unistd.h: Add hidden_proto for dup3.
39446         Define __have_dup3.
39447         * io/dup3.c: Define hidden symbol.
39448         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39450         [BZ #7101]
39451         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39452         when an incomplete long option is used.
39453         * posix/tst-getopt_long1.c: New file.
39454         * posix/Makefile (tests): Add tst-getopt_long1.
39456         [BZ #10138]
39457         * scripts/config.guess: Update from autoconf-2.68.
39458         * scripts/config.sub: Likewise.
39460         [BZ #10157]
39461         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39462         tests into ...
39463         (has_cpuclock): ...this.  New function.
39464         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39465         macro here based on has_cpuclock code.
39467         [BZ #10149]
39468         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39469         First byte (not low byte) is now always NUL.
39470         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39473         Use non-cancelable interfaces.
39475         [BZ #9809]
39476         * locale/iso-639.def: Add entry for Sorani.
39478         [BZ #11901]
39479         * include/stdlib.h: Move include protection to the right place.
39480         Define abort_msg_s.  Declare __abort_msg with it.
39481         * stdlib/abort.c (__abort_msg): Adjust type.
39482         * assert/assert.c (__assert_fail_base): New function.  Majority
39483         of code from __assert_fail.  Allocate memory for __abort_msg with
39484         mmap.
39485         (__assert_fail): Now call __assert_fail_base.
39486         * assert/assert-perr.c: Remove bulk of implementation.  Use
39487         __assert_fail_base.
39488         * include/assert.hL Declare __assert_fail_base.
39489         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39490         mmap.
39491         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39493 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
39495         [BZ #11952]
39496         [BZ #12453]
39497         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39498         until all modules are registered in the DTV.
39499         * elf/Makefile: Add rules to build and run tst-tls19.
39500         * elf/tst-tls19.c: New file.
39501         * elf/tst-tls19mod1.c: New file.
39502         * elf/tst-tls19mod2.c: New file.
39503         * elf/tst-tls19mod3.c: New file.
39504         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39506         [BZ #12083]
39507         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39508         correctly.
39510         [BZ #12601]
39511         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39512         two-byte sequence errors.
39513         * iconvdata/Makefile (tests): Add bug-iconv8.
39514         * iconvdata/bug-iconv8.c: New file.
39516         [BZ #12626]
39517         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39518         buf2 definition.
39520         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39522         [BZ #12432]
39523         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39524         (dummy_getcfa): New function.
39525         (init): Get _Unwind_GetCFA address, use dummy if not found.
39526         (backtrace_helper): In recursion check, also check whether CFA changes.
39527         (__backtrace): Completely initialize arg.
39529         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39530         storing incomplete byte sequence in state object.  Avoid testing for
39531         guaranteed too small input if we know there is enough data available.
39533 2011-05-11  Andreas Schwab  <schwab@redhat.com>
39535         * Makeconfig (+link-pie): Indent.
39536         * Rules (binaries-pie): Define if $(have-fpie) and
39537         $(build-shared).
39538         (binaries-shared): Also filter out $(binaries-pie).
39539         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39540         * nscd/Makefile (others-pie): Add nscd.
39541         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39542         ($(objpfx)nscd): Remove command override.
39543         * login/Makefile (others-pie): Add pt_chown.
39544         ($(objpfx)pt_chown): Remove command override.
39545         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39546         remove command overrides.
39548 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
39550         * libio/tst_putwc.c: Fix error messages.
39552         [BZ #12724]
39553         * libio/fileops.c (_IO_new_file_close_it): Always flush when
39554         currently writing and seek to current position when not.
39555         * libio/Makefile (tests): Add bug-fclose1.
39556         * libio/bug-fclose1.c: New file.
39558 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
39560         [BZ #12511]
39561         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39562         don't set DF_1_NODELETE here.
39563         (do_lookup_x): When entering new entry test for copy relocation
39564         and if necessary set DF_1_NODELETE flag.
39565         * elf/tst-unique4.cc: New file.
39566         * elf/tst-unique4.h: New file.
39567         * elf/tst-unique4lib.cc: New file.
39568         * elf/Makefile: Add rules to build and run tst-unique4.
39569         Patch by Piotr Bury <pbury@goahead.com>.
39571 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
39573         [BZ #12052]
39574         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39576         [BZ #12625]
39577         * misc/mntent_r.c (addmntent): Flush the stream after the output
39579         [BZ #12393]
39580         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39581         (is_trusted_path_normalize): Skip initial colon.  Append slash
39582         to empty buffer.  Duplicate is_trusted_path code but allow
39583         constructed patch to be prefix.
39584         (is_dst): Allow $ORIGIN followed by /.
39585         (_dl_dst_substitute): Correct clearing of check_for_trusted.
39586         Correct testing of result of is_trusted_path_normalize
39587         (decompose_rpath): Fix warning.
39589 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
39591         [BZ #11257]
39592         * grp/initgroups.c (internal_getgrouplist): When we found the service
39593         list through the initgroups entry in nsswitch.conf do not always
39594         continue on a successful lookup.  Don't always use the
39595         __nss_group_database value if it is set.
39596         * nss/nsswitch.conf (initgroups): Change action for successful db
39597         lookup to continue for compatibility.
39599 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
39601         [BZ #11532]
39602         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39603         and CP774 modules.
39604         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39605         and CP774 modules.
39606         * iconvdata/tst-tables.sh: Likewise.
39607         * iconvdata/cp770.c: New file.
39608         * iconvdata/cp771.c: New file.
39609         * iconvdata/cp772.c: New file.
39610         * iconvdata/cp773.c: New file.
39611         * iconvdata/cp774.c: New file.
39612         * iconvdata/testdata/CP770: New file.
39613         * iconvdata/testdata/CP770..UTF8: New file.
39614         * iconvdata/testdata/CP771: New file.
39615         * iconvdata/testdata/CP771..UTF8: New file.
39616         * iconvdata/testdata/CP772: New file.
39617         * iconvdata/testdata/CP772..UTF8: New file.
39618         * iconvdata/testdata/CP773: New file.
39619         * iconvdata/testdata/CP773..UTF8: New file.
39620         * iconvdata/testdata/CP774: New file.
39621         * iconvdata/testdata/CP774..UTF8: New file.
39623         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39624         END CHARMAP line.
39625         * iconvdata/gen-8bit-gap.sh: Likewise.
39626         * iconvdata/gen-8bit.sh: Likewise.
39628         * locale/iso-639.def: Add ary entry.
39630         [BZ #11258]
39631         * locale/C-translit.h.in: Add U20A1 transliteration.
39633         [BZ #12178]
39634         * locale/iso-639.def: Add wae entry.
39635         Patch by Kevin Bortis <bortis@translate-wae.ch>.
39637         [BZ #12545]
39638         * locale/programs/localedef.c (construct_output_path): Use ssize_t
39639         for n.
39641         [BZ #12711]
39642         * locale/C-translit.h.in: Add entry for U20B9.
39643         Patch by pravin.d.s@gmail.com.
39645 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
39647         [BZ #12713]
39648         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39649         ENAMETOOLONG use generic getcwd.
39650         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
39651         in rtld.  Use *stat64.
39652         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39653         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39654         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39655         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39656         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39657         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39658         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39659         __fstatat64 macros.
39660         * include/dirent.h: Add libc_hidden_proto for rewinddir.
39661         * dirent/rewinddir.c: Add libc_hidden_def.
39662         * sysdeps/mach/hurd/rewinddir.c: Likewise.
39663         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
39665         * include/dirent.h (__alloc_dir): Add flags parameter.
39666         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39667         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39668         __alloc_dir.
39669         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
39670         from fdopendir if O_CLOEXEC is already set.
39672 2011-03-15  Alan Modra  <amodra@gmail.com>
39674         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39675         l_tls_firstbyte_offset non-zero.  Save padding offset in
39676         l_tls_firstbyte_offset for later use.
39677         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39678         freeing static tls block.
39680 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
39682         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39683         where #ifdef was intended.  The intent is to prevent ARG_MAX from
39684         being defined by the kernel headers.
39686 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
39688         [BZ #12734]
39689         * resolv/resolv.h: Define RES_NOTLDQUERY.
39690         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39691         no-tld-query and set RES_NOTLDQUERY.
39692         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39693         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39694         modern BIND to search name as TLD unless forbidden.
39696 2011-05-07  Petr Baudis  <pasky@suse.cz>
39697             Ulrich Drepper  <drepper@gmail.com>
39699         [BZ #12393]
39700         * elf/dl-load.c (fillin_rpath): Move trusted path check...
39701         (is_trusted_path): ...to here.
39702         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39703         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39704         using is_trusted_path_normalize() in setuid scripts.
39706 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39708         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39709         __BEGIN/__END_DECLS.
39711 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
39713         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39714         NSS_STATUS_NOTFOUND if no record was found.
39716 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39718         * sunrpc/Makefile (headers): Add rpc/netdb.h.
39719         (headers-not-in-tirpc): Remove rpc/netdb.h
39720         * resolv/netdb.h: Revert last change.
39722 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39724         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39725         circular dependency between libgcc.a and libc.a.
39727 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39729         * resolv/netdb.h: Don't include <rpc/netdb.h>.
39730         * nis/Makefile: Don't install rpcsvc/*.
39731         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39732         instead of <rpc/types.h>.
39733         (MAXHOSTNAMELEN): Define.
39735 2011-05-03  Andreas Schwab  <schwab@redhat.com>
39737         * elf/ldconfig.c (add_dir): Don't crash on empty path.
39739 2011-04-28  Maciej Babinski  <mbabinski@google.com>
39741         [BZ #12714]
39742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39743         gethostbyname4_r when IPv6 results are possible.
39745 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
39747         [BZ #12723]
39748         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39749         _PC_PIPE_BUF handling.
39751 2011-04-30  Bruno Haible  <bruno@clisp.org>
39753         [BZ #12717]
39754         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39755         * resolv/netdb.h (getnameinfo): Change type of flags parameter
39756         to 'int'.
39757         * inet/getnameinfo.c (getnameinfo): Likewise.
39759 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
39761         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39762         to groups setting in database lookup.
39763         * nss/nsswitch.conf: Add initgroups entry.
39765 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
39767         [BZ #12685]
39768         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39769         mode string.
39770         Patch by Eric Blake <eblake@redhat.com>.
39772 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
39774         * sunrpc/Makefile (need-export-routines): Add svc_run.
39775         (routines): Remove svc_run.
39776         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39777         * sunrpc/clnt_perr.c (clnt_perrno): Export.
39778         * sunrpc/svc_run.c (svc_run): Likewise.
39779         * sunrpc/svc_udp.c (svcudp_create): Likewise.
39781 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
39783         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39784         problem in reallocation in last patch.
39786 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
39788         * sunrpc/Makefile: Move inclusion of Rules.
39790 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39792         * nss/nss_files/files-initgroups.c: New file.
39793         * nss/Makefile (libnss_files-routines): Add files-initgroups.
39794         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39795         _nss_files_initgroups_dyn.
39797 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
39799         * elf/elf.h (R_ARM_IRELATIVE): Define.
39801 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39803         * po/ru.po: Update from translation team.
39805 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39807         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39808         dependencies.
39810 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
39812         [BZ #12653]
39813         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39814         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39815         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39816         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39817         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39819 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
39821         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39822         differing bytes.
39823         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39824         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39825         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39827 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39829         [BZ #12420]
39830         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39831         storing it.
39832         * stdlib/bug-getcontext.c: New file.
39833         * stdlib/Makefile: Add rules to build and run bug-getcontext.
39835 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39837         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39838         instructions into .machine "z9-109".
39839         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39840         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39842 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39844         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39845         between environment variables and auxiliary vector.
39847 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
39849         * Makefile: Add rules to build linkobj/libc.so.
39850         * include/libc-symbols.h: Define libc_hidden_nolink.
39851         * include/rpc/auth.h: Mark functions which are to be hidden.
39852         * include/rpc/auth_des.h: Likewise.
39853         * include/rpc/auth_unix.h: Likewise.
39854         * include/rpc/clnt.h: Likewise.
39855         * include/rpc/des_crypt.h: Likewise.
39856         * include/rpc/key_prot.h: Likewise.
39857         * include/rpc/pmap_clnt.h: Likewise.
39858         * include/rpc/pmap_prot.h: Likewise.
39859         * include/rpc/pmap_rmt.h: Likewise.
39860         * include/rpc/rpc_msg.h: Likewise.
39861         * include/rpc/svc.h: Likewise.
39862         * include/rpc/svc_auth.h: Likewise.
39863         * include/rpc/xdr.h: Likewise.
39864         * nis/Makefile: Link all DSOs against linkobj/libc.so.
39865         * nss/Makefile: Likewise.
39866         * sunrpc/Makefile: Don't install headers.  Build library with normal
39867         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
39868         * sunrpc/auth_des.c: Hide exported symbols by default, export some
39869         for the compat linking library.  Remove use of INTDEF/INTUSE.
39870         * sunrpc/auth_none.c: Likewise.
39871         * sunrpc/auth_unix.c: Likewise.
39872         * sunrpc/authdes_prot.c: Likewise.
39873         * sunrpc/authuxprot.c: Likewise.
39874         * sunrpc/clnt_gen.c: Likewise.
39875         * sunrpc/clnt_perr.c: Likewise.
39876         * sunrpc/clnt_raw.c: Likewise.
39877         * sunrpc/clnt_simp.c: Likewise.
39878         * sunrpc/clnt_tcp.c: Likewise.
39879         * sunrpc/clnt_udp.c: Likewise.
39880         * sunrpc/clnt_unix.c: Likewise.
39881         * sunrpc/des_crypt.c: Likewise.
39882         * sunrpc/des_soft.c: Likewise.
39883         * sunrpc/get_myaddr.c: Likewise.
39884         * sunrpc/key_call.c: Likewise.
39885         * sunrpc/key_prot.c: Likewise.
39886         * sunrpc/netname.c: Likewise.
39887         * sunrpc/pm_getmaps.c: Likewise.
39888         * sunrpc/pm_getport.c: Likewise.
39889         * sunrpc/pmap_clnt.c: Likewise.
39890         * sunrpc/pmap_prot.c: Likewise.
39891         * sunrpc/pmap_prot2.c: Likewise.
39892         * sunrpc/pmap_rmt.c: Likewise.
39893         * sunrpc/publickey.c: Likewise.
39894         * sunrpc/rpc_cmsg.c: Likewise.
39895         * sunrpc/rpc_common.c: Likewise.
39896         * sunrpc/rpc_dtable.c: Likewise.
39897         * sunrpc/rpc_prot.c: Likewise.
39898         * sunrpc/rpc_thread.c: Likewise.
39899         * sunrpc/rtime.c: Likewise.
39900         * sunrpc/svc.c: Likewise.
39901         * sunrpc/svc_auth.c: Likewise.
39902         * sunrpc/svc_authux.c: Likewise.
39903         * sunrpc/svc_raw.c: Likewise.
39904         * sunrpc/svc_run.c: Likewise.
39905         * sunrpc/svc_simple.c: Likewise.
39906         * sunrpc/svc_tcp.c: Likewise.
39907         * sunrpc/svc_udp.c: Likewise.
39908         * sunrpc/svc_unix.c: Likewise.
39909         * sunrpc/svcauth_des.c: Likewise.
39910         * sunrpc/xcrypt.c: Likewise.
39911         * sunrpc/xdr.c: Likewise.
39912         * sunrpc/xdr_array.c: Likewise.
39913         * sunrpc/xdr_float.c: Likewise.
39914         * sunrpc/xdr_intXX_t.c: Likewise.
39915         * sunrpc/xdr_mem.c: Likewise.
39916         * sunrpc/xdr_rec.c: Likewise.
39917         * sunrpc/xdr_ref.c: Likewise.
39918         * sunrpc/xdr_sizeof.c: Likewise.
39919         * sunrpc/xdr_stdio.c: Likewise.
39921 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
39923         [BZ #12650]
39924         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39925         * sysdeps/ia64/dl-tls.h: Likewise.
39926         * sysdeps/powerpc/dl-tls.h: Likewise.
39927         * sysdeps/s390/dl-tls.h: Likewise.
39928         * sysdeps/sh/dl-tls.h: Likewise.
39929         * sysdeps/sparc/dl-tls.h: Likewise.
39930         * sysdeps/x86_64/dl-tls.h: Likewise.
39931         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39933 2011-03-14  Andreas Schwab  <schwab@redhat.com>
39935         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39936         rpath element also skip the following colon.
39937         (expand_dynamic_string_token): Add is_path parameter and pass
39938         down to DL_DST_REQUIRED and _dl_dst_substitute.
39939         (decompose_rpath): Call expand_dynamic_string_token with
39940         non-zero is_path.  Ignore empty rpaths.
39941         (_dl_map_object_from_fd): Call expand_dynamic_string_token
39942         with zero is_path.
39944 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
39946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39947         Make cancelable.
39949 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
39951         [BZ #12655]
39952         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39953         Patch by Filipe David Manana <fdmanana@apache.org>.
39955 2011-04-07  Andreas Schwab  <schwab@redhat.com>
39957         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39958         Maintain aligned stack.
39959         (CHECK_RSP): Remove unused macro.
39961 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
39963         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39964         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
39966 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
39968         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
39970         * include/features.h: Mention __USE_XOPEN2K8 in comment.
39972 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
39974         [BZ #12518]
39975         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
39976         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
39977         * sysdeps/x86_64/memmove.c: New file.
39978         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
39979         (memcpy): Renamed to ...
39980         (__new_memcpy): This.
39981         (memcpy): Provide GLIBC_2_14 memcpy.
39982         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
39983         (memcpy): Provide GLIBC_2_2_5 memcpy.
39985 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
39987         [BZ #12631]
39988         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
39990 2011-03-30  Andreas Schwab  <schwab@redhat.com>
39992         * misc/syncfs.c: New file.
39993         * misc/Makefile (routines): Add syncfs.
39994         * posix/unistd.h: Declare syncfs.
39995         * sysdeps/unix/syscalls.list: Add syncfs.
39997 2011-04-01  Andreas Schwab  <schwab@redhat.com>
39999         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40000         open_by_handle_at.
40001         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40002         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40003         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40004         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40006         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40007         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40009 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40011         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40012         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40013         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40014         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40015         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40016         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40017         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40019         * io/Makefile: Compile fallocate.c, fallocate64.c, and
40020         sync_file_range.c with -fexceptions.
40021         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40022         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40023         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40024         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40025         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40026         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40027         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40028         sync_file_range as cancellation point
40029         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
40030         now a wrapper around __call_sync_file_range with cancellation handling.
40031         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40032         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
40033         function name to __call_sync_file_range.
40034         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40035         Add call_sync_file_range.
40037 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40039         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40040         bits/timex.h.
40042 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40044         * iconv/iconv.h: Fix typo in comment.
40045         * io/fcntl.h: Likewise.
40046         * libio/stdio.h: Likewise.
40047         * posix/spawn.h: Likewise.
40048         * posix/unistd.h: Likewise.
40049         * stdlib/stdlib.h: Likewise.
40050         * time/time.h: Likewise.
40051         * wcsmbs/wchar.h: Likewise.
40053         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40054         open_by_handle): Add.
40055         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40056         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
40057         Augment a few comments.
40058         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40059         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40060         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40061         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40062         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40063         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40064         open_by_handle.
40066         * io/fcntl.h (AT_EMPTY_PATH): Define.
40068 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
40070         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40071         * sysdeps/unix/sysv/linux/bits/time.h: New file.
40072         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40073         to...
40074         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
40075         * Versions.def: Add GLIBC_2.14.
40076         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40077         Export.
40079 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
40081         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40082         round counter.
40083         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40085 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40087         [BZ #12597]
40088         * string/test-strncmp.c (do_page_test): New function.
40089         (check2): Likewise.
40090         (test_main): Call check2.
40091         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40093 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
40095         [BZ #12587]
40096         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40097         Handle cache information in CPU leaf 4.
40098         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40100 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
40102         [BZ #12583]
40103         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40104         character representation.
40105         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40107 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
40109         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40110         END(__isnan) to END(__isnanf) to match function entry point/label
40111         EALIGN(__isnanf,...).
40113 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
40115         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40117 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
40119         [BZ #12510]
40120         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40121         copy from the symbol referenced in the relocation to initialize the
40122         used variable.
40123         Patch by Piotr Bury <pbury@goahead.com>.
40124         * elf/Makefile: Add rules to build and tst-unique3.
40125         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40126         * elf/tst-unique3.cc: New file.
40127         * elf/tst-unique3.h: New file.
40128         * elf/tst-unique3lib.cc: New file.
40129         * elf/tst-unique3lib2.cc: New file.
40131         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40133 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
40135         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40136         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
40137         to _start.
40139 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
40141         * elf/dl-load.c (_dl_map_object): If we are looking for the first
40142         to-be-loaded object along a path to loader is ld.so.
40144 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40145             Ulrich Drepper  <drepper@gmail.com>
40147         * sysdeps/x86_64/memset.S: After aligning destination, code
40148         branches to different locations depending on the value of
40149         misalignment, when multiarch is enabled. Fix this.
40151 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40153         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40154         Set _x86_64_preferred_memory_instruction for AMD processsors.
40155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40156         Set bit_Prefer_SSE_for_memop for AMD processors.
40158 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
40160         * libio/fmemopen.c (fmemopen): Optimize a bit.
40162 2011-03-03  Andreas Schwab  <schwab@redhat.com>
40164         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40166 2011-03-03  Roland McGrath  <roland@redhat.com>
40168         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40170 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
40172         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40173         __bzero_ultra1 instead of __memset_ultra1.
40175 2011-02-23  Andreas Schwab  <schwab@redhat.com>
40176             Ulrich Drepper  <drepper@gmail.com>
40178         [BZ #12509]
40179         * include/link.h (struct link_map): Add l_orig_initfini.
40180         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40181         returning unsuccessfully.
40182         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40183         close of a file loaded at startup, restore the original l_initfini
40184         list.
40185         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40186         list, store the pointer.
40187         * elf/Makefile ($(objpfx)noload-mem): New rule.
40188         (noload-ENV): Define.
40189         (tests): Add $(objpfx)noload-mem.
40190         * elf/noload.c: Include <memcheck.h>.
40191         (main): Call mtrace.  Close all opened handles.
40193 2011-02-17  Andreas Schwab  <schwab@redhat.com>
40195         [BZ #12454]
40196         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40197         dependencies are missing.
40199 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40201         Fix __if_freereq crash: Unlike the generic version which uses free,
40202         Hurd needs munmap.
40203         * sysdeps/mach/hurd/ifreq.h: New file.
40205 2011-01-27  Petr Baudis  <pasky@suse.cz>
40206             Ulrich Drepper  <drepper@gmail.com>
40208         [BZ 12445]#
40209         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40210         to extend_alloca().
40211         * stdio-common/bug23.c: New file.
40212         * stdio-common/Makefile (tests): Add bug23.
40214 2010-09-28  Andreas Schwab  <schwab@redhat.com>
40215             Ulrich Drepper  <drepper@gmail.com>
40217         [BZ #12489]
40218         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40219         before performing relro protection.  At old place add assertion
40220         to make sure nothing changed.
40222 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
40223             Glauber de Oliveira Costa  <glommer@gmail.com>
40225         * elf/elf.h: Add new ARM TLS relocs.
40227 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
40229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40230         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40231         cast from r3.
40232         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
40233         'tests' variable.
40234         * sysdeps/wordsize-64/tst-writev.c: New file.
40236 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
40238         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40239         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40240         insns in _dl_start to prevent a TOC reference before relocs are
40241         resolved.
40243 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
40245         [BZ #12469]
40246         * Makeconfig: Remove RANLIB definition.
40247         * Makerules: Don't use RANLIB.
40248         * aclocal.m4: Remove ranlib test.
40249         * configure.in: No need to check for ranlib.
40250         * elf/rtld-Rules: Don't use RANLIB.
40252 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40254         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40255         protection macro.
40256         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40257         inclusion protection macro.
40259         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40260         SIGRTMIN and SIGRTMAX and print information in that case only when
40261         SIGRTMIN is defined.
40263 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
40265         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40266         arginfo fn returning -1.
40268         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40269         and thousands string is zero terminated.
40271 2011-02-03  Andreas Schwab  <schwab@redhat.com>
40273         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40274         sysdeps/unix/sysv/linux/bits/socket.h.
40276 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40278         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40279         (__CPU_COUNT): Remove old macros.
40280         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40281         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40282         (__CPU_ALLOC, __CPU_FREE): Add macros.
40283         (__sched_cpualloc, __sched_cpufree): Add declarations.
40285 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
40287         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40288         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40289         * nscd/aicache.c (addhstaiX): Return timeout of added value.
40290         (readdhstai): Return value of addhstaiX call.
40291         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40292         (addgrbyX): Return value returned by cache_addgr.
40293         (readdgrbyname): Return value returned by addgrbyX.
40294         (readdgrbygid): Likewise.
40295         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40296         (addpwbyX): Return value returned by cache_addpw.
40297         (readdpwbyname): Return value returned by addhstbyX.
40298         (readdpwbyuid): Likewise.
40299         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40300         (addservbyX): Return value returned by cache_addserv.
40301         (readdservbyname): Return value returned by addservbyX:
40302         (readdservbyport): Likewise.
40303         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40304         (addhstbyX): Return value returned by cache_addhst.
40305         (readdhstbyname): Return value returned by addhstbyX.
40306         (readdhstbyaddr): Likewise.
40307         (readdhstbynamev6): Likewise.
40308         (readdhstbyaddrv6): Likewise.
40309         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40310         (readdinitgroups): Return value returned by addinitgroupsX.
40311         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40312         (prune_cache): Keep track of timeout value of re-added entries.
40313         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40314         * nscd/nscd.h: Adjust prototypes of readd* functions.
40316 2011-02-04  Roland McGrath  <roland@redhat.com>
40318         * nis/nis_server.c (nis_servstate): Use the right name for 0.
40319         (nis_stats): Likewise.
40320         * nis/nis_modify.c (nis_modify): Likewise.
40321         * nis/nis_remove.c (nis_remove): Likewise.
40322         * nis/nis_add.c (nis_add): Likewise.
40324         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40326         * posix/fnmatch_loop.c: Add some consts.
40328         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40330 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
40332         [BZ #12460]
40333         * config.make.in (config-cflags-novzeroupper): Define.
40334         * configure.in: Substitute libc_cv_cc_novzeroupper.
40335         * elf/Makefile (AVX-CFLAGS): Define.
40336         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40337         (CFLAGS-tst-auditmod4a.c): Likewise.
40338         (CFLAGS-tst-auditmod4b.c): Likewise.
40339         (CFLAGS-tst-auditmod6b.c): Likewise.
40340         (CFLAGS-tst-auditmod6c.c): Likewise.
40341         (CFLAGS-tst-auditmod7b.c): Likewise.
40342         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40344 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
40346         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40347         function to the callback.
40348         Patch partly by Jiri Olsa <jolsa@redhat.com>.
40350 2011-02-02  Andreas Schwab  <schwab@redhat.com>
40352         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40353         of errno.
40355 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
40357         [BZ #11724]
40358         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40359         of constructors.
40360         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40361         of destructors.
40362         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40364         [BZ #11724]
40365         * elf/Makefile: Add rules to build and run new test.
40366         * elf/tst-initorder.c: New file.
40367         * elf/tst-initorder.exp: New file.
40368         * elf/tst-initordera1.c: New file.
40369         * elf/tst-initordera2.c: New file.
40370         * elf/tst-initordera3.c: New file.
40371         * elf/tst-initordera4.c: New file.
40372         * elf/tst-initorderb1.c: New file.
40373         * elf/tst-initorderb2.c: New file.
40374         * elf/tst-order-a1.c: New file.
40375         * elf/tst-order-a2.c: New file.
40376         * elf/tst-order-a3.c: New file.
40377         * elf/tst-order-a4.c: New file.
40378         * elf/tst-order-b1.c: New file.
40379         * elf/tst-order-b2.c: New file.
40380         * elf/tst-order-main.c: New file.
40381         New test case by George Gensure <werkt0@gmail.com>.
40383 2010-10-01  Andreas Schwab  <schwab@redhat.com>
40385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40386         decoding ACE if AI_CANONIDN.
40388 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
40390         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40392 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
40394         * version.h (RELEASE): Bump for 2.13 release.
40395         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40397         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40399         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40400         MADV_NOHUGEPAGE.
40401         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40402         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40403         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40404         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40405         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40406         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40408         * posix/getconf.c: Update copyright year.
40409         * catgets/gencat.c: Likewise.
40410         * csu/version.c: Likewise.
40411         * debug/catchsegv.sh: Likewise.
40412         * debug/xtrace.sh: Likewise.
40413         * elf/ldconfig.c: Likewise.
40414         * elf/ldd.bash.in: Likewise.
40415         * elf/sprof.c (print_version): Likewise.
40416         * iconv/iconv_prog.c: Likewise.
40417         * iconv/iconvconfig.c: Likewise.
40418         * locale/programs/locale.c: Likewise.
40419         * locale/programs/localedef.c: Likewise.
40420         * malloc/memusage.sh: Likewise.
40421         * malloc/mtrace.pl: Likewise.
40422         * nscd/nscd.c (print_version): Likewise.
40423         * nss/getent.c: Likewise.
40425         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40426         PF_CAIF, and PF_ALG.
40427         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40429 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
40431         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40432         (modules-names): Use them.
40433         (ifunc-test-modules, ifunc-pie-tests): Define.
40434         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40435         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40436         (test-extras): Likewise.
40437         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40438         $(compile-command.c).
40439         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40440         (all-built-dso): Define.
40441         (check-textrel.out, check-execstack.out): Depend on it.
40443         * configure.in: Don't override --enable-multi-arch.
40445 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
40447         [BZ #6812]
40448         * nscd/hstcache.c (tryagain): Define.
40449         (cache_addhst): Return tryagain not notfound for temporary errors.
40450         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40451         failed.
40453 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
40455         [BZ #10563]
40456         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40457         to make the syscall.
40458         * sysdeps/unix/sysv/linux/setgroups.c: New file.
40460         [BZ #12378]
40461         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40462         and fall back to matching as normal character if the string ends before
40463         the matching ']' is found.  This is what POSIX requires.
40464         * posix/testfnm.c: Adjust test result.
40465         * posix/globtest.sh: Adjust test result.  Add new test.
40466         * posix/tst-fnmatch.input: Likewise.
40467         * posix/tst-fnmatch2.c: Add new test.
40469 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
40471         * elf/Makefile (check-execstack): Revert last change.  Depend on
40472         check-execstack.h.
40473         (check-execstack.h): New target.
40474         (generated): Add check-execstack.h.
40475         * elf/check-execstack.c: Include "check-execstack.h".
40476         (main): Revert last change.
40477         (handle_file): Return zero if GNU_STACK is absent and
40478         DEFAULT_STACK_PERMS doesn't include PF_X.
40480 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
40482         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40483         in child fails because the descriptor is already closed.
40484         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40485         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40486         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40488         [BZ #12397]
40489         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40490         syscall.
40492         [BZ #10484]
40493         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40494         temporary buffer used to handle multi lookups locally.
40495         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40497 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
40499         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40500         loader is ld.so.
40502 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
40504         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40505         alignment for SSE2.
40507 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
40509         [BZ #12394]
40510         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40511         characters.  When rounding increased number of integer digits recompute
40512         number of groups.
40513         * stdio-common/tst-grouping.c: New file.
40514         * stdio-common/Makefile: Add rules to build and run tst-grouping.
40516 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
40518         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40519         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
40521         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40522         void.
40523         * bits/select.h: Likewise.
40525 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
40527         * po/ja.po: Update from translation team.
40529 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
40531         [BZ #11155]
40532         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40533         implementation just like for lxstat, fxstatat, et al.
40535 2010-12-27  Jim Meyering  <meyering@redhat.com>
40537         [BZ #12348]
40538         * posix/regexec.c (build_trtable): Return failure indication upon
40539         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
40541 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
40543         [BZ #12201]
40544         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40545         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40546         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40547         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40549         [BZ #12207]
40550         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40552         [BZ #12204]
40553         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40554         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40556 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
40558         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40559         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40560         script has SORT_BY_INIT_PRIORITY.
40561         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40562         NO_CTORS_DTORS_SECTIONS is defined.
40563         * elf/soinit.c: Likewise.
40564         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40565         NO_CTORS_DTORS_SECTIONS is defined.
40566         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40567         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40568         * sysdeps/sh/init-first.c: Likewise.
40569         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40571 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
40573         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40574         always use the slow path.
40576 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
40578         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40579         similar rule which adds the sysdep directories to the header search in
40580         order to pick up the correct platform stackinfo.h.
40581         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40582         perform test if it is, otherwise return successfully without testing.
40583         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40584         DEFAULT_STACK_PERMS define in stackinfo.h.
40585         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40586         defined in stackinfo.h.
40587         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40588         DEFAULT_STACK_PERMS defined in stackinfo.h.
40589         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40590         * sysdeps/ia64/stackinfo.h: Likewise.
40591         * sysdeps/s390/stackinfo.h: Likewise.
40592         * sysdeps/sh/stackinfo.h: Likewise.
40593         * sysdeps/sparc/stackinfo.h: Likewise.
40594         * sysdeps/x86_64/stackinfo.h: Likewise.
40595         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40596         PF_X for powerpc64.  Retain PF_X for powerpc32.
40598 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
40600         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40601         accurately.
40602         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40603         GETDENTS_64BIT_ALIGNED.
40605 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
40607         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40609 2010-12-10  Andreas Schwab  <schwab@redhat.com>
40611         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40612         _GNU_SOURCE.
40614         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40615         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40616         Remove __restrict.
40617         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40618         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40620 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
40622         [BZ #11655]
40623         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40624         are initialized.
40626 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
40628         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40630 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
40632         * po/it.po: Update from translation team.
40634 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
40636         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40637         unused codes.
40639 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
40641         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40643 2010-11-24  Andreas Schwab  <schwab@redhat.com>
40645         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40646         specially.
40647         (gaih_getanswer_slice): Likewise.
40649 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
40651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40653 2010-05-31  Petr Baudis  <pasky@suse.cz>
40655         [BZ #11149]
40656         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40657         silently even in the chroot mode.
40659 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
40661         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40662         last patch a bit.  Pretty printing
40664 2010-05-31  Petr Baudis <pasky@suse.cz>
40666         [BZ #10085]
40667         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40668         initialization of skip_initgroups_dyn.
40670 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
40672         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40673         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40675 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
40677         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40679 2010-11-11  Andreas Schwab  <schwab@redhat.com>
40681         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40682         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40683         (tst-fnmatch-ENV): Set MALLOC_TRACE.
40684         ($(objpfx)tst-fnmatch-mem): New rule.
40685         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40686         * posix/tst-fnmatch.c (main): Call mtrace.
40688 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
40690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40691         Support Intel processor model 6 and model 0x2c.
40693 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
40695         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40696           signed comparison.
40698 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
40700         [BZ #12205]
40701         * string/test-strncasecmp.c (check_result): New function.
40702         (do_one_test): Use it.
40703         (check1): New function.
40704         (test_main): Use it.
40705         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40706         Support strcasecmp and strncasecmp.
40708 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
40710         [BZ #12194]
40711         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40712         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40714 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40716         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40717         IFUNC support.
40718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40719         memset-x86-64.
40720         * sysdeps/x86_64/multiarch/bzero.S: New file.
40721         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40722         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40723         * sysdeps/x86_64/multiarch/memset.S: New file.
40724         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40726         Set bit_Prefer_SSE_for_memop for Intel processors.
40727         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40728         Define.
40729         (index_Prefer_SSE_for_memop): Define.
40730         (HAS_PREFER_SSE_FOR_MEMOP): Define.
40732 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
40734         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40735         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40737 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
40739         [BZ #12191]
40740         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40741         (__x86_64_raw_data_cache_size_half): Likewise.
40742         (__x86_64_raw_shared_cache_size): Likewise.
40743         (__x86_64_raw_shared_cache_size_half): Likewise.
40745         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40746         (__x86_64_raw_data_cache_size_half): Likewise.
40747         (__x86_64_raw_shared_cache_size): Likewise.
40748         (__x86_64_raw_shared_cache_size_half): Likewise.
40749         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40750         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40751         and __x86_64_raw_shared_cache_size_half.  Round
40752         __x86_64_data_cache_size_half, __x86_64_data_cache_size
40753         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40754         to multiple of 256 bytes.
40756 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
40758         [BZ #12167]
40759         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40760         of inacessible symlinks.  Verify result of symlink before returning it.
40761         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40762         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40764 2010-10-28  Erich Ritz  <erichritz@gmail.com>
40766         * math/math.h (isinf): Fix typo in comment.
40768 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
40770         * po/da.po: Update from translation team.
40772 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
40774         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40775         is added to the list.
40777 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40778             Ulrich Drepper  <drepper@gmail.com>
40780         * elf/dl-object.c (_dl_new_object): Don't append the new object to
40781         the global list here.  Move code to...
40782         (_dl_add_to_namespace_list): ...here.  New function.
40783         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40784         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40785         * elf/dl-load.c (lose): Don't remove the element from the list.
40786         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40787         (_dl_map_object): Likewise.
40789 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
40791         [BZ #12159]
40792         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40793         into all bytes of SSE register.
40794         Patch by Richard Li <richardpku@gmail.com>.
40796 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
40798         [BZ #12140]
40799         * malloc/malloc.c (_int_free): Fill correct number of bytes when
40800         perturbing.
40802 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
40804         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40805         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40806         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40807         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40809         submachine.
40810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40812 2010-10-22  Andreas Schwab  <schwab@redhat.com>
40814         * include/dlfcn.h (__RTLD_SECURE): Define.
40815         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
40816         mode & __RTLD_SECURE instead.
40817         (open_path): Rename preloaded parameter to secure.
40818         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40819         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40820         * elf/dl-deps.c (openaux): Likewise.
40821         * elf/rtld.c (struct map_args): Remove is_preloaded.
40822         (map_doit): Don't use it.
40823         (dl_main): Likewise.
40824         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40825         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40827 2010-09-09  Andreas Schwab  <schwab@redhat.com>
40829         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40830         (sysd-rules-targets): Remove duplicates.
40831         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40832         rtld-%.$o dependency.
40834 2010-10-18  Andreas Schwab  <schwab@redhat.com>
40836         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40837         _dl_map_object do it.
40839 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
40841         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40842         fast fma builtins, define the macros in the C99 standard.
40843         (FP_FAST_FMAF): Likewise.
40844         (FP_FAST_FMAL): Likewise.
40845         * sysdeps/x86_64/bits/mathdef.h: Likewise.
40847         * bits/mathdef.h: Update copyright year.
40848         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40850 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
40852         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40853         builtins, define the macros in the C99 standard.
40854         (FP_FAST_FMAF): Likewise.
40855         (FP_FAST_FMAL): Likewise.
40856         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40857         multiply/add.
40858         (FP_FAST_FMAF): Likewise.
40860 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
40862         [BZ #3268]
40863         * math/libm-test.inc (fma_test): Some new testcases.
40864         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40865         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40866         y and infinite z.  Do multiplication by C already in long double.
40867         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40869         y and infinite z.  Do bitwise or of inexact bit into u.d.
40870         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40871         * sysdeps/i386/fpu/s_fmaf.S: Removed.
40872         * sysdeps/i386/fpu/s_fma.S: Removed.
40873         * sysdeps/i386/fpu/s_fmal.S: Removed.
40875 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
40877         [BZ #3268]
40878         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40880         computation is not scheduled after fetestexcept.  Fix value
40881         of minimum denormal long double.
40883 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
40885         [BZ #3268]
40886         * math/libm-test.inc (fma_test): Add some more tests.
40887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40888         correctly.
40890 2010-10-15  Andreas Schwab  <schwab@redhat.com>
40892         * scripts/data/localplt-s390-linux-gnu.data: New file.
40893         * scripts/data/localplt-s390x-linux-gnu.data: New file.
40895 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
40897         [BZ #3268]
40898         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40899         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40900         instead of dbl-64.
40901         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40902         inlines.
40903         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40905         if one of x and y is very large and the other is subnormal.
40906         * sysdeps/s390/fpu/s_fmaf.c: New file.
40907         * sysdeps/s390/fpu/s_fma.c: New file.
40908         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40909         * sysdeps/powerpc/fpu/s_fma.S: New file.
40910         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40911         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40912         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40914 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
40916         [BZ #3268]
40917         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40918         fma tests.
40919         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40920         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40921         * sysdeps/i386/i686/multiarch/s_fma.c: Include
40922         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40923         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40924         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40925         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40927 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
40929         [BZ #12078]
40930         * posix/regcomp.c (parse_branch): One more memory leak plugged.
40931         * posix/bug-regex31.input: Add test case.
40933 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
40935         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40936         * posix/bug-regex31.input: New file.
40938         [BZ #12078]
40939         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40940         (parse_sub_exp): Fix last change, use postorder.
40942         * posix/bug-regex31.c: New file.
40943         * posix/Makefile: Add rules to build and run bug-regex31.
40945         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40947         [BZ #12078]
40948         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40950         [BZ #12108]
40951         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40952         to have entries in sys_siglist.
40954         [BZ #12093]
40955         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40956         be NULL.
40958 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
40960         [BZ #3268]
40961         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40962         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40963         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40964         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40965         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40966         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
40967         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
40968         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
40969         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
40970         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
40971         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
40972         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
40973         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40974         * math/ftestexcept.c (fetestexcept): Likewise.
40975         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
40976         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
40977         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
40978         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
40979         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
40980         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
40981         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40983 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
40985         [BZ #12107]
40986         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
40987         newline.
40989 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
40991         * string/bug-strstr1.c: New file.
40992         * string/Makefile: Add rules to build and run bug-strstr1.
40994 2010-10-05  Eric Blake  <eblake@redhat.com>
40996         [BZ #12092]
40997         * string/str-two-way.h (two_way_long_needle): Always clear memory
40998         when skipping input due to the shift table.
41000 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
41002         [BZ #12005]
41003         * malloc/mcheck.c: Handle large requests.
41005         [BZ #12077]
41006         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41007         for strncmp and strncasecmp.
41008         * string/stratcliff.c: Add tests for strcmp and strncmp.
41009         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41011 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41013         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41014         __set_fpscr.
41016 2010-09-30  Andreas Jaeger  <aj@suse.de>
41018         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41019         (CGROUP_SUPER_MAGIC): Define.
41020         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41021         Handle btrfs and cgroup file systems.
41022         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41023         Likewise.
41025 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
41027         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41028         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41030 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41032         [BZ #12067]
41033         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41034         trying to locate the ELF header.
41036 2010-09-27  Andreas Schwab  <schwab@redhat.com>
41038         [BZ #11611]
41039         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41040         Mask out sign-bit copies when constructing f_fsid.
41042 2010-09-24  Petr Baudis <pasky@suse.cz>
41044         * debug/stack_chk_fail_local.c: Add missing licence exception.
41045         * debug/warning-nop.c: Likewise.
41047 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
41049         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41050         implementing getdents64 using getdents syscall, set d_type if
41051         __ASSUME_GETDENTS32_D_TYPE.
41053 2010-09-16  Andreas Schwab  <schwab@redhat.com>
41055         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41056         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41058 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
41060         [BZ #12037]
41061         * posix/unistd.h: Undo change of feature selection for ftruncate from
41062         2010-01-11.
41064 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
41066         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41067         detection.
41069 2010-09-20  Andreas Schwab  <schwab@redhat.com>
41071         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41072         fanotify_mark.
41073         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41075 2010-09-14  Andreas Schwab  <schwab@redhat.com>
41077         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41078         variables after CHECK_SP call.
41079         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41081 2010-09-13  Andreas Schwab  <schwab@redhat.com>
41082             Ulrich Drepper  <drepper@redhat.com>
41084         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41085         re-relocationg ld.so.
41086         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41087         _dl_init_paths call.
41088         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
41089         here anymore.
41091 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
41093         * resolv/res_init.c (__res_vinit): Count the default server we added.
41095 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
41096             Ulrich Drepper  <drepper@redhat.com>
41098         [BZ #11968]
41099         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41100         (____longjmp_chk): Use %ebx for saving value across system call.
41101         Add unwind info.
41103 2010-09-06  Andreas Schwab  <schwab@redhat.com>
41105         * manual/Makefile: Don't mix pattern rules with normal rules.
41107 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41109         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41110         operation.
41111         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41112         * libio/iofopncook.c (_IO_cookie_init): Likewise.
41113         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41114         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41115         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41116         Likewise.
41118 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
41120         [BZ #11979]
41121         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41122         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41124 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
41126         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41127         * sysdeps/x86_64/addmul_1.S: Likewise.
41128         * sysdeps/x86_64/lshift.S: Likewise.
41129         * sysdeps/x86_64/mul_1.S: Likewise.
41130         * sysdeps/x86_64/rshift.S: Likewise.
41131         * sysdeps/x86_64/sub_n.S: Likewise.
41132         * sysdeps/x86_64/submul_1.S: Likewise.
41134 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41136         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41137         Define __sched_param instead of SCHED_* and sched_param when
41138         <bits/sched.h> is included with __need_schedparam defined.
41139         * bits/sched.h [__need_schedparam]
41140         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41141         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41142         (__defined_schedparam): Define to 1.
41143         (__sched_param): New structure, identical to sched_param.
41144         (__need_schedparam): Undefine.
41146 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
41148         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41149         (epoll_create1): Declare.
41151         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41153 2010-08-31  Andreas Schwab  <schwab@redhat.com>
41155         [BZ #7066]
41156         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41157         shifting retval into place.
41159 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
41161         * nis/rpcsvc/nis.h: Update copyright notice.
41162         * nis/rpcsvc/nis.x: Likewise.
41163         * nis/rpcsvc/nis_callback.h: Likewise.
41164         * nis/rpcsvc/nis_callback.x: Likewise.
41165         * nis/rpcsvc/nis_object.x: Likewise.
41166         * nis/rpcsvc/nis_tags.h: Likewise.
41167         * nis/rpcsvc/yp.h: Likewise.
41168         * nis/rpcsvc/yp.x: Likewise.
41169         * nis/rpcsvc/ypupd.h: Likewise.
41170         * nis/yp_xdr.c: Likewise.
41171         * nis/ypupdate_xdr.c: Likewise.
41173         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
41174         mainly the body of pmap_getport.  Add parameters to specify timeouts.
41175         (pmap_getport): Use __libc_rpc_getport.
41176         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41177         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41178         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41180 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
41182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41183         fanotify_mark.
41185 2010-08-27  Roland McGrath  <roland@redhat.com>
41187         * sysdeps/i386/i686/multiarch/Makefile
41188         (CFLAGS-varshift.c): New variable.
41190 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
41192         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41193         * sysdeps/i386/i686/multiarch/varshift.c: New file.
41195         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41197         * sysdeps/x86_64/strlen.S: Minimal code improvement.
41199 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
41201         * sysdeps/x86_64/strlen.S: Unroll the loop.
41202         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41203         strlen-sse2 strlen-sse2-bsf.
41204         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41205         __strlen_no_bsf if bit_Slow_BSF is set.
41206         (__strlen_sse42): Removed.
41207         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41208         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41210 2010-08-25  Roland McGrath  <roland@redhat.com>
41212         * sysdeps/x86_64/multiarch/varshift.S: File removed.
41213         * sysdeps/x86_64/multiarch/varshift.c: New file.
41214         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41215         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41216         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41217         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41219 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
41221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41222         strlen-sse2 strlen-sse2-bsf.
41223         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41224         __strlen_sse2_bsf if bit_Slow_BSF is unset.
41225         (__strlen_sse2): Removed.
41226         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41227         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41229         bit_Slow_BSF for Atom.
41230         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41231         (index_Slow_BSF): Define.
41232         (HAS_SLOW_BSF): Define.
41234 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
41236         [BZ #10851]
41237         * resolv/res_init.c (__res_vinit): When no server address at all
41238         is given default to loopback.
41240 2010-08-24  Roland McGrath  <roland@redhat.com>
41242         * configure.in: Remove config-name.h generation.
41243         * configure: Regenerated.
41244         * config-name.in: File removed.
41245         * scripts/config-uname.sh: New file.
41246         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41247         ($(objdir)config-name.h): New target.
41249         * sunrpc/rpc_parse.h: Avoid nested comment.
41251 2010-08-24  Richard Henderson  <rth@redhat.com>
41252             Ulrich Drepper  <drepper@redhat.com>
41253             H.J. Lu  <hongjiu.lu@intel.com>
41255         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41256         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41257         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41258         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
41259         _mm_alignr_epi8 with _mm_loadu_si128.
41260         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41261         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41262         (__m128i_shift_right): Removed.
41263         * sysdeps/i386/i686/multiarch/varshift.h: New file.
41264         * sysdeps/i386/i686/multiarch/varshift.S: New file.
41265         * sysdeps/x86_64/multiarch/varshift.h: New file.
41266         * sysdeps/x86_64/multiarch/varshift.S: New file.
41268 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
41270         * configure.in: Move assembler checks to before sysdep dir checking.
41272 2010-08-20  Petr Baudis  <pasky@suse.cz>
41274         * LICENSES: Sync the sunrpc license.
41276 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
41278         * sunrpc/auth_des.c: Update copyright notice once again.
41279         * sunrpc/auth_none.c: Likewise.
41280         * sunrpc/auth_unix.c: Likewise.
41281         * sunrpc/authdes_prot.c: Likewise.
41282         * sunrpc/authuxprot.c: Likewise.
41283         * sunrpc/bindrsvprt.c: Likewise.
41284         * sunrpc/clnt_gen.c: Likewise.
41285         * sunrpc/clnt_perr.c: Likewise.
41286         * sunrpc/clnt_raw.c: Likewise.
41287         * sunrpc/clnt_simp.c: Likewise.
41288         * sunrpc/clnt_tcp.c: Likewise.
41289         * sunrpc/clnt_udp.c: Likewise.
41290         * sunrpc/clnt_unix.c: Likewise.
41291         * sunrpc/des_crypt.c: Likewise.
41292         * sunrpc/des_soft.c: Likewise.
41293         * sunrpc/get_myaddr.c: Likewise.
41294         * sunrpc/getrpcport.c: Likewise.
41295         * sunrpc/key_call.c: Likewise.
41296         * sunrpc/key_prot.c: Likewise.
41297         * sunrpc/openchild.c: Likewise.
41298         * sunrpc/pm_getmaps.c: Likewise.
41299         * sunrpc/pm_getport.c: Likewise.
41300         * sunrpc/pmap_clnt.c: Likewise.
41301         * sunrpc/pmap_prot.c: Likewise.
41302         * sunrpc/pmap_prot2.c: Likewise.
41303         * sunrpc/pmap_rmt.c: Likewise.
41304         * sunrpc/rpc/auth.h: Likewise.
41305         * sunrpc/rpc/auth_unix.h: Likewise.
41306         * sunrpc/rpc/clnt.h: Likewise.
41307         * sunrpc/rpc/des_crypt.h: Likewise.
41308         * sunrpc/rpc/key_prot.h: Likewise.
41309         * sunrpc/rpc/netdb.h: Likewise.
41310         * sunrpc/rpc/pmap_clnt.h: Likewise.
41311         * sunrpc/rpc/pmap_prot.h: Likewise.
41312         * sunrpc/rpc/pmap_rmt.h: Likewise.
41313         * sunrpc/rpc/rpc.h: Likewise.
41314         * sunrpc/rpc/rpc_des.h: Likewise.
41315         * sunrpc/rpc/rpc_msg.h: Likewise.
41316         * sunrpc/rpc/svc.h: Likewise.
41317         * sunrpc/rpc/svc_auth.h: Likewise.
41318         * sunrpc/rpc/types.h: Likewise.
41319         * sunrpc/rpc/xdr.h: Likewise.
41320         * sunrpc/rpc_clntout.c: Likewise.
41321         * sunrpc/rpc_cmsg.c: Likewise.
41322         * sunrpc/rpc_common.c: Likewise.
41323         * sunrpc/rpc_cout.c: Likewise.
41324         * sunrpc/rpc_dtable.c: Likewise.
41325         * sunrpc/rpc_hout.c: Likewise.
41326         * sunrpc/rpc_main.c: Likewise.
41327         * sunrpc/rpc_parse.c: Likewise.
41328         * sunrpc/rpc_parse.h: Likewise.
41329         * sunrpc/rpc_prot.c: Likewise.
41330         * sunrpc/rpc_sample.c: Likewise.
41331         * sunrpc/rpc_scan.c: Likewise.
41332         * sunrpc/rpc_scan.h: Likewise.
41333         * sunrpc/rpc_svcout.c: Likewise.
41334         * sunrpc/rpc_tblout.c: Likewise.
41335         * sunrpc/rpc_util.c: Likewise.
41336         * sunrpc/rpc_util.h: Likewise.
41337         * sunrpc/rpcinfo.c: Likewise.
41338         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41339         * sunrpc/rpcsvc/key_prot.x: Likewise.
41340         * sunrpc/rpcsvc/klm_prot.x: Likewise.
41341         * sunrpc/rpcsvc/mount.x: Likewise.
41342         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41343         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41344         * sunrpc/rpcsvc/rex.x: Likewise.
41345         * sunrpc/rpcsvc/rstat.x: Likewise.
41346         * sunrpc/rpcsvc/rusers.x: Likewise.
41347         * sunrpc/rpcsvc/sm_inter.x: Likewise.
41348         * sunrpc/rpcsvc/spray.x: Likewise.
41349         * sunrpc/rpcsvc/yppasswd.x: Likewise.
41350         * sunrpc/rtime.c: Likewise.
41351         * sunrpc/svc.c: Likewise.
41352         * sunrpc/svc_auth.c: Likewise.
41353         * sunrpc/svc_authux.c: Likewise.
41354         * sunrpc/svc_raw.c: Likewise.
41355         * sunrpc/svc_run.c: Likewise.
41356         * sunrpc/svc_simple.c: Likewise.
41357         * sunrpc/svc_tcp.c: Likewise.
41358         * sunrpc/svc_udp.c: Likewise.
41359         * sunrpc/svc_unix.c: Likewise.
41360         * sunrpc/svcauth_des.c: Likewise.
41361         * sunrpc/xcrypt.c: Likewise.
41362         * sunrpc/xdr.c: Likewise.
41363         * sunrpc/xdr_array.c: Likewise.
41364         * sunrpc/xdr_float.c: Likewise.
41365         * sunrpc/xdr_mem.c: Likewise.
41366         * sunrpc/xdr_rec.c: Likewise.
41367         * sunrpc/xdr_ref.c: Likewise.
41368         * sunrpc/xdr_sizeof.c: Likewise.
41369         * sunrpc/xdr_stdio.c: Likewise.
41371         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41372         handling.
41374 2010-08-19  Andreas Schwab  <schwab@redhat.com>
41376         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41378 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
41380         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41381         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41382         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41383         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41384         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41385         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41386         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41387         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41388         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41389         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41390         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41391         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41392         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41393         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41395 2010-07-26  Anton Blanchard  <anton@samba.org>
41397         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41398         * malloc/arena.c (heap_trim): Likewise.
41400 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
41402         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41403         here.  Not...
41404         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41405         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41407 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41409         * sysdeps/i386/elf/Makefile: New file.
41411 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41413         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41414         from fanotify_init.
41415         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41416         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41418 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
41420         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41421         of strncasecmp_l.
41422         * sysdeps/multiarch/strcmp.S: Likewise.
41424 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
41426         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41427         strncase_l-nonascii.
41428         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41429         Add strncase_l-ssse3.
41430         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41431         * sysdeps/x86_64/strcmp.S: Likewise.
41432         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41433         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41434         * sysdeps/x86_64/strncase.S: New file.
41435         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41436         * sysdeps/x86_64/strncase_l.S: New file.
41437         * string/Makefile (strop-tests): Add strncasecmp.
41438         * string/test-strncasecmp.c: New file.
41440         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41441         warning.
41443         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41444         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41446 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41448         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41450 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
41452         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41453         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41454         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41456 2010-05-01  Alan Modra  <amodra@gmail.com>
41458         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41459         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41460         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41461         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41462         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41463         tidying.  Don't tail-call __sigjmp_save for static lib.
41464         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41465         save location.
41466         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41467         (CALL_MCOUNT): Add eh info, and nop after bl.
41468         (TAIL_CALL_SYSCALL_ERROR): New macro.
41469         (PSEUDO_RET): Use it.
41470         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41471         Correct save location of integer regs and cr.
41472         (_dl_profile_resolve): Correct cr save location.  Delete nops
41473         after bl when SHARED.  Reduce cfi size a little by better
41474         placement of cfi directives.
41475         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41476         make a stack frame.  Instead use parm save area as a temp.
41477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41478         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
41479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41480         Don't make a stack frame for parent, use parm save area.
41481         Increase child stack frame to 112 bytes.  Don't save unused reg,
41482         and adjust reg usage.  Set up cfi on error recovery and
41483         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41485         (__makecontext): Add dummy nop after jump to exit.
41486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41487         Use correct parm save area and cr save, reduce stack frame.
41488         Correct cfi for possible PSEUDO_RET frame setup.
41489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41490         Branch to local label emitted by PSEUDO_RET rather than
41491         __syscall_error.
41493 2010-08-12  Andreas Schwab  <schwab@redhat.com>
41495         [BZ #11904]
41496         * locale/programs/locale.c (print_assignment): New function.
41497         (show_locale_vars): Use it.
41499 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
41501         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41502         field.
41503         (struct statfs64): Likewise.
41504         (_STATFS_F_FLAGS): Define.
41505         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41506         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41507         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41508         (ST_VALID): Define locally.
41509         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41510         __statvfs_getflags, use the provided value.
41511         * sysdeps/unix/sysv/linux/kernel-features.h: Define
41512         __ASSUME_STATFS_F_FLAGS.
41514         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41516         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41517         Add sys/fanotify.h.
41518         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41519         fanotify_mask for GLIBC_2.13.
41520         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41521         fanotify_init and fanotify_mark.
41522         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41523         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41525         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41526         Add prlimit.
41527         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41528         prlimit64 for GLIBC_2.13.
41529         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41530         prlimit64.
41531         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41532         syscall.
41533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41534         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41535         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41536         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41537         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
41538         add prlimit alias.
41539         * sysdeps/unix/sysv/linux/prlimit.c: New file.
41541         [BZ #11903]
41542         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41543         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41545         * nss/Makefile: Add rules to build and run tst-nss-test1.
41546         * shlib-versions: Add entry for libnss_test1.
41547         * nss/nss_test1.c: New file.
41548         * nss/tst-nss-test1.c: New file.
41550         * nss/nsswitch.c (__nss_database_custom): Define new variable.
41551         (__nss_configure_lookup): Set appropriate entry in
41552         __nss_configure_lookup to true.
41553         * nss/nsswitch.h: Define enum with indeces of databases in
41554         databases and __nss_database_custom arrays.  Declare
41555         __nss_database_custom.
41556         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41557         to avoid using nscd when custom rules are installed.
41558         * nss/getXXbyYY_r.c: Likewise.
41559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41561         * nss/nss_files/files-parse.c: Whitespace fixes.
41563 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
41565         [BZ #11883]
41566         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41567         * posix/fnmatch_loop.c: Likewise.
41569 2010-07-17  Andi Kleen  <ak@linux.intel.com>
41571         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41572         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41573         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41574         * Versions.def [GLIBC_2.13]: Add.
41576 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
41578         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41579         Also fail if tpwd after pwuid call is NULL.
41581 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41583         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41584         when converting to ms.
41586 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41588         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41589         EOPNOTSUPP errors with ENOTTY.
41590         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41591         EOPNOTSUPP errors with ENOTTY.
41593 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
41595         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41596         Add strcasecmp_l-ssse3.
41597         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41598         strcasecmp.
41599         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41600         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41601         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41603 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
41605         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41607         * string/Makefile (strop-tests): Add strcasecmp.
41608         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41609         strcasecmp_l-nonascii.
41610         (gen-as-const-headers): Add locale-defines.sym.
41611         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41612         * sysdeps/x86_64/strcasecmp.S: New file.
41613         * sysdeps/x86_64/strcasecmp_l.S: New file.
41614         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41615         * sysdeps/x86_64/locale-defines.sym: New file.
41616         * string/test-strcasecmp.c: New file.
41618         * string/test-strcasestr.c: Test both ends of the range of characters.
41619         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41621 2010-07-29  Roland McGrath  <roland@redhat.com>
41623         [BZ #11856]
41624         * manual/locale.texi (Yes-or-No Questions): Fix example code.
41626 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
41628         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41629         for ld.so.
41631 2010-07-27  Andreas Schwab  <schwab@redhat.com>
41633         * manual/memory.texi (Malloc Tunable Parameters): Document
41634         M_PERTURB.
41636 2010-07-26  Roland McGrath  <roland@redhat.com>
41638         [BZ #11840]
41639         * configure.in (-fgnu89-inline check): Set and substitute
41640         gnu89_inline, not libc_cv_gnu89_inline.
41641         * configure: Regenerated.
41642         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41644 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
41646         * string/test-strnlen.c: New file.
41647         * string/Makefile (strop-tests): Add strnlen.
41648         * string/tester.c (test_strnlen): Add a few more test cases.
41649         * string/tst-strlen.c: Better error reporting.
41651         * sysdeps/x86_64/strnlen.S: New file.
41653 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
41655         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41656         lower-latency instructions.
41658 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
41660         * string/test-strcasestr.c: New file.
41661         * string/test-strstr.c: New file.
41662         * string/Makefile (strop-tests): Add strstr and strcasestr.
41663         * string/str-two-way.h: Don't undefine MAX.
41664         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41666 2010-07-21  Andreas Schwab  <schwab@redhat.com>
41668         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41669         strcasestr-nonascii.
41670         (CFLAGS-strcasestr-nonascii.c): Define.
41671         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41672         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41673         Remove unused attribute.
41675 2010-07-20  Roland McGrath  <roland@redhat.com>
41677         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41678         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
41679         ld.so.cache was broken.  With it, there is no way to disable dsocaps
41680         like LD_HWCAP_MASK can disable hwcaps.
41682 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41684         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41686 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
41688         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41689         call in strcasestr.
41690         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41691         __strcasestr_sse42_nonascii.
41692         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41693         strcasestr-nonascii.c.
41694         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41696 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
41698         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41699         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41700         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41701         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41703 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
41705         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41706         fcntl.
41708 2010-07-06  Andreas Schwab  <schwab@redhat.com>
41710         [BZ #11577]
41711         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41712         dl_signal_cerror.
41714 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
41716         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41717         _PC_PIPE_BUF using F_GETPIPE_SZ.
41719 2010-07-05  Roland McGrath  <roland@redhat.com>
41721         * manual/arith.texi (Rounding Functions): Fix rint description
41722         implicit in round description.
41724 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
41726         * elf/Makefile: Fix linking for a few tests to make recent linker
41727         happy.
41729 2010-06-30  Andreas Schwab  <schwab@redhat.com>
41731         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41732         $(common-objpfx)libc_nonshared.a.
41734 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
41736         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41737         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41738         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41739         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41740         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41741         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41742         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41743         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41758         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41759         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41760         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41761         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41762         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41763         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41764         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41765         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41766         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41767         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41768         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41769         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41785 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
41787         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41788         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
41789         * string/memmove.c (memmove): Renamed to ...
41790         (MEMMOVE): ...this.  Default to memmove.
41791         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41792         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41793         (END_CHK): Define.
41794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41795         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41796         mempcpy-ssse3-back memmove-ssse3-back.
41797         * sysdeps/x86_64/multiarch/bcopy.S: New file .
41798         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41799         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41800         * sysdeps/x86_64/multiarch/memcpy.S: New file.
41801         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41802         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41803         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41804         * sysdeps/x86_64/multiarch/memmove.c: New file.
41805         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41806         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41807         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41808         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41809         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41810         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41811         Define.
41812         (index_Fast_Copy_Backward): Define.
41813         (HAS_ARCH_FEATURE): Define.
41814         (HAS_FAST_REP_STRING): Define.
41815         (HAS_FAST_COPY_BACKWARD): Define.
41817 2010-06-21  Andreas Schwab  <schwab@redhat.com>
41819         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41820         Restore proper fallback handling.
41822 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
41824         [BZ #11701]
41825         * posix/group_member.c (__group_member): Correct checking loop.
41827         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41828         OOM in getpwuid_r correctly.  Return error number when the caller
41829         should return, otherwise -1.
41830         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41831         call returning > 0 value.
41832         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41834 2010-06-07  Andreas Schwab  <schwab@redhat.com>
41836         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41837         libc_nonshared.a from targets in modules-names.
41839 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
41841         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41842         requires it.
41844 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
41846         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41847         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41848         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41849         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41851 2010-06-02  Andreas Schwab  <schwab@redhat.com>
41853         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41855 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
41857         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41858         and F_GETPIPE_SZ.
41859         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41860         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41862         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41863         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41864         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41866 2010-06-14  Roland McGrath  <roland@redhat.com>
41868         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41870 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
41872         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41873         __REDIRECT followed by __THROW.
41874         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41875         * posix/getopt.h (getopt): Likewise.
41877 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41879         * hurd/lookup-at.c (__file_name_lookup_at): Accept
41880         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
41881         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41882         in AT_FLAGS.
41883         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41884         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41886 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
41888         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41890 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
41892         [BZ #11640]
41893         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41894         Properly check family and model.
41896 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
41898         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41900 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
41902         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41904 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
41906         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41907         symbol reference.
41909 2010-05-19  Andreas Schwab  <schwab@redhat.com>
41911         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41912         symbol reference.
41914 2010-05-21  Andreas Schwab  <schwab@redhat.com>
41916         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41917         and internal_recvmmsg.
41918         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41919         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41920         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41921         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41923         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41924         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41925         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41927 2010-05-20  Andreas Schwab  <schwab@redhat.com>
41929         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41931 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
41933         POWER7 optimizations.
41934         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41935         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41937 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
41939         * version.h: Update for 2.13 development version.
41941 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
41943         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41944         exceptions.  Return 0.
41946 2010-05-07  Roland McGrath  <roland@redhat.com>
41948         * elf/ldconfig.c (main): Add a const.
41950 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
41952         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41953         (args_options): Add no-idn option.
41954         (ahosts_keys_int): Add idn_flags to ai_flags.
41955         (parse_option): Handle 'i' option to clear idn_flags.
41957         * malloc/malloc.c (_int_free): Possible race in the most recently
41958         added check.  Only act on the data if no current modification
41959         happened.
41961 See ChangeLog.17 for earlier changes.