stop supporting bash-1.x
[glibc.git] / ChangeLog
bloba9cff1d80946343a2ff970e04936c69871357b62
1 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3         * config.make.in (have-bash2): Delete.
4         * configure.ac (libc_cv_have_bash2): Delete.
5         * configure: Regenerate.
6         * elf/Makefile (common-ldd-rewrite): Rename to ...
7         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8         (sh-ldd-rewrite): Delete.
9         (bash-ldd-rewrite): Delete.
10         (have-bash2): Delete checks.
11         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
13 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
15         * config.make.in (have-ksh): Delete.
16         (KSH): Delete.
17         * configure.ac (libc_cv_have_ksh): Delete.
18         * configure: Regenerate.
20 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22         * elf/Makefile: Delete $(have-ksh) check.
23         ($(objpfx)sotruss): Change KSH to BASH.
24         * elf/sotruss.ksh: Rename to ...
25         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
26         function style to match POSIX.  Drop ksh vim mode setting.
28 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
30         * manual/time.texi (Specifying the Time Zone with TZ): Change
31         Tuesday to Thursday.
33 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
35         * debug/tst-longjmp_chk2.c: Update header comment.
36         (stackoverflow_handler): Add comment.  Call assert on pass value.
38 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41         (HAVE_AVX512_ASM_SUPPORT): Likewise.
42         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43         (La_x86_64_vector): Add zmm.
44         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
45         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
46         ($(objpfx)tst-audit10): New target.
47         ($(objpfx)tst-audit10.out): Likewise.
48         (tst-audit10-ENV): New.
49         (AVX512-CFLAGS): Likewise.
50         (CFLAGS-tst-audit10.c): Likewise.
51         (CFLAGS-tst-auditmod10a.c): Likewise.
52         (CFLAGS-tst-auditmod10b.c): Likewise.
53         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
55         * sysdeps/x86_64/configure: Regenerated.
56         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
57         AVX-512 zmm register support.
58         (_dl_x86_64_save_sse): Likewise.
59         (_dl_x86_64_restore_sse): Likewise.
60         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
61         size vector registers.
62         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
63         (ZMM_SIZE): Likewise.
64         * sysdeps/x86_64/tst-audit10.c: New file.
65         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
66         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
68 2014-03-13  Roland McGrath  <roland@hack.frob.com>
70         * configure.ac (HAVE_EHDR_START): New check.
71         * configure: Regenerated.
72         * config.h.in (HAVE_EHDR_START): New #undef.
73         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
74         assuming the lowest-addressed segment maps the start of the file.
76 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
78         * INSTALL: Regenerated.
80 2014-03-13  Will Newton  <will.newton@linaro.org>
82         * manual/setjmp.texi (System V contexts): Improve
83         clarity and grammar of documentation.
85 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
87         [BZ #16381]
88         * elf/Makefile (tests): Add tst-pie2.
89         (tests-pie): Add tst-pie2.
90         * elf/tst-pie2.c: New file.
91         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
92         for ET_EXEC.
93         * elf/rtld.c (map_doit): Load executable as lt_executable.
94         (dl_main): Likewise.
96 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
98         [BZ #16642]
99         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
100         (__ASSUME_PSELECT): Undefine.
102 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
104         [BZ #16689]
105         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
106         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
107         static build.
108         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
109         selector for static builds.
111 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
113         [BZ #16695]
114         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
115         key in the buffer.
117 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
119         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
120         selector for static builds.
122 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
124         * sysdeps/mips/math_private.h [__mips_hard_float]
125         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
126         libc_feresetround_mips_ctx.
127         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
128         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
129         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
131         [BZ #16677]
132         * math/s_nextafter.c (__nextafter): Do not return value from
133         overflowing computation.
134         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
135         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
136         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
137         Likewise.
138         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
139         Likewise.
140         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
141         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
143 2014-03-11  Roland McGrath  <roland@hack.frob.com>
145         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
146         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
147         Move sfi_sp use from the load-multiple (that no longer sets sp) to
148         the new mov targetting sp.
150 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
152         [BZ #16683]
153         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
154         Define it for static builds as well.
155         (NO_BZERO_IMPL): Likewise.
157 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
159         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
160         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
161         multiarch strspn for PPC64.
162         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
163         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
165         (__libc_ifunc_impl_list): Likewise.
166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
167         multiarch optimizations
168         * string/strspn.c (strspn): Using macro to redefine symbol name.
170 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
171             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
173         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
174         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
175         multiarch strncat for PPC64.
176         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
177         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
179         (__libc_ifunc_impl_list): Likewise.
180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
181         multiarch optimizations
183 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
185         [BZ #16639]
186         * nscd/nscd.service: Make service type forking.
188 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
190         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
191         sign in non default rounding modes.
192         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
194 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
196         * math/libm-test.inc (ALL_RM_TEST): New macro.
197         (ceil_test): Use ALL_RM_TEST.
198         (cimag_test): Likewise.
199         (conj_test): Likewise.
200         (copysign_test): Likewise.
201         (cproj_test): Likewise.
202         (creal_test): Likewise.
203         (fabs_test): Likewise.
204         (floor_test): Likewise.
205         (fmax_test): Likewise.
206         (fmin_test): Likewise.
207         (fmod_test): Likewise.
208         (fpclassify_test): Likewise.
209         (frexp_test): Likewise.
210         (ilogb_test): Likewise.
211         (isfinite_test): Likewise.
212         (finite_test): Likewise.
213         (isgreater_test): Likewise.
214         (isgreaterequal_test): Likewise.
215         (isinf_test): Likewise.
216         (isless_test): Likewise.
217         (islessequal_test): Likewise.
218         (islessgreater_test): Likewise.
219         (isnan_test): Likewise.
220         (isnormal_test): Likewise.
221         (issignaling_test): Likewise.
222         (isunordered_test): Likewise.
223         (logb_test): Likewise.
224         (logb_downward_test_data): Remove.
225         (logb_test_downward): Likewise.
226         (lround_test): Use ALL_RM_TEST.
227         (llround_test): Likewise.
228         (modf_test): Likewise.
229         (nexttoward_test): Likewise.
230         (remainder_test): Likewise.
231         (drem_test): Likewise.
232         (remainder_tonearest_test_data): Likewise.
233         (remainder_test_tonearest): Likewise.
234         (drem_test_tonearest): Likewise.
235         (remainder_towardzero_test_data): Likewise.
236         (remainder_test_towardzero): Likewise.
237         (drem_test_towardzero): Likewise.
238         (remainder_downward_test_data): Likewise.
239         (remainder_test_downward): Likewise.
240         (drem_test_downward): Likewise.
241         (remainder_upward_test_data): Likewise.
242         (remainder_test_upward): Likewise.
243         (drem_test_upward): Likewise.
244         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
245         (round_test): Use ALL_RM_TEST.
246         (signbit_test): Likewise.
247         (trunc_test): Likewise.
248         (significand_test): Likewise.
249         (main): Don't call removed functions.
251 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
253         [BZ #16674]
254         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
255         || __USE_XOPEN2K8].
256         (ILL_ILLOPN): Likewise.
257         (ILL_ILLADR): Likewise.
258         (ILL_ILLTRP): Likewise.
259         (ILL_PRVOPC): Likewise.
260         (ILL_PRVREG): Likewise.
261         (ILL_COPROC): Likewise.
262         (ILL_BADSTK): Likewise.
263         (FPE_INTDIV): Likewise.
264         (FPE_INTOVF): Likewise.
265         (FPE_FLTDIV): Likewise.
266         (FPE_FLTOVF): Likewise.
267         (FPE_FLTUND): Likewise.
268         (FPE_FLTRES): Likewise.
269         (FPE_FLTINV): Likewise.
270         (FPE_FLTSUB): Likewise.
271         (SEGV_MAPERR): Likewise.
272         (SEGV_ACCERR): Likewise.
273         (BUS_ADRALN): Likewise.
274         (BUS_ADRERR): Likewise.
275         (BUS_OBJERR): Likewise.
276         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
277         (TRAP_TRACE): Likewise.
278         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
279         __USE_XOPEN2K8].
280         (CLD_KILLED): Likewise.
281         (CLD_DUMPED): Likewise.
282         (CLD_TRAPPED): Likewise.
283         (CLD_STOPPED): Likewise.
284         (CLD_CONTINUED): Likewise.
285         (POLL_IN): Likewise.
286         (POLL_OUT): Likewise.
287         (POLL_MSG): Likewise.
288         (POLL_ERR): Likewise.
289         (POLL_PRI): Likewise.
290         (POLL_HUP): Likewise.
291         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
292         Likewise.
293         (ILL_ILLOPN): Likewise.
294         (ILL_ILLADR): Likewise.
295         (ILL_ILLTRP): Likewise.
296         (ILL_PRVOPC): Likewise.
297         (ILL_PRVREG): Likewise.
298         (ILL_COPROC): Likewise.
299         (ILL_BADSTK): Likewise.
300         (FPE_INTDIV): Likewise.
301         (FPE_INTOVF): Likewise.
302         (FPE_FLTDIV): Likewise.
303         (FPE_FLTOVF): Likewise.
304         (FPE_FLTUND): Likewise.
305         (FPE_FLTRES): Likewise.
306         (FPE_FLTINV): Likewise.
307         (FPE_FLTSUB): Likewise.
308         (SEGV_MAPERR): Likewise.
309         (SEGV_ACCERR): Likewise.
310         (BUS_ADRALN): Likewise.
311         (BUS_ADRERR): Likewise.
312         (BUS_OBJERR): Likewise.
313         (BUS_MCEERR_AR): Likewise.
314         (BUS_MCEERR_AO): Likewise.
315         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
316         (TRAP_TRACE): Likewise.
317         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
318         __USE_XOPEN2K8].
319         (CLD_KILLED): Likewise.
320         (CLD_DUMPED): Likewise.
321         (CLD_TRAPPED): Likewise.
322         (CLD_STOPPED): Likewise.
323         (CLD_CONTINUED): Likewise.
324         (POLL_IN): Likewise.
325         (POLL_OUT): Likewise.
326         (POLL_MSG): Likewise.
327         (POLL_ERR): Likewise.
328         (POLL_PRI): Likewise.
329         (POLL_HUP): Likewise.
330         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
331         (ILL_ILLOPN): Likewise.
332         (ILL_ILLADR): Likewise.
333         (ILL_ILLTRP): Likewise.
334         (ILL_PRVOPC): Likewise.
335         (ILL_PRVREG): Likewise.
336         (ILL_COPROC): Likewise.
337         (ILL_BADSTK): Likewise.
338         (FPE_INTDIV): Likewise.
339         (FPE_INTOVF): Likewise.
340         (FPE_FLTDIV): Likewise.
341         (FPE_FLTOVF): Likewise.
342         (FPE_FLTUND): Likewise.
343         (FPE_FLTRES): Likewise.
344         (FPE_FLTINV): Likewise.
345         (FPE_FLTSUB): Likewise.
346         (SEGV_MAPERR): Likewise.
347         (SEGV_ACCERR): Likewise.
348         (BUS_ADRALN): Likewise.
349         (BUS_ADRERR): Likewise.
350         (BUS_OBJERR): Likewise.
351         (BUS_MCEERR_AR): Likewise.
352         (BUS_MCEERR_AO): Likewise.
353         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
354         (TRAP_TRACE): Likewise.
355         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
356         __USE_XOPEN2K8].
357         (CLD_KILLED): Likewise.
358         (CLD_DUMPED): Likewise.
359         (CLD_TRAPPED): Likewise.
360         (CLD_STOPPED): Likewise.
361         (CLD_CONTINUED): Likewise.
362         (POLL_IN): Likewise.
363         (POLL_OUT): Likewise.
364         (POLL_MSG): Likewise.
365         (POLL_ERR): Likewise.
366         (POLL_PRI): Likewise.
367         (POLL_HUP): Likewise.
368         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
369         Likewise.
370         (ILL_ILLOPN): Likewise.
371         (ILL_ILLADR): Likewise.
372         (ILL_ILLTRP): Likewise.
373         (ILL_PRVOPC): Likewise.
374         (ILL_PRVREG): Likewise.
375         (ILL_COPROC): Likewise.
376         (ILL_BADSTK): Likewise.
377         (ILL_BADIADDR): Likewise.
378         (ILL_BREAK): Likewise.
379         (FPE_INTDIV): Likewise.
380         (FPE_INTOVF): Likewise.
381         (FPE_FLTDIV): Likewise.
382         (FPE_FLTOVF): Likewise.
383         (FPE_FLTUND): Likewise.
384         (FPE_FLTRES): Likewise.
385         (FPE_FLTINV): Likewise.
386         (FPE_FLTSUB): Likewise.
387         (FPE_DECOVF): Likewise.
388         (FPE_DECDIV): Likewise.
389         (FPE_DECERR): Likewise.
390         (FPE_INVASC): Likewise.
391         (FPE_INVDEC): Likewise.
392         (SEGV_MAPERR): Likewise.
393         (SEGV_ACCERR): Likewise.
394         (SEGV_PSTKOVF): Likewise.
395         (BUS_ADRALN): Likewise.
396         (BUS_ADRERR): Likewise.
397         (BUS_OBJERR): Likewise.
398         (BUS_MCEERR_AR): Likewise.
399         (BUS_MCEERR_AO): Likewise.
400         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
401         (TRAP_TRACE): Likewise.
402         (TRAP_BRANCH): Likewise.
403         (TRAP_HWBKPT): Likewise.
404         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
405         __USE_XOPEN2K8].
406         (CLD_KILLED): Likewise.
407         (CLD_DUMPED): Likewise.
408         (CLD_TRAPPED): Likewise.
409         (CLD_STOPPED): Likewise.
410         (CLD_CONTINUED): Likewise.
411         (POLL_IN): Likewise.
412         (POLL_OUT): Likewise.
413         (POLL_MSG): Likewise.
414         (POLL_ERR): Likewise.
415         (POLL_PRI): Likewise.
416         (POLL_HUP): Likewise.
417         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
418         (ILL_ILLOPN): Likewise.
419         (ILL_ILLADR): Likewise.
420         (ILL_ILLTRP): Likewise.
421         (ILL_PRVOPC): Likewise.
422         (ILL_PRVREG): Likewise.
423         (ILL_COPROC): Likewise.
424         (ILL_BADSTK): Likewise.
425         (FPE_INTDIV): Likewise.
426         (FPE_INTOVF): Likewise.
427         (FPE_FLTDIV): Likewise.
428         (FPE_FLTOVF): Likewise.
429         (FPE_FLTUND): Likewise.
430         (FPE_FLTRES): Likewise.
431         (FPE_FLTINV): Likewise.
432         (FPE_FLTSUB): Likewise.
433         (SEGV_MAPERR): Likewise.
434         (SEGV_ACCERR): Likewise.
435         (BUS_ADRALN): Likewise.
436         (BUS_ADRERR): Likewise.
437         (BUS_OBJERR): Likewise.
438         (BUS_MCEERR_AR): Likewise.
439         (BUS_MCEERR_AO): Likewise.
440         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
441         (TRAP_TRACE): Likewise.
442         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
443         __USE_XOPEN2K8].
444         (CLD_KILLED): Likewise.
445         (CLD_DUMPED): Likewise.
446         (CLD_TRAPPED): Likewise.
447         (CLD_STOPPED): Likewise.
448         (CLD_CONTINUED): Likewise.
449         (POLL_IN): Likewise.
450         (POLL_OUT): Likewise.
451         (POLL_MSG): Likewise.
452         (POLL_ERR): Likewise.
453         (POLL_PRI): Likewise.
454         (POLL_HUP): Likewise.
455         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
456         (ILL_ILLOPN): Likewise.
457         (ILL_ILLADR): Likewise.
458         (ILL_ILLTRP): Likewise.
459         (ILL_PRVOPC): Likewise.
460         (ILL_PRVREG): Likewise.
461         (ILL_COPROC): Likewise.
462         (ILL_BADSTK): Likewise.
463         (FPE_INTDIV): Likewise.
464         (FPE_INTOVF): Likewise.
465         (FPE_FLTDIV): Likewise.
466         (FPE_FLTOVF): Likewise.
467         (FPE_FLTUND): Likewise.
468         (FPE_FLTRES): Likewise.
469         (FPE_FLTINV): Likewise.
470         (FPE_FLTSUB): Likewise.
471         (SEGV_MAPERR): Likewise.
472         (SEGV_ACCERR): Likewise.
473         (BUS_ADRALN): Likewise.
474         (BUS_ADRERR): Likewise.
475         (BUS_OBJERR): Likewise.
476         (BUS_MCEERR_AR): Likewise.
477         (BUS_MCEERR_AO): Likewise.
478         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
479         (TRAP_TRACE): Likewise.
480         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
481         __USE_XOPEN2K8].
482         (CLD_KILLED): Likewise.
483         (CLD_DUMPED): Likewise.
484         (CLD_TRAPPED): Likewise.
485         (CLD_STOPPED): Likewise.
486         (CLD_CONTINUED): Likewise.
487         (POLL_IN): Likewise.
488         (POLL_OUT): Likewise.
489         (POLL_MSG): Likewise.
490         (POLL_ERR): Likewise.
491         (POLL_PRI): Likewise.
492         (POLL_HUP): Likewise.
493         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
494         (ILL_ILLOPN): Likewise.
495         (ILL_ILLADR): Likewise.
496         (ILL_ILLTRP): Likewise.
497         (ILL_PRVOPC): Likewise.
498         (ILL_PRVREG): Likewise.
499         (ILL_COPROC): Likewise.
500         (ILL_BADSTK): Likewise.
501         (FPE_INTDIV): Likewise.
502         (FPE_INTOVF): Likewise.
503         (FPE_FLTDIV): Likewise.
504         (FPE_FLTOVF): Likewise.
505         (FPE_FLTUND): Likewise.
506         (FPE_FLTRES): Likewise.
507         (FPE_FLTINV): Likewise.
508         (FPE_FLTSUB): Likewise.
509         (SEGV_MAPERR): Likewise.
510         (SEGV_ACCERR): Likewise.
511         (BUS_ADRALN): Likewise.
512         (BUS_ADRERR): Likewise.
513         (BUS_OBJERR): Likewise.
514         (BUS_MCEERR_AR): Likewise.
515         (BUS_MCEERR_AO): Likewise.
516         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
517         (TRAP_TRACE): Likewise.
518         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
519         __USE_XOPEN2K8].
520         (CLD_KILLED): Likewise.
521         (CLD_DUMPED): Likewise.
522         (CLD_TRAPPED): Likewise.
523         (CLD_STOPPED): Likewise.
524         (CLD_CONTINUED): Likewise.
525         (POLL_IN): Likewise.
526         (POLL_OUT): Likewise.
527         (POLL_MSG): Likewise.
528         (POLL_ERR): Likewise.
529         (POLL_PRI): Likewise.
530         (POLL_HUP): Likewise.
531         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
532         (ILL_ILLOPN): Likewise.
533         (ILL_ILLADR): Likewise.
534         (ILL_ILLTRP): Likewise.
535         (ILL_PRVOPC): Likewise.
536         (ILL_PRVREG): Likewise.
537         (ILL_COPROC): Likewise.
538         (ILL_BADSTK): Likewise.
539         (ILL_DBLFLT): Likewise.
540         (ILL_HARDWALL): Likewise.
541         (FPE_INTDIV): Likewise.
542         (FPE_INTOVF): Likewise.
543         (FPE_FLTDIV): Likewise.
544         (FPE_FLTOVF): Likewise.
545         (FPE_FLTUND): Likewise.
546         (FPE_FLTRES): Likewise.
547         (FPE_FLTINV): Likewise.
548         (FPE_FLTSUB): Likewise.
549         (SEGV_MAPERR): Likewise.
550         (SEGV_ACCERR): Likewise.
551         (BUS_ADRALN): Likewise.
552         (BUS_ADRERR): Likewise.
553         (BUS_OBJERR): Likewise.
554         (BUS_MCEERR_AR): Likewise.
555         (BUS_MCEERR_AO): Likewise.
556         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
557         (TRAP_TRACE): Likewise.
558         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
559         __USE_XOPEN2K8].
560         (CLD_KILLED): Likewise.
561         (CLD_DUMPED): Likewise.
562         (CLD_TRAPPED): Likewise.
563         (CLD_STOPPED): Likewise.
564         (CLD_CONTINUED): Likewise.
565         (POLL_IN): Likewise.
566         (POLL_OUT): Likewise.
567         (POLL_MSG): Likewise.
568         (POLL_ERR): Likewise.
569         (POLL_PRI): Likewise.
570         (POLL_HUP): Likewise.
571         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
572         (ILL_ILLOPN): Likewise.
573         (ILL_ILLADR): Likewise.
574         (ILL_ILLTRP): Likewise.
575         (ILL_PRVOPC): Likewise.
576         (ILL_PRVREG): Likewise.
577         (ILL_COPROC): Likewise.
578         (ILL_BADSTK): Likewise.
579         (FPE_INTDIV): Likewise.
580         (FPE_INTOVF): Likewise.
581         (FPE_FLTDIV): Likewise.
582         (FPE_FLTOVF): Likewise.
583         (FPE_FLTUND): Likewise.
584         (FPE_FLTRES): Likewise.
585         (FPE_FLTINV): Likewise.
586         (FPE_FLTSUB): Likewise.
587         (SEGV_MAPERR): Likewise.
588         (SEGV_ACCERR): Likewise.
589         (BUS_ADRALN): Likewise.
590         (BUS_ADRERR): Likewise.
591         (BUS_OBJERR): Likewise.
592         (BUS_MCEERR_AR): Likewise.
593         (BUS_MCEERR_AO): Likewise.
594         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
595         (TRAP_TRACE): Likewise.
596         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
597         __USE_XOPEN2K8].
598         (CLD_KILLED): Likewise.
599         (CLD_DUMPED): Likewise.
600         (CLD_TRAPPED): Likewise.
601         (CLD_STOPPED): Likewise.
602         (CLD_CONTINUED): Likewise.
603         (POLL_IN): Likewise.
604         (POLL_OUT): Likewise.
605         (POLL_MSG): Likewise.
606         (POLL_ERR): Likewise.
607         (POLL_PRI): Likewise.
608         (POLL_HUP): Likewise.
609         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
610         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
612         [BZ #16670]
613         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
614         before #include of <time.h>.
615         [!__USE_XOPEN2K] (__need_timespec): Likewise.
616         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
617         (test-xfail-UNIX98/sched.h/conform): Likewise.
619 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
621         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
622         error absence of trapping exception support.
623         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
625 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
627         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
628         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
629         * timezone/Makefile (testdata): Move definition above include of
630         Rules.
631         (test-zones): New variable.
632         (tests-special): Add zone files.
633         (build-testdata): Use $(evaluate-test).
635         * elf/Makefile (tests-special): Rename tests to end with .out.
636         ($(objpfx)noload-mem): Likewise.
637         ($(objpfx)tst-leaks1-mem): Likewise.
638         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
639         * iconv/Makefile (xtests-special): Change test-iconvconfig to
640         $(objpfx)test-iconvconfig.out.
641         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
642         set -e inside subshell and redirect output to file.
643         * iconvdata/Makefile (generated): Rename tests to end with .out.
644         Correct type.
645         (tests-special): Rename tests to end with .out.
646         ($(objpfx)mtrace-tst-loading): Likewise.
647         * intl/Makefile (generated): Likewise.
648         (tests-special): Likewise.
649         ($(objpfx)mtrace-tst-gettext): Likewise.
650         * misc/Makefile (generated): Likewise.
651         (tests-special): Likewise.
652         ($(objpfx)tst-error1-mem): Likewise.
653         * nptl/Makefile (tests-special): Likewise.
654         ($(objpfx)tst-stack3-mem): Likewise.
655         (generated): Likewise.
656         * posix/Makefile (generated): Likewise.
657         (tests-special): Likewise.
658         (xtests-special): Likewise.
659         ($(objpfx)tst-fnmatch-mem): Likewise.
660         ($(objpfx)bug-regex2-mem): Likewise.
661         ($(objpfx)bug-regex14-mem): Likewise.
662         ($(objpfx)bug-regex21-mem): Likewise.
663         ($(objpfx)bug-regex31-mem): Likewise.
664         ($(objpfx)tst-vfork3-mem): Likewise.
665         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
666         ($(objpfx)tst-pcre-mem): Likewise.
667         ($(objpfx)tst-boost-mem): Likewise.
668         ($(objpfx)bug-ga2-mem): Likewise.
669         ($(objpfx)bug-glob2-mem): Likewise.
670         * resolv/Makefile (generate): Likewise.
671         (tests-special): Likewise.
672         (xtests-special): Likewise.
673         (generated): Likewise.
674         ($(objpfx)mtrace-tst-leaks): Likewise.
675         ($(objpfx)mtrace-tst-leaks2): Likewise.
677         * scripts/merge-test-results.sh: New file.
678         * Makefile (tests-special-notdir): New variable.
679         (tests): Run merge-test-results.sh.
680         (xtests): Likewise.
681         * Rules (tests-special-notdir): New variable.
682         (xtests-special-notdir): Likewise.
683         (tests): Run merge-test-results.sh
684         (xtests): Likewise.
686         * Makeconfig (test-xfail-name): New variable.
687         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
688         compute variable name for expected failures.
689         * conform/Makefile (conformtest-headers-data): New variable.
690         (conformtest-standards): Likewise.
691         (conformtest-headers-ISO): Likewise.
692         (conformtest-headers-ISO99): Likewise.
693         (conformtest-headers-ISO11): Likewise.
694         (conformtest-headers-POSIX): Likewise.
695         (conformtest-headers-XPG3): Likewise.
696         (conformtest-headers-XPG4): Likewise.
697         (conformtest-headers-UNIX98): Likewise.
698         (conformtest-headers-XOPEN2K): Likewise.
699         (conformtest-headers-POSIX2008): Likewise.
700         (conformtest-headers-XOPEN2K8): Likewise.
701         (conformtest-header-list-base): Likewise.
702         (conformtest-header-list-tests): Likewise.
703         (conformtest-header-base): Likewise.
704         (conformtest-header-tests): Likewise.
705         (tests-special): Add $(conformtest-header-list-tests).  If
706         [$(fast-check) && !$(cross-compiling)], add
707         $(conformtest-header-tests) instead of
708         $(objpfx)run-conformtest.out.
709         (generated): Add $(conformtest-header-list-base).  If
710         [$(fast-check) && !$(cross-compiling)], add
711         $(conformtest-header-base).  Remove previous setting.
712         ($(conformtest-header-list-tests)): New target.
713         (test-xfail-run-conformtest): Remove variable.
714         ($(objpfx)run-conformtest.out): Remove target.
715         (test-xfail-ISO11/complex.h/conform): New variable.
716         (test-xfail-ISO11/stdalign.h/conform): Likewise.
717         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
718         (test-xfail-XPG3/varargs.h/conform): Likewise.
719         (test-xfail-XPG4/varargs.h/conform): Likewise.
720         (test-xfail-UNIX98/varargs.h/conform): Likewise.
721         (test-xfail-XPG4/ndbm.h/conform): Likewise.
722         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
723         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
724         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
725         (test-xfail-XPG3/fcntl.h/conform): Likewise.
726         (test-xfail-XPG3/ftw.h/conform): Likewise.
727         (test-xfail-XPG3/grp.h/conform): Likewise.
728         (test-xfail-XPG3/langinfo.h/conform): Likewise.
729         (test-xfail-XPG3/limits.h/conform): Likewise.
730         (test-xfail-XPG3/pwd.h/conform): Likewise.
731         (test-xfail-XPG3/search.h/conform): Likewise.
732         (test-xfail-XPG3/signal.h/conform): Likewise.
733         (test-xfail-XPG3/stdio.h/conform): Likewise.
734         (test-xfail-XPG3/stdlib.h/conform): Likewise.
735         (test-xfail-XPG3/string.h/conform): Likewise.
736         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
737         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
738         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
739         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
740         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
741         (test-xfail-XPG3/sys/types.h/conform): Likewise.
742         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
743         (test-xfail-XPG3/termios.h/conform): Likewise.
744         (test-xfail-XPG3/time.h/conform): Likewise.
745         (test-xfail-XPG3/unistd.h/conform): Likewise.
746         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
747         (test-xfail-XPG4/fcntl.h/conform): Likewise.
748         (test-xfail-XPG4/langinfo.h/conform): Likewise.
749         (test-xfail-XPG4/netdb.h/conform): Likewise.
750         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
751         (test-xfail-XPG4/signal.h/conform): Likewise.
752         (test-xfail-XPG4/stdio.h/conform): Likewise.
753         (test-xfail-XPG4/stdlib.h/conform): Likewise.
754         (test-xfail-XPG4/stropts.h/conform): Likewise.
755         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
756         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
757         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
758         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
759         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
760         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
761         (test-xfail-XPG4/sys/time.h/conform): Likewise.
762         (test-xfail-XPG4/sys/types.h/conform): Likewise.
763         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
764         (test-xfail-XPG4/termios.h/conform): Likewise.
765         (test-xfail-XPG4/ucontext.h/conform): Likewise.
766         (test-xfail-XPG4/unistd.h/conform): Likewise.
767         (test-xfail-XPG4/utmpx.h/conform): Likewise.
768         (test-xfail-POSIX/sched.h/conform): Likewise.
769         (test-xfail-POSIX/signal.h/conform): Likewise.
770         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
771         (test-xfail-POSIX/tar.h/conform): Likewise.
772         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
773         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
774         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
775         (test-xfail-UNIX98/netdb.h/conform): Likewise.
776         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
777         (test-xfail-UNIX98/sched.h/conform): Likewise.
778         (test-xfail-UNIX98/signal.h/conform): Likewise.
779         (test-xfail-UNIX98/stdio.h/conform): Likewise.
780         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
781         (test-xfail-UNIX98/stropts.h/conform): Likewise.
782         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
783         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
784         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
785         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
786         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
787         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
788         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
789         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
790         (test-xfail-UNIX98/unistd.h/conform): Likewise.
791         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
792         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
793         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
794         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
795         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
796         (test-xfail-XOPEN2K/math.h/conform): Likewise.
797         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
798         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
799         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
800         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
801         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
802         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
803         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
804         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
805         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
806         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
807         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
808         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
809         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
810         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
811         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
812         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
813         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
814         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
815         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
816         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
817         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
818         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
819         (test-xfail-POSIX2008/signal.h/conform): Likewise.
820         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
821         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
822         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
823         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
824         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
825         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
826         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
827         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
828         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
829         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
830         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
831         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
832         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
833         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
834         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
835         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
836         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
837         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
838         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
839         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
840         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
841         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
842         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
843         (conformtest-cc-flags): Likewise.
844         ($(conformtest-header-tests): New target.
845         * conform/check-header-lists.sh: New file.
846         * conform/run-conformtest.sh: Remove.
848         * conform/conformtest.pl: Allow ' and \ in values given for
849         constants.
850         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
851         inclusion.
852         [POSIX] (sys/types.h): Likewise.
853         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
854         inclusion.
855         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
856         inclusion.
857         * conform/data/signal.h-data (SIGIO): Remove expectation.
858         [XPG3] (SIGBUS): Do not expect.
859         [POSIX || XPG3] (SIGPOLL): Likewise.
860         [POSIX || XPG3] (SIGPROF): Likewise.
861         [POSIX || XPG3] (SIGSYS): Likewise.
862         [XPG3] (SIGTRAP): Likewise.
863         [POSIX || XPG3] (SIGURG): Likewise.
864         [POSIX || XPG3] (SIGVTALRM): Likewise.
865         [POSIX || XPG3] (SIGXCPU): Likewise.
866         [POSIX || XPG3] (SIGXFSZ): Likewise.
867         [POSIX] (SA_SIGINFO): Expect.
868         [XPG3] (siginfo_t): Do not expect type or contents.
869         [POSIX] (si_pid): Do not expect element.
870         [POSIX] (si_uid): Likewise.
871         [POSIX] (si_addr): Likewise.
872         [POSIX] (si_status): Likewise.
873         [POSIX] (si_band): Likewise.
874         [XPG4] (si_value): Likewise.
875         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
876         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
877         [POSIX || XPG3] (ILL_ILLADR): Likewise.
878         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
879         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
880         [POSIX || XPG3] (ILL_PRVREG): Likewise.
881         [POSIX || XPG3] (ILL_COPROC): Likewise.
882         [POSIX || XPG3] (ILL_BADSTK): Likewise.
883         [POSIX || XPG3] (FPE_INTDIV): Likewise.
884         [POSIX || XPG3] (FPE_INTOVF): Likewise.
885         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
886         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
887         [POSIX || XPG3] (FPE_FLTUND): Likewise.
888         [POSIX || XPG3] (FPE_FLTRES): Likewise.
889         [POSIX || XPG3] (FPE_FLTINV): Likewise.
890         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
891         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
892         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
893         [POSIX || XPG3] (BUS_ADRALN): Likewise.
894         [POSIX || XPG3] (BUS_ADRERR): Likewise.
895         [POSIX || XPG3] (BUS_OBJERR): Likewise.
896         [POSIX || XPG3] (CLD_EXITED): Likewise.
897         [POSIX || XPG3] (CLD_KILLED): Likewise.
898         [POSIX || XPG3] (CLD_DUMPED): Likewise.
899         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
900         [POSIX || XPG3] (CLD_STOPPED): Likewise.
901         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
902         [POSIX || XPG3] (POLL_IN): Likewise.
903         [POSIX || XPG3] (POLL_OUT): Likewise.
904         [POSIX || XPG3] (POLL_MSG): Likewise.
905         [POSIX || XPG3] (POLL_ERR): Likewise.
906         [POSIX || XPG3] (POLL_PRI): Likewise.
907         [POSIX || XPG3] (POLL_HUP): Likewise.
908         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
909         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
910         (SIG*): Do not allow.
911         [XPG3] (si_*): Likewise.
912         [XPG3] (SI_*): Likewise.
913         [XPG3 || XPG4] (sigev_*): Likewise.
914         [XPG3 || XPG4] (SIGEV_*): Likewise.
915         [XPG3 || XPG4] (sival_*): Likewise.
916         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
917         [POSIX || XPG3] (BUS_*): Likewise.
918         [POSIX || XPG3] (CLD_*): Likewise.
919         [POSIX || XPG3] (FPE_*): Likewise.
920         [POSIX || XPG3] (ILL_*): Likewise.
921         [POSIX || XPG3] (POLL_*): Likewise.
922         [POSIX || XPG3] (SEGV_*): Likewise.
923         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
924         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
925         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
926         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
927         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
928         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
929         Specify type and value.
930         (TVERSLEN): Likewise.
931         (REGTYPE): Likewise.
932         (AREGTYPE): Likewise.
933         (LNKTYPE): Likewise.
934         (SYMTYPE): Likewise.
935         (CHRTYPE): Likewise.
936         (BLKTYPE): Likewise.
937         (DIRTYPE): Likewise.
938         (FIFOTYPE): Likewise.
939         (CONTTYPE): Likewise.
940         (TSUID): Likewise.
941         (TSGID): Likewise.
942         (TSVTX): Likewise.
943         (TUREAD): Likewise.
944         (TUWRITE): Likewise.
945         (TUEXEC): Likewise.
946         (TGREAD): Likewise.
947         (TGWRITE): Likewise.
948         (TGEXEC): Likewise.
949         (TOREAD): Likewise.
950         (TOWRITE): Likewise.
951         (TOEXEC): Likewise.
952         [POSIX] (TSVTX): Expect constant.
954 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
956         * Makefile (tests): Change dependencies to ....
957         (tests-special): ... additions to this variable.
958         (tests): Depend on $(tests-special).
959         * Makerules (check-abi-list): New variable.
960         (check-abi): Depend on $(check-abi-list).
961         [$(subdir) = elf] (tests-special): Add
962         $(objpfx)check-abi-libc.out.
963         [$(build-shared) = yes && subdir] (tests-special): Add
964         $(check-abi-list).
965         [$(build-shared) = yes && subdir] (tests): Do not depend on
966         check-abi.
967         * Rules (tests): Depend on $(tests-special).
968         (xtests): Depend on $(xtests-special).
969         * catgets/Makefile (tests): Change dependencies to ....
970         (tests-special): ... additions to this variable.
971         * conform/Makefile (tests): Change dependencies to ....
972         (tests-special): ... additions to this variable.
973         * elf/Makefile (tests): Change dependencies to ....
974         (tests-special): ... additions to this variable.
975         * grp/Makefile (tests): Change dependencies to ....
976         (tests-special): ... additions to this variable.
977         * iconv/Makefile (xtests): Change dependencies to ....
978         (xtests-special): ... additions to this variable.
979         * iconvdata/Makefile (tests): Change dependencies to ....
980         (tests-special): ... additions to this variable.
981         * intl/Makefile (tests): Change dependencies to ....
982         (tests-special): ... additions to this variable.  Also add
983         $(objpfx)tst-gettext.out.
984         * io/Makefile (tests): Change dependencies to ....
985         (tests-special): ... additions to this variable.
986         * libio/Makefile (tests): Change dependencies to ....
987         (tests-special): ... additions to this variable.
988         * malloc/Makefile (tests): Change dependencies to ....
989         (tests-special): ... additions to this variable.
990         * misc/Makefile (tests): Change dependencies to ....
991         (tests-special): ... additions to this variable.
992         * nptl/Makefile (tests): Change dependencies to ....
993         (tests-special): ... additions to this variable.
994         * nptl_db/Makefile (tests): Change dependencies to ....
995         (tests-special): ... additions to this variable.
996         * posix/Makefile (tests): Change dependencies to ....
997         (tests-special): ... additions to this variable.
998         (xtests): Change dependencies to ....
999         (xtests-special): ... additions to this variable.
1000         * resolv/Makefile (tests): Change dependencies to ....
1001         (tests-special): ... additions to this variable.
1002         (xtests): Change dependencies to ....
1003         (xtests-special): ... additions to this variable.
1004         * stdio-common/Makefile (tests): Change dependencies to ....
1005         (tests-special): ... additions to this variable.
1006         (do-tst-unbputc): Remove target.
1007         (do-tst-printf): Likewise.
1008         * stdlib/Makefile (tests): Change dependencies to ....
1009         (tests-special): ... additions to this variable.
1010         * string/Makefile (tests): Change dependencies to ....
1011         (tests-special): ... additions to this variable.
1012         * sysdeps/x86/Makefile (tests): Change dependencies to ....
1013         (tests-special): ... additions to this variable.
1015         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1016         whole file.
1017         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1018         whole file.
1019         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1020         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1022         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1023         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1024         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1025         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1026         * conform/data/libgen.h-data [XPG3]: Likewise.
1027         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1028         * conform/data/ndbm.h-data [XPG3]: Likewise.
1029         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1030         * conform/data/netdb.h-data [XPG3]: Likewise.
1031         * conform/data/netinet/in.h-data [XPG3]: Likewise.
1032         * conform/data/poll.h-data [XPG3]: Likewise.
1033         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1034         * conform/data/strings.h-data [XPG3]: Likewise.
1035         * conform/data/stropts.h-data [XPG3]: Likewise.
1036         * conform/data/sys/mman.h-data [XPG3]: Likewise.
1037         * conform/data/sys/resource.h-data [XPG3]: Likewise.
1038         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1039         Likewise.
1040         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1041         * conform/data/sys/time.h-data [XPG3]: Likewise.
1042         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1043         * conform/data/sys/uio.h-data [XPG3]: Likewise.
1044         * conform/data/sys/un.h-data [XPG3]: Likewise.
1045         * conform/data/syslog.h-data [XPG3]: Likewise.
1046         * conform/data/ucontext.h-data [XPG3]: Likewise.
1047         * conform/data/utmpx.h-data [XPG3]: Likewise.
1048         * conform/data/varargs.h-data [UNIX98]: Enable file.
1050         * manual/Makefile (INSTALL_INFO): Remove variable setting.
1052         * math/libm-test.inc (struct test_f_f_data): Move expected results
1053         into structure for each rounding mode.
1054         (struct test_ff_f_data): Likewise.
1055         (struct test_ff_f_data_nexttoward): Likewise.
1056         (struct test_fi_f_data): Likewise.
1057         (struct test_fl_f_data): Likewise.
1058         (struct test_if_f_data): Likewise.
1059         (struct test_fff_f_data): Likewise.
1060         (struct test_c_f_data): Likewise.
1061         (struct test_f_f1_data): Likewise.
1062         (struct test_fF_f1_data): Likewise.
1063         (struct test_ffI_f1_data): Likewise.
1064         (struct test_c_c_data): Likewise.
1065         (struct test_cc_c_data): Likewise.
1066         (struct test_f_i_data): Likewise.
1067         (struct test_ff_i_data): Likewise.
1068         (struct test_f_l_data): Likewise.
1069         (struct test_f_L_data): Likewise.
1070         (struct test_fFF_11_data): Likewise.
1071         (RM_): New macro.
1072         (RM_FE_DOWNWARD): Likewise.
1073         (RM_FE_TONEAREST): Likewise.
1074         (RM_FE_TOWARDZERO): Likewise.
1075         (RM_FE_UPWARD): Likewise.
1076         (RUN_TEST_LOOP_f_f): Update references to expected results.
1077         (RUN_TEST_LOOP_2_f): Likewise.
1078         (RUN_TEST_LOOP_fff_f): Likewise.
1079         (RUN_TEST_LOOP_c_f): Likewise.
1080         (RUN_TEST_LOOP_f_f1): Likewise.
1081         (RUN_TEST_LOOP_fF_f1): Likewise.
1082         (RUN_TEST_LOOP_fI_f1): Likewise.
1083         (RUN_TEST_LOOP_ffI_f1): Likewise.
1084         (RUN_TEST_LOOP_c_c): Likewise.
1085         (RUN_TEST_LOOP_cc_c): Likewise.
1086         (RUN_TEST_LOOP_f_i): Likewise.
1087         (RUN_TEST_LOOP_f_i_tg): Likewise.
1088         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1089         (RUN_TEST_LOOP_f_b): Likewise.
1090         (RUN_TEST_LOOP_f_b_tg): Likewise.
1091         (RUN_TEST_LOOP_f_l): Likewise.
1092         (RUN_TEST_LOOP_f_L): Likewise.
1093         (RUN_TEST_LOOP_fFF_11): Likewise.
1094         * math/gen-libm-test.pl (parse_args): Output four copies of
1095         expected results for each test.
1097         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1098         (__ASSUME_UTIMES): Remove.
1099         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1100         (__ASSUME_UTIMES): Likewise.
1102         * math/gen-auto-libm-tests.c: Update comment on output format.
1103         (output_for_one_input_case): Generate before-rounding and
1104         after-rounding information as conditions on output flags not
1105         floating-point format.
1106         * math/auto-libm-test-out: Regenerated.
1107         * math/gen-libm-test.pl (cond_value): New function.
1108         (or_cond_value): Use cond_value.
1109         (generate_testfile): Handle conditional exceptions.
1111 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
1113         * math/libm-test.inc (max_valid_error): New variable.
1114         (init_max_error): Take new argument specifying whether function
1115         results are exactly determined.  Set max_valid_error and bound
1116         other variables for errors based on this argument.
1117         (set_max_error): Do not record results above max_valid_error.
1118         (check_float_internal): Only accept errors of up to 0.5ulps if
1119         also at most max_valid_error.
1120         (START): Take new argument EXACT and pass it to init_max_error.
1121         (acos_test): Update call to START.
1122         (acos_test_tonearest): Likewise.
1123         (acos_test_towardzero): Likewise.
1124         (acos_test_downward): Likewise.
1125         (acos_test_upward): Likewise.
1126         (acosh_test): Likewise.
1127         (asin_test): Likewise.
1128         (asin_test_tonearest): Likewise.
1129         (asin_test_towardzero): Likewise.
1130         (asin_test_downward): Likewise.
1131         (asin_test_upward): Likewise.
1132         (asinh_test): Likewise.
1133         (atan_test): Likewise.
1134         (atanh_test): Likewise.
1135         (atan2_test): Likewise.
1136         (cabs_test): Likewise.
1137         (cacos_test): Likewise.
1138         (cacosh_test): Likewise.
1139         (carg_test): Likewise.
1140         (casin_test): Likewise.
1141         (casinh_test): Likewise.
1142         (catan_test): Likewise.
1143         (catanh_test): Likewise.
1144         (cbrt_test): Likewise.
1145         (ccos_test): Likewise.
1146         (ccosh_test): Likewise.
1147         (ceil_test): Likewise.
1148         (cexp_test): Likewise.
1149         (cimag_test): Likewise.
1150         (clog_test): Likewise.
1151         (clog10_test): Likewise.
1152         (conj_test): Likewise.
1153         (copysign_test): Likewise.
1154         (cos_test): Likewise.
1155         (cos_test_tonearest): Likewise.
1156         (cos_test_towardzero): Likewise.
1157         (cos_test_downward): Likewise.
1158         (cos_test_upward): Likewise.
1159         (cosh_test): Likewise.
1160         (cosh_test_tonearest): Likewise.
1161         (cosh_test_towardzero): Likewise.
1162         (cosh_test_downward): Likewise.
1163         (cosh_test_upward): Likewise.
1164         (cpow_test): Likewise.
1165         (cproj_test): Likewise.
1166         (creal_test): Likewise.
1167         (csin_test): Likewise.
1168         (csinh_test): Likewise.
1169         (csqrt_test): Likewise.
1170         (ctan_test): Likewise.
1171         (ctan_test_tonearest): Likewise.
1172         (ctan_test_towardzero): Likewise.
1173         (ctan_test_downward): Likewise.
1174         (ctan_test_upward): Likewise.
1175         (ctanh_test): Likewise.
1176         (ctanh_test_tonearest): Likewise.
1177         (ctanh_test_towardzero): Likewise.
1178         (ctanh_test_downward): Likewise.
1179         (ctanh_test_upward): Likewise.
1180         (erf_test): Likewise.
1181         (erfc_test): Likewise.
1182         (exp_test): Likewise.
1183         (exp_test_tonearest): Likewise.
1184         (exp_test_towardzero): Likewise.
1185         (exp_test_downward): Likewise.
1186         (exp_test_upward): Likewise.
1187         (exp10_test): Likewise.
1188         (exp10_test_tonearest): Likewise.
1189         (exp10_test_towardzero): Likewise.
1190         (exp10_test_downward): Likewise.
1191         (exp10_test_upward): Likewise.
1192         (pow10_test): Likewise.
1193         (exp2_test): Likewise.
1194         (expm1_test): Likewise.
1195         (expm1_test_tonearest): Likewise.
1196         (expm1_test_towardzero): Likewise.
1197         (expm1_test_downward): Likewise.
1198         (expm1_test_upward): Likewise.
1199         (fabs_test): Likewise.
1200         (fdim_test): Likewise.
1201         (floor_test): Likewise.
1202         (fma_test): Likewise.
1203         (fma_test_towardzero): Likewise.
1204         (fma_test_downward): Likewise.
1205         (fma_test_upward): Likewise.
1206         (fmax_test): Likewise.
1207         (fmin_test): Likewise.
1208         (fmod_test): Likewise.
1209         (fpclassify_test): Likewise.
1210         (frexp_test): Likewise.
1211         (hypot_test): Likewise.
1212         (ilogb_test): Likewise.
1213         (isfinite_test): Likewise.
1214         (finite_test): Likewise.
1215         (isgreater_test): Likewise.
1216         (isgreaterequal_test): Likewise.
1217         (isinf_test): Likewise.
1218         (isless_test): Likewise.
1219         (islessequal_test): Likewise.
1220         (islessgreater_test): Likewise.
1221         (isnan_test): Likewise.
1222         (isnormal_test): Likewise.
1223         (issignaling_test): Likewise.
1224         (isunordered_test): Likewise.
1225         (j0_test): Likewise.
1226         (j1_test): Likewise.
1227         (jn_test): Likewise.
1228         (ldexp_test): Likewise.
1229         (lgamma_test): Likewise.
1230         (gamma_test): Likewise.
1231         (lrint_test): Likewise.
1232         (lrint_test_tonearest): Likewise.
1233         (lrint_test_towardzero): Likewise.
1234         (lrint_test_downward): Likewise.
1235         (lrint_test_upward): Likewise.
1236         (llrint_test): Likewise.
1237         (llrint_test_tonearest): Likewise.
1238         (llrint_test_towardzero): Likewise.
1239         (llrint_test_downward): Likewise.
1240         (llrint_test_upward): Likewise.
1241         (log_test): Likewise.
1242         (log10_test): Likewise.
1243         (log1p_test): Likewise.
1244         (log2_test): Likewise.
1245         (logb_test): Likewise.
1246         (logb_test_downward): Likewise.
1247         (lround_test): Likewise.
1248         (llround_test): Likewise.
1249         (modf_test): Likewise.
1250         (nearbyint_test): Likewise.
1251         (nextafter_test): Likewise.
1252         (nexttoward_test): Likewise.
1253         (pow_test): Likewise.
1254         (pow_test_tonearest): Likewise.
1255         (pow_test_towardzero): Likewise.
1256         (pow_test_downward): Likewise.
1257         (pow_test_upward): Likewise.
1258         (remainder_test): Likewise.
1259         (drem_test): Likewise.
1260         (remainder_test_tonearest): Likewise.
1261         (drem_test_tonearest): Likewise.
1262         (remainder_test_towardzero): Likewise.
1263         (drem_test_towardzero): Likewise.
1264         (remainder_test_downward): Likewise.
1265         (drem_test_downward): Likewise.
1266         (remainder_test_upward): Likewise.
1267         (drem_test_upward): Likewise.
1268         (remquo_test): Likewise.
1269         (rint_test): Likewise.
1270         (rint_test_tonearest): Likewise.
1271         (rint_test_towardzero): Likewise.
1272         (rint_test_downward): Likewise.
1273         (rint_test_upward): Likewise.
1274         (round_test): Likewise.
1275         (scalb_test): Likewise.
1276         (scalbn_test): Likewise.
1277         (scalbln_test): Likewise.
1278         (signbit_test): Likewise.
1279         (sin_test): Likewise.
1280         (sin_test_tonearest): Likewise.
1281         (sin_test_towardzero): Likewise.
1282         (sin_test_downward): Likewise.
1283         (sin_test_upward): Likewise.
1284         (sincos_test): Likewise.
1285         (sinh_test): Likewise.
1286         (sinh_test_tonearest): Likewise.
1287         (sinh_test_towardzero): Likewise.
1288         (sinh_test_downward): Likewise.
1289         (sinh_test_upward): Likewise.
1290         (sqrt_test): Likewise.
1291         (sqrt_test_tonearest): Likewise.
1292         (sqrt_test_towardzero): Likewise.
1293         (sqrt_test_downward): Likewise.
1294         (sqrt_test_upward): Likewise.
1295         (tan_test): Likewise.
1296         (tan_test_tonearest): Likewise.
1297         (tan_test_towardzero): Likewise.
1298         (tan_test_downward): Likewise.
1299         (tan_test_upward): Likewise.
1300         (tanh_test): Likewise.
1301         (tgamma_test): Likewise.
1302         (trunc_test): Likewise.
1303         (y0_test): Likewise.
1304         (y1_test): Likewise.
1305         (yn_test): Likewise.
1306         (significand_test): Likewise.
1308         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1309         individual tests in comment.
1310         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1311         (prev_max_error): New variable.
1312         (prev_real_max_error): Likewise.
1313         (prev_imag_max_error): Likewise.
1314         (compare_ulp_data): Don't refer to test names in comment.
1315         (find_test_ulps): Remove function.
1316         (find_function_ulps): Likewise.
1317         (find_complex_function_ulps): Likewise.
1318         (init_max_error): Take function name as argument.  Look up ulps
1319         for that function.
1320         (print_ulps): Remove function.
1321         (print_max_error): Use prev_max_error instead of calling
1322         find_function_ulps.
1323         (print_complex_max_error): Use prev_real_max_error and
1324         prev_imag_max_error instead of calling find_complex_function_ulps.
1325         (check_float_internal): Take max_ulp parameter instead of calling
1326         find_test_ulps.  Don't call print_ulps.
1327         (check_float): Update call to check_float_internal.
1328         (check_complex): Update calls to check_float_internal.
1329         (START): Pass argument to init_max_error.
1330         * math/gen-libm-test.pl (%results): Don't include "kind"
1331         information.
1332         (parse_ulps): Don't handle ulps of individual tests.
1333         (print_ulps_file): Likewise.
1334         (output_ulps): Likewise.
1335         * math/README.libm-test: Update.
1336         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1337         individual tests.
1338         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1339         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1340         * sysdeps/arm/libm-test-ulps: Likewise.
1341         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1342         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1343         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1344         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1345         * sysdeps/microblaze/libm-test-ulps: Likewise.
1346         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1347         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1348         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1349         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1350         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1351         * sysdeps/sh/libm-test-ulps: Likewise.
1352         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1353         * sysdeps/tile/libm-test-ulps: Likewise.
1354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1356 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
1358         * math/libm-test.inc (print_complex_max_error): Check separately
1359         whether real and imaginary errors are within allowed range and
1360         pass 0 to print_complex_function_ulps instead of value within
1361         allowed range.
1363 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1365         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1366         formatting.
1367         (get_handles_fopen): Likewise.
1368         (do_write_test): Likewise.
1370         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1372         * libio/fileops.c (do_ftell): Use cached offset when
1373         available.
1374         * libio/iofwide.c (do_ftell_wide): Likewise.
1375         * libio/iofdopen.c (_IO_new_fdopen): Don't use
1376         _IO_file_attach.
1377         * libio/wfileops.c (_IO_fwide): Don't cache offset.
1379         [BZ #16532]
1380         * libio/libioP.h (get_file_offset): New function.
1381         * libio/fileops.c (get_file_offset): Likewise.
1382         (do_ftell): Likewise.
1383         (_IO_new_file_seekoff): Split out ftell logic.
1384         * libio/wfileops.c (do_ftell_wide): Likewise.
1385         (_IO_wfile_seekoff): Split out ftell logic.
1386         * libio/tst-ftell-active-handler.c: New test case.
1387         * libio/Makefile (tests): Add it.
1389 2014-03-03  Roland McGrath  <roland@hack.frob.com>
1391         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1392         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1394 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1396         [BZ #16639]
1397         * nscd/connections.c (nscd_init): Call do_exit.
1398         (start_threads): Call do_exit and notify_parent.
1399         (begin_drop_privileges): Call do_exit.
1400         (finish_drop_privileges): Likewise.
1401         * nscd/selinux.c (preserve_capabilities): Likewise.
1402         (install_real_capabilities): Likewise.
1403         (nscd_selinux_enabled): Likewise.
1404         (avc_create_thread): Likewise.
1405         (avc_alloc_lock): Likewise.
1406         (nscd_avc_init): Likewise.
1407         * nscd/nscd.c (parent_fd): New static variable.
1408         (main): Create a pipe between parent and child processes.
1409         Skip closing parent_fd.
1410         (monitor_child): New function.
1411         (do_exit): Likewise.
1412         (notify_parent): Likewise.
1413         * nscd/nscd.h (notify_parent): Likewise.
1414         (do_exit): Likewise.
1416 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
1418         * malloc/malloc.c (__libc_calloc): Revert last change.
1420 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1424 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1426         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1428         implementation.
1429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1430         (__libc_ifunc_impl_list): Likewise.
1431         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1432         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1433         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1434         * string/strrchr.c: Define STRRCHR.
1436 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
1438         * benchtest/bench-strtok.c (simple_strtok): Delete.
1439         (strtok_string): Use as benchmark.
1440         * string/strtok (STRTOK): New macro.
1442 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
1444         * manual/threads.texi: Add header and standard comments to all
1445         functions.
1447         * elf/dl-lookup.c (check_match): New function.
1448         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1449         (do_lookup_x): Remove nested function check_match. Use non-nested
1450         function check_match.
1452 2014-02-28  Roland McGrath  <roland@hack.frob.com>
1454         * csu/Makefile (generated, before-compile): Use += rather than =.
1455         * catgets/Makefile (generated, generated-dirs): Likewise.
1456         * debug/Makefile (generated): Likewise.
1457         * dlfcn/Makefile (generated): Likewise.
1458         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1459         * iconvdata/Makefile (before-compile, generated): Likewise.
1460         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1461         * libio/Makefile (generated): Likewise.
1462         * malloc/Makefile (generated): Likewise.
1463         * manual/Makefile (generated, generated-dirs): Likewise.
1464         * misc/Makefile (generated): Likewise.
1465         * posix/Makefile (generated): Likewise.
1466         * resolv/Makefile (generated): Likewise.
1467         * sunrpc/Makefile (generated, generated-dirs): Likewise.
1468         * timezone/Makefile (generated, generated-dirs): Likewise.
1470         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1472 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1475         implementation.
1476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1477         POWER8 llround ifunc implementation.
1478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1479         POWER8 implementation.
1480         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1481         POWER8 llround implementation.
1483 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1486         implementation.
1487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1488         POWER8 llrint ifunc implementation.
1489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1490         POWER8 implementation.
1491         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1492         POWER8 llrint implementation.
1494 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1497         implementation.
1498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1499         POWER8 finite ifunc implementation.
1500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1501         POWER8 implementation.
1502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1503         Likewise.
1504         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1505         POWER8 finite implementation.
1506         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1508 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1510         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1511         implementation.
1512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1513         POWER8 isinf ifunc implementation.
1514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1515         POWER8 implementation.
1516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1517         Likewise.
1518         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1519         POWER8 isinf implementation.
1520         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1522 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1524         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1525         Add hwcap2 initialization.
1526         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1527         implementation.
1528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1529         POWER8 isnan ifunc implementation.
1530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1531         POWER8 implementation.
1532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1533         Likewise.
1534         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1535         POWER8 isnan implementation.
1536         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1538 2014-02-27  Joey Ye  <joey.ye@arm.com>
1540         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1541         (_FP_NANFRAC_Q): Set to zero.
1543 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1545         [BZ #16623]
1546         * math/auto-libm-test-in: New test inputs.
1547         * math/auto-libm-test-out: Regenerate.
1548         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1549         and DA.
1550         (__cos): Likewise.
1551         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1553 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
1555         * scripts/evaluate-test.sh: Take new argument indicating whether
1556         failure is expected.
1557         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1558         indicating whether failure is expected.
1559         * conform/Makefile (test-xfail-run-conformtest): New variable.
1560         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1561         level.
1562         * posix/Makefile (test-xfail-annexc): New variable.
1563         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1565 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
1567         * argp/Makefile: Include Makeconfig immediately after defining
1568         subdir.
1569         * assert/Makefile: Likewise.
1570         * benchtests/Makefile: Likewise.
1571         * catgets/Makefile: Likewise.
1572         * conform/Makefile: Likewise.
1573         * crypt/Makefile: Likewise.
1574         * csu/Makefile: Likewise.
1575         (all): Remove target.
1576         * ctype/Makefile: Include Makeconfig immediately after defining
1577         subdir.
1578         * debug/Makefile: Likewise.
1579         * dirent/Makefile: Likewise.
1580         * dlfcn/Makefile: Likewise.
1581         * gmon/Makefile: Likewise.
1582         * gnulib/Makefile: Likewise.
1583         * grp/Makefile: Likewise.
1584         * gshadow/Makefile: Likewise.
1585         * hesiod/Makefile: Likewise.
1586         * hurd/Makefile: Likewise.
1587         (all): Remove target.
1588         * iconvdata/Makefile: Include Makeconfig immediately after
1589         defining subdir.
1590         * inet/Makefile: Likewise.
1591         * intl/Makefile: Likewise.
1592         * io/Makefile: Likewise.
1593         * libio/Makefile: Likewise.
1594         (all): Remove target.
1595         * locale/Makefile: Include Makeconfig immediately after defining
1596         subdir.
1597         * login/Makefile: Likewise.
1598         * mach/Makefile: Likewise.
1599         (all): Remove target.
1600         * malloc/Makefile: Include Makeconfig immediately after defining
1601         subdir.
1602         (all): Remove target.
1603         * manual/Makefile: Include Makeconfig immediately after defining
1604         subdir.
1605         * math/Makefile: Likewise.
1606         * misc/Makefile: Likewise.
1607         * nis/Makefile: Likewise.
1608         * nss/Makefile: Likewise.
1609         * po/Makefile: Likewise.
1610         (all): Remove target.
1611         * posix/Makefile: Include Makeconfig immediately after defining
1612         subdir.
1613         * pwd/Makefile: Likewise.
1614         * resolv/Makefile: Likewise.
1615         * resource/Makefile: Likewise.
1616         * rt/Makefile: Likewise.
1617         * setjmp/Makefile: Likewise.
1618         * shadow/Makefile: Likewise.
1619         * signal/Makefile: Likewise.
1620         * socket/Makefile: Likewise.
1621         * soft-fp/Makefile: Likewise.
1622         * stdio-common/Makefile: Likewise.
1623         * stdlib/Makefile: Likewise.
1624         * streams/Makefile: Likewise.
1625         * string/Makefile: Likewise.
1626         * sunrpc/Makefile: Likewise.
1627         (all): Remove target.
1628         * sysvipc/Makefile: Include Makeconfig immediately after defining
1629         subdir.
1630         * termios/Makefile: Likewise.
1631         * time/Makefile: Likewise.
1632         * timezone/Makefile: Likewise.
1633         (all): Remove target.
1634         * wcsmbs/Makefile: Include Makeconfig immediately after defining
1635         subdir.
1636         * wctype/Makefile: Likewise.
1638 2014-02-26  Steve Ellcey  <sellcey@mips.com>
1640         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1641         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1642         (libc_feholdexcept_setround_mips): Ditto.
1643         (libc_feholdsetround): New.
1644         (libc_feholdsetroundf): New.
1645         (libc_feholdsetroundl): New.
1646         (libc_feupdateenv_test_mips): New.
1647         (libc_feupdateenv_test): New.
1648         (libc_feupdateenv_testf): New.
1649         (libc_feupdateenv_testl): New.
1650         (libc_feresetround): New.
1651         (libc_feresetroundf): New.
1652         (libc_feresetroundl): New.
1653         (libc_fetestexcept_mips): New.
1654         (libc_fetestexcept): New.
1655         (libc_fetestexceptf): New.
1656         (libc_fetestexceptl): New.
1657         (HAVE_RM_CTX): New.
1658         (libc_feholdexcept_setround_mips_ctx): New.
1659         (libc_feholdexcept_setround_ctx): New.
1660         (libc_feholdexcept_setroundf_ctx): New.
1661         (libc_feholdexcept_setroundl_ctx): New.
1662         (libc_fesetenv_mips_ctx): New.
1663         (libc_fesetenv_ctx): New.
1664         (libc_fesetenv_ctxf): New.
1665         (libc_fesetenv_ctxl): New.
1666         (libc_feupdateenv_mips_ctx): New.
1667         (libc_feupdateenv_ctx): New.
1668         (libc_feupdateenvf_ctx): New.
1669         (libc_feupdateenvl_ctx): New.
1670         (libc_feholdsetround_mips_ctx): New.
1671         (libc_feholdsetround_ctx): New.
1672         (libc_feholdsetroundf_ctx): New.
1673         (libc_feholdsetroundl_ctx): New.
1674         (libc_feresetround_mips_ctx): New.
1675         (libc_feresetround_ctx): New.
1676         (libc_feresetroundf_ctx): New.
1677         (libc_feresetroundl_ctx): New.
1679 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
1681         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1683         * manual/ipc.texi: New file.
1684         * manual/Makefile (chapters): Add ipc.
1685         * manual/job.texi: Add "Inter-Process Communication" to next.
1686         * manual/process.texi: Add "Inter-Process Communication" to prev.
1688 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1692 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
1694         * malloc/malloc.c (__libc_calloc): Simplify implementation.
1696         * manual/arith.texi: Fix spaces after sentences.
1697         * manual/charset.texi: Likewise.
1698         * manual/errno.texi: Likewise.
1699         * manual/install.texi: Likewise.
1700         * manual/llio.texi: Likewise.
1701         * manual/locale.texi: Likewise.
1702         * manual/maint.texi: Likewise.
1703         * manual/math.texi: Likewise.
1704         * manual/memory.texi: Likewise.
1705         * manual/message.texi: Likewise.
1706         * manual/probes.texi: Likewise.
1707         * manual/resource.texi: Likewise.
1708         * manual/signal.texi: Likewise.
1709         * manual/socket.texi: Likewise.
1710         * manual/stdio.texi: Likewise.
1711         * manual/string.texi: Likewise.
1712         * manual/time.texi: Likewise.
1713         * manual/users.texi: Likewise.
1715 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
1717         [BZ #16632]
1718         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1719         _DEFAULT_SOURCE is defined.
1721 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
1722             Carlos O'Donell  <carlos@redhat.com>
1724         [BZ #16613]
1725         * elf/dl-tls.c (_dl_count_modids): New function.
1726         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1727         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1728         audit library and increment generation counter.
1729         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1730         * elf/tst-audit9.c: New file.
1731         * elf/tst-auditmod9a.c: New file.
1732         * elf/tst-auditmod9b.c: New file.
1733         * elf/Makefile: Add rules to build and run tst-audit9.
1735 2014-02-25  Florian Weimer  <fweimer@redhat.com>
1737         [BZ #15347]
1738         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1740 2014-02-25  Will Newton  <will.newton@linaro.org>
1742         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1743         (__longjmp): Restore sp and lr before restoring callee
1744         saved registers.  Add longjmp and longjmp_target
1745         SystemTap probe point.
1746         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1747         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1748         Define to zero to match jmpbuf layout.
1749         * sysdeps/arm/setjmp.S: Include stap-probe.h.
1750         (__sigsetjmp): Save sp and lr before saving callee
1751         saved registers.  Add setjmp SystemTap probe point.
1753 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1755         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1757 2014-02-24  Andreas Schwab  <schwab@suse.de>
1759         [BZ #15804]
1760         * elf/pldd.c (wait_for_ptrace_stop): New function.
1761         (main): Call it after attaching.
1763 2014-02-22  Roland McGrath  <roland@hack.frob.com>
1765         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1766         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1767         Versions files is now verboten.
1768         * hurd/Versions (libc: GLIBC_2.0):
1769         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1770         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1771         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1772         * mach/Versions: Likewise.
1774         * csu/Versions: Remove unused %include.
1775         * resolv/Versions: Likewise.
1777 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
1779         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1780         ($(objpfx)check-local-headers.out): Likewise.
1781         ($(objpfx)begin-end-check.out): Likewise.
1782         * Makerules (check-abi-%.out): Likewise.
1783         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1784         ($(objpfx)test2.cat): Likewise.
1785         ($(objpfx)de/libc.cat): Likewise.
1786         ($(objpfx)test-gencat.out): Likewise.
1787         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1788         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1789         ($(objpfx)noload-mem): Likewise.
1790         ($(objpfx)tst-pathopt.out): Likewise.
1791         ($(objpfx)tst-rtld-load-self.out): Likewise.
1792         ($(objpfx)tst-array1-cmp.out): Likewise.
1793         ($(objpfx)tst-array1-static-cmp.out): Likewise.
1794         ($(objpfx)tst-array2-cmp.out): Likewise.
1795         ($(objpfx)tst-array3-cmp.out): Likewise.
1796         ($(objpfx)tst-array4-cmp.out): Likewise.
1797         ($(objpfx)tst-array5-cmp.out): Likewise.
1798         ($(objpfx)tst-array5-static-cmp.out): Likewise.
1799         ($(objpfx)check-textrel.out): Likewise.
1800         ($(objpfx)check-execstack.out): Likewise.
1801         ($(objpfx)check-localplt.out): Likewise.
1802         ($(objpfx)order2-cmp.out): Likewise.
1803         ($(objpfx)tst-leaks1-mem): Likewise.
1804         ($(objpfx)tst-leaks1-static-mem): Likewise.
1805         ($(objpfx)tst-initorder-cmp.out): Likewise.
1806         ($(objpfx)tst-initorder2-cmp.out): Likewise.
1807         ($(objpfx)tst-unused-dep.out): Likewise.
1808         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1809         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1810         * iconv/Makefile (test-iconvconfig): Likewise.
1811         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1812         ($(objpfx)iconv-test.out): Likewise.
1813         ($(objpfx)tst-tables.out): Likewise.
1814         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1815         ($(objpfx)tst-gettext.out): Likewise.
1816         ($(objpfx)tst-translit.out): Likewise.
1817         ($(objpfx)tst-gettext2.out): Likewise.
1818         ($(objpfx)tst-gettext4.out): Likewise.
1819         ($(objpfx)tst-gettext6.out): Likewise.
1820         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1821         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1822         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1823         ($(objpfx)tst-fopenloc-mem.out): Likewise.
1824         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1825         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1826         * posix/Makefile ($(objpfx)globtest.out): Likewise.
1827         ($(objpfx)wordexp-tst.out): Likewise.
1828         ($(objpfx)annexc.out): Likewise.
1829         ($(objpfx)tst-fnmatch-mem): Likewise.
1830         ($(objpfx)bug-regex2-mem): Likewise.
1831         ($(objpfx)bug-regex14-mem): Likewise.
1832         ($(objpfx)bug-regex21-mem): Likewise.
1833         ($(objpfx)bug-regex31-mem): Likewise.
1834         ($(objpfx)tst-vfork3-mem): Likewise.
1835         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1836         ($(objpfx)tst-pcre-mem): Likewise.
1837         ($(objpfx)tst-boost-mem): Likewise.
1838         ($(objpfx)tst-getconf.out): Likewise.
1839         ($(objpfx)bug-ga2-mem): Likewise.
1840         ($(objpfx)bug-glob2-mem): Likewise.
1841         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1842         ($(objpfx)mtrace-tst-leaks2): Likewise.
1843         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1844         ($(objpfx)tst-printf.out): Likewise.
1845         ($(objpfx)tst-setvbuf1.out): Likewise.
1846         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1847         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1848         ($(objpfx)tst-fmtmsg.out): Likewise.
1849         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1850         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1852         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1853         * bits/sigaction.h [__USE_MISC]: Likewise.
1854         * bits/waitstatus.h: Update #endif comments.
1855         * ctype/ctype.h: Likewise.
1856         * dirent/dirent.h: Likewise.
1857         [__USE_MISC]: Remove redundant conditionals.
1858         * grp/grp.h: Update #endif comments.
1859         [__USE_GNU]: Remove redundant conditionals.
1860         [__USE_MISC]: Likewise.
1861         * inet/netinet/in.h [__USE_GNU]: Likewise.
1862         * io/sys/stat.h [__USE_MISC]: Likewise.
1863         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1864         * libio/bits/stdio.h: Update #endif comments.
1865         [__USE_MISC]: Remove redundant conditionals.
1866         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1867         * libio/stdio.h: Update #endif comments.
1868         [__USE_MISC]: Remove redundant conditionals.
1869         * math/bits/math-finite.h [__USE_MISC]: Likewise.
1870         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1871         * math/math.h: Update #else and #endif comments.
1872         [__USE_MISC]: Remove redundant conditionals.
1873         * misc/sys/uio.h: Update #endif comments.
1874         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1875         * posix/glob.h [__USE_MISC]: Likewise.
1876         * posix/sys/types.h: Update #endif comments.
1877         [__USE_MISC]: Remove redundant conditionals.
1878         * posix/sys/wait.h: Update #endif comments.
1879         [__USE_MISC]: Remove redundant conditionals.
1880         * posix/unistd.h: Update #endif comments.
1881         [__USE_MISC]: Remove redundant conditionals.
1882         * pwd/pwd.h [__USE_GNU]: Likewise.
1883         [__USE_MISC]: Likewise.
1884         * resolv/netdb.h [__USE_GNU]: Likewise.
1885         * signal/signal.h: Update #endif comments.
1886         [__USE_MISC]: Remove redundant conditionals.
1887         * stdlib/stdlib.h: Update #else and #endif comments.
1888         [__USE_MISC]: Remove redundant conditionals.
1889         [__USE_GNU]: Likewise.
1890         * string/bits/string2.h [__USE_MISC]: Likewise.
1891         * string/string.h: Update #endif comments.
1892         [__USE_MISC]: Remove redundant conditionals.
1893         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1894         Likewise.
1895         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1896         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1897         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1898         Likewise.
1899         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1900         Likewise.
1901         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1902         comments.
1903         [__USE_MISC]: Remove redundant conditionals.
1904         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1905         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1906         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1907         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1908         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1909         Likewise.
1910         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1911         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1912         Likewise.
1913         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1914         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1915         Likewise.
1916         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1917         Likewise.
1918         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1919         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
1920         Likewise.
1921         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
1922         Likewise.
1923         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
1924         * sysdeps/x86/bits/string.h: Update #endif comments.
1925         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
1926         conditionals.
1927         * time/sys/time.h: Update #endif comments.
1928         * time/time.h: Likewise.
1929         [__USE_MISC]: Remove redundant conditionals.
1931 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
1933         [BZ #16600]
1934         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
1936 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
1938         * Versions.def (librt): Add GLIBC_2.17.
1940 2014-02-21  Adam Conrad  <adconrad@0c3.net>
1942         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
1943         synonym for _SYS_AUXV_H to allow direct inclusion.
1944         * sysdeps/sparc/bits/hwcap.h: Likewise.
1945         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
1946         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
1947         * sysdeps/sparc/sysdep.h: Likewise.
1949 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1951         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
1953 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1955         * benchtests/bench-strrchr.c: Print length instead of position.
1957 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
1959         [BZ #16611]
1960         * sysdeps/unix/sysv/linux/kernel-features.h
1961         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
1962         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
1963         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
1964         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
1965         Likewise.
1966         [__i386__ || __powerpc__ || __sh__ || __sparc__]
1967         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1968         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
1969         (__ASSUME_SENDMMSG): Define instead of using previous
1970         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
1971         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1972         (__ASSUME_SENDMMSG_SYSCALL): Define.
1973         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1974         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
1975         Likewise.
1976         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1977         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1978         Likewise.
1979         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1980         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
1981         Likewise.
1982         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
1983         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1984         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1985         [__ASSUME_SENDMMSG]: Change conditionals to
1986         [__ASSUME_SENDMMSG_SOCKETCALL].
1987         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1988         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
1989         Define.
1990         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1991         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
1992         Likewise.
1993         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
1994         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
1995         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
1996         [!__ASSUME_SENDMMSG]: Change conditional to
1997         [!__ASSUME_SENDMMSG_SOCKETCALL].
1998         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1999         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2000         Define.
2002         [BZ #16610]
2003         * sysdeps/unix/sysv/linux/kernel-features.h
2004         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2005         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2006         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2007         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2008         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2009         [__i386__ || __sparc__]
2010         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2011         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2012         (__ASSUME_RECVMMSG): Define instead of using previous
2013         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2014         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2015         (__ASSUME_RECVMMSG_SYSCALL): Define.
2016         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2017         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2018         Likewise.
2019         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2020         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2021         Likewise.
2022         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2023         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2024         Likewise.
2025         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2026         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2027         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2028         [__ASSUME_RECVMMSG]: Change condition to
2029         [__ASSUME_RECVMMSG_SOCKETCALL].
2030         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2031         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2032         Define.
2033         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2034         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2035         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2036         Likewise.
2037         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2038         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2039         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2040         [!__ASSUME_RECVMMSG]: Change condition to
2041         [!__ASSUME_RECVMMSG_SOCKETCALL].
2042         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2043         (__ASSUME_RECVMMSG_SYSCALL): Define.
2045         [BZ #16609]
2046         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2047         __powerpc__ || __s390__ || __sh__ || __sparc__]
2048         (__ASSUME_SOCKETCALL): Define.
2049         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2050         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2051         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2052         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2053         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2054         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2055         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2056         (__ASSUME_ACCEPT4): Define instead of using previous
2057         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2058         __powerpc__ || __sparc__ || __s390__)] condition.
2059         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2060         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2061         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2062         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2063         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2064         [!__ASSUME_ACCEPT4]: Change condition to
2065         [!__ASSUME_ACCEPT4_SOCKETCALL].
2066         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2067         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
2068         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2069         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2070         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2071         __ASSUME_ACCEPT4_SYSCALL.
2072         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2073         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2074         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2075         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2076         __ASSUME_ACCEPT4_SYSCALL.
2077         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2078         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2079         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2080         [__ASSUME_ACCEPT4]: Change condition to
2081         [__ASSUME_ACCEPT4_SOCKETCALL].
2082         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2083         (__ASSUME_SOCKETCALL): Define.
2084         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2085         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2086         (__ASSUME_SOCKETCALL): Define.
2087         (__ASSUME_ACCEPT4): Remove.
2088         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2089         Define.
2090         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2091         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2092         Likewise.
2093         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2094         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2096         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2097         macro.
2098         (HWCAP_ARM_LPAE): Likewise.
2099         (HWCAP_ARM_EVTSTRM): Likewise.
2100         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2101         Add vpfd32, lpae and evtstrm.
2102         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2103         Increase to 22.
2105 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
2107         * math/auto-libm-test-in: Add tests of clog10.
2108         * math/auto-libm-test-out: Regenerated.
2109         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2110         * sysdeps/i386/fpu/libm-test-ulps: Update.
2111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2113 2014-02-18  Andreas Schwab  <schwab@suse.de>
2115         [BZ #16574]
2116         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2117         Store non-zero if the second buffer was newly allocated.
2118         (send_dg): Likewise.
2119         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2120         to send_vc and send_dg.
2121         (res_nsend): Pass NULL for ansp2_malloced.
2122         * resolv/res_query.c (__libc_res_nquery): Add parameter
2123         answerp2_malloced and pass it down to __libc_res_nsend.
2124         (res_nquery): Pass additional NULL to __libc_res_nquery.
2125         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2126         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
2127         second answer buffer if answerp2_malloced was set.
2128         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2129         (__libc_res_nquerydomain): Add parameter
2130         answerp2_malloced and pass it down to __libc_res_nquery.
2131         (res_nquerydomain): Pass additional NULL to
2132         __libc_res_nquerydomain.
2133         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2134         additional NULL to __libc_res_nsend and __libc_res_nquery.
2135         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2136         additional NULL to __libc_res_nsearch.
2137         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
2138         parameter of __libc_res_nsearch to check for separately allocated
2139         second buffer.
2140         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2141         __libc_res_nquery.
2142         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2143         additional NULL to __libc_res_nquery.
2144         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2145         __libc_res_nsearch.
2146         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2147         * include/resolv.h: Update prototypes of __libc_res_nquery,
2148         __libc_res_nsearch, __libc_res_nsend.
2150 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
2152         * math/auto-libm-test-in: Add tests of fma.
2153         * math/auto-libm-test-out: Regenerated.
2154         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2155         (fma_towardzero_test_data): Likewise.
2156         (fma_downward_test_data): Likewise.
2157         (fma_upward_test_data): Likewise.
2158         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2159         mpc_mode.
2160         (rounding_modes): Add values for new field.
2161         (func_calc_method): Add value mpfr_fff_f.
2162         (func_calc_desc): Add mpfr_fff_f union field.
2163         (test_function): Add field exact_args.
2164         (FUNC): Add macro argument EXACT_ARGS.
2165         (FUNC_mpfr_f_f): Update call to FUNC.
2166         (FUNC_mpfr_f_f): Likewise.
2167         (FUNC_mpfr_ff_f): Likewise.
2168         (FUNC_mpfr_if_f): Likewise.
2169         (FUNC_mpc_c_f): Likewise.
2170         (FUNC_mpc_c_c): Likewise.
2171         (test_functions): Add fma.  Update calls to FUNC.
2172         (handle_input_arg): Add argument exact_args.
2173         (add_test): Update call to handle_input_arg.
2174         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
2175         (output_for_one_input_case): Update call to calc_generic_results.
2176         Recalculate exact zero results in each rounding mode.
2178         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2179         non-negative before setting low bit.
2180         * math/auto-libm-test-in: Mark one asin test possibly having
2181         spurious underflow.
2182         * math/auto-libm-test-out: Regenerated.
2183         * sysdeps/i386/fpu/libm-test-ulps: Update.
2184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2186 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
2188         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2189         * sysdeps/unix/sysv/linux/microblaze: Move directory from
2190         ports/sysdeps/unix/sysv/linux/microblaze.
2191         * README: Add missing listing for microblaze*-*-linux-gnu.
2193 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
2195         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2196         * sysdeps/unix/sysv/linux/ia64: Move directory from
2197         ports/sysdeps/unix/sysv/linux/ia64.
2198         * README: Update listing for ia64-*-linux-gnu.
2200 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
2201             Joseph Myers  <joseph@codesourcery.com>
2203         * Makeconfig (test-name): New variable.
2204         (evaluate-test): Likewise.
2205         * Makerules (do-test-clean): Remove .test-result files.
2206         (common-mostlyclean): Likewise.
2207         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2208         * scripts/evaluate-test.sh: New file.
2210 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
2212         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2213         separate $(objpfx)tst-fopenloc-cmp.out and
2214         $(objpfx)tst-fopenloc-mem.out targets.
2215         (tests): Update dependencies.
2216         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2217         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2218         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2219         (tst-rxspencer-no-utf8-ARGS): New variable.
2220         (tst-rxspencer-no-utf8-ENV): Likewise.
2221         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2222         instead of $(objpfx)tst-rxspencer-mem.
2223         ($(objpfx)tst-rxspencer-mem): Change target to
2224         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
2225         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2226         * posix/tst-rxspencer-no-utf8.c: New file.
2228         * elf/Makefile ($(objpfx)order.out): Remove rule.
2229         [$(run-built-tests) = yes] (tests): Depend on
2230         $(objpfx)order-cmp.out.
2231         ($(objpfx)order-cmp.out): New rule.
2232         [$(run-built-tests) = yes] (tests): Depend on
2233         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2234         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2235         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2236         $(objpfx)tst-array5-static-cmp.out.
2237         ($(objpfx)tst-array1.out): Remove rule.
2238         ($(objpfx)tst-array1-cmp.out): New rule.
2239         ($(objpfx)tst-array1-static.out): Remove rule.
2240         ($(objpfx)tst-array1-static-cmp.out): New rule.
2241         ($(objpfx)tst-array2.out): Remove rule.
2242         ($(objpfx)tst-array2-cmp.out): New rule.
2243         ($(objpfx)tst-array3.out): Remove rule.
2244         ($(objpfx)tst-array3-cmp.out): New rule.
2245         ($(objpfx)tst-array4.out): Remove rule.
2246         ($(objpfx)tst-array4-cmp.out): New rule.
2247         ($(objpfx)tst-array5.out): Remove rule.
2248         ($(objpfx)tst-array5-cmp.out): New rule.
2249         ($(objpfx)tst-array5-static.out): Remove rule.
2250         ($(objpfx)tst-array5-static-cmp.out): New rule.
2251         [$(run-built-tests) = yes] (tests): Depend on
2252         $(objpfx)order2-cmp.out.
2253         ($(objpfx)order2.out): Remove rule.
2254         ($(objpfx)order2-cmp.out): New rule.
2255         ($(objpfx)tst-initorder.out): Remove rule.
2256         [$(run-built-tests) = yes] (tests): Depend on
2257         $(objpfx)tst-initorder-cmp.out.
2258         ($(objpfx)tst-initorder-cmp.out): New rule.
2259         ($(objpfx)tst-initorder2.out): Remove rule.
2260         [$(run-built-tests) = yes] (tests): Depend on
2261         $(objpfx)tst-initorder2-cmp.out.
2262         ($(objpfx)tst-initorder2-cmp.out): New rule.
2263         [$(run-built-tests) = yes] (tests): Depend on
2264         $(objpfx)tst-unused-dep-cmp.out.
2265         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2266         ($(objpfx)tst-unused-dep-cmp.out): New rule.
2267         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2268         on $(objpfx)tst-setvbuf1-cmp.out.
2269         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2270         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2271         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2272         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2273         ($(objpfx)tst-svc.out): Remove rule.
2274         ($(objpfx)tst-svc-cmp.out): New rule.
2276 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
2278         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2279         * ctype/ctype.h [__USE_MISC]: Likewise.
2280         * dirent/dirent.h [__USE_MISC]: Likewise.
2281         * grp/grp.h [__USE_MISC]: Likewise.
2282         * io/fcntl.h [__USE_MISC]: Likewise.
2283         * io/sys/stat.h [__USE_MISC]: Likewise.
2284         * libio/stdio.h [__USE_MISC]: Likewise.
2285         * posix/unistd.h [__USE_MISC]: Likewise.
2286         * pwd/pwd.h [__USE_MISC]: Likewise.
2287         * stdlib.h [__USE_MISC]: Likewise.
2288         * string/bits/string2.h [__USE_MISC]: Likewise.
2289         * string/string.h [__USE_MISC]: Likewise.
2290         * time/time.h [__USE_MISC]: Likewise.
2292 2014-02-13  Andreas Schwab  <schwab@suse.de>
2294         [BZ #16574]
2295         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2296         second answer buffer if it was separately allocated.
2298 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2300         * sysdeps/mips/math-tests.h: Include <features.h>.
2301         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2302         (ROUNDING_TESTS_long_double): Do not define.
2303         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2304         (EXCEPTION_TESTS_long_double): Likewise.
2305         * sysdeps/mips/mips64/libm-test-ulps: Update.
2307         * include/features.h (__USE_BSD): Remove macro definitions.
2308         (__USE_SVID): Likewise.
2309         (_BSD_SOURCE): Likewise.
2310         (_SVID_SOURCE): Likewise.
2311         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2312         from definition of _DEFAULT_SOURCE.
2313         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2314         [_DEFAULT_SOURCE].
2315         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2316         * bits/mman.h [__USE_BSD]: Likewise.
2317         * bits/termios.h [__USE_BSD]: Likewise.
2318         * bits/waitstatus.h [__USE_BSD]: Likewise.
2319         * ctype/ctype.h [__USE_SVID]: Likewise.
2320         * dirent/dirent.h [__USE_BSD]: Likewise.
2321         * grp/grp.h [__USE_SVID]: Likewise.
2322         [__USE_BSD]: Likewise.
2323         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2324         * io/fcntl.h [__USE_BSD]: Likewise.
2325         * io/ftw.h [__USE_BSD]: Likewise.
2326         * io/sys/stat.h [__USE_BSD]: Likewise.
2327         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2328         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2329         * libio/stdio.h [__USE_SVID]: Likewise.
2330         [__USE_BSD]: Likewise.
2331         * math/math.h [__USE_SVID]: Likewise.
2332         [__USE_BSD]: Likewise.
2333         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2334         * misc/bits/syslog.h [__USE_BSD]: Likewise.
2335         * misc/search.h [__USE_SVID]: Likewise.
2336         * misc/sys/mman.h [__USE_BSD]: Likewise.
2337         * misc/sys/syslog.h [__USE_BSD]: Likewise.
2338         * misc/sys/uio.h [__USE_BSD]: Likewise.
2339         * posix/bits/unistd.h [__USE_BSD]: Likewise.
2340         * posix/glob.h [__USE_BSD]: Likewise.
2341         * posix/regex.h [__USE_BSD]: Likewise.
2342         * posix/sys/types.h [__USE_BSD]: Likewise.
2343         [__USE_SVID]: Likewise.
2344         * posix/sys/utsname.h [__USE_SVID]: Likewise.
2345         * posix/sys/wait.h [__USE_BSD]: Likewise.
2346         [__USE_SVID]: Likewise.
2347         * posix/unistd.h [__USE_BSD]: Likewise.
2348         [__USE_SVID]: Likewise.
2349         * pwd/pwd.h [__USE_SVID]: Likewise.
2350         * resolv/netdb.h [__USE_BSD]: Likewise.
2351         * setjmp/setjmp.h [__USE_BSD]: Likewise.
2352         * signal/signal.h [__USE_BSD]: Likewise.
2353         [__USE_SVID]: Likewise.
2354         * socket/sys/socket.h [__USE_BSD]: Likewise.
2355         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2356         * stdlib/stdlib.h [__USE_BSD]: Likewise.
2357         [__USE_SVID]: Likewise.
2358         * string/bits/string2.h [__USE_BSD]: Likewise.
2359         [__USE_SVID]: Likewise.
2360         * string/bits/string3.h [__USE_BSD]: Likewise.
2361         * string/endian.h [__USE_BSD]: Likewise.
2362         * string/string.h [__USE_SVID]: Likewise.
2363         [__USE_BSD]: Likewise.
2364         * string/strings.h [__USE_BSD]: Likewise.
2365         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2366         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2367         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2368         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2369         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2370         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2371         Likewise.
2372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2373         Likewise.
2374         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2375         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2376         Likewise.
2377         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2378         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2379         Likewise.
2380         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2381         Likewise.
2382         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2383         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2384         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2385         Likewise.
2386         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2387         Likewise.
2388         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2389         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2390         * termios/termios.h [__USE_BSD]: Likewise.
2391         * time/sys/time.h [__USE_BSD]: Likewise.
2392         * time/time.h [__USE_BSD]: Likewise.
2393         [__USE_SVID]: Likewise.
2395         * Makefile (subdir_targets): Remove subdir_lint.out.
2397         * stdio-common/Makefile (do-tst-unbputc): Remove target.
2398         (do-tst-printf): Likewise.
2399         (tests): Depend directly on $(objpfx)tst-unbputc.out and
2400         $(objpfx)tst-printf.out.
2402         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2404         * Makerules (check-abi-%): Change target to
2405         $(objpfx)check-abi-%.out.
2406         (check-abi target): Update dependencies.
2407         (check-abi-pattern variable): Redirect output of diff to $@.
2408         (check-abi variable): Likewise.
2409         * elf/Makefile (check-abi): Update dependencies.
2411         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2412         unused.
2413         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2414         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2415         subnormal range.
2416         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2417         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2418         value has largest subnormal exponent.
2419         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2420         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2421         * sysdeps/aarch64/soft-fp/sfp-machine.h
2422         (_FP_TININESS_AFTER_ROUNDING): New macro.
2423         * sysdeps/alpha/soft-fp/sfp-machine.h
2424         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2425         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2426         Likewise.
2427         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2428         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2429         * sysdeps/mips/soft-fp/sfp-machine.h
2430         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2431         * sysdeps/powerpc/soft-fp/sfp-machine.h
2432         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2433         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2434         Likewise.
2435         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2436         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2437         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2438         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2439         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2440         Likewise.
2442 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
2444         [BZ #16545]
2445         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2446         model 1.
2448 2014-02-12  Richard Henderson  <rth@redhat.com>
2450         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2451         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2452         * sysdeps/unix/sysv/linux/alpha: Move directory from
2453         ports/sysdeps/unix/sysv/linux/alpha.
2454         * README: Update listing for alpha-*-linux-gnu.
2456 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
2458         * include/features.h: Update comment documenting feature test
2459         macros.
2460         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
2461         _DEFAULT_SOURCE.
2462         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2463         (_SVID_SOURCE): Likewise.
2464         (_DEFAULT_SOURCE): Update description of default features.
2465         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2466         with _GNU_SOURCE.
2467         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2468         (S_ISVTX): Likewise.
2469         * manual/math.texi (Mathematical Constants): Likewise.
2470         * manual/signal.texi (Interrupted Primitives): Likewise.
2471         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2472         * math/test-matherr.c (_SVID_SOURCE): Do not define.
2473         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2474         Don't refer to _SVID_SOURCE in warning text.
2476         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2478         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2479         already defined.
2480         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2481         * sysdeps/mips/dl-lookup.c: Remove.
2482         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2484 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2486         [BZ #16447]
2487         * math/auto-libm-test-in: Add testcase for expl.
2488         * math/auto-libm-test-out: Regenerate.
2489         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2490         calculation of unsafe.
2491         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2493 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2495         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2496         * sysdeps/unix/sysv/linux/aarch64: Move directory from
2497         ports/sysdeps/unix/sysv/linux/aarch64.
2498         * README: Update listing for aarch64*-*-linux-gnu.
2500 2014-02-11  Will Newton  <will.newton@linaro.org>
2502         * manual/probes.texi (Mathematical Function Probes): Use
2503         "triggered" instead of "hit".
2505 2014-02-11  Will Newton  <will.newton@linaro.org>
2507         * manual/probes.texi (Internal Probes): Add documentation
2508         of setjmp, longjmp and longjmp_target probes.
2510 2014-02-11  Will Newton  <will.newton@linaro.org>
2512         * include/stap-probe.h: Add comment about probe argument
2513         format.
2515 2014-02-11  Will Newton  <will.newton@linaro.org>
2517         * malloc/mtrace.c (attribute_hidden): Remove unused macro
2518         definition.  (tr_where, tr_freehook, tr_mallochook,
2519         tr_reallochook, tr_memalignhook): Use ANSI protoype.
2521 2014-02-11  David S. Miller  <davem@davemloft.net>
2523         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2524         processing int_tests.
2526 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
2528         * sysdeps/mips: Move directory from ports/sysdeps/mips.
2529         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2530         * sysdeps/unix/sysv/linux/mips: Move directory from
2531         ports/sysdeps/unix/sysv/linux/mips.
2532         * README: Update listing for mips-*-linux-gnu and
2533         mips64-*-linux-gnu.
2535 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
2537         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2538         * sysdeps/unix/sysv/linux/m68k: Move directory from
2539         ports/sysdeps/unix/sysv/linux/m68k.
2540         * README: Update listing for m68k-*-linux-gnu.
2542 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
2544         * sysdeps/tile: Move directory from ports/sysdeps/tile.
2545         * sysdeps/unix/sysv/linux/generic: Move directory from
2546         ports/sysdeps/unix/sysv/linux/generic.
2547         * sysdeps/unix/sysv/linux/tile: Move directory from
2548         ports/sysdeps/unix/sysv/linux/tile.
2549         * README: Update listing for tile*-*-linux-gnu.
2551 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2553         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2554         * benchtests/bench-memmem.c (simple_memmem): Likewise.
2555         * catgets/open_catalog.c (__open_catalog): Likewise.
2556         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2557         * debug/confstr_chk.c: Likewise.
2558         * debug/fread_chk.c (__fread_chk): Likewise.
2559         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2560         * debug/getgroups_chk.c: Likewise.
2561         * debug/mbsnrtowcs_chk.c: Likewise.
2562         * debug/mbsrtowcs_chk.c: Likewise.
2563         * debug/mbstowcs_chk.c: Likewise.
2564         * debug/memcpy_chk.c: Likewise.
2565         * debug/memmove_chk.c: Likewise.
2566         * debug/mempcpy_chk.c: Likewise.
2567         * debug/memset_chk.c: Likewise.
2568         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2569         * debug/strcat_chk.c (__strcat_chk): Likewise.
2570         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2571         * debug/strncat_chk.c (__strncat_chk): Likewise.
2572         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2573         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2574         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2575         * debug/wcpncpy_chk.c: Likewise.
2576         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2577         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2578         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2579         * debug/wcsncpy_chk.c: Likewise.
2580         * debug/wcsnrtombs_chk.c: Likewise.
2581         * debug/wcsrtombs_chk.c: Likewise.
2582         * debug/wcstombs_chk.c: Likewise.
2583         * debug/wmemcpy_chk.c: Likewise.
2584         * debug/wmemmove_chk.c: Likewise.
2585         * debug/wmempcpy_chk.c: Likewise.
2586         * debug/wmemset_chk.c: Likewise.
2587         * dirent/scandirat.c (SCANDIRAT): Likewise.
2588         * dlfcn/dladdr1.c (dladdr1): Likewise.
2589         * dlfcn/dladdr.c (dladdr): Likewise.
2590         * dlfcn/dlclose.c (dlclose_doit): Likewise.
2591         * dlfcn/dlerror.c (__dlerror): Likewise.
2592         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2593         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2594         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2595         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2596         * dlfcn/dlsym.c (dlsym_doit): Likewise.
2597         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2598         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2599         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2600         Likewise.
2601         * elf/dl-conflict.c: Likewise.
2602         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2603         * elf/dl-dst.h: Likewise.
2604         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2605         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2606         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2607         * elf/dl-init.c (call_init, _dl_init): Likewise.
2608         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2609         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2610         _dl_map_object_from_fd, open_verify, open_path,
2611         _dl_map_object): Likewise.
2612         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2613         Likewise.
2614         * elf/dl-minimal.c (__libc_memalign): Likewise.
2615         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2616         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2617         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2618         * elf/dl-sym.c (do_sym): Likewise.
2619         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2620         _dl_tls_get_addr_soft): Likewise.
2621         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2622         * elf/dl-writev.h (_dl_writev): Likewise.
2623         * elf/ldconfig.c (search_dir): Likewise.
2624         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2625         dl_main): Likewise.
2626         * elf/setup-vdso.h (setup_vdso): Likewise.
2627         * grp/compat-initgroups.c (compat_call): Likewise.
2628         * grp/fgetgrent.c (fgetgrent): Likewise.
2629         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2630         * grp/putgrent.c (putgrent): Likewise.
2631         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2632         Likewise.
2633         * hurd/hurdinit.c: Likewise.
2634         * iconvdata/8bit-gap.c (struct): Likewise.
2635         * iconvdata/ansi_x3.110.c : Likewise.
2636         * iconvdata/big5.c : Likewise.
2637         * iconvdata/big5hkscs.c : Likewise.
2638         * iconvdata/cp1255.c: Likewise.
2639         * iconvdata/cp1258.c : Likewise.
2640         * iconvdata/cp932.c : Likewise.
2641         * iconvdata/euc-cn.c: Likewise.
2642         * iconvdata/euc-jisx0213.c : Likewise.
2643         * iconvdata/euc-jp.c: Likewise.
2644         * iconvdata/euc-jp-ms.c : Likewise.
2645         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2646         * iconvdata/gb18030.c : Likewise.
2647         * iconvdata/gbbig5.c (const): Likewise.
2648         * iconvdata/gbgbk.c: Likewise.
2649         * iconvdata/gbk.c : Likewise.
2650         * iconvdata/ibm1364.c : Likewise.
2651         * iconvdata/ibm930.c : Likewise.
2652         * iconvdata/ibm932.c: Likewise.
2653         * iconvdata/ibm933.c : Likewise.
2654         * iconvdata/ibm935.c : Likewise.
2655         * iconvdata/ibm937.c : Likewise.
2656         * iconvdata/ibm939.c : Likewise.
2657         * iconvdata/ibm943.c: Likewise.
2658         * iconvdata/iso_11548-1.c: Likewise.
2659         * iconvdata/iso-2022-cn.c : Likewise.
2660         * iconvdata/iso-2022-cn-ext.c : Likewise.
2661         * iconvdata/iso-2022-jp-3.c: Likewise.
2662         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2663         * iconvdata/iso-2022-kr.c : Likewise.
2664         * iconvdata/iso646.c (gconv_end): Likewise.
2665         * iconvdata/iso_6937-2.c : Likewise.
2666         * iconvdata/iso_6937.c : Likewise.
2667         * iconvdata/iso8859-1.c: Likewise.
2668         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2669         * iconvdata/shift_jisx0213.c : Likewise.
2670         * iconvdata/sjis.c : Likewise.
2671         * iconvdata/t.61.c : Likewise.
2672         * iconvdata/tcvn5712-1.c : Likewise.
2673         * iconvdata/tscii.c: Likewise.
2674         * iconvdata/uhc.c : Likewise.
2675         * iconvdata/unicode.c (gconv_end): Likewise.
2676         * iconvdata/utf-16.c (gconv_end): Likewise.
2677         * iconvdata/utf-32.c (gconv_end): Likewise.
2678         * iconvdata/utf-7.c (base64): Likewise.
2679         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2680         * iconv/gconv_close.c (__gconv_close): Likewise.
2681         * iconv/gconv_open.c (__gconv_open): Likewise.
2682         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2683         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2684         internal_ucs4le_loop_single, ucs4le_internal_loop,
2685         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2686         * iconv/iconv.c (iconv): Likewise.
2687         * iconv/iconv_close.c: Likewise.
2688         * iconv/loop.c (SINGLE): Likewise.
2689         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2690         * include/atomic.h: Likewise.
2691         * inet/inet6_option.c (option_alloc): Likewise.
2692         * intl/bindtextdom.c (set_binding_values): Likewise.
2693         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2694         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2695         * intl/localealias.c (read_alias_file): Likewise.
2696         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2697         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2698         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2699         * libio/fmemopen.c (fmemopen): Likewise.
2700         * libio/iofgets.c (_IO_fgets): Likewise.
2701         * libio/iofgets_u.c (fgets_unlocked): Likewise.
2702         * libio/iofgetws.c (fgetws): Likewise.
2703         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2704         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2705         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2706         adjust_wide_data, _IO_wfile_seekoff): Likewise.
2707         * locale/findlocale.c (_nl_find_locale): Likewise.
2708         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2709         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2710         Likewise.
2711         * locale/setlocale.c (setlocale): Likewise.
2712         * login/programs/pt_chown.c (main): Likewise.
2713         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2714         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2715         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2716         mmap, mmap64, mremap, munmap): Likewise.
2717         * math/e_exp2l.c: Likewise.
2718         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2719         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2720         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2721         * math/s_catan.c (__catan): Likewise.
2722         * math/s_catanf.c (__catanf): Likewise.
2723         * math/s_catanh.c (__catanh): Likewise.
2724         * math/s_catanhf.c (__catanhf): Likewise.
2725         * math/s_catanhl.c (__catanhl): Likewise.
2726         * math/s_catanl.c (__catanl): Likewise.
2727         * math/s_ccosh.c (__ccosh): Likewise.
2728         * math/s_ccoshf.c (__ccoshf): Likewise.
2729         * math/s_ccoshl.c (__ccoshl): Likewise.
2730         * math/s_cexp.c (__cexp): Likewise.
2731         * math/s_cexpf.c (__cexpf): Likewise.
2732         * math/s_cexpl.c (__cexpl): Likewise.
2733         * math/s_clog10.c (__clog10): Likewise.
2734         * math/s_clog10f.c (__clog10f): Likewise.
2735         * math/s_clog10l.c (__clog10l): Likewise.
2736         * math/s_clog.c (__clog): Likewise.
2737         * math/s_clogf.c (__clogf): Likewise.
2738         * math/s_clogl.c (__clogl): Likewise.
2739         * math/s_csin.c (__csin): Likewise.
2740         * math/s_csinf.c (__csinf): Likewise.
2741         * math/s_csinh.c (__csinh): Likewise.
2742         * math/s_csinhf.c (__csinhf): Likewise.
2743         * math/s_csinhl.c (__csinhl): Likewise.
2744         * math/s_csinl.c (__csinl): Likewise.
2745         * math/s_csqrt.c (__csqrt): Likewise.
2746         * math/s_csqrtf.c (__csqrtf): Likewise.
2747         * math/s_csqrtl.c (__csqrtl): Likewise.
2748         * math/s_ctan.c (__ctan): Likewise.
2749         * math/s_ctanf.c (__ctanf): Likewise.
2750         * math/s_ctanh.c (__ctanh): Likewise.
2751         * math/s_ctanhf.c (__ctanhf): Likewise.
2752         * math/s_ctanhl.c (__ctanhl): Likewise.
2753         * math/s_ctanl.c (__ctanl): Likewise.
2754         * math/w_pow.c: Likewise.
2755         * math/w_powf.c: Likewise.
2756         * math/w_powl.c: Likewise.
2757         * math/w_scalb.c (sysv_scalb): Likewise.
2758         * math/w_scalbf.c (sysv_scalbf): Likewise.
2759         * math/w_scalbl.c (sysv_scalbl): Likewise.
2760         * misc/error.c (error_tail): Likewise.
2761         * misc/pselect.c (__pselect): Likewise.
2762         * nis/nis_callback.c (__nis_create_callback): Likewise.
2763         * nis/nis_call.c (__nisfind_server): Likewise.
2764         * nis/nis_creategroup.c (nis_creategroup): Likewise.
2765         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2766         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2767         * nis/nis_getservlist.c (nis_getservlist): Likewise.
2768         * nis/nis_lookup.c (nis_lookup): Likewise.
2769         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2770         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2771         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2772         * nis/nis_xdr.c (xdr_endpoint): Likewise.
2773         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2774         internal_getgrgid_r): Likewise.
2775         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2776         Likewise.
2777         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2778         internal_getpwuid_r): Likewise.
2779         * nis/nss_compat/compat-spwd.c (getspent_next_file,
2780         internal_getspnam_r): Likewise.
2781         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2782         _nss_nis_getaliasbyname_r): Likewise.
2783         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2784         _nss_nis_getntohost_r): Likewise.
2785         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2786         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2787         Likewise.
2788         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2789         internal_nis_gethostent_r, internal_gethostbyname2_r,
2790         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2791         _nss_nis_gethostbyname4_r): Likewise.
2792         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2793         initgroups_netid): Likewise.
2794         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2795         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2796         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2797         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2798         _nss_nis_getprotobynumber_r): Likewise.
2799         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2800         _nss_nis_getsecretkey): Likewise.
2801         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2802         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2803         Likewise.
2804         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2805         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2806         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2807         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2808         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2809         _nss_nis_getspnam_r): Likewise.
2810         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2811         Likewise.
2812         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2813         _nss_nisplus_getntohost_r): Likewise.
2814         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2815         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2816         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2817         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2818         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2819         Likewise.
2820         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2821         _nss_nisplus_getnetbyaddr_r): Likewise.
2822         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2823         _nss_nisplus_getprotobynumber_r): Likewise.
2824         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2825         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2826         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2827         Likewise.
2828         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2829         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2830         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2831         _nss_nisplus_getspnam_r): Likewise.
2832         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2833         * nscd/aicache.c (addhstaiX): Likewise.
2834         * nscd/cache.c (cache_search, prune_cache): Likewise.
2835         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2836         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2837         * nscd/grpcache.c (addgrbyX): Likewise.
2838         * nscd/hstcache.c (addhstbyX): Likewise.
2839         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2840         * nscd/mem.c (gc, mempool_alloc): Likewise.
2841         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2842         Likewise.
2843         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2844         Likewise.
2845         * nscd/nscd_getai.c (__nscd_getai): Likewise.
2846         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2847         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2848         Likewise.
2849         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2850         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2851         * nscd/nscd_helper.c (__readvall, open_socket,
2852         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2853         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2854         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2855         * nscd/pwdcache.c (addpwbyX): Likewise.
2856         * nscd/selinux.c (preserve_capabilities): Likewise.
2857         * nscd/servicescache.c (addservbyX): Likewise.
2858         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2859         * posix/fnmatch.c (fnmatch): Likewise.
2860         * posix/getopt.c (_getopt_internal_r): Likewise.
2861         * posix/glob.c (glob, glob_in_dir): Likewise.
2862         * posix/wordexp.c (exec_comm_child): Likewise.
2863         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2864         gaih_getanswer_slice): Likewise.
2865         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2866         * resolv/res_init.c: Likewise.
2867         * resolv/res_mkquery.c (res_nmkquery): Likewise.
2868         * resolv/res_query.c (__libc_res_nquery): Likewise.
2869         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2870         Likewise.
2871         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2872         * stdio-common/perror.c (perror): Likewise.
2873         * stdio-common/printf_fp.c (___printf_fp): Likewise.
2874         * stdio-common/tmpnam.c (tmpnam): Likewise.
2875         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2876         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2877         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2878         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2879         * stdlib/putenv.c (putenv): Likewise.
2880         * stdlib/setenv.c (__add_to_environ): Likewise.
2881         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2882         * stdlib/strtol_l.c (INTERNAL): Likewise.
2883         * string/memmem.c (memmem): Likewise.
2884         * string/strerror.c (strerror): Likewise.
2885         * string/strnlen.c (__strnlen): Likewise.
2886         * string/test-memmem.c (simple_memmem): Likewise.
2887         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2888         * sunrpc/pm_getport.c (__get_socket): Likewise.
2889         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2890         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2891         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2892         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2893         Likewise.
2894         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2895         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2896         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2897         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2898         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2899         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2900         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2901         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2902         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2903         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2904         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2905         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2907         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2908         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2909         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2910         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2911         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2912         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2913         Likewise.
2914         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2915         Likewise.
2916         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2917         Likewise.
2918         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2919         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2920         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
2921         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
2922         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
2923         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
2924         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2925         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
2926         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
2927         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
2928         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
2929         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2930         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2931         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
2932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2933         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
2934         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
2935         Likewise.
2936         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
2937         Likewise.
2938         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
2939         Likewise.
2940         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2941         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2942         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
2943         Likewise.
2944         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
2945         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
2946         * sysdeps/posix/opendir.c (__opendirat): Likewise.
2947         * sysdeps/posix/sleep.c: Likewise.
2948         * sysdeps/posix/tempname.c: Likewise.
2949         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
2950         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2951         Likewise.
2952         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
2953         elf_machine_rela): Likewise.
2954         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2955         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2956         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
2957         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
2958         Likewise.
2959         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
2960         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
2961         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2962         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
2963         elf_machine_rela, elf_machine_lazy_rel): Likewise.
2964         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
2965         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
2966         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
2967         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2968         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
2969         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2970         elf_machine_lazy_rel): Likewise.
2971         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2972         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2973         elf_machine_lazy_rel): Likewise.
2974         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
2975         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
2976         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
2977         * sysdeps/unix/grantpt.c (grantpt): Likewise.
2978         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
2979         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
2980         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
2981         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2982         Likewise.
2983         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2984         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2985         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
2986         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
2987         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2988         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2989         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
2990         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
2991         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
2992         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2993         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2994         Likewise.
2995         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
2996         (__posix_fallocate64_l64): Likewise.
2997         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
2998         (posix_fallocate): Likewise.
2999         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3000         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3001         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3002         getifaddrs_internal): Likewise.
3003         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3004         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3005         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3006         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3007         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3008         (__posix_fallocate64_l64): Likewise.
3009         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3010         Likewise.
3011         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3012         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3013         Likewise.
3014         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3015         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3016         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3018         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3019         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3020         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3021         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3022         Likewise.
3023         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3024         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3025         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3026         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3027         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3028         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3029         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3030         Likewise.
3031         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3032         (posix_fallocate): Likewise.
3033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3034         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3035         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3036         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3037         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3038         Likewise.
3039         * time/asctime.c (asctime_internal): Likewise.
3040         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3041         * time/tzset.c (__tzset_parse_tz): Likewise.
3042         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3043         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3044         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3045         * wcsmbs/wcsmbsload.h: Likewise.
3047 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3049         [BZ #15894]
3050         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3052 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3054         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3055         arena_get2): Remove THREAD_STATS conditionals.
3056         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3057         __malloc_stats, int): Likewise.
3059 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3061         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3062         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
3064 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3066         * manual/setjmp.texi: Fix typos/grammar errors.
3068 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3070         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3071         Only return early when n is <= 0.  Delete unused return statement.
3073 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3075         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3076         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3077         * debug/tst-longjmp_chk3.c: New file.
3079 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3081         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3082         (test_main): Replace code with set_fortify_handler call.
3083         * debug/test-strcpy_chk.c: Likewise.
3084         * debug/tst-chk1.c: Likewise.
3085         * debug/tst-longjmp_chk.c: Likewise.
3086         * test-skeleton.c: Include fcntl.h & paths.h
3087         (set_fortify_handler): Define.
3089 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3091         * debug/tst-longjmp_chk.c: Add header comment and include
3092         ../test-skeleton.c.
3093         (do_test): Mark static.
3094         (TEST_FUNCTION): Define.
3096 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3098         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3099         (IP_PMTUDISC_INTERFACE): Likewise.
3100         (IP_MULTICAST_IF): Likewise.
3101         (IP_MULTICAST_TTL): Likewise.
3102         (IP_MULTICAST_LOOP): Likewise.
3103         (IP_ADD_MEMBERSHIP): Likewise.
3104         (IP_DROP_MEMBERSHIP): Likewise.
3105         (IP_UNBLOCK_SOURCE): Likewise.
3106         (IP_BLOCK_SOURCE): Likewise.
3107         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3108         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3109         (IP_MSFILTER): Likewise.
3110         (MCAST_JOIN_GROUP): Likewise.
3111         (MCAST_BLOCK_SOURCE): Likewise.
3112         (MCAST_UNBLOCK_SOURCE): Likewise.
3113         (MCAST_LEAVE_GROUP): Likewise.
3114         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3115         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3116         (MCAST_MSFILTER): Likewise.
3117         (IP_MULTICAST_ALL): Likewise.
3118         (IP_UNICAST_IF): Likewise.
3120 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3122         * timezone/Makefile: Delete $(have-ksh) check.
3123         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3124         * timezone/tzselect.ksh: Add +x mode bits.
3126 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3128         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3129         (ANON_INODE_FS_MAGIC): Likewise.
3130         (BDEVFS_MAGIC): Likewise.
3131         (BINFMTFS_MAGIC): Likewise.
3132         (BTRFS_TEST_MAGIC): Likewise.
3133         (CRAMFS_MAGIC_WEND): Likewise.
3134         (DEBUGFS_MAGIC): Likewise.
3135         (ECRYPTFS_SUPER_MAGIC): Likewise.
3136         (EXT3_SUPER_MAGIC): Likewise.
3137         (EXT4_SUPER_MAGIC): Likewise.
3138         (FUTEXFS_SUPER_MAGIC): Likewise.
3139         (HOSTFS_SUPER_MAGIC): Likewise.
3140         (HUGETLBFS_MAGIC): Likewise.
3141         (MINIX3_SUPER_MAGIC): Likewise.
3142         (MTD_INODE_FS_MAGIC): Likewise.
3143         (NILFS_SUPER_MAGIC): Likewise.
3144         (OPENPROM_SUPER_MAGIC): Likewise.
3145         (PIPEFS_MAGIC): Likewise.
3146         (PSTOREFS_MAGIC): Likewise.
3147         (QNX6_SUPER_MAGIC): Likewise.
3148         (RAMFS_MAGIC): Likewise.
3149         (REISERFS_SUPER_MAGIC_STRING): Likewise.
3150         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3151         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3152         (SECURITYFS_MAGIC): Likewise.
3153         (SELINUX_MAGIC): Likewise.
3154         (SMACK_MAGIC): Likewise.
3155         (SOCKFS_MAGIC): Likewise.
3156         (SQUASHFS_MAGIC): Likewise.
3157         (STACK_END_MAGIC): Likewise.
3158         (TMPFS_MAGIC): Likewise.
3159         (USBDEVICE_SUPER_MAGIC): Likewise.
3160         (V9FS_MAGIC): Likewise.
3161         (XENFS_SUPER_MAGIC): Likewise.
3162         (CRAMFS_MAGIC): Fix typo in comment.
3163         (EXT2_SUPER_MAGIC): Update comment.
3164         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3166 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
3168         * sysdeps/arm: Move directory from ports/sysdeps/arm.
3169         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3170         * sysdeps/unix/sysv/linux/arm: Move directory from
3171         ports/sysdeps/unix/sysv/linux/arm.
3172         * README: Update listing for arm-*-linux-gnueabi.
3174         * README: Remove mention of am33.
3176 2014-02-07  Roland McGrath  <roland@hack.frob.com>
3178         * bits/sigset.h (__sigemptyset): Use a statement expression rather
3179         than the comma operator, to avoid "rhs of comma has no effect"
3180         compiler warnings.
3181         (__sigfillset, __sigandset, __sigorset): Likewise.
3182         * include/signal.h (__sigemptyset): Likewise.
3183         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3185 2014-02-07  Allan McRae  <allan@archlinux.org>
3187         * version.h (RELEASE): Set to "development".
3188         (VERSION): Set to "2.19.90"
3189         * NEWS: Add 2.20 section.
3191 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
3193         [BZ #16529]
3194         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3196 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3198         * manual/contrib.texi: Update entry for Carlos O'Donell,
3199         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3201 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3203         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3205         * sysdeps/unix/sysv/linux/kernel-features.h
3206         [__LINUX_KERNEL_VERSION >= 0x020621]
3207         (__ASSUME_PROC_PID_TASK_COMM): Define.
3209 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3211         [BZ #16398]
3212         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3213         conversion when destination buffer does not have enough space.
3214         * libio/tst-ftell-partial-wide.c: New test case.
3215         * libio/Makefile (tests): Add tst-ftell-partial-wide.
3217         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3218         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
3219         Leonard and Allan McRae.
3221 2014-02-04  David S. Miller  <davem@davemloft.net>
3223         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3224         32-bit.
3226 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3229         file
3230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3231         New file
3232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3233         file.
3234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3235         file.
3236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3237         New file.
3238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3239         file.
3240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3241         file.
3242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3243         New file.
3244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3245         New file.
3246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3247         New file.
3248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3249         New file.
3250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3251         New file.
3252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3253         New file.
3255 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3257         * nptl/shlib-versions: Change powerpc*le start to 2.17.
3258         * shlib-versions: Likewise.
3260 2014-02-04  Roland McGrath  <roland@hack.frob.com>
3261             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3263         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3264         (abilist-pattern): New variable, set to %-le.abilist.
3266         * Makerules (abilist-pattern): New variable.
3267         (vpath): Use $(abilist-pattern) in place of %.abilist.
3268         (check-abi-% pattern rule): Likewise.
3269         (check-abi, update-abi): Likewise.
3271 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3275 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3279 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
3281         * manual/startup.texi: Add next, previous, and top entries for
3282         the `Program Arguments' and `Environment Variables' nodes.
3284 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
3286         * manual/macros.texi: Add comments before MTASC-safety macros.
3288         * manual/users.texi: Document MTASC-safety properties.
3290         * manual/threads.texi (pthread_key_create, pthread_key_delete,
3291         pthread_getspecific, pthread_setspecific): Format with
3292         @deftypefun, and add @safety note.
3293         * manual/signal.texi: Move comments that analyze the above
3294         functions to their home place.
3296 2014-02-03  Allan McRae  <allan@archlinux.org>
3298         * po/sl.po: Update Slovenian translation from translation project.
3300 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
3302         * manual/time.texi (timegm): Add missing blank after @c.
3303         Reported by Joseph Myers <joseph@codesourcery.com>.
3305 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
3307         * manual/check-safety.sh: New.
3308         * manual/Makefile ($(objpfx)stamp-summary): Run it.
3310         * manual/terminal.texi: Document MTASC-safety properties.
3312         * manual/filesys.texi: Document MTASC-safety properties.
3314         * manual/errno.texi: Document MTASC-safety properties.
3316         * manual/intro.texi: Document safety identifiers and
3317         conditionals.
3319         * manual/string.texi (wcstok): Fix prototype.
3320         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3322         * manual/time.texi: Document MTASC-safety properties.
3324         * manual/string.texi: Document MTASC-safety properties.
3326         * manual/threads.texi: Document MTASC-safety properties.
3328         * manual/stdio.texi: Document MTASC-safety properties.
3330         * manual/syslog.texi: Document MTASC-safety properties.
3332         * manual/sysinfo.texi: Document MTASC-safety properties.
3334         * manual/startup.texi: Document MTASC-safety properties.
3336         * manual/socket.texi: Document MTASC-safety properties.
3338         * manual/signal.texi: Document MTASC-safety properties.
3340 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
3342         * manual/setjmp.texi: Document MTASC-safety properties.
3344         * manual/search.texi: Document MTASC-safety properties.
3346         * manual/resource.texi: Document MTASC-safety properties.
3348         * manual/process.texi: Document MTASC-safety properties.
3350         * manual/platform.texi: Document MTASC-safety properties.
3352         * manual/pipe.texi: Document MTASC-safety properties.
3354         * manual/pattern.texi: Document MTASC-safety properties.
3356         * manual/message.texi: Document MTASC-safety properties.
3358         [BZ #12751]
3359         * manual/memory.texi: Document MTASC-safety properties.
3361         * manual/math.texi: Document MTASC-safety properties.
3363         * manual/locale.texi: Document MTASC-safety properties.
3365         * manual/llio.texi: Document MTASC-safety properties.
3367         * manual/libdl.texi: New.
3369         * manual/lang.texi: Document MTASC-safety properties.
3371         * manual/job.texi: Document MTASC-safety properties.
3373         * manual/getopt.texi: Document MTASC-safety properties.
3375         * manual/ctype.texi: Document MTASC-safety properties.
3377 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
3379         [BZ #16046]
3380         * csu/libc-tls.c (static_map): Remove variable.
3381         (__libc_setup_tls): Use main executable's link map for TLS data.
3382         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3383         casing for LM_ID_BASE and GL(dl_nns).
3384         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3385         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
3386         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3387         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3388         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3389         member.
3390         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3391         l_phnum members.
3393 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
3395         * manual/debug.texi: Document MTASC-safety properties.
3397 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
3399         [BZ #16510]
3400         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3401         of __x86_64__ when disabling x87 inline functions.
3403 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
3405         * manual/charset.texi: Document MTASC-safety properties.
3407         * manual/crypt.texi: Document MTASC-safety properties.
3409         * manual/conf.texi: Document MTASC-safety properties.
3411         * manual/arith.texi: Document MTASC-safety properties.
3413         * manual/argp.texi: Document MTASC-safety properties.
3415         * manual/macros.texi: Introduce macros to document multi
3416         thread, asynchronous signal and asynchronous cancellation
3417         safety properties.
3418         * manual/intro.texi: Introduce the properties themselves.
3420 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3422         * sysdeps/sh/sh4/Makefile: New file.
3424 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
3426         * math/gen-libm-test.pl ($srcdir): New variable.
3427         ($auto_input): Use it.
3429 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3431         [BZ #16506]
3432         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3433         access beyond array bounds when parsing netgroups file.
3435         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3436         the old buffer before realloc.
3438 2014-01-27  Allan McRae  <allan@archlinux.org>
3440         * po/fr.po: Update French translation from translation project.
3442 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3444         * sysdeps/sh/libm-test-ulps: Regenerate.
3446 2014-01-24  David S. Miller  <davem@davemloft.net>
3448         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3450 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3452         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3453         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3455 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3457         [BZ #16474]
3458         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3459         string pointers after reallocation.
3461 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3463         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3464         __SH4A__ instead of __SH_FPU_ANY__.
3466 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3468         * sysdeps/sh/fpu_control.h: New file.
3469         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3470         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3471         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3472         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3473         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3474         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3475         * sysdeps/sh/sys/ucontext.h: Remove.
3476         * sysdeps/sh/sys: Remove directory.
3478 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3480         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3481         s390/sys/ucontext.h.
3482         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3483         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3485 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
3487         [BZ #15605]
3488         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3490 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3492         [BZ#16431]
3493         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3494         Adjust the vDSO correctly for internal calls.
3495         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3497 2014-01-20  Allan McRae  <allan@archlinux.org>
3499         * po/ca.po: Update Catalan translation from translation project.
3501 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
3503         * sysdeps/s390/sotruss-lib.c: New file.
3505 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3507         [BZ#16430]
3508         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3509         (__GI___gettimeofday): Alias for a different internal symbol to avoid
3510         local calls issues by not having a PLT stub required for IFUNC calls.
3511         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3513 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
3515         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3516         * math/test-fpucw-static.c: Likewise.
3518 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3520         [BZ #16453]
3521         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3523 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3525         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3526         implementation for powerpc.
3528 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
3530         [BZ #14782]
3531         * sysdeps/posix/system.c (__libc_system): Do not enable
3532         asynchronous cancellation.
3534 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3536         [BZ #16427]
3537         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3538         handling only for numbers special also in the IEEE case.
3540 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3542         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3544 2014-01-11  Allan McRae  <allan@archlinux.org>
3546         * po/bg.po: Update Bulgarian translation from translation project.
3548         * po/de.po: Update German translation from translation project.
3550 2014-01-10  Roland McGrath  <roland@hack.frob.com>
3552         * sysdeps/generic/gcc-compat.h: New file.
3554 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3556         * benchtests/asin-inputs: Correct slow inputs.
3557         * benchtests/acos-inputs: Likewise.
3559 2014-01-10  Allan McRae  <allan@archlinux.org>
3561         * po:sv.po: Update Swedish translation from translation project.
3563         * po/vi.po: Update Vietnamese translation from translation project.
3565         * po/eo.po: Update Esperanto translation from translation project.
3567         * po/cs.po: Update Czech translation from translation project.
3569         * po/nl.po: Update Dutch translation from translation project.
3571         * po/pl.po: Update Polish translation from translation project.
3573         * po/ru.po: Update Russian translation from translation project.
3575         * po/uk.po: Update Ukrainian translation from translation project.
3577 2014-01-08  Brooks Moses  <bmoses@google.com>
3579         * elf/dl-load.c: Fix comment typo.
3581 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
3583         * po/header.pot: Rename to...
3584         * po/pot.header: ... this.
3585         * po/Makefile: Use pot.header.
3587 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
3588             Maxim Kuvyrkov  <maxim@kugelworks.com>
3590         [BZ #16394]
3591         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3592         SRC and DEST against LEN.
3594 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3596         [BZ #16414]
3597         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3598         implementation.
3599         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3601 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3605 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
3607         [BZ #16408]
3608         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3609         for large positive arguments.
3611 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
3613         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3615         * math/auto-libm-test-in: Mark various tests with
3616         xfail-rounding:ldbl-128ibm.
3617         * math/auto-libm-test-out: Regenerated.
3619         [BZ #16407]
3620         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3621         Increase overflow threshold.
3623 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
3625         [BZ #14286]
3626         * stdio-common/vfprintf.c: Check for integer overflow.
3628 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3630         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3631         the first argument and return value of __tls_get_addr_internal.
3633 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3635         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3636         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3638 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3640         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3641         * sysdeps/s390/rtld-global-offsets.sym: New file.
3642         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3643         GLIBC_2.19 symbol.
3644         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3645         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3646         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3647         ... this.
3648         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3649         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3650         ... this.
3651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3652         Regenerate.
3653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3654         Regenerate.
3655         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3656         halfs of GPRs for high_gprs contexts.
3657         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3658         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
3659         field.
3660         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3661         uc_flags field.
3662         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3663         64 bit versions:
3664         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3665         for high GPRs (uc_high_gprs) and for future extensions
3666         (__reserved).
3667         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3668         for future extensions (__reserved).
3669         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3670         64 bit versions:
3671         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3672         SC_HIGHGPRS offset definition.
3673         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3674         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3676 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3678         * Versions.def: Add GLIBC_2.19 for libpthread.
3679         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3680         siglongjmp for libpthread with GLIBC_2.19 symver.
3681         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3682         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3683         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3684         * sysdeps/s390/__longjmp.c: New file.
3685         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3686         * sysdeps/s390/longjmp.c: New file.
3687         * sysdeps/s390/setjmp.S: New file.
3688         * sysdeps/s390/sigjmp.S: New file.
3689         * sysdeps/s390/v1-longjmp.c: New file.
3690         * sysdeps/s390/v1-setjmp.h: New file.
3691         * sysdeps/s390/v1-sigjmp.c: New file.
3692         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3693         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3694         GLIBC_2.19 version.
3695         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3696         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3697         versioned symbols for ____longjmp_chk.
3698         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3699         Likewise.
3700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3701         Regenerate.
3702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3703         Regenerate.
3704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3705         Regenerate.
3706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3707         Regenerate.
3708         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3709         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3710         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3711         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3712         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3713         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3714         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3715         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3716         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3717         * sysdeps/s390/rtld-__longjmp.c: New file.
3718         * sysdeps/s390/rtld-setjmp.S: New file.
3720 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
3722         [BZ #16400]
3723         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3724         Return -__logl (x) for small positive arguments without evaluating
3725         a polynomial.
3727 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
3729         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3730         Rename to ...
3731         (__ptrace_peeksiginfo_args): ... this.
3732         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3733         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3734         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3736 2014-01-06  Allan McRae  <allan@archlinux.org>
3738         * inet/netinet/in.h: Fix typo in comment.
3740 2014-01-05  Andreas Jaeger  <aj@suse.de>
3742         * sysdeps/i386/fpu/libm-test-ulps: Update.
3744 2014-01-05  Allan McRae  <allan@archlinux.org>
3746         * po/libc.pot: Regenerated.
3748         * malloc/memusagestat.c: Fix gettext call formatting.
3750 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
3752         * nscd/nscd.c: Improve usage() output.
3754 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
3756         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3757         * sysdeps/unix/sysv/linux/configure: Regenerated.
3758         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3759         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3761 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3763         [BZ #16390]
3764         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3765         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3767 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3769         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3770         extra tokens at end of #undef directive.
3771         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3772         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3773         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3775 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3777         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3779         * math/auto-libm-test-in: Mark various tests with
3780         xfail-rounding:ldbl-128ibm.
3781         * math/auto-libm-test-out: Regenerated.
3783 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3785         [BZ #16386]
3786         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3787         numbers with subnormal high part when calculating exponent.
3789         [BZ #16385]
3790         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3791         fabs.
3793         [BZ #16384]
3794         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3795         M_LN2l.
3796         (__ieee754_acoshl): Use __log1pl not __log1p.
3798 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
3800         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3801         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3802         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3803         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3804         Convert to GNU style.
3805         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3806         mem2mem_check, mem2chunk_check, top_check, realloc_check,
3807         memalign_check, __malloc_set_state): Likewise.
3808         * malloc/mallocbug.c (main): Likewise.
3809         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3810         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3811         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3812         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3813         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3814         * malloc/malloc.h: Likewise.
3815         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3816         memalignhook, reallochook, mabort): Likewise.
3817         * malloc/mcheck.h: Likewise.
3818         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3819         mmap64, mremap, munmap, dest): Likewise.
3820         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3821         * malloc/morecore.c (__default_morecore): Likewise.
3822         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3823         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3824         _obstack_allocated_p, obstack_free, _obstack_memory_used,
3825         print_and_abort): Likewise.
3826         * malloc/obstack.h: Likewise.
3827         * malloc/set-freeres.c (__libc_freeres): Likewise.
3828         * malloc/tst-mallocstate.c (main): Likewise.
3829         * malloc/tst-mtrace.c (main): Likewise.
3830         * malloc/tst-realloc.c (do_test): Likewise.
3832 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3834         [BZ #16366]
3835         * nscd/netgroupcache.c (do_notfound): New function.
3836         (addgetnetgrentX): Use it.
3838         [BZ # 16365]
3839         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3840         NSS_STATUS_NOTFOUND.
3842 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
3844         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3847 2014-01-01  Allan McRae  <allan@archlinux.org>
3849         * scripts/update-copyrights: Update configure input file suffix.
3851         * NEWS: Update copyright year.
3852         * catgets/gencat.c: Likewise.
3853         * csu/version.c: Likewise.
3854         * debug/catchsegv.sh: Likewise.
3855         * debug/pcprofiledump.c: Likewise.
3856         * debug/xtrace.sh: Likewise.
3857         * elf/ldconfig.c: Likewise.
3858         * elf/ldd.bash.in: Likewise.
3859         * elf/pldd.c: Likewise.
3860         * elf/sotruss.ksh: Likewise.
3861         * elf/sprof.c: Likewise.
3862         * iconv/iconv_prog.c: Likewise.
3863         * iconv/iconvconfig.c: Likewise.
3864         * locale/programs/locale.c: Likewise.
3865         * locale/programs/localedef.c: Likewise.
3866         * login/programs/pt_chown.c: Likewise.
3867         * malloc/memusage.sh: Likewise.
3868         * malloc/memusagestat.c: Likewise.
3869         * malloc/mtrace.pl: Likewise.
3870         * manual/libc.texinfo: Likewise.
3871         * nscd/nscd.c: Likewise.
3872         * nss/getent.c: Likewise.
3873         * nss/makedb.c: Likewise.
3874         * posix/getconf.c: Likewise.
3875         * scripts/test-installation.pl: Likewise.
3877         * All files with FSF copyright notices: Update copyright dates
3878         using scripts/update-copyrights.
3879         * intl/plural.c: Regenerated.
3880         * locale/programs/charmap-kw.h: Likewise.
3881         * locale/programs/locfile-kw.h: Likewise.
3883 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
3885         * sysdeps/unix/sysv/linux/configure: Regenerated.
3886         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3887         the linux/fanotify.h header.
3888         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3889         HAVE_LINUX_FANOTIFY_H is defined.
3891 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3893         * benchtests/cos-inputs: New inputs.
3894         * benchtests/sin-inputs: Likewise.
3896         * benchtests/atan-inputs: New inputs. Fix name of multiple
3897         precision fallback inputs.
3899         * benchtests/atanh-inputs: New inputs.
3900         * benchtests/tanh-inputs: Likewise.
3902         * benchtests/acosh-inputs: New inputs.
3903         * benchtests/asinh-inputs: Likewise.
3905         * benchtests/cosh-inputs: New inputs.
3906         * benchtests/sinh-inputs: Likewise.
3908         * benchtests/acos-inputs: Add more inputs.
3909         * benchtests/asin-inputs: Likewise.
3911 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
3913         [BZ #16375]
3914         * manual/arith.texi: Fix spelling.
3915         * manual/charset.texi: Likewise.
3916         * manual/errno.texi: Likewise.
3917         * manual/filesys.texi: Likewise.
3918         * manual/lang.texi: Likewise.
3919         * manual/llio.texi: Likewise.
3920         * manual/locale.texi: Likewise.
3921         * manual/message.texi: Likewise.
3922         * manual/resource.texi: Likewise.
3923         * manual/search.texi: Likewise.
3924         * manual/setjmp.texi: Likewise.
3925         * manual/stdio.texi: Likewise.
3926         * manual/string.texi: Likewise.
3927         * manual/sysinfo.texi: Likewise.
3928         * manual/time.texi: Likewise.
3930 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
3932         * po/sl.po: New file.
3934 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
3936         * .gitignore: Add core/.gdbinit/.gdb_history.
3938 2013-12-27  Allan McRae  <allan@archlinux.org>
3940         [BZ #16369]
3941         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
3942         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
3944 2013-12-24  Brooks Moses  <bmoses@google.com>
3946         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
3947         all compilers that claim C++98 compliance, not just GCC.
3948         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3949         Likewise.
3951 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3953         * NEWS: Restore accidentally deleted bug-fix entries.
3955 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
3956             Ondřej Bílka  <neleai@seznam.cz>
3958         [BZ #15073]
3959         * malloc/malloc.c (_int_free): Perform sanity check only if we
3960         have_lock.
3962 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
3964         [BZ #12986]
3965         * manual/stdio.texi (String Input Conversions): Clarify that character
3966         classes are not supported.
3968 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3972 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
3974         [BZ #16337]
3975         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3976         Calculate results for small negative arguments directly rather
3977         than using reflection formula with special underflow handling.
3979         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
3980         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
3981         sysdeps/unix/bsd/bsd4.4/syscalls.list.
3982         (fchflags): Likewise.
3983         (revoke): Likewise.
3984         (setlogin): Likewise.
3985         (sigaltstack): Likewise.
3986         (wait4): Likewise.
3987         (sigblock): Remove.
3988         (sigsetmask): Likewise.
3989         (wait3): Likewise.
3990         (waitpid): Likewise.
3991         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
3992         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
3993         file.
3994         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
3995         * sysdeps/unix/bsd/Makefile: ... here.
3996         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
3997         * sysdeps/unix/bsd/Versions: ... here.
3998         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
3999         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4000         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4001         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4002         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4003         * sysdeps/unix/bsd/sigblock.c: ... here.
4004         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4005         * sysdeps/unix/bsd/sigsetmask.c: ... here.
4006         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4007         * sysdeps/unix/bsd/sigvec.c: ... here.
4008         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4009         * sysdeps/unix/bsd/tcdrain.c: ... here.
4010         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4011         * sysdeps/unix/bsd/tcgetattr.c: ... here.
4012         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4013         * sysdeps/unix/bsd/tcsetattr.c: ... here.
4014         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4015         * sysdeps/unix/bsd/wait.c: ... here.
4016         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4017         * sysdeps/unix/bsd/wait3.c: ... here.
4018         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4019         * sysdeps/unix/bsd/waitpid.c: ... here.
4021 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
4023         [BZ #16356]
4024         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4025         round-to-nearest for [!USE_AS_EXPM1L].
4026         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4027         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
4028         more tests of exp and exp10.  Expect some exp10 tests to miss
4029         exceptions or fail in directed rounding modes.
4030         * math/auto-libm-test-out: Regenerated.
4031         * math/libm-test.inc (exp10_tonearest_test_data): New array.
4032         (exp10_test_tonearest): New function.
4033         (exp10_towardzero_test_data): New array.
4034         (exp10_test_towardzero): New function.
4035         (exp10_downward_test_data): New array.
4036         (exp10_test_downward): New function.
4037         (exp10_upward_test_data): New array.
4038         (exp10_test_upward): New function.
4039         (main): Call the new functions.
4040         * sysdeps/i386/fpu/libm-test-ulps: Update.
4041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4043 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
4045         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4046         asinh, atan, atan2, atanh, cbrt, cos and cosh.
4047         * math/auto-libm-test-out: Regenerated.
4048         * math/libm-test.inc (acosh_test_data): Add more tests.
4049         (atanh_test_data): Likewise.
4050         (ceil_test_data): Likewise.
4051         (copysign_test_data): Likewise.
4052         * sysdeps/i386/fpu/libm-test-ulps: Update.
4053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4055         * timezone/checktab.awk: Update from tzcode 2013i.
4056         * timezone/private.h: Likewise.
4057         * timezone/scheck.c: Likewise.
4058         * timezone/tzfile.h: Likewise.
4059         * timezone/tzselect.ksh: Likewise.
4060         * timezone/zdump.c: Likewise.
4061         * timezone/zic.c: Likewise.
4063         * math/auto-libm-test-in: Add tests of cpow.
4064         * math/auto-libm-test-out: Regenerated.
4065         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4066         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4067         mpc_cc_c.
4068         (func_calc_desc): Add mpc_cc_c union field.
4069         (test_functions): Add cpow.
4070         (special_fill_2pi): New function.
4071         (special_real_inputs): Add 2pi.
4072         (calc_generic_results): Handle mpc_cc_c.
4073         * sysdeps/i386/fpu/libm-test-ulps: Update.
4074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4076         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4077         csqrt, ctan and ctanh.
4078         * math/auto-libm-test-out: Regenerated.
4079         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4080         (TEST_COND_x86): Likewise.
4081         (ccos_test_data): Use AUTO_TESTS_c_c.
4082         (ccosh_test_data): Likewise.
4083         (cexp_test_data): Likewise.
4084         (clog_test_data): Likewise.
4085         (csqrt_test_data): Likewise.
4086         (ctan_test_data): Likewise.
4087         (ctan_tonearest_test_data): Likewise.
4088         (ctan_towardzero_test_data): Likewise.
4089         (ctan_downward_test_data): Likewise.
4090         (ctan_upward_test_data): Likewise.
4091         (ctanh_test_data): Likewise.
4092         (ctanh_tonearest_test_data): Likewise.
4093         (ctanh_towardzero_test_data): Likewise.
4094         (ctanh_downward_test_data): Likewise.
4095         (ctanh_upward_test_data): Likewise.
4096         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4097         mpc_c_c.
4098         (func_calc_desc): Add mpc_c_c union field.
4099         (FUNC_mpc_c_c): New macro.
4100         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4101         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4102         ctanh.
4103         (special_fill_min_subnorm_p120): New function.
4104         (special_real_inputs): Add min_subnorm_p120.
4105         (calc_generic_results): Handle mpc_c_c.
4106         * sysdeps/i386/fpu/libm-test-ulps: Update.
4107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4109 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4111         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4112         do_sin_slow): New functions.
4113         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4114         cslow2, csloww1, csloww2): Use the new functions.
4116         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4117         Use M to change sign of result instead of X.  Assume X is
4118         positive.
4119         (csloww1): Likewise.
4120         (__sin): Adjust.
4121         (__cos): Adjust.
4123         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4124         arguments A and DA.
4125         (__sin): Adjust.
4126         (__cos): Likewise.
4128         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4129         (__cos): Likewise.
4130         (sloww1): Don't adjust sign of DX.
4131         (csloww1): Likewise.
4132         (sloww2): Use X directly and don't adjust sign of DX.
4133         (csloww2): Likewise.
4135 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4137         * math/auto-libm-test-in: Add tests of cabs and carg.
4138         * math/auto-libm-test-out: Regenerated.
4139         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4140         (carg_test_data): Likewise.
4141         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4142         mpc_c_f.
4143         (func_calc_desc): Add mpc_c_f union field.
4144         (test_functions): Add cabs and carg.
4145         (calc_generic_results): Handle mpc_c_f.
4147         * sysdeps/powerpc/powerpc32/libgcc-compat.S
4148         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4149         as a macro and a compat symbol.
4150         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4151         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4152         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4153         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4154         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4155         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4156         not use .hidden.
4157         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4158         Likewise.
4159         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4160         Likewise.
4161         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4162         Likewise.
4163         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4164         Likewise.
4165         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4166         Likewise.
4167         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4168         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4169         from GLIBC_2.3.2.
4171 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4175 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4177         * manual/texinfo.tex: Update to version 2013-11-26.10 with
4178         trailing whitespace removed.
4179         * scripts/config.guess: Update to version 2013-11-29.
4180         * scripts/config.sub: Update to version 2013-10-01.
4182         * math/auto-libm-test-in: Add tests of sincos.
4183         * math/auto-libm-test-out: Regenerated.
4184         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4185         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4186         mpfr_f_11.
4187         (func_calc_desc): Add mpfr_f_11 union field.
4188         (test_functions): Add sincos.
4189         (calc_generic_results): Handle mpfr_f_11.
4190         * sysdeps/i386/fpu/libm-test-ulps: Update.
4191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4193 2013-12-19  Andreas Schwab  <schwab@suse.de>
4195         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4196         CALL_MCOUNT.
4197         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4198         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4199         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4201 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4203         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4204         * sysdeps/i386/fpu/libm-test-ulps: Update.
4205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4207         [BZ #16293]
4208         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4209         round-to-nearest mode when using frndint.
4210         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4211         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4212         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4213         Likewise.
4214         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
4215         sinh test to fail.
4216         * math/auto-libm-test-out: Regenerated.
4217         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4218         (TEST_COND_x86): Likewise.
4219         (expm1_tonearest_test_data): New array.
4220         (expm1_test_tonearest): New function.
4221         (expm1_towardzero_test_data): New array.
4222         (expm1_test_towardzero): New function.
4223         (expm1_downward_test_data): New array.
4224         (expm1_test_downward): New function.
4225         (expm1_upward_test_data): New array.
4226         (expm1_test_upward): New function.
4227         (main): Run the new test functions.
4228         * sysdeps/i386/fpu/libm-test-ulps: Update.
4229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4231         * include/features.h: Update comment documenting feature test
4232         macros.  Mention _DEFAULT_SOURCE in comment.
4233         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4234         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4235         _BSD_SOURCE and _SVID_SOURCE.
4236         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4237         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4238         !_SVID_SOURCE]: Likewise.
4239         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4240         (__USE_POSIX_IMPLICITLY): Define.
4241         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4242         (_POSIX_SOURCE): Undefine and redefine.
4243         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4244         (_POSIX_C_SOURCE): Likewise.
4245         * manual/creature.texi (_DEFAULT_SOURCE): Document.
4246         (Feature Test Macros): Update documentation of default features.
4248 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4250         * benchtests/Makefile: Add bench-strtok.
4251         * benchtests/bench-strtok.c: New file: strtok benchtest.
4253 2013-12-19  Allan McRae  <allan@archlinux.org>
4255         * manual/install.texi: Suppress menu for plain text output.
4256         * INSTALL: Regenerated.
4258 2013-12-18  Brooks Moses  <bmoses@google.com>
4260         [BZ #15846]
4261         * misc/getauxval.c: Include errno.h.
4262         (__getauxval): Set errno to ENOENT if the requested type is not
4263         found.
4264         * misc/sys/auxv.h (getauxval): Document that it may set errno;
4265         don't declare with __attribute_const__.
4266         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4267         * manual/startup.texi: Document that getauxval sets errno.
4269 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4271         * math/auto-libm-test-in: Add tests of jn and yn.
4272         * math/auto-libm-test-out: Regenerated.
4273         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4274         (yn_test_data): Likewise.
4275         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4276         mpfr_if_f.
4277         (func_calc_desc): Add mpfr_if_f union field.
4278         (FUNC_mpfr_if_f): New macro.
4279         (test_functions): Add jn and yn.
4280         (calc_generic_results): Assert type of second input for
4281         mpfr_ff_f.  Handle mpfr_if_f.
4282         (output_for_one_input_case): Disable all checking for arguments
4283         fitting floating-point types in case of an integer argument.
4284         * sysdeps/i386/fpu/libm-test-ulps: Update.
4285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4288         Don't expect fegetround reference in libm.so.
4290 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4292         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4293         $(config-cflags-nofma).
4295 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4297         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4298         * math/auto-libm-test-out: Regenerated.
4300         [BZ #16338]
4301         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4302         to determine exponent and adjust argument to have exponent of -1.
4303         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4304         log2.
4305         * math/auto-libm-test-out: Regenerated.
4306         * sysdeps/i386/fpu/libm-test-ulps: Update.
4307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4309 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
4311         * manual/probes.texi: Remove cases when per-thread arenas are
4312         disabled.
4314 2013-12-18  Andreas Schwab  <schwab@suse.de>
4316         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4317         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4318         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4319         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4320         * sysdeps/i386/i686/multiarch/Makefile: Update.
4321         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4323 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4325         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4326         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4328 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
4330         [BZ #15968]
4331         Support TZ transition times < 00:00:00.
4332         This is needed for version-3 tz-format files; it supports time
4333         stamps past 2037 for America/Godthab (the only entry in the tz
4334         database for which this change is relevant).
4335         * manual/time.texi (TZ Variable): Document transition times
4336         from -167:59:59 through -00:00:01.
4337         * time/tzset.c (tz_rule): Time of day is now signed.
4338         (__tzset_parse_tz): Parse negative time of day.
4340         Document TZ transition times >= 25:00:00.
4341         * manual/time.texi (TZ Variable): Document transition times from
4342         25:00:00 through 167:59:59.  These are already supported, and this
4343         support will help with version-3 tz-format files.
4345         * manual/time.texi (TZ Variable): Modernize North America example
4346         to reflect current (i.e., 2007-and-later) daylight saving rules.
4348         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4350 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4352         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4353         * sysdeps/unix/bsd/bits/stat.h: Likewise.
4354         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4355         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4356         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4357         * sysdeps/unix/bsd/bsdstat.h: Likewise.
4358         * sysdeps/unix/bsd/clock.c: Likewise.
4359         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4360         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4361         * sysdeps/unix/bsd/init-posix.c: Likewise.
4362         * sysdeps/unix/bsd/poll.c: Likewise.
4363         * sysdeps/unix/bsd/ptsname.c: Likewise.
4364         * sysdeps/unix/bsd/seekdir.c: Likewise.
4365         * sysdeps/unix/bsd/setegid.c: Likewise.
4366         * sysdeps/unix/bsd/seteuid.c: Likewise.
4367         * sysdeps/unix/bsd/setgid.c: Likewise.
4368         * sysdeps/unix/bsd/setrgid.c: Likewise.
4369         * sysdeps/unix/bsd/setruid.c: Likewise.
4370         * sysdeps/unix/bsd/setsid.c: Likewise.
4371         * sysdeps/unix/bsd/setuid.c: Likewise.
4372         * sysdeps/unix/bsd/sigaction.c: Likewise.
4373         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4374         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4375         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4376         * sysdeps/unix/bsd/telldir.c: Likewise.
4377         * sysdeps/unix/bsd/times.c: Likewise.
4378         * sysdeps/unix/bsd/usleep.c: Likewise.
4380         * misc/Makefile (install-lib): Remove libbsd-compat.a.
4381         ($(objpfx)libbsd-compat.a): Remove rule.
4383         * include/features.h (__FAVOR_BSD): Do not define.
4384         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4385         features conflicting with POSIX.
4386         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4387         (_BSD_SOURCE): Remove description of not being a subset of other
4388         feature test macros.
4389         * manual/job.texi (getpgrp): Do not document BSD version.
4390         (getpgid): Do not document by reference to BSD getpgrp.
4391         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4392         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4393         * signal/signal.h [__FAVOR_BSD]: Likewise.
4394         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4395         instead of making contents conditional on [__FAVOR_BSD].
4396         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4398 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4402 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4404         [BZ #16314]
4405         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4406         values below 2**-450, not 2**-500.
4407         * math/auto-libm-test-in: Don't allow spurious underflow from
4408         hypot.
4409         * math/auto-libm-test-out: Regenerated.
4411         [BZ #16316]
4412         [BZ #16330]
4413         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4414         values of ha and hb and sort them after adjusting subnormal
4415         arguments.
4416         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4417         Likewise.
4418         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4419         values of ea and eb and sort them after adjusting subnormal
4420         arguments.
4421         * math/auto-libm-test-in: Do not expect some hypot tests of
4422         subnormals to fail.  Add more hypot tests.
4423         * math/auto-libm-test-out: Regenerated.
4425 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4427         [BZ #13304]
4428         * sysdeps/sh/s_fma.c: New file.
4429         * sysdeps/sh/s_fmaf.c: New file.
4430         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
4431         version.
4432         * sysdeps/sh/Implies: Add sh/soft-fp.
4434 2013-12-16  Roland McGrath  <roland@hack.frob.com>
4436         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
4437         level of indirection to members `objname', `errstring', `malloced'.
4438         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4439         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
4440         it as the __longjmp argument (just pass 1 instead).
4441         (_dl_catch_error): Initialize C with argument pointers and address of
4442         volatile local ERRCODE rather than copying values out of C at return.
4444 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
4446         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4447         * math/auto-libm-test-out: Regenerated.
4448         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4449         (hypot_test_data): Likewise.
4450         (pow_test_data): Likewise.
4451         (pow_tonearest_test_data): Likewise.
4452         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4453         mpfr_ff_f.
4454         (func_calc_desc): Add mpfr_ff_f union field.
4455         (FUNC_mpfr_ff_f): New macro.
4456         (test_functions): Add atan2, hypot and pow.
4457         (special_fill_min): New function.
4458         (special_fill_minus_min): Likewise.
4459         (special_fill_min_subnorm): Likewise.
4460         (special_fill_minus_min_subnorm): Likewise.
4461         (special_real_inputs): Add min, -min, min_subnorm and
4462         -min_subnorm.
4463         (calc_generic_results): Handle mpfr_ff_f.
4464         * sysdeps/i386/fpu/libm-test-ulps: Update.
4465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4467 2013-12-16  Will Newton  <will.newton@linaro.org>
4469         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4470         (Aligned Memory Blocks): Add documentation for aligned_alloc
4471         and suggest it as an alternative to posix_memalign.
4472         (Hooks for Malloc): Document __memalign_hook is also called
4473         for aligned_alloc.  (Summary of Malloc): Add summary for
4474         aligned alloc.  Document __memalign_hook is also called
4475         for aligned_alloc.
4477 2013-12-16  Will Newton  <will.newton@linaro.org>
4479         * manual/memory.texi (Malloc Examples): Clarify default
4480         alignment documentation.  Suggest posix_memalign rather
4481         than memalign or valloc.
4482         (Aligned Memory Blocks): Remove suggestion to use memalign
4483         or valloc.  Remove obsolete comment about BSD.
4484         Document memalign errno values and mark the function obsolete.
4485         Document posix_memalign returned error codes.  Mark valloc
4486         as obsolete.  (Hooks for Malloc): __memalign_hook is also
4487         called for posix_memalign and valloc.
4488         (Summary of Malloc): Add posix_memalign to function summary.
4489         __memalign_hook is also called for posix_memalign and valloc.
4491 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4493         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4494         TAYLOR_SIN.
4495         (__sin): Adjust.
4496         (__cos): Likewise.
4497         (sloww): Use mynumber union.  Expand ternary operator into
4498         if-else statements.
4499         (cslow): use mynumber union.
4501 2013-12-16  Allan McRae  <allan@archlinux.org>
4503         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4504         * configure: Regenerated.
4506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4508         [BZ #14120]
4509         * configure.ac: Added --enable-maintainer-mode. Check for
4510         autoconf when enabled.
4511         * configure: Regenerated.
4513         * nscd/nscd.service: New file.
4514         * nscd/nscd.tmpfiles: New file.
4516 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
4518         [BZ #12100]
4519         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4520         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4521         * sysdeps/x86_64/multiarch/strstr.c: ... here.
4522         (strstr): Add __strstr_sse2_unaligned ifunc.
4523         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4524         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4525         (strcasestr): Remove __strcasestr_sse42 ifunc.
4526         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4527         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4530 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4532         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4533         * sysdeps/sh/bits/fenv.h: ... here.
4534         * sysdeps/sh/sh4/fpu/bits: Remove directory.
4536 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4538         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4540 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4543         hypotf multiarch implementations.
4544         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4545         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4546         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4547         multiarch hypot for PPC64.
4548         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4549         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4550         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4551         multiarch hypotf for PPC64.
4553 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4556         modff multiarch implementations.
4557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4560         multiarch modf for PPC64.
4561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4564         multiarch modff for PPC64.
4566 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4568         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4569         and logl multiarch implementations.
4570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4573         multiarch logb for PPC64.
4574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4577         multiarch logb for PPC64.
4578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4581         multiarch logb for PPC64.
4583 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4585         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4586         isinff multiarch implementation.
4587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4588         file.
4589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4591         multiarch isinf for PPC64.
4592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4593         file.
4594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4595         multiarch isinff for PPC64.
4597 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4600         finitef multiarch implementation.
4601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4602         file.
4603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4605         multiarch finite for PPC64.
4606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4607         file.
4608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4609         multiarch finitef for PPC64.
4611 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4614         lrint multiarch implementation.
4615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4616         file.
4617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4619         multiarch llrint for PPC64.
4620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4621         multiarch lrint for PPC64.
4623 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4625         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4626         copysignf multiarch implementation.
4627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4628         file.
4629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4630         file.
4631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4632         multiarch copysign for PPC64.
4633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4634         multiarch copysignf for PPC64.
4636 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4638         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4639         multiarch implementation.
4640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4641         file.
4642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4643         file.
4644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4645         file.
4646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4647         file.
4648         multiarch llround for PPC64.
4649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4650         multiarch trunc for PPC64.
4651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4652         multiarch truncf for PPC64.
4654 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4656         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4657         multiarch implementation.
4658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4659         file.
4660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4661         file.
4662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4663         file.
4664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4665         file.
4666         multiarch llround for PPC64.
4667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4668         multiarch round for PPC64.
4669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4670         multiarch roundf for PPC64.
4672 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4674         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4675         multiarch implementation.
4676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4677         file.
4678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4679         file.
4680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4681         file.
4682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4683         file.
4684         multiarch llround for PPC64.
4685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4686         multiarch floor for PPC64.
4687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4688         multiarch floorf for PPC64.
4690 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4693         multiarch implementation.
4694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4695         file.
4696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4697         file.
4698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4699         file.
4700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4701         file.
4702         multiarch llround for PPC64.
4703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4704         multiarch ceil for PPC64.
4705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4706         multiarch ceilf for PPC64.
4708 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4711         multiarch implementation.
4712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4713         file.
4714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4715         file.
4716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4717         file.
4718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4719         multiarch llround for PPC64.
4720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4721         multiarch lround for PPC64.
4723 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4725         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4726         multiarch implementation.
4727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4730         file.
4731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4734         multiarch isnan for PPC64.
4735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4736         multiarch isnanf for PPC64.
4738 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4740         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4741         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4742         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4743         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4744         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4747 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4749         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4750         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4751         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4752         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4754 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4757         multiarch implementations.
4758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4759         (__libc_ifunc_impl_list): Likewise.
4760         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4761         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4762         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4763         multiarch stpcpy for PPC64.
4765 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4768         multiarch implementations.
4769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4770         (__libc_ifunc_impl_list): Likewise.
4771         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4772         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4773         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4774         multiarch strcpy for PPC64.
4776 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4778         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4779         redefine function name.
4780         (_wordcopy_fwd_dest_aligned): Likewise.
4781         (_wordcopy_bwd_aligned): Likewise.
4782         (_wordcopy_bwd_dest_aligned): Likewise.
4783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4784         multiarch implementations.
4785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4786         (__libc_ifunc_impl_list): Likewise.
4787         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4788         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4789         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4790         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4791         multiarch wcscpy for PPC64.
4793 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4796         multiarch implementations.
4797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4798         (__libc_ifunc_impl_list): Likewise.
4799         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4800         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4801         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4802         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4803         multiarch wcscpy for PPC64.
4805 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4808         multiarch implementations.
4809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4810         (__libc_ifunc_impl_list): Likewise.
4811         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4812         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4813         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4814         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4815         multiarch wcsrchr for PPC64.
4817 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4820         multiarch implementations.
4821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4822         (__libc_ifunc_impl_list): Likewise.
4823         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4824         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4825         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4826         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4827         multiarch wcschr for PPC64.
4829 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4832         multiarch implementations.
4833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4834         (__libc_ifunc_impl_list): Likewise.
4835         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4836         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4837         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4838         multiarch strchrnul for PPC64.
4840 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4843         implementations.
4844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4845         (__libc_ifunc_impl_list): Likewise.
4846         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4847         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4848         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4849         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4850         strchr for PPC64.
4852 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4855         implementations.
4856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4857         (__libc_ifunc_impl_list): Likewise.
4858         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4859         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4860         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4861         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4862         strncmp for PPC64.
4864 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4867         multiarch implementations.
4868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4869         (__libc_ifunc_impl_list): Likewise.
4870         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4871         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4872         strncasecmp for PPC64.
4873         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4874         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4875         multiarch strncasecmp_l for PPC64.
4877 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4880         multiarch implementations.
4881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4882         (__libc_ifunc_impl_list): Likewise.
4883         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4884         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4885         multiarch strcasecmp for PPC64.
4886         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4887         file.
4888         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4889         multiarch strcasecmp_l for PPC64.
4891 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4894         implementations.
4895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4896         (__libc_ifunc_impl_list): Likewise.
4897         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4898         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4899         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4900         strnlen for PPC64.
4902 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4905         implementations.
4906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4907         (__libc_ifunc_impl_list): Likewise.
4908         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4909         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4910         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4911         strlen for PPC64.
4913 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4916         implementations.
4917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4918         (__libc_ifunc_impl_list): Likewise.
4919         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
4920         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
4921         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
4922         rawmemrchr for PPC64.
4924 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
4927         implementation.
4928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4929         (__libc_ifunc_impl_list): Likewise.
4930         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
4931         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
4932         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
4933         memrchr for PPC64.
4935 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
4938         implementation.
4939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4940         (__libc_ifunc_impl_list): Likewise.
4941         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
4942         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
4943         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
4944         memchr for PPC64.
4946 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
4949         implementation.
4950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4951         (__libc_ifunc_impl_list): Likewise.
4952         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
4953         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
4954         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
4955         mempcpy for PPC64.
4957 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4959         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4960         avoid cretion of __bzero symbol.
4961         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
4962         Likewise.
4963         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
4964         Likewise.
4965         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
4966         Likewise.
4967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
4968         multiarch implementations.
4969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4970         (__libc_ifunc_impl_list): Likewise.
4971         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
4972         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
4973         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
4974         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
4975         bzero for PPC32.
4976         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
4977         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
4978         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
4979         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
4980         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
4981         memset for PPC64.
4982         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
4984 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4986         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
4987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
4988         implementations.
4989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4990         (__libc_ifunc_impl_list): Likewise.
4991         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
4992         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
4993         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
4994         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
4995         memcmp for PPC64.
4997 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5000         multiarch for POWER/PPC64.
5001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5002         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5003         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5004         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5005         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5006         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5007         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5008         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5009         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5010         memcpy for PPC64.
5012 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5014         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5015         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5016         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5017         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5018         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5019         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5020         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5021         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5022         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5023         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5024         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5025         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5026         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5027         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5028         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5037 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5039         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5041 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5043         * benchtests/Makefile (bench): Add exp2 and log2.
5044         (LDLIBS-bench-exp2): Add -lm.
5045         (LDLIBS-bench-log2): Likewise.
5046         * benchtests/exp2-inputs: New inputs file.
5047         * benchtests/log2-inputs: New inputs file.
5048         * benchtests/log-inputs: Add new inputs.
5049         * benchtests/tan-inputs: Likewise.
5051 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5053         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5054         definition...
5055         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5056         csloww1, csloww2): ... from here.
5058         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5059         instead of structures.
5060         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5061         (POLYNOMIAL): Likewise.
5062         (TAYLOR_SLOW): Likewise.
5063         (__sin): Likewise.
5064         (__cos): Likewise.
5065         (slow1): Likewise.
5066         (slow2): Likewise.
5067         (sloww): Likewise.
5068         (sloww1); Likewise.
5069         (sloww2): Likewise.
5070         (bsloww1): Likewise.
5071         (bsloww2): Likewise.
5072         (cslow2): Likewise.
5073         (csloww): Likewise.
5074         (csloww1): Likewise.
5075         (csloww2): Likewise.
5077 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5079         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5080         (__malloc_assert, __libc_realloc, __libc_calloc,
5081         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5082         memcpy and memset.
5083         * malloc/hooks.c (realloc_check): Likewise.
5085 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5087         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5088         * malloc/arena.c: Remove PER_THREAD conditional.
5089         [!PER_THREAD]: Remove code.
5090         (ptmalloc_unlock_all2): Likewise.
5091         (ptmalloc_init): Likewise.
5092         (_int_new_arena): Likewise.
5093         (arena_get2): Likewise.
5094         * malloc/hooks.c (__malloc_get_state): Likewise.
5095         (__malloc_set_state): Likewise.
5096         * malloc/malloc.c: Likewise.
5097         (struct malloc_state): Likewise.
5098         (struct malloc_par): Likewise.
5099         (__libc_realloc): Likewise.
5100         (__libc_mallopt): Likewise.
5102 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5104         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5106 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5108         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5109         macro to a function.  Check for zero perturb_byte.
5110         (_int_malloc, _int_free): Remove zero perturb_byte checks.
5112 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5114         * malloc/malloc.c: (force_reg): Remove.
5115         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5116         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5117         force_reg by atomic_forced_read.
5118         * malloc/arena.c (ptmalloc_init): Likewise.
5119         * malloc/hooks.c (top_check): Likewise.
5121 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5125 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
5127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5129 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
5131         * math/auto-libm-test-in: Add tests of lgamma.
5132         * math/auto-libm-test-out: Regenerated.
5133         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5134         (M_LOG_2_SQRT_PIl): Likewise.
5135         (lgamma_test_data): Use AUTO_TESTS_f_f1.
5136         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5137         mpfr_f_f1.
5138         (func_calc_desc): Add mpfr_f_f1 union field.
5139         (ARGS1): New macro.
5140         (ARGS2): Likewise.
5141         (ARGS3): Likewise.
5142         (ARGS4): Likewise.
5143         (RET1): Likewise.
5144         (RET2): Likewise.
5145         (CALC): Likewise.
5146         (FUNC): Likewise.
5147         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5148         (test_functions): Add lgamma.
5149         (calc_generic_results): Handle mpfr_f_f1.
5150         * sysdeps/i386/fpu/libm-test-ulps: Update.
5151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5153 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5155         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5156         __mpn_add_n for PowerPC64/POWER7.
5157         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5158         __mpn_sub_n for PowerPC64/POWER7.
5160 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5162         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5163         __mpn_addmul_1 for PowerPC64.
5164         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5165         __mpn_submul_1 for PowerPC64.
5166         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5167         for PowerPC64.
5168         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5169         for PowerPC64.
5171 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
5173         [BZ #15089]
5174         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5176 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5178         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5180 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5182         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5183         add multiarch folders.
5184         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5185         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5186         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5187         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5188         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5189         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5190         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5191         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5192         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5193         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5194         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5202 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5205         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5207         New file.
5208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5209         New file.
5210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5211         multiarch __ieee754_hypot for PowerPC32.
5212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5213         New file.
5214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5215         New file.
5216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5217         multiarch __ieee754_hypotf for PowerPC32.
5219 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5221         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5222         long_double_symbol only if __logbl is defined.
5223         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5224         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5225         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5226         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5227         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5228         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5229         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5230         path for implementation.
5231         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5232         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5234         logb, and logbl multiarch implementations for PowerPC32.
5235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5236         file.
5237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5238         file.
5239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5240         multiarch logb for PowerPC32.
5241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5242         file.
5243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5244         file.
5245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5246         multiarch logbf for PowerPC32.
5247         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5249         file.
5250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5251         multiarch logbl implementation for PowerPC32.
5253 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5256         and modff multiarch implementations.
5257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5258         New file.
5259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5260         New file.
5261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5262         multiarch modf for PowerPC32.
5263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5264         New file.
5265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5266         New file.
5267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5268         multiarch modff for PowerPC32.
5270 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5273         and lrintf multiarch implementations.
5274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5275         New file.
5276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5277         New file.
5278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5279         multiarch lrint for PowerPC32.
5280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5281         file: multiarch lrintf for PowerPC32.
5283 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5286         and lroundf multiarch implementations.
5287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5288         New file.
5289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5290         New file.
5291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5292         New file.
5293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5294         multiarch lround for PowerPC32.
5295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5296         file: multiarch lroundf for PowerPC32.
5298 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5301         copysign and copysignf multiarch implementations.
5302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5303         New file.
5304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5305         New file.
5306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5307         file: multiarch copysign for PowerPC32.
5308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5309         file: multiarch copysignf for PowerPC32.
5311 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5314         and truncf multiarch implementations.
5315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5316         New file.
5317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5318         file.
5319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5320         multiarch trunc for PowerPC32.
5321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5322         New file.
5323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5324         New file.
5325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5326         multiarch truncf for PowerPC32.
5328 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5331         and roundf multiarch implementations.
5332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5333         New file.
5334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5335         file.
5336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5337         multiarch round for PowerPC32.
5338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5339         New file.
5340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5341         New file.
5342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5343         multiarch roundf for PowerPC32.
5345 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5348         and floorf multiarch implementations.
5349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5350         New file.
5351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5352         file.
5353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5354         multiarch floor for PowerPC32.
5355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5356         New file.
5357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5358         New file.
5359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5360         multiarch floorf for PowerPC32.
5362 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5365         and ceilf multiarch implementations.
5366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5367         New file.
5368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5369         file.
5370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5371         multiarch ceil for PowerPC32.
5372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5373         New file.
5374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5375         file.
5376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5377         multiarch ceilf for PowerPC32.
5379 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5381         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5382         is defined.
5383         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5384         FINITEF is defined.
5385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5386         and finitef multiarch implementations.
5387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5388         New file.
5389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5390         file.
5391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5392         multiarch finite for PowerPC32.
5393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5394         New file.
5395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5396         file: multiarch finitef for PowerPC32.
5398 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5401         and isinff multiarch implementations.
5402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5403         file.
5404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5405         file.
5406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5407         multiarch isinf for PowerPC32.
5408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5409         New file.
5410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5411         multiarch isinff for PowerPC32.
5413 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5415         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5416         alias when __isnan is defined.
5417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5418         and isnanf multiarch implementations.
5419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5420         file.
5421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5422         file.
5423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5424         file.
5425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5426         file.
5427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5428         multiarch isnan for PowerPC32.
5429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5430         New file.
5431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5432         New file.
5433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5434         multiarch isnanf for PowerPC32.
5436 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5439         and sqrtf multiarch implementations.
5440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5441         file.
5442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5443         file.
5444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5445         multiarch sqrt for PowerPC32.
5446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5447         file.
5448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5449         file.
5450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5451         multiarch sqrtf for PowerPC32.
5453 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5456         and llroundf multiarch implementations.
5457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5458         New file.
5459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5460         New file.
5461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5462         New file.
5463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5464         file: multiarch llround for PowerPC32.
5465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5466         file: multiarch llroundf for PowerPC32.
5468 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5471         multiarch PowerPC32 fpu implementations.
5472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5473         New file.
5474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5475         New file.
5476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5477         multiarch llrint for PowerPC32.
5478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5479         New file.
5480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5481         New file.
5482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5483         file.
5485 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5489 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5491         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5492         file.
5493         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5494         file.
5495         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5496         file.
5497         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5498         multiarch wordcopy for PPC32.
5499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5500         wordcopy objects.
5501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5502         (__libc_ifunc_impl_list): Likewise.
5503         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5504         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5505         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5506         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5507         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5508         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5510 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5512         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5513         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5514         file.
5515         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5516         file.
5517         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5518         file.
5519         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5520         multiarch wcscpy for PPC32.
5521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5522         multiarch objects.
5523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5524         (__libc_ifunc_impl_list): Likewise.
5525         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5526         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5527         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5528         sysdeps/powerpc/power6/wcscpy.c.
5530 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5532         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5534         file.
5535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5536         file.
5537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5538         file.
5539         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5540         multiarch wcsrchr for PPC32.
5541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5542         multiarch objects.
5543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5544         (__libc_ifunc_impl_list): Likewise.
5545         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5546         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5547         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5548         sysdeps/powerpc/power6/wcsrchr.c.
5550 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5553         file.
5554         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5555         file.
5556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5557         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5558         multiarch wcschr for PPc32.
5559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5560         multiarch objects.
5561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5562         (__libc_ifunc_impl_list): Likewise.
5563         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5564         * sysdeps/powerpc/power6/wcschr.c: ... to here.
5565         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5566         sysdeps/powerpc/power6/wcschr.c.
5568 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5570         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5571         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5572         file.
5573         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5574         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5575         file: multiarch strchr for PPC32.
5576         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5577         multiarch objects.
5578         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5579         (__libc_ifunc_impl_list): Likewise.
5581 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5583         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5584         name.
5585         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5586         file.
5587         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5588         file.
5589         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5590         multiarch strchrnul for PPC32.
5591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5592         multiarch objects.
5593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5594         (__libc_ifunc_impl_list): Likewise.
5596 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5598         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5599         file.
5600         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5601         multiarch strncasecmp for PPC32.
5602         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5603         file.
5604         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5605         multiarch strncasecmp_l for PPC32.
5606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5607         strncasecmp multiarch objects.
5608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5609         (__libc_ifunc_impl_list): Likewise.
5611 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5613         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5614         file.
5615         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5616         multiarch strncasecmp for PPC32.
5617         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5618         New file.
5619         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5620         multiarch strcasecmp_l for PPC32.
5621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5622         multiarch objects.
5623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5624         (__libc_ifunc_impl_list): Likewise.
5626 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5628         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5629         file.
5630         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5631         file.
5632         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5633         multiarch strncmp for PPC32.
5634         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5635         multiarch objects.
5636         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5637         (__libc_ifunc_impl_list): Likewise.
5639 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5641         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5642         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5643         file.
5644         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5645         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5647         multiarch objects.
5648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5649         (__libc_ifunc_impl_list): Likewise.
5651 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5653         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5654         file.
5655         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5656         file.
5657         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5659         multiarch objects.
5660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5661         (__libc_ifunc_impl_list): Likewise.
5663 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5665         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5666         file.
5667         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5668         file.
5669         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5670         multiarch rawmemchr for PPC32.
5671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5672         multiarch objects.
5673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5674         (__libc_ifunc_impl_list): Likewise.
5676 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5678         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5679         file.
5680         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5681         file.
5682         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5683         file: memrchr multiarch for PPC32.
5684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5685         multiarch objects.
5686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5687         (__libc_ifunc_impl_list): Likewise.
5689 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5691         * string/memchr.c (__memchr): Using macro to redefine symbol name.
5692         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5693         file.
5694         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5695         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5696         multiarch memchr for PPC32.
5697         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5698         multiarch objects.
5699         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5700         (__libc_ifunc_impl_list): Likewise.
5702 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5704         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5705         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5706         file.
5707         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5708         file.
5709         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5710         file: multiarch mempcpy for PPC32.
5711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5712         multiarch objects.
5713         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5714         (__libc_ifunc_impl_list): Likewise.
5716 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5718         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5719         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5720         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5721         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5722         multiarch bzero for PPC32.
5723         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5724         file.
5725         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5726         file.
5727         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5728         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5729         file: multiarch memset for PPC32.
5730         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5732         memset multiarch objects.
5733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5734         (__libc_ifunc_impl_list): Likewise.
5736 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5738         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5739         file.
5740         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5741         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5742         memcmp for PPC32.
5743         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5745         multiarch objects.
5746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5747         (__libc_ifunc_impl_list): Likewise.
5749 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5751         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5752         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5753         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5754         file.
5755         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5756         file.
5757         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5758         file.
5759         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5760         multiarch memcpy for PPC32.
5761         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5762         multiarch objects.
5763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5764         (__libc_ifunc_impl_list): Likewise.
5766 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5769         support multiarch for POWER/PPC32.
5770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5771         Likewise.
5772         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5774         Implies file to make multiarch folder appers before the fpu and
5775         default folder for power4 configuration.
5777 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5779         * scripts/bench.pl: Append volatile keyword to type.
5781 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5783         * sysdeps/sh/sotruss-lib.c: New file.
5784         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5786 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5790 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
5792         [BZ #6810]
5793         * math/w_tgamma.c: Include <errno.h>.
5794         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
5795         * math/w_tgammaf.c: Include <errno.h>.
5796         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
5797         * math/w_tgammal.c: Include <errno.h>.
5798         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
5799         * math/auto-libm-test-in: Do not allow missing errno on tgamma
5800         underflow.  Add more tgamma tests.
5801         * math/auto-libm-test-out: Regenerated.
5802         * sysdeps/i386/fpu/libm-test-ulps: Update.
5803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5805         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5806         sin, sinh, tan, tanh, tgamma, y0 and y1.
5807         * math/auto-libm-test-out: Regenerated.
5808         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5809         (TEST_COND_x86): Likewise.
5810         (M_E2l): Remove macro.
5811         (M_E3l): Likewise.
5812         (M_2_SQRT_PIl): Likewise.
5813         (M_SQRT_PIl): Likewise.
5814         (M_1_DIV_El): Likewise.
5815         (log_test_data): Use AUTO_TESTS_f_f.
5816         (log10_test_data): Likewise.
5817         (log1p_test_data): Likewise.
5818         (log2_test_data): Likewise.
5819         (sin_test_data): Likewise.
5820         (sin_tonearest_test_data): Likewise.
5821         (sin_towardzero_test_data): Likewise.
5822         (sin_downward_test_data): Likewise.
5823         (sin_upward_test_data): Likewise.
5824         (sinh_test_data): Likewise.
5825         (sinh_tonearest_test_data): Likewise.
5826         (sinh_towardzero_test_data): Likewise.
5827         (sinh_downward_test_data): Likewise.
5828         (sinh_upward_test_data): Likewise.
5829         (tan_test_data): Likewise.
5830         (tan_tonearest_test_data): Likewise.
5831         (tan_towardzero_test_data): Likewise.
5832         (tan_downward_test_data): Likewise.
5833         (tan_upward_test_data): Likewise.
5834         (tanh_test_data): Likewise.
5835         (tgamma_test_data): Likewise.
5836         (y0_test_data): Likewise.
5837         (y1_test_data): Likewise.
5838         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5839         (special_real_inputs): Add pi/4.
5840         * sysdeps/i386/fpu/libm-test-ulps: Update.
5841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5843 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5845         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5846         "longjmp_target" static probes.
5847         (__longjmp): Rename to __longjmp_symbol.
5848         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5849         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5850         on which longjmp to generate.
5851         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5852         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5853         probe.
5854         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5855         (__sigjmp_save): Rename to __sigjmp_save_symbol.
5856         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5857         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5858         and __sigjmp_save_symbol based on which sigsetjmp to generated.
5859         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5861         __longjmp_symbol based on which __longjmp to generate.
5862         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5863         probe.
5864         (setjmp): Rename to setjmp_symbol.
5865         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5866         (_setjmp): Rename to _setjmp_symbol.
5867         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5868         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5869         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5870         which setjmp to generate.
5871         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5872         "longjmp_target" static probes.
5874 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5876         * benchtests/README: Add note about output arguments.
5877         * benchtests/bench-sincos.c: Remove file.
5878         * benchtests/sincos-inputs: New file.
5879         * scripts/bench.pl: Identify output arguments and define
5880         static variables for them.
5882         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5884         [BZ #15941]
5885         * Makefile (INSTALL): Add install-plain.texi as the primary
5886         dependency.
5887         * manual/install-plain.texi: New file.
5888         * manual/install.texi: Include node directive only for
5889         non-plaintext output.
5891 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
5893         * stdlib/longlong.h: Update from GCC.
5895         [BZ #6807]
5896         [BZ #15901]
5897         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5898         * math/w_j0f.c (y0f): Likewise.
5899         * math/w_j0l.c (__y0l): Likewise.
5900         * math/w_j1.c (y1): Likewise.
5901         * math/w_j1f.c (y1f): Likewise.
5902         * math/w_j1l.c (__y1l): Likewise
5903         * math/w_jn.c (yn): Likewise.
5904         * math/w_jnf.c (ynf): Likewise.
5905         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5906         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
5907         value for Bessel function domain errors outside _SVID_ mode.
5908         Adjust sign of return value for yn (negative integer, 0).
5909         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5910         by zero in return for negative x and set sign appropriately for
5911         negative n.
5912         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5913         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5914         * math/libm-test.inc (y0_test_data): Add more tests and adjust
5915         expectations in error cases.
5916         (y1_test_data): Likewise.
5917         (yn_test_data): Likewise.
5918         * sysdeps/i386/fpu/libm-test-ulps: Update.
5919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5921 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5923         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
5924         "64" to "64-v1".  Add "64-v2".
5925         (abi-64-options): Rename to ...
5926         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
5927         (abi-64-condition): Rename to ...
5928         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
5929         (abi-64-ld-soname): Rename to ...
5930         (abi-64-v1-ld-soname): ... this.
5931         (abi-64-v2-options): Define.
5932         (abi-64-v2-condition): Likewise.
5933         (abi-64-v2-ld-soname): Likewise.
5934         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
5935         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
5936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
5937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
5938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
5940 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5941             Alan Modra  <amodra@gmail.com>
5943         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
5944         New versions for use with the ELFv2 ABI.
5945         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
5946         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
5947         declaration.
5948         (struct La_ppc64v2_retval): Likewise.
5949         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
5950         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
5951         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
5952         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
5953         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
5954         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5955         Do not save or restore CR.
5956         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
5957         (_dl_profile_resolve): Do no save or restore CR.  Support extended
5958         return values for ELFv2 ABI.  Fix location of FPR return registers.
5959         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
5960         updated values for _CALL_ELF == 2.
5961         (La_regs, La_retval, int_retval): Likewise.
5963 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
5965         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
5966         (FRAME_MIN_SIZE_PARM): Likewise.
5967         (FRAME_BACKCHAIN): Likewise.
5968         (FRAME_CR_SAVE): Likewise.
5969         (FRAME_LR_SAVE): Likewise.
5970         (FRAME_TOC_SAVE): Likewise.
5971         (FRAME_PARM_SAVE): Likewise.
5972         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
5973         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
5974         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
5975         (call_mcount_parm_offset): New macro.
5976         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
5977         (PROF): Use symbolic stack frame offsets.
5978         (TAIL_CALL_SYSCALL_ERROR): Likewise.
5979         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
5980         Redefine in terms of FRAME_MIN_SIZE.
5981         (_dl_runtime_resolve): Use symbolic stack frame offsets.
5982         (_dl_profile_resolve): Likewise.  Update comment.
5983         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
5984         symbols stack frame offsets.
5985         (__sigsetjmp): Likewise.
5986         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
5987         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
5988         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
5989         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
5991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
5992         (FRAME_BACKCHAIN): Remove.
5993         (FRAME_CR_SAVE): Likewise.
5994         (FRAME_LR_SAVE): Likewise.
5995         (FRAME_COMPILER_DW): Likewise.
5996         (FRAME_LINKER_DW): Likewise.
5997         (FRAME_TOC_SAVE): Likewise.
5998         (FRAME_PARM_SAVE): Likewise.
5999         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6000         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6001         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6003         (CHECK_SP): Use symbolic stack frame offsets.
6004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6005         zone" instead of caller's parameter save area for temp storage.
6006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6007         Likewise.  Also, use symbolic stack frame offsets.
6008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6009         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6010         our own stack frame instead of the caller's.
6011         (__socket): Use symbolic stack frame offsets.
6013 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6014             Alan Modra  <amodra@gmail.com>
6016         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6017         Define.
6018         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6019         PPC64_LOCAL_ENTRY_OFFSET): Define.
6020         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6021         New function.
6022         (elf_machine_fixup_plt): Call it.
6023         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
6024         reloc arguments.
6025         (elf_machine_rela): Update call to elf_machine_plt_conflict.
6026         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6027         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6028         r2 before calling target.
6030 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6031             Alan Modra  <amodra@gmail.com>
6033         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6034         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6035         versions of macros to support ELFv2 ABI.
6036         (LOCALENTRY): New macro.
6037         (ENTRY, EALIGN): Use it.
6038         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6039         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6040         fall through into ENTRY entry point.
6041         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6042         Only define if _CALL_ELF != 2.
6044         (elf_machine_matches_host): Verify ABI version matches.
6045         (RTLD_START): Use LOCALENTRY.
6046         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6047         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6048         (PLT_ENTRY_WORDS): New macro.
6049         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6050         (elf_machine_runtime_setup): Support ELFv2 ABI.
6051         (elf_machine_fixup_plt): Likewise.
6052         (elf_machine_plt_conflict): Likewise.
6053         (resolve_ifunc): Likewise.
6054         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6055         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6056         Likewise.
6057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6058         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6060         (makecontext): Support ELFv2 ABI.
6061         * elf/elf.h (EF_PPC64_ABI): Define.
6063 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6065         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6066         New assembler macro.
6067         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6068         [ASSEMBLER] (ENTRY): ... but instead here ...
6069         [ASSEMBLER] (EALIGN): ... and here.
6070         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6071         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6072         [!ASSEMBLER] (ENTRY_2): Use it.
6073         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6074         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
6075         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6076         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6077         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6079         Use PPC64_LOAD_FUNCPTR.
6081 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6083         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6085 2013-12-04  Alan Modra  <amodra@gmail.com>
6087         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6088         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6089         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6090         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6092         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6093         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6094         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6095         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6096         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6097         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6099 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6102         (__makecontext): Fix incorrect CFI when backtracing out of
6103         context created via makecontext.
6104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6105         (__setcontext): Fix incorrect CFI during switch to new context.
6106         (__novec_setcontext): Likewise.
6108 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6110         [BZ #4772]
6111         * time/strptime_l.c (__strptime_internal): Allow modifiers
6112         in strptime.
6113         * time/tst-strptime.c (day_tests): Add testcase.
6116 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6118         * scripts/bench.pl: Skip over blank lines.
6120 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6122         [BZ #926]
6123         * manual/time.texi (Calendar Time): Clarify what timezone functions
6124         use.
6126 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6130 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6132         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6133         implementation.
6134         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6135         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6136         * debug/memset_chk.c (__memset_chk): Likewise.
6137         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6138         * debug/strncpy_chk.c: Likewise.
6140 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6142         [BZ #15268]
6143         [BZ #15425]
6144         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6145         (__ieee754_exp): For possibly underflowing results, check size of
6146         result and force underflow exception if required.
6147         * math/auto-libm-test-in: Add more tests of exp.
6148         * math/auto-libm-test-out: Regenerated.
6149         * sysdeps/i386/fpu/libm-test-ulps: Update.
6150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6152         [BZ #16283]
6153         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6154         * math/w_exp2f.c (__exp2f): Likewise.
6155         * math/w_exp2l.c (__exp2l): Likewise.
6156         * math/auto-libm-test-in: Do not allow missing errno on exp2
6157         underflow.
6158         * math/auto-libm-test-out: Regenerated.
6160 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
6162         [BZ #16274]
6163         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6164         handle filename validation.
6165         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6166         (do_open): Delete.
6168 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6170         [BZ #6786]
6171         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6172         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6173         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6174         <float.h>.
6175         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6176         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6177         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6178         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6179         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6180         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6181         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6182         * math/auto-libm-test-in: Don't allow missing errno from erfc.
6183         Add more erfc tests.
6184         * math/auto-libm-test-out: Regenerated.
6185         * sysdeps/i386/fpu/libm-test-ulps: Update.
6186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6188         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6189         exp2, expm1, j0 and j1.
6190         * math/auto-libm-test-out: Regenerated.
6191         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6192         (erfc_test_data): Likewise.
6193         (exp_test_data): Likewise.
6194         (exp_tonearest_test_data): Likewise.
6195         (exp_towardzero_test_data): Likewise.
6196         (exp_downward_test_data): Likewise.
6197         (exp_upward_test_data): Likewise.
6198         (exp10_test_data): Likewise.
6199         (exp2_test_data): Likewise.
6200         (expm1_test_data): Likewise.
6201         (j0_test_data): Likewise.
6202         (j1_test_data): Likewise.
6203         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6204         (input_flag_type): Add flag_xfail_rounding.
6205         (input_flags): Add xfail-rounding.
6206         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6207         (output_for_one_input_case): Handle flag_xfail_rounding.
6208         * sysdeps/i386/fpu/libm-test-ulps: Update.
6209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6211 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
6213         [BZ #16289]
6214         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6215         division by 0.
6217 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6219         [BZ #16195]
6220         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6221         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6222         (STAP_PROBE0): New macro.
6223         (STAP_PROBE1): Likewise.
6224         (STAP_PROBE2): Likewise.
6225         (STAP_PROBE3): Likewise.
6226         (STAP_PROBE4): Likewise.
6228 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
6230         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6232 2013-12-02  Steve Ellcey  <sellcey@mips.com>
6234         * benchtests/Makefile (bench): Add sqrt.
6235         (LDLIBS-bench-sqrt): New.
6236         * benchtests/sqrt-input: New.
6238 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
6240         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6241         (GAIH_EAI): Likewise.
6242         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6243         (gaih_inet): Likewise.
6244         (getaddrinfo): Don't use GAIH_EAI.
6246         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6247         (struct gaih): Remove definition.
6249 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6251         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6252         Use HERRNOP directly.
6254 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6258 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
6260         * math/gen-auto-libm-tests.c (test_functions): Add more
6261         single-argument functions.
6262         (special_fill_pi_2): New function.
6263         (special_fill_minus_pi_2): Likewise.
6264         (special_fill_pi_6): Likewise.
6265         (special_fill_minus_pi_6): Likewise.
6266         (special_fill_pi_3): Likewise.
6267         (special_fill_2pi_3): Likewise.
6268         (special_fill_e): Likewise.
6269         (special_fill_1_e): Likewise.
6270         (special_fill_e_minus_1): Likewise.
6271         (special_real_inputs): Add more special inputs.
6272         (output_for_one_input_case): Do not require ERANGE on underflow to
6273         zero if round-to-nearest result does not underflow to zero, unless
6274         exact results required.
6275         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6276         atan, atanh, cbrt, cos and cosh.
6277         * math/auto-libm-test-out: Regenerated.
6278         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6279         (acos_tonearest_test_data): Likewise.
6280         (acos_towardzero_test_data): Likewise.
6281         (acos_downward_test_data): Likewise.
6282         (acos_upward_test_data): Likewise.
6283         (acosh_test_data): Likewise.
6284         (asin_test_data): Likewise.
6285         (asin_tonearest_test_data): Likewise.
6286         (asin_towardzero_test_data): Likewise.
6287         (asin_upward_test_data): Likewise.
6288         (asinh_test_data): Likewise.
6289         (atan_test_data): Likewise.
6290         (atanh_test_data): Likewise.
6291         (cbrt_test_data): Likewise.
6292         (cos_test_data): Likewise.
6293         (cos_tonearest_test_data): Likewise.
6294         (cos_towardzero_test_data): Likewise.
6295         (cos_downward_test_data): Likewise.
6296         (cos_upward_test_data): Likewise.
6297         (cosh_test_data): Likewise.
6298         (cosh_tonearest_test_data): Likewise.
6299         (cosh_towardzero_test_data): Likewise.
6300         (cosh_downward_test_data): Likewise.
6301         (cosh_upward_test_data): Likewise.
6302         * sysdeps/i386/fpu/libm-test-ulps: Update.
6303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6305 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
6307         [BZ #6787]
6308         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6309         * math/w_exp10f.c (__exp10f): Likewise.
6310         * math/w_exp10l.c (__exp10l): Likewise.
6311         * math/libm-test.inc (exp10_test_data): Add more tests and expect
6312         errno settings in existing tests.
6314         [BZ #14032]
6315         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6316         precision control set to double precision.
6317         * sysdeps/i386/fpu/w_sqrt.c: New file.
6318         * math/auto-libm-test-in: Add more tests.
6319         * math/auto-libm-test-out: Update.
6321         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6322         (sqrt_test_tonearest): New function.
6323         (sqrt_towardzero_test_data): New variable.
6324         (sqrt_test_towardzero): New function.
6325         (sqrt_downward_test_data): New variable.
6326         (sqrt_test_downward): New function.
6327         (sqrt_upward_test_data): New variable.
6328         (sqrt_test_upward): New function.
6329         (main): Call the new functions.
6331         * math/gen-auto-libm-tests.c: New file.
6332         * math/auto-libm-test-in: Likewise.
6333         * math/auto-libm-test-out: New generated file.
6334         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6335         variables.
6336         (%beautify): Add generated representations of zero.
6337         (top level): Set $auto_input and call parse_auto_input.
6338         (beautify): Remove trailing "f" from hex float constants.
6339         (parse_args): Handle XFAIL_TEST.
6340         (convert_condition): New function.
6341         (or_value): Likewise.
6342         (or_cond_value): Likewise.
6343         (generate_testfile): Handle AUTO_TESTS_* lines.
6344         (parse_auto_input): New function.
6345         * math/libm-test.inc (XFAIL_TEST): New macro.
6346         (ERRNO_UNCHANGED): Update value.
6347         (ERRNO_EDOM): Likewise.
6348         (ERRNO_ERANGE): Likewise.
6349         (IGNORE_RESULT): Likewise.
6350         (TEST_COND_flt_32): New macro.
6351         (TEST_COND_dbl_64): Likewise.
6352         (TEST_COND_ldbl_96_intel): Likewise.
6353         (TEST_COND_ldbl_96_m68k): Likewise.
6354         (TEST_COND_ldbl_128): Likewise.
6355         (TEST_COND_ldbl_128ibm): Likewise.
6356         (TEST_COND_long32): Likewise.
6357         (TEST_COND_long64): Likewise.
6358         (TEST_COND_before_rounding): Likewise.
6359         (TEST_COND_after_rounding): Likewise.
6360         (enable_test): Handle XFAIL_TEST flag.
6361         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6362         with finite results.
6363         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6364         auto-libm-test-out.
6366 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6367             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6369         [BZ #16214]
6370         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6371         __tls_get_addr_internal instead of __tls_get_offset in order to
6372         avoid GOT pointer dependency.  Make rtld export
6373         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6374         __tls_get_addr since we are a __tls_get_offset platform.
6375         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6376         GOT pointer being set up before.
6377         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6379 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
6381         * manual/math.texi (Errors in Math Functions): Document accuracy
6382         goals.
6384         [BZ #15004]
6385         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6386         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6387         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6388         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6389         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6390         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6391         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6392         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6393         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6394         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6395         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6396         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6397         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6398         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6399         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6400         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6402         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6403         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6404         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6405         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6406         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6407         Likewise.
6408         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6409         Likewise.
6410         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6411         Likewise.
6412         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6413         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6414         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6415         atomic-feupdateenv and flt-rounds.
6416         * sysdeps/powerpc/nofpu/Versions (libc): Add
6417         __atomic_feholdexcept, __atomic_feclearexcept,
6418         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6419         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6420         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6421         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6422         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6423         here.
6424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6425         Update.
6427         * manual/arith.texi (FP Exceptions): Document that exceptions may
6428         not be raised when matherr is used.
6429         (Math Error Reporting): Document overflow in directed rounding
6430         modes.  Document that errno may not be set when finite values are
6431         returned on overflow.  Document intent to set errno on underflow
6432         only for underflow to zero.
6434         [BZ #16271]
6435         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6436         round-to-nearest then adjust result for other rounding modes.
6437         * include/fenv.h (fegetround): Use libm_hidden_proto.
6438         * math/fegetround.c (fegetround): Use libm_hidden_def.
6439         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6440         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6441         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6442         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6443         Likewise.
6444         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6445         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6446         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6447         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6449 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6451         [BZ #16077]
6452         * nss/Versions (libnss_files): Add
6453         _nss_files_gethostbyname3_r.
6454         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6455         New function.
6456         (HOST_DB_LOOKUP): Remove macro.
6457         (_nss_files_gethostbyname_r): Implement function without the
6458         HOST_DB_LOOKUP macro.
6459         (_nss_files_gethostbyname2_r): Likewise.
6461 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
6463         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6465 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
6467         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6468         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6469         warning.
6471 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6473         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6474         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6475         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6476         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6477         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6478         __fe_nomask_env_priv and attribute_hidden.
6479         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6480         (libc_feupdateenv_test_ppc): Likewise.
6481         (libc_feresetround_ppc): Likewise.
6482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6483         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6484         compat_symbol macro.
6485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6486         (__fe_nomask_env): Likewise.
6487         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6489 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6491         * string/Makefile: Remove ifunc tests.
6492         * string/test-string.h: Define TEST_IFUNC.
6493         * string/test-bcopy-ifunc.c: Remove.
6494         * string/test-bzero-ifunc.c: Likewise.
6495         * string/test-memccpy-ifunc.c: Likewise.
6496         * string/test-memchr-ifunc.c: Likewise.
6497         * string/test-memcmp-ifunc.c: Likewise.
6498         * string/test-memcpy-ifunc.c: Likewise.
6499         * string/test-memmem-ifunc.c: Likewise.
6500         * string/test-memmove-ifunc.c: Likewise.
6501         * string/test-mempcpy-ifunc.c: Likewise.
6502         * string/test-memrchr-ifunc.c: Likewise.
6503         * string/test-memset-ifunc.c: Likewise.
6504         * string/test-rawmemchr-ifunc.c: Likewise.
6505         * string/test-stpcpy-ifunc.c: Likewise.
6506         * string/test-stpncpy-ifunc.c: Likewise.
6507         * string/test-strcasecmp-ifunc.c: Likewise.
6508         * string/test-strcasestr-ifunc.c: Likewise.
6509         * string/test-strcat-ifunc.c: Likewise.
6510         * string/test-strchr-ifunc.c: Likewise.
6511         * string/test-strchrnul-ifunc.c: Likewise.
6512         * string/test-strcmp-ifunc.c: Likewise.
6513         * string/test-strcpy-ifunc.c: Likewise.
6514         * string/test-strcspn-ifunc.c: Likewise.
6515         * string/test-strlen-ifunc.c: Likewise.
6516         * string/test-strncasecmp-ifunc.c: Likewise.
6517         * string/test-strncat-ifunc.c: Likewise.
6518         * string/test-strncmp-ifunc.c: Likewise.
6519         * string/test-strncpy-ifunc.c: Likewise.
6520         * string/test-strnlen-ifunc.c: Likewise.
6521         * string/test-strpbrk-ifunc.c: Likewise.
6522         * string/test-strrchr-ifunc.c: Likewise.
6523         * string/test-strspn-ifunc.c: Likewise.
6524         * string/test-strstr-ifunc.c: Likewise.
6526 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6528         * benchtests/Makefile: Remove ifunc tests.
6529         * benchtests/bench-string.h: Define TEST_IFUNC.
6530         * benchtests/bench-bcopy-ifunc.c: Remove.
6531         * benchtests/bench-bzero-ifunc.c: Likewise.
6532         * benchtests/bench-memccpy-ifunc.c: Likewise.
6533         * benchtests/bench-memchr-ifunc.c: Likewise.
6534         * benchtests/bench-memcmp-ifunc.c: Likewise.
6535         * benchtests/bench-memcpy-ifunc.c: Likewise.
6536         * benchtests/bench-memmem-ifunc.c: Likewise.
6537         * benchtests/bench-memmove-ifunc.c: Likewise.
6538         * benchtests/bench-mempcpy-ifunc.c: Likewise.
6539         * benchtests/bench-memrchr-ifunc.c: Likewise.
6540         * benchtests/bench-memset-ifunc.c: Likewise.
6541         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6542         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6543         * benchtests/bench-stpcpy-ifunc.c: Likewise.
6544         * benchtests/bench-stpncpy-ifunc.c: Likewise.
6545         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6546         * benchtests/bench-strcasestr-ifunc.c: Likewise.
6547         * benchtests/bench-strcat-ifunc.c: Likewise.
6548         * benchtests/bench-strchr-ifunc.c: Likewise.
6549         * benchtests/bench-strchrnul-ifunc.c: Likewise.
6550         * benchtests/bench-strcmp-ifunc.c: Likewise.
6551         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6552         * benchtests/bench-strcpy-ifunc.c: Likewise.
6553         * benchtests/bench-strcspn-ifunc.c: Likewise.
6554         * benchtests/bench-strlen-ifunc.c: Likewise.
6555         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6556         * benchtests/bench-strncat-ifunc.c: Likewise.
6557         * benchtests/bench-strncmp-ifunc.c: Likewise.
6558         * benchtests/bench-strncpy-ifunc.c: Likewise.
6559         * benchtests/bench-strnlen-ifunc.c: Likewise.
6560         * benchtests/bench-strpbrk-ifunc.c: Likewise.
6561         * benchtests/bench-strrchr-ifunc.c: Likewise.
6562         * benchtests/bench-strsep-ifunc.c: Likewise.
6563         * benchtests/bench-strspn-ifunc.c: Likewise.
6564         * benchtests/bench-strstr-ifunc.c: Likewise.
6566 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6568         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6570 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6572         * resolv/netdb.h: Use __glibc_reserved instead __unused.
6573         * rt/aio.h: Likewise.
6574         * sysdeps/gnu/bits/utmp.h: Likewise.
6575         * sysdeps/gnu/bits/utmpx.h: Likewise.
6576         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6577         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6578         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6579         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6580         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6581         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6582         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6583         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6584         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6585         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6586         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6587         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6588         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6590         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6591         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6592         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6593         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6594         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6595         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6596         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6597         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6598         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6599         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6600         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6601         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6602         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6603         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6604         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6605         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6606         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6607         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6608         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6609         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6610         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6611         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6612         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6613         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6614         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6615         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6616         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6617         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6619 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
6621         [BZ #16245]
6622         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6623         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6625 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
6627         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6628         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6629         Likewise.
6631 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6633         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6634         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6635         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6636         (__fesetround): Remove define.
6637         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6638         rounding and exceptions handling.
6639         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6640         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6641         (__fe_nomask_env): Likewise.
6642         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6643         __fegetround instead of fegetround.
6644         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6645         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6647 2013-11-21  Roland McGrath  <roland@hack.frob.com>
6649         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6650         it's there.
6652         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6654 2013-11-21  Meador Inge  <meadori@codesourcery.com>
6656         [BZ #11157]
6657         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6658         (encrypt_r): Likewise.
6659         * malloc/obstack.h (obstack_free): Likewise.
6660         * posix/unistd.h (encrypt): Likewise.
6662 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6664         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6665         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6666         DL_CALL_DT_FINI() that call the functions directly.
6667         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6668         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6669         * elf/dl-fini.c: Likewise.
6671 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
6673         * malloc/hooks.c (memalign_check): Add alignment rounding.
6674         * malloc/malloc.c (_mid_memalign): New function.
6675         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6676         Implement by calling _mid_memalign.
6677         * manual/probes.texi (Memory Allocation Probes): Remove
6678         memory_valloc_retry and memory_pvalloc_retry.
6680 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6682         * locale/programs/locarchive.c (open_archive): Add const
6683         qualifier to ARCHIVEFNAME and copy default fname to
6684         DEFAULT_FNAME.
6686         [BZ #15601]
6687         * libio/tst-widetext.input: Rename Oriya to Odia.
6688         * locale/iso-639.def: Likewise.
6690         * manual/probes.texi (Mathematical Function Probes): Add
6691         documentation for sin, cos, asin and acos probes.
6692         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6693         (__sin32): Add slowasin probe.
6694         (__cos32): Add slowacos probe.
6695         (__mpsin): Add slowsin probe.
6696         (__mpcos): Add slowcos probe.
6698 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
6700         [BZ #15483]
6701         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6702         thread-local __sim_exceptions_thread and global
6703         __sim_exceptions_global.
6704         (__sim_disabled_exceptions): Change to thread-local
6705         __sim_disabled_exceptions_thread and global
6706         __sim_disabled_exceptions_global.
6707         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6708         and global __sim_round_mode_global.
6709         (__simulate_exceptions): Use thread-local floating-point state and
6710         set global state from it as needed.
6711         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6712         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6713         __sim_round_mode_thread.
6714         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6715         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6716         and global __sim_exceptions_global.
6717         (__sim_disabled_exceptions): Change to thread-local
6718         __sim_disabled_exceptions_thread and global
6719         __sim_disabled_exceptions_global.
6720         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6721         and global __sim_round_mode_global.
6722         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6723         (SIM_SET_GLOBAL): Likewise.
6724         * sysdeps/powerpc/soft-fp/sfp-machine.h
6725         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6726         __sim_round_mode_thread.
6727         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6728         __sim_disabled_exceptions_thread.
6729         (__sim_exceptions): Change to __sim_exceptions_thread.
6730         (__sim_disabled_exceptions): Change to
6731         __sim_disabled_exceptions_thread.
6732         (__sim_round_mode): Change to __sim_round_mode_thread.
6733         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6734         thread-local floating-point state and set global state from it as
6735         needed.
6736         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6737         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6738         (__sim_disabled_exceptions): Remove extern declaration.
6739         (feenableexcept): Use thread-local floating-point state and set
6740         global state from it as needed.
6741         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6742         extern declaration.
6743         (__sim_disabled_exceptions): Likewise.
6744         (__sim_round_mode): Likewise.
6745         (__fegetenv): Use thread-local floating-point state.
6746         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6747         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6748         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6749         floating-point state and set global state from it as needed.
6750         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6751         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6752         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6753         Likewise.
6754         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6755         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6756         Likewise.
6757         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6758         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6759         Use __sim_round_mode_thread.
6760         * math/test-fenv-tls.c: New file.
6761         * math/Makefile (tests): Add test-fenv-tls.
6762         ($(objpfx)test-fenv-tls): Depend on
6763         $(common-objpfx)nptl/libpthread.so.
6765 2013-11-19  Andreas Schwab  <schwab@suse.de>
6767         * locale/programs/locale.c (show_info): Decode wordarray elements.
6768         * locale/categories.def (LC_MONETARY): Add element for
6769         _NL_MONETARY_CRNCYSTR.
6770         * locale/C-monetary.c (conversion_rate): New variable.
6771         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6772         element.
6774 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
6776         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6777         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6779 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6781         * elf/Makefile (tst-auxv): New test.
6782         * elf/tst-auxv.c: New
6783         * elf/rtld.c (dl_main): Adjust AT_EXECFN
6785 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
6787         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6788         (hidden_proto): Caller changed.
6789         (hidden_tls_proto): New macro.
6790         (libc_hidden_tls_proto): Likewise.
6791         (rtld_hidden_tls_proto): Likewise.
6792         (libm_hidden_tls_proto): Likewise.
6793         (libresolv_hidden_tls_proto): Likewise.
6794         (librt_hidden_tls_proto): Likewise.
6795         (libdl_hidden_tls_proto): Likewise.
6796         (libnss_files_hidden_tls_proto): Likewise.
6797         (libnsl_hidden_tls_proto): Likewise.
6798         (libnss_nisplus_hidden_tls_proto): Likewise.
6799         (libutil_hidden_tls_proto): Likewise.
6801 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
6803         [BZ #10253]
6804         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6805         (decompose_rpath): Defer expansion to fillin_rpath.
6806         (_dl_init_paths): Pass linkmap to fillin_rpath.
6808 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6810         * benchtests/Makefile: Add strsep.
6811         * benchtests/bench-strsep.c: New file: strsep benchtest.
6812         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6814 2013-11-18  Andreas Schwab  <schwab@suse.de>
6816         * locale/programs/locale.c (show_info) [case byte]: Check for
6817         '\377' instead of '\177'.
6818         * locale/C-monetary.c (not_available): Always use "\377".
6819         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6820         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
6821         detect unavailable sign_posn locale elements.
6822         * locale/localeconv.c (__localeconv): For grouping and
6823         mon_grouping handle "\177" and "\377" like no grouping.
6824         (INT_ELEM): New macro.  Use it to set all numeric members.
6825         * locale/programs/ld-monetary.c (monetary_read)
6826         <tok_mon_grouping>: Normalize single -1 to the empty string.
6827         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6828         Likewise.
6830 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6832         [BZ #16055]
6833         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6834         when we match (nil).
6835         * stdio-common/tst-sscanf.c (struct test): Add testcase.
6837 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
6839         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6840         (NO_TEST_INLINE): Update value.
6841         (ERRNO_UNCHANGED): Likewise.
6842         (ERRNO_EDOM): Likewise.
6843         (ERRNO_ERANGE): Likewise.
6844         (IGNORE_RESULT): Likewise.
6845         (check_float_internal): Check signs of NaN results if
6846         TEST_NAN_SIGN used.
6847         (check_complex): Pass TEST_NAN_SIGN flag through to second
6848         check_float_internal call.
6849         (copysign_test_data): Add tests with quiet NaNs as second
6850         argument.  Use TEST_NAN_SIGN.
6851         (fabs_test_data): Add test of negative quiet NaN argument.  Use
6852         TEST_NAN_SIGN.
6853         (signbit_test_data): Add tests of quiet NaN argument.
6854         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6856         * math/gen-libm-test.pl (show_exceptions): Take extra argument
6857         $ignore_result.
6858         (parse_args): Handle function results specified as IGNORE.
6859         * math/libm-test.inc (IGNORE_RESULT): New macro.
6860         (check_float_internal): Do not check numerical result if flag
6861         IGNORE_RESULT set.
6862         (check_complex): Pass through IGNORE_RESULT to second
6863         check_float_internal call.
6864         (check_int): Do not check numerical result if flag IGNORE_RESULT
6865         set.
6866         (check_long): Likewise.
6867         (check_bool): Likewise.
6868         (check_longlong): Likewise.
6869         (lrint_test_data): Add tests of infinite and NaN arguments.
6870         (lrint_tonearest_test_data): Likewise.
6871         (lrint_towardzero_test_data): Likewise.
6872         (lrint_downward_test_data): Likewise.
6873         (lrint_upward_test_data): Likewise.
6874         (llrint_test_data): Likewise.
6875         (llrint_tonearest_test_data): Likewise.
6876         (llrint_towardzero_test_data): Likewise.
6877         (llrint_downward_test_data): Likewise.
6878         (llrint_upward_test_data): Likewise.
6879         (lround_test_data): Likewise.
6880         (llround_test_data): Likewise.
6882         * math/libm-test.inc (NO_TEST_INLINE): New macro.
6883         (ERRNO_UNCHANGED): Update value.
6884         (ERRNO_EDOM): Likewise.
6885         (ERRNO_ERANGE): Likewise.
6886         (NO_TEST_INLINE_FLOAT): New macro.
6887         (NO_TEST_INLINE_DOUBLE): Likewise.
6888         (enable_test): New function.
6889         (RUN_TEST_f_f): Check enable_test before running test.
6890         (RUN_TEST_2_f): Likewise.
6891         (RUN_TEST_fff_f): Likewise.
6892         (RUN_TEST_c_f): Likewise.
6893         (RUN_TEST_f_f1): Likewise.
6894         (RUN_TEST_fF_f1): Likewise.
6895         (RUN_TEST_fI_f1): Likewise.
6896         (RUN_TEST_ffI_f1): Likewise.
6897         (RUN_TEST_c_c): Likewise.
6898         (RUN_TEST_cc_c): Likewise.
6899         (RUN_TEST_f_i): Likewise.
6900         (RUN_TEST_f_i_tg): Likewise.
6901         (RUN_TEST_ff_i_tg): Likewise.
6902         (RUN_TEST_f_b): Likewise.
6903         (RUN_TEST_f_b_tg): Likewise.
6904         (RUN_TEST_f_l): Likewise.
6905         (RUN_TEST_f_L): Likewise.
6906         (RUN_TEST_fFF_11): Likewise.
6907         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6908         conditionals.
6909         (cosh_test_data): Likewise.
6910         (exp_test_data): Likewise.
6911         (expm1_test_data): Likewise.
6912         (hypot_test_data): Likewise.
6913         (pow_test_data): Likewise.
6914         (sinh_test_data): Likewise.
6915         (tanh_test_data): Likewise.
6916         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6917         flags argument.
6919         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
6920         tests with quiet NaN input and output.
6921         (acosh_test_data): Likewise.
6922         (asin_test_data): Likewise.
6923         (asinh_test_data): Likewise.
6924         (atan_test_data): Likewise.
6925         (atanh_test_data): Likewise.
6926         (atan2_test_data): Likewise.
6927         (cbrt_test_data): Likewise.
6928         (cos_test_data): Likewise.
6929         (cosh_test_data): Likewise.
6930         (erf_test_data): Likewise.
6931         (erfc_test_data): Likewise.
6932         (exp_test_data): Likewise.
6933         (exp10_test_data): Likewise.
6934         (exp2_test_data): Likewise.
6935         (expm1_test_data): Likewise.
6936         (hypot_test_data): Likewise.
6937         (j0_test_data): Likewise.
6938         (j1_test_data): Likewise.
6939         (jn_test_data): Likewise.
6940         (lgamma_test_data): Likewise.
6941         (log_test_data): Likewise.
6942         (log10_test_data): Likewise.
6943         (log1p_test_data): Likewise.
6944         (log2_test_data): Likewise.
6945         (pow_test_data): Likewise.
6946         (scalb_test_data): Likewise.
6947         (sin_test_data): Likewise.
6948         (sincos_test_data): Likewise.
6949         (sinh_test_data): Likewise.
6950         (tan_test_data): Likewise.
6951         (tanh_test_data): Likewise.
6952         (tgamma_test_data): Likewise.
6953         (y0_test_data): Likewise.
6954         (y1_test_data): Likewise.
6955         (yn_test_data): Likewise.
6957         [BZ #16167]
6958         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
6959         argument being NaN and avoid computations with second argument in
6960         that case.
6961         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6962         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6963         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6965 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
6967         * locale/iso-639.def: Add Chitwani Tharu (the).
6969 2013-11-14  Andreas Schwab  <schwab@suse.de>
6971         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
6972         word instead of empty string.
6974 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6977         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
6978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6979         (__fe_nomask_env): Likewise.
6981 2013-11-13  Steve Ellcey  <sellcey@mips.com>
6983         * benchtests/bench-timing.h: Include time.h.
6985 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
6987         [BZ #15997]
6988         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
6989         to 3.4.0 for x32.
6990         * sysdeps/unix/sysv/linux/configure: Regenerated.
6992 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
6994         [BZ #16151]
6995         * stdlib/strtod_l.c (round_and_return): Do not consider
6996         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
6997         exponent one less than half the least subnormal exponent.
6998         * stdlib/test-strtod-round-data: Add more tests.
6999         * stdlib/tst-strtod-round.c (tests): Regenerated.
7001 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7003         [BZ #14143]
7004         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7005         (__fe_mask_env): Likewise.
7006         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7007         libm_hidden_proto and add function prototype.
7008         (__fe_mask_env): Add function prototype.
7009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7010         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7012         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7014         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7016 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7018         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7019         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7021 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7023         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7024         of htab_find_slot().
7026 2013-11-11  David S. Miller  <davem@davemloft.net>
7028         [BZ #16150]
7029         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7030         symbol in the non-vis3 case in static builds.
7031         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7032         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7033         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7034         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7036 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7038         [BZ #387]
7039         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7040         it is empty.
7042 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7044         * benchtests/Makefile: Add bench-strtod.
7045         * benchtests/bench-strtod.c: New file: strtod benchtest
7047 2013-11-11  Andreas Schwab  <schwab@suse.de>
7049         [BZ #16153]
7050         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7051         terminating NUL in key length.
7053 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7055         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7056         Add artificial ODP entry for vDSO symbol for PPC64.
7057         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7058         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7060 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7062         [BZ #15374]
7063         * nss/getent.c (services_keys): Recognize services starting with digit.
7065 2013-11-06  David S. Miller  <davem@davemloft.net>
7067         [BZ #15985]
7068         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7069         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7071 2013-11-06  Will Newton  <will.newton@linaro.org>
7073         * manual/memory.texi (Malloc Examples): Remove register
7074         keyword from examples.
7076 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
7078         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7080 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
7082         [BZ #6981]
7083         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7084         depending on [__GCC_IEC_559 > 0].
7085         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7086         depending on [__GCC_IEC_559_COMPLEX > 0].
7088 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
7090         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7091         to iso-639.def.
7093 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
7095         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7097 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
7099         [BZ #16112]
7100         * malloc/malloc (malloc_info): Do not handle first bin as
7101         special case.
7103 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
7105         * locale/iso-639.def: Add Central Nahuatl (nhn).
7107 2013-11-01  Bruno Haible  <bruno@clisp.org>
7109         [BZ #7003]
7110         * manual/math.texi (BSD Random): Specify range upper bound as
7111         in POSIX.
7113 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
7115         * locale/iso-639.def: Add Meadow Mari (mhr).
7117 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
7119         [BZ #14752], [BZ #15763]
7120         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7121         Validate name.
7122         * rt/tst_shm.c: Add test for escaping directory.
7124 2013-10-31  Andreas Schwab  <schwab@suse.de>
7126         [BZ #15917]
7127         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7128         followed by 'x' as part of digit sequence.
7129         * stdio-common/tst-sscanf.c (double_tests2): New tests.
7131 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7133         [BZ #16037]
7134         * configure.ac: allow GNU Make 4.0 and greater.
7135         * configure: Regenerated.
7137 2013-10-30  Will Newton  <will.newton@linaro.org>
7139         [BZ #16038]
7140         * malloc/hooks.c (memalign_check): Limit alignment to the
7141         maximum representable power of two.
7142         * malloc/malloc.c (__libc_memalign): Likewise.
7143         * malloc/tst-memalign.c (do_test): Add test for very
7144         large alignment values.
7145         * malloc/tst-posix_memalign.c (do_test): Likewise.
7147 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7149         [BZ #11087]
7150         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7151         (munmap_chunk): Likewise.
7152         (mremap_chunk): Likewise.
7154 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7156         [BZ #15799]
7157         * stdlib/div.c (div): Remove obsolete code.
7158         * stdlib/ldiv.c (ldiv): Likewise.
7159         * stdlib/lldiv.c (lldiv): Likewise.
7161 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7163         [BZ #16071]
7164         * nss/nss_files/files-XXX.c (get_contents_ret): New
7165         enumerator.
7166         (get_contents): New function.
7167         (internal_getent): Use it.  Expand size of LINEBUFLEN.
7169 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
7171         * configure.in: Moved to ...
7172         * configure.ac: ... here. Change reference to configure.in
7173         to configure.ac.
7174         * sysdeps/arm/preconfigure.ac: ... here.
7175         configure.in to configure.ac.
7176         * sysdeps/gnu/configure.in: Moved to ...
7177         * sysdeps/gnu/configure.ac: ... here.
7178         * sysdeps/i386/configure.in: Moved to ...
7179         * sysdeps/i386/configure.ac: ... here.
7180         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7181         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7182         * sysdeps/mach/configure.in: Moved to ...
7183         * sysdeps/mach/configure.ac: ... here.
7184         * sysdeps/mach/hurd/configure.in: Moved to ...
7185         * sysdeps/mach/hurd/configure.ac: ... here.
7186         * sysdeps/powerpc/configure.in: Moved to ...
7187         * sysdeps/powerpc/configure.ac: ... here.
7188         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7189         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7190         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7191         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7192         * sysdeps/s390/s390-32/configure.in: Moved to ...
7193         * sysdeps/s390/s390-32/configure.ac: ... here.
7194         * sysdeps/s390/s390-64/configure.in: Moved to ...
7195         * sysdeps/s390/s390-64/configure.ac: ... here.
7196         * sysdeps/sh/configure.in: Moved to ...
7197         * sysdeps/sh/configure.ac: ... here.
7198         * sysdeps/sparc/configure.in: Moved to ...
7199         * sysdeps/sparc/configure.ac: ... here.
7200         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7201         * sysdeps/unix/sysv/linux/configure.ac: ... here.
7202         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7203         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7204         * sysdeps/x86_64/configure.in: Moved to ...
7205         * sysdeps/x86_64/configure.ac: ... here.
7206         * sysdeps/x86_64/preconfigure.in: Moved to ...
7207         * sysdeps/x86_64/preconfigure.ac: ... here.
7208         * aclocal.m4: Change reference to configure.in to configure.ac.
7209         * config.h.in: Likewise.
7210         * manual/install.texi: Likewise.
7211         * manual/maint.texi: Likewise.
7212         * Makefile: Likewise.
7213         * malloc/Makefile: Likewise.
7214         * nscd/Makefile: Likewise.
7215         * Makeconfig: Change reference to configure.in and
7216         preconfigure.in to configure.ac and preconfigure.ac
7217         respectively.
7218         * INSTALL: Regenerated.
7219         * configure: Likewise.
7220         * sysdeps/gnu/configure: Likewise.
7221         * sysdeps/i386/configure: Likewise.
7222         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7223         * sysdeps/mach/configure: Likewise.
7224         * sysdeps/mach/hurd/configure: Likewise.
7225         * sysdeps/powerpc/configure: Likewise.
7226         * sysdeps/powerpc/powerpc32/configure: Likewise.
7227         * sysdeps/powerpc/powerpc64/configure: Likewise.
7228         * sysdeps/s390/s390-32/configure: Likewise.
7229         * sysdeps/s390/s390-64/configure: Likewise.
7230         * sysdeps/sh/configure: Likewise.
7231         * sysdeps/sparc/configure: Likewise.
7232         * sysdeps/unix/sysv/linux/configure: Likewise.
7233         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7234         * sysdeps/x86_64/configure: Likewise.
7235         * sysdeps/x86_64/preconfigure: Likewise.
7237 2013-10-29  Andreas Schwab  <schwab@suse.de>
7239         * stdio-common/Makefile (tst-swscanf-ENV): Define.
7241 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7243         * benchtests/pow-inputs: Add new inputs.
7245         * benchtests/exp-inputs: Add new inputs.
7247         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7248         conditional check for return value.
7249         (__cos32): Likewise.
7251 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7253         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7254         to provide a boost for large inputs with word alignment.
7255         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7256         implementation based on optimized PPC64 strcpy.
7257         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7258         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7259         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7260         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7262 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7264         [BZ #2801]
7265         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7267 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7269         [BZ #14876]
7270         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7271         * time/tst-strptime.c (day_tests): Add testcase.
7273 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7275         [BZ #14029]
7276         * manual/pattern.texi: Acknowledge that fnmatch can fail.
7278 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
7280         [BZ #16074]
7281         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7282         MAP_FAILED on error.
7284 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7286         [BZ #16072]
7287         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7288         heap for large requests.
7290 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
7292         [BZ #9954]
7293         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7294         result if the result has no associated interface.
7295         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7296         interface for all 127.X.Y.Z addresses.
7298 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
7300         * locale/iso-639.def: Add Ligurian (lij)
7302 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
7304         [BZ #15825]
7305         * sunrpc/rpc_main.c: Document rpcgen -5.
7307 2013-10-19  Michael Stahl  <mstahl@redhat.com>
7309         * elf/rtld.c (do_preload): Print the reason why preloading failed.
7311 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7313         [BZ #10278]
7314         * posix/glob.c: Match only directories when trailing slash is present.
7315         * posix/tst-gnuglob.c (my_opendir): Do not open files.
7316         (main): Add testcase.
7318 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7320         [BZ #15670]
7321         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7323 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
7325         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7326         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7327         AUTH_DES and cindex for FIPS 140-2.
7328         (DES Encryption): Add cindex FIPS 46-3.
7330         * locale/locarchive.h (struct locarhandle): Add fname.
7331         * locale/programs/localedef.c (main): Pass ARGV[remaining]
7332         if an optional argument was specified to --list-archive,
7333         otherwise NULL.
7334         * locale/programs/locarchive.c (show_archive_content): Take new
7335         argument fname and pass it via ah.fname to open_archive.
7336         * locale/programs/localedef.h: Update decl.
7337         (open_archive): If AH->fname is non-null, open that file
7338         rather than the default file name, and don't ignore ENOENT.
7339         (create_archive): Set AH.fname to NULL.
7340         (delete_locales_from_archive): Likewise.
7341         (add_locales_to_archive): Likewise.
7342         * locale/programs/locfile.c (write_all_categories): Likewise.
7344 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
7345             Aldy Hernandez  <aldyh@redhat.com>
7347         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7348         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7349         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7350         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7351         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7352         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7353         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7354         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7355         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7356         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7357         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7358         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7359         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7360         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7361         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7362         Likewise.
7363         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7364         Likewise.
7365         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7366         Likewise.
7367         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7368         Likewise.
7369         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7370         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7371         Likewise.
7372         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7373         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7374         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7375         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7376         Likewise.
7377         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7378         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7379         * sysdeps/powerpc/preconfigure: Likewise.
7380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7381         Likewise.
7382         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7383         Replace contents of file by #include of <fenv_libc.h>.
7384         * sysdeps/powerpc/soft-fp/sfp-machine.h
7385         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7386         and <sys/prctl.h>.
7387         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7388         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7389         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7390         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7391         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7392         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7394         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7395         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7396         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7397         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7398         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7400         Allow copysignl PLT reference to be missing.
7402 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
7403             Joseph Myers  <joseph@codesourcery.com
7405         [BZ #15948]
7406         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7407         single character.
7408         (add_to_tablewc): Assert sequence of wide characters is nonempty.
7410 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7412         * elf/tst-tls-dlinfo.c: Don't include tls.h.
7413         * elf/tst-tls1.c: Likewise.
7414         * elf/tst-tls10.h: Likewise.
7415         * elf/tst-tls14.c: Likewise.
7416         * elf/tst-tls2.c: Likewise.
7417         * elf/tst-tls3.c: Likewise.
7418         * elf/tst-tls4.c: Likewise.
7419         * elf/tst-tls5.c: Likewise.
7420         * elf/tst-tls6.c: Likewise.
7421         * elf/tst-tls7.c: Likewise.
7422         * elf/tst-tls8.c: Likewise.
7423         * elf/tst-tls9.c: Likewise.
7424         * elf/tst-tlsmod1.c: Likewise.
7425         * elf/tst-tlsmod13.c: Likewise.
7426         * elf/tst-tlsmod13a.c: Likewise.
7427         * elf/tst-tlsmod14a.c: Likewise.
7428         * elf/tst-tlsmod16a.c: Likewise.
7429         * elf/tst-tlsmod16b.c: Likewise.
7430         * elf/tst-tlsmod2.c: Likewise.
7431         * elf/tst-tlsmod3.c: Likewise.
7432         * elf/tst-tlsmod4.c: Likewise.
7433         * elf/tst-tlsmod5.c: Likewise.
7434         * elf/tst-tlsmod6.c: Likewise.
7436 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
7438         [BZ #12486]
7439         * malloc/malloc.c: remove checks for statistics.
7441 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7443         [BZ #15277]
7444         * inet/inet_net.c (inet_network): Detect additional invalid strings.
7445         * inet/tst-network.c: Add testcase.
7447 2013-10-17  Andreas Schwab  <schwab@suse.de>
7449         [BZ #15218]
7450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7451         to determine canonical name.
7453 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7455         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7456         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7457         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7458         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7459         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7460         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7461         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7462         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7463         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7464         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7465         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7466         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7467         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7468         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7469         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7470         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7471         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7472         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7473         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7474         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7475         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7476         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7477         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7478         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7479         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7480         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7481         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7482         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7483         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7484         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7485         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7486         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7487         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7488         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7489         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7490         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7491         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7492         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7493         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7494         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7495         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7496         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7497         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7498         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7499         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7500         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7501         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7502         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7503         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7504         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7505         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7506         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7507         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7508         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7509         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7510         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7511         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7512         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7514 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
7516         [BZ #16041]
7517         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7518         make result into a quiet NaN.
7520 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
7522         * soft-fp/adddf3.c: Fix horizontal whitespace.
7523         * soft-fp/addsf3.c: Likewise.
7524         * soft-fp/addtf3.c: Likewise.
7525         * soft-fp/divdf3.c: Likewise.
7526         * soft-fp/divsf3.c: Likewise.
7527         * soft-fp/divtf3.c: Likewise.
7528         * soft-fp/double.h: Likewise.
7529         * soft-fp/eqdf2.c: Likewise.
7530         * soft-fp/eqsf2.c: Likewise.
7531         * soft-fp/eqtf2.c: Likewise.
7532         * soft-fp/extenddftf2.c: Likewise.
7533         * soft-fp/extended.h: Likewise.
7534         * soft-fp/extendsfdf2.c: Likewise.
7535         * soft-fp/extendsftf2.c: Likewise.
7536         * soft-fp/extendxftf2.c: Likewise.
7537         * soft-fp/fixdfdi.c: Likewise.
7538         * soft-fp/fixdfsi.c: Likewise.
7539         * soft-fp/fixdfti.c: Likewise.
7540         * soft-fp/fixsfdi.c: Likewise.
7541         * soft-fp/fixsfsi.c: Likewise.
7542         * soft-fp/fixsfti.c: Likewise.
7543         * soft-fp/fixtfdi.c: Likewise.
7544         * soft-fp/fixtfsi.c: Likewise.
7545         * soft-fp/fixtfti.c: Likewise.
7546         * soft-fp/fixunsdfdi.c: Likewise.
7547         * soft-fp/fixunsdfsi.c: Likewise.
7548         * soft-fp/fixunsdfti.c: Likewise.
7549         * soft-fp/fixunssfdi.c: Likewise.
7550         * soft-fp/fixunssfsi.c: Likewise.
7551         * soft-fp/fixunssfti.c: Likewise.
7552         * soft-fp/fixunstfdi.c: Likewise.
7553         * soft-fp/fixunstfsi.c: Likewise.
7554         * soft-fp/fixunstfti.c: Likewise.
7555         * soft-fp/floatdidf.c: Likewise.
7556         * soft-fp/floatdisf.c: Likewise.
7557         * soft-fp/floatditf.c: Likewise.
7558         * soft-fp/floatsidf.c: Likewise.
7559         * soft-fp/floatsisf.c: Likewise.
7560         * soft-fp/floatsitf.c: Likewise.
7561         * soft-fp/floattidf.c: Likewise.
7562         * soft-fp/floattisf.c: Likewise.
7563         * soft-fp/floattitf.c: Likewise.
7564         * soft-fp/floatundidf.c: Likewise.
7565         * soft-fp/floatundisf.c: Likewise.
7566         * soft-fp/floatunditf.c: Likewise.
7567         * soft-fp/floatunsidf.c: Likewise.
7568         * soft-fp/floatunsisf.c: Likewise.
7569         * soft-fp/floatunsitf.c: Likewise.
7570         * soft-fp/floatuntidf.c: Likewise.
7571         * soft-fp/floatuntisf.c: Likewise.
7572         * soft-fp/floatuntitf.c: Likewise.
7573         * soft-fp/fmadf4.c: Likewise.
7574         * soft-fp/fmasf4.c: Likewise.
7575         * soft-fp/fmatf4.c: Likewise.
7576         * soft-fp/gedf2.c: Likewise.
7577         * soft-fp/gesf2.c: Likewise.
7578         * soft-fp/getf2.c: Likewise.
7579         * soft-fp/ledf2.c: Likewise.
7580         * soft-fp/lesf2.c: Likewise.
7581         * soft-fp/letf2.c: Likewise.
7582         * soft-fp/muldf3.c: Likewise.
7583         * soft-fp/mulsf3.c: Likewise.
7584         * soft-fp/multf3.c: Likewise.
7585         * soft-fp/negdf2.c: Likewise.
7586         * soft-fp/negsf2.c: Likewise.
7587         * soft-fp/negtf2.c: Likewise.
7588         * soft-fp/op-1.h: Likewise.
7589         * soft-fp/op-2.h: Likewise.
7590         * soft-fp/op-4.h: Likewise.
7591         * soft-fp/op-8.h: Likewise.
7592         * soft-fp/op-common.h: Likewise.
7593         * soft-fp/quad.h: Likewise.
7594         * soft-fp/single.h: Likewise.
7595         * soft-fp/soft-fp.h: Likewise.
7596         * soft-fp/sqrtdf2.c: Likewise.
7597         * soft-fp/sqrtsf2.c: Likewise.
7598         * soft-fp/sqrttf2.c: Likewise.
7599         * soft-fp/subdf3.c: Likewise.
7600         * soft-fp/subsf3.c: Likewise.
7601         * soft-fp/subtf3.c: Likewise.
7602         * soft-fp/truncdfsf2.c: Likewise.
7603         * soft-fp/trunctfdf2.c: Likewise.
7604         * soft-fp/trunctfsf2.c: Likewise.
7605         * soft-fp/trunctfxf2.c: Likewise.
7606         * soft-fp/unorddf2.c: Likewise.
7607         * soft-fp/unordsf2.c: Likewise.
7608         * soft-fp/unordtf2.c: Likewise.
7610 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
7612         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7613         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7615 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
7617         * elf/dl-libc.c: Clear initfini list after freeing.
7619 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
7621         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7622         * soft-fp/addsf3.c: Likewise.
7623         * soft-fp/addtf3.c: Likewise.
7624         * soft-fp/divdf3.c: Likewise.
7625         * soft-fp/divsf3.c: Likewise.
7626         * soft-fp/divtf3.c: Likewise.
7627         * soft-fp/double.h: Likewise.
7628         * soft-fp/eqdf2.c: Likewise.
7629         * soft-fp/eqsf2.c: Likewise.
7630         * soft-fp/eqtf2.c: Likewise.
7631         * soft-fp/extenddftf2.c: Likewise.
7632         * soft-fp/extended.h: Likewise.
7633         * soft-fp/extendsfdf2.c: Likewise.
7634         * soft-fp/extendsftf2.c: Likewise.
7635         * soft-fp/extendxftf2.c: Likewise.
7636         * soft-fp/fixdfdi.c: Likewise.
7637         * soft-fp/fixdfsi.c: Likewise.
7638         * soft-fp/fixdfti.c: Likewise.
7639         * soft-fp/fixsfdi.c: Likewise.
7640         * soft-fp/fixsfsi.c: Likewise.
7641         * soft-fp/fixsfti.c: Likewise.
7642         * soft-fp/fixtfdi.c: Likewise.
7643         * soft-fp/fixtfsi.c: Likewise.
7644         * soft-fp/fixtfti.c: Likewise.
7645         * soft-fp/fixunsdfdi.c: Likewise.
7646         * soft-fp/fixunsdfsi.c: Likewise.
7647         * soft-fp/fixunsdfti.c: Likewise.
7648         * soft-fp/fixunssfdi.c: Likewise.
7649         * soft-fp/fixunssfsi.c: Likewise.
7650         * soft-fp/fixunssfti.c: Likewise.
7651         * soft-fp/fixunstfdi.c: Likewise.
7652         * soft-fp/fixunstfsi.c: Likewise.
7653         * soft-fp/fixunstfti.c: Likewise.
7654         * soft-fp/floatdidf.c: Likewise.
7655         * soft-fp/floatdisf.c: Likewise.
7656         * soft-fp/floatditf.c: Likewise.
7657         * soft-fp/floatsidf.c: Likewise.
7658         * soft-fp/floatsisf.c: Likewise.
7659         * soft-fp/floatsitf.c: Likewise.
7660         * soft-fp/floattidf.c: Likewise.
7661         * soft-fp/floattisf.c: Likewise.
7662         * soft-fp/floattitf.c: Likewise.
7663         * soft-fp/floatundidf.c: Likewise.
7664         * soft-fp/floatundisf.c: Likewise.
7665         * soft-fp/floatunsidf.c: Likewise.
7666         * soft-fp/floatunsisf.c: Likewise.
7667         * soft-fp/floatuntidf.c: Likewise.
7668         * soft-fp/floatuntisf.c: Likewise.
7669         * soft-fp/floatuntitf.c: Likewise.
7670         * soft-fp/fmadf4.c: Likewise.
7671         * soft-fp/fmasf4.c: Likewise.
7672         * soft-fp/fmatf4.c: Likewise.
7673         * soft-fp/gedf2.c: Likewise.
7674         * soft-fp/gesf2.c: Likewise.
7675         * soft-fp/getf2.c: Likewise.
7676         * soft-fp/ledf2.c: Likewise.
7677         * soft-fp/lesf2.c: Likewise.
7678         * soft-fp/letf2.c: Likewise.
7679         * soft-fp/muldf3.c: Likewise.
7680         * soft-fp/mulsf3.c: Likewise.
7681         * soft-fp/multf3.c: Likewise.
7682         * soft-fp/negdf2.c: Likewise.
7683         * soft-fp/negsf2.c: Likewise.
7684         * soft-fp/negtf2.c: Likewise.
7685         * soft-fp/op-1.h: Likewise.
7686         * soft-fp/op-2.h: Likewise.
7687         * soft-fp/op-4.h: Likewise.
7688         * soft-fp/op-8.h: Likewise.
7689         * soft-fp/op-common.h: Likewise.
7690         * soft-fp/quad.h: Likewise.
7691         * soft-fp/single.h: Likewise.
7692         * soft-fp/soft-fp.h: Likewise.
7693         * soft-fp/sqrtdf2.c: Likewise.
7694         * soft-fp/sqrtsf2.c: Likewise.
7695         * soft-fp/sqrttf2.c: Likewise.
7696         * soft-fp/subdf3.c: Likewise.
7697         * soft-fp/subsf3.c: Likewise.
7698         * soft-fp/subtf3.c: Likewise.
7699         * soft-fp/truncdfsf2.c: Likewise.
7700         * soft-fp/trunctfdf2.c: Likewise.
7701         * soft-fp/trunctfsf2.c: Likewise.
7702         * soft-fp/trunctfxf2.c: Likewise.
7703         * soft-fp/unorddf2.c: Likewise.
7704         * soft-fp/unordsf2.c: Likewise.
7705         * soft-fp/unordtf2.c: Likewise.
7707 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
7709         [BZ #15672]
7710         * misc/error.c (error_tail): Fix possible buffer overflow.
7712 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
7714         [BZ #13028]
7715         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7716         address.
7718 2013-10-14  P. J. McDermott  <pj@pehjota.net>
7720         [BZ #832]
7721         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
7722         testing pipefail option.
7724 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7726         * soft-fp/double.h: Indent preprocessor directives inside #if.
7727         * soft-fp/extended.h: Likewise.
7728         * soft-fp/op-2.h: Likewise.
7729         * soft-fp/op-4.h: Likewise.
7730         * soft-fp/op-common.h: Likewise.
7731         * soft-fp/quad.h: Likewise.
7732         * soft-fp/single.h: Likewise.
7733         * soft-fp/soft-fp.h: Likewise.
7735 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
7737         * iconv/iconv_prog.c: Fix typos.
7738         * stdio-common/psiginfo-data.h: Likewise.
7740 2013-10-12   Reuben Thomas <rrt@sc3d.org>
7742         [BZ #15764]
7743         * locale/setlocale.c: Fix typo.
7745 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7747         [BZ #16036]
7748         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7749         signaling NaN arguments.
7750         * soft-fp/unordsf2.c (__unordsf2): Likewise.
7751         * soft-fp/unordtf2.c (__unordtf2): Likewise.
7753         [BZ #14910]
7754         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7755         unordered operands.
7756         * soft-fp/gesf2.c (__gesf2): Likewise.
7757         * soft-fp/getf2.c (__getf2): Likewise.
7758         * soft-fp/ledf2.c (__ledf2): Likewise.
7759         * soft-fp/lesf2.c (__lesf2): Likewise.
7760         * soft-fp/letf2.c (__letf2): Likewise.
7762         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7763         * soft-fp/eqsf2.c (__eqsf2): Likewise.
7764         * soft-fp/eqtf2.c (__eqtf2): Likewise.
7765         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7766         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7767         * soft-fp/fixdfti.c (__fixdfti): Likewise.
7768         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7769         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7770         * soft-fp/fixsfti.c (__fixsfti): Likewise.
7771         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7772         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7773         * soft-fp/fixtfti.c (__fixtfti): Likewise.
7774         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7775         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7776         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7777         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7778         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7779         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7780         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7781         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7782         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7783         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7784         * soft-fp/floatdisf.c (__floatdisf): Likewise.
7785         * soft-fp/floatsisf.c (__floatsisf): Likewise.
7786         * soft-fp/floattidf.c (__floattidf): Likewise.
7787         * soft-fp/floattisf.c (__floattisf): Likewise.
7788         * soft-fp/floattitf.c (__floattitf): Likewise.
7789         * soft-fp/floatundidf.c (__floatundidf): Likewise.
7790         * soft-fp/floatundisf.c (__floatundisf): Likewise.
7791         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7792         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7793         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7794         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7795         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7796         * soft-fp/gesf2.c (__gesf2): Likewise.
7797         * soft-fp/getf2.c (__getf2): Likewise.
7798         * soft-fp/ledf2.c (__ledf2): Likewise.
7799         * soft-fp/lesf2.c (__lesf2): Likewise.
7800         * soft-fp/letf2.c (__letf2): Likewise.
7802         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7803         Undefine and redefine.
7804         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7805         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7806         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7807         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7808         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7809         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7810         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7811         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7812         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7813         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7814         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7815         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7816         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7817         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7818         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7820         [BZ #16032]
7821         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7822         without decrementing exponent if mantissa >= that for the
7823         denominator, not >.
7824         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7825         denominator, not >.  Decrement exponent in < case instead of
7826         incrementing in >= case.
7827         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7828         without decrementing exponent if mantissa >= that for the
7829         denominator, not >.
7831         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7832         computing saturated result for unsigned overflow.
7834 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7835             Jeff Law  <law@redhat.com>
7837         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7838         (atan2Mp): Add systemtap probe marker.
7839         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7840         (__ieee754_log): Add systemtap probe marker.
7841         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7842         (atanMp): Add systemtap probe marker.
7843         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7844         (tanMp): Add systemtap probe marker.
7845         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7846         (__slowexp): Add systemtap probe marker.
7847         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7848         (__slowpow): Add systemtap probe marker.
7849         * manual/probes.texi: Document probes.
7851 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
7853         [BZ #15362]
7854         * libio/fileops.c (_IO_new_file_write): Return count of bytes
7855         written.
7856         (_IO_new_file_xsputn): Don't return EOF if nothing has been
7857         written.
7858         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7859         written to buffer but not flushed.
7860         * libio/iofwrite_u.c:  Likewise.
7861         * libio/iopadn.c:  Return bytes returned even if EOF was
7862         encountered.
7863         * libio/iowpadn.c:  Likewise.
7864         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7865         if _IO_padn does not write the whole buffer.
7866         [!COMPILE_WPRINTF] (PAD): Likewise.
7868 2013-10-10  David S. Miller  <davem@davemloft.net>
7870         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7871         directory block.
7873 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7875         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
7876         instead of FSF address.
7877         * soft-fp/fixdfti.c: Likewise.
7878         * soft-fp/fixsfti.c: Likewise.
7879         * soft-fp/fixtfti.c: Likewise.
7880         * soft-fp/fixunsdfti.c: Likewise.
7881         * soft-fp/fixunssfti.c: Likewise.
7882         * soft-fp/fixunstfti.c: Likewise.
7883         * soft-fp/floattidf.c: Likewise.
7884         * soft-fp/floattisf.c: Likewise.
7885         * soft-fp/floattitf.c: Likewise.
7886         * soft-fp/floatuntidf.c: Likewise.
7887         * soft-fp/floatuntisf.c: Likewise.
7888         * soft-fp/floatuntitf.c: Likewise.
7889         * soft-fp/trunctfxf2.c: Likewise.
7891         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
7892         * soft-fp/fixdfti.c: Likewise.
7893         * soft-fp/fixsfti.c: Likewise.
7894         * soft-fp/fixtfti.c: Likewise.
7895         * soft-fp/fixunsdfti.c: Likewise.
7896         * soft-fp/fixunssfti.c: Likewise.
7897         * soft-fp/fixunstfti.c: Likewise.
7898         * soft-fp/floattidf.c: Likewise.
7899         * soft-fp/floattisf.c: Likewise.
7900         * soft-fp/floattitf.c: Likewise.
7901         * soft-fp/floatuntidf.c: Likewise.
7902         * soft-fp/floatuntisf.c: Likewise.
7903         * soft-fp/floatuntitf.c: Likewise.
7904         * soft-fp/trunctfxf2.c: Likewise.
7906 2013-10-10  David S. Miller  <davem@davemloft.net>
7908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7910 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
7912         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7913         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7914         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7915         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7916         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7917         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7918         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7920         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
7921         for NaNs before doing comparisons on argument.
7922         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7923         Likewise.
7925 2013-10-10  Will Newton  <will.newton@linaro.org>
7927         * malloc/hooks.c (memalign_check): Ensure the value of bytes
7928         passed to _int_memalign does not overflow.
7930 2013-10-10  Torvald Riegel  <triegel@redhat.com>
7932         * scripts/bench.pl: Add include-sources directive.
7933         * benchtests/README: Update documentation.
7935 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7937         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
7938         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
7939         instead of FP_INIT_ROUNDMODE.
7940         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
7941         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
7943         [BZ #16034]
7944         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
7945         copy class of input value.
7946         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
7947         not handle exceptions.
7948         * soft-fp/negsf2.c (__negsf2): Likewise.
7949         * soft-fp/negtf2.c (__negtf2): Likewise.
7950         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
7952 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
7954         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
7955         semicolon.  From Linux kernel.
7957 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
7959         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
7961 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
7963         [BZ #156]
7964         * manual/socket.texi: Added statement about buffer
7965         for gethostbyname2_r.
7967 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
7969         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
7970         Use .p2align directive instead, throughout.
7971         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7972         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7973         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7974         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7975         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7976         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7977         * sysdeps/x86_64/strchr.S: Likewise.
7978         * sysdeps/x86_64/strrchr.S: Likewise.
7980 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7982         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
7984         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
7986         * sysdeps/generic/math_private.h (__mpsin1): Remove
7987         declaration.
7988         (__mpcos1): Likewise.
7989         (__mpsin): New argument __range_reduce.
7990         (__mpcos): Likewise.
7991         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7992         (slow): Use __mpsin and __mpcos.
7993         (slow1): Likewise.
7994         (slow2): Likewise.
7995         (sloww): Likewise.
7996         (sloww1): Likewise.
7997         (sloww2): Likewise.
7998         (bsloww): Likewise.
7999         (bsloww1): Likewise.
8000         (bsloww2): Likewise.
8001         (cslow2): Likewise.
8002         (csloww): Likewise.
8003         (csloww1): Likewise.
8004         (csloww2): Likewise.
8005         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8006         range_reduce.  Merge in __mpsin1.
8007         (__mpcos): Likewise.
8008         (__mpsin1): Remove.
8009         (__mpcos1): Likewise.
8011 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
8013         * locale/loadlocale.c (_nl_intern_locale_data): Use
8014         LOCFILE_ALIGNED_P.
8015         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8016         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8017         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8018         obstack data is appropriately aligned.
8019         (obstack_int32_grow_fast): Likewise.
8020         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8021         * locale/programs/locfile.c (add_locale_uint32): Likewise.
8022         (add_locale_uint32_array): Likewise.
8024 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8026         * benchtests/Makefile: Remove ARGLIST and RET variables.
8027         ($(objpfx)bench-%.c): Pass only function name to the script.
8028         * benchtests/README: Update documentation.
8029         * benchtests/acos-inputs: Add new directives.
8030         * benchtests/acosh-inputs: Likewise.
8031         * benchtests/asin-inputs: Likewise.
8032         * benchtests/asinh-inputs: Likewise.
8033         * benchtests/atan-inputs: Likewise.
8034         * benchtests/atanh-inputs: Likewise.
8035         * benchtests/cos-inputs: Likewise.
8036         * benchtests/cosh-inputs: Likewise.
8037         * benchtests/exp-inputs: Likewise.
8038         * benchtests/log-inputs: Likewise.
8039         * benchtests/pow-inputs: Likewise.
8040         * benchtests/rint-inputs: Likewise.
8041         * benchtests/sin-inputs: Likewise.
8042         * benchtests/sinh-inputs: Likewise.
8043         * benchtests/tan-inputs: Likewise.
8044         * benchtests/tanh-inputs: Likewise.
8045         * scripts/bench.pl: Add support for new directives.
8047 2013-10-07  Alan Modra  <amodra@gmail.com>
8049         * README: Fix careless merge.
8051 2013-10-05  Alan Modra  <amodra@gmail.com>
8053         * NEWS: Mention powerpc64le support and bugs fixed.
8054         * README: Both big-endian and little-endian powerpc64 supported.
8056 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8058         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8059         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8060         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8061         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8063 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
8065         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8066         match prototype.
8068 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
8070         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8071         Move -mhard-float appending from
8072         ports/sysdeps/powerpc/powerpc32/Makefile.
8073         [$(with-fp) = yes] (ASFLAGS): Likewise.
8074         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8075         * sysdeps/powerpc/nofpu: Move directory from
8076         ports/sysdeps/powerpc/nofpu.
8077         * sysdeps/powerpc/soft-fp: Move directory from
8078         ports/sysdeps/powerpc/soft-fp.
8079         * sysdeps/powerpc/powerpc32/405: Move directory from
8080         ports/sysdeps/powerpc/powerpc32/405.
8081         * sysdeps/powerpc/powerpc32/440: Move directory from
8082         ports/sysdeps/powerpc/powerpc32/440.
8083         * sysdeps/powerpc/powerpc32/464: Move directory from
8084         ports/sysdeps/powerpc/powerpc32/464.
8085         * sysdeps/powerpc/powerpc32/476: Move directory from
8086         ports/sysdeps/powerpc/powerpc32/476.
8087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8088         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8090         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8092         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8094         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8096         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8097         * README: Update for powerpc-*-linux-gnu software floating point
8098         support in libc.
8100         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8101         case to powerpc/powerpc32*.
8102         * sysdeps/unix/sysv/linux/configure: Regenerated.
8104         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8105         (_FPU_MASK_OM): Define as 0x04.
8106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8108         0x00c10080.
8109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8110         0x0000003c.
8111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8114         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8115         getcontext_e500.
8116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8117         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8118         setcontext_e500.
8119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8120         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8121         and setcontext_e500.
8123 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
8125         * locale/iso-3166.def: Update iso-1366.def and related occurrences
8127 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8129         * manual/threads.texi (Default Thread Attributes): Fix typo.
8131 2013-10-04  Will Newton  <will.newton@linaro.org>
8133         * malloc/Makefile: Add tst-memalign.
8134         * malloc/tst-memalign.c: New file.
8136         * malloc/tst-posix_memalign.c: Add comments.
8137         (do_test): Add comments and call free on all potentially
8138         allocated pointers. Add space after cast.
8140         * malloc/tst-pvalloc.c: Add comments.
8141         (do_test): Add comments and call free on all potentially
8142         allocated pointers. Remove duplicate check for NULL pointer.
8143         Add space after cast.
8145         * malloc/tst-valloc.c: Add comments.
8146         (do_test): Add comments and call free on all potentially
8147         allocated pointers. Remove duplicate check for NULL pointer.
8148         Add space after cast.
8150 2013-10-04  Alan Modra  <amodra@gmail.com>
8152         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8153         Use stdint types in rather than __attribute__((mode())).
8154         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8156 2013-10-04  Alan Modra  <amodra@gmail.com>
8158         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8159         Correct handling of unaligned relocs for little-endian.
8160         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8162 2013-10-04  Alan Modra  <amodra@gmail.com>
8164         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8165         * configure: Regenerate.
8166         * nptl/shlib-versions: Powerpc*le starts at 2.18.
8167         * shlib-versions: Likewise.
8169 2013-10-04  Alan Modra  <amodra@gmail.com>
8171         * string/tester.c (test_memrchr): Increment reported test cycle.
8173 2013-10-04  Alan Modra  <amodra@gmail.com>
8175         * string/test-memcpy.c (do_one_test): When reporting errors, print
8176         string address and don't overrun end of string.
8178 2013-10-04  Alan Modra  <amodra@gmail.com>
8180         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8181         insrdi.  Make better use of reg selection to speed exit slightly.
8182         Schedule entry path a little better.  Remove useless "are we done"
8183         checks on entry to main loop.  Handle wrapping around zero address.
8184         Correct main loop count.  Handle single left-over word from main
8185         loop inline rather than by using loop_small.  Remove extra word
8186         case in loop_small caused by wrong loop count.  Add little-endian
8187         support.
8188         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8189         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
8190         cache hint.
8191         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8192         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8193         support.  Avoid rlwimi.
8194         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8196 2013-10-04  Alan Modra  <amodra@gmail.com>
8198         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8199         insrdi.  Formatting.
8200         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8201         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8202         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8203         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8204         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8205         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8207 2013-10-04  Alan Modra  <amodra@gmail.com>
8209         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8210         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8211         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8212         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8213         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8214         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8215         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8216         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8217         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
8218         use of regs.  Use power7 mtocrf.  Tidy function tails.
8220 2013-10-04  Alan Modra  <amodra@gmail.com>
8222         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8223         Formatting.  Consistently use rXXX register defines or rN defines.
8224         Use early exit labels that avoid restoring unused non-volatile regs.
8225         Make cr field use more consistent with rWORDn compares.  Rename
8226         regs used as shift registers for unaligned loop, using rN defines
8227         for short lifetime/multiple use regs.
8228         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8229         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
8230         addi 1,1,64 to pop stack frame.  Simplify return value code.
8231         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8233 2013-10-04  Alan Modra  <amodra@gmail.com>
8235         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8236         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
8237         rather than rlwimi.
8238         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8239         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8240         little-endian support.  Correct typos.
8241         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
8242         rather than rlwimi.
8243         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
8244         in loop and entry code to keep "and." results.
8245         (strchr): Add little-endian support.  Comment.  Move cntlzd
8246         earlier in tail.
8247         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8249 2013-10-04  Alan Modra  <amodra@gmail.com>
8251         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8252         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8253         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8254         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8256 2013-10-04  Alan Modra  <amodra@gmail.com>
8258         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8259         (rTMP): Define as r11.
8260         (strcmp): Add little-endian support.  Optimise tail.
8261         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8262         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8263         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8264         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8265         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8266         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8267         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8269 2013-10-04  Alan Modra  <amodra@gmail.com>
8271         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8272         little-endian support.  Remove unnecessary "are we done" tests.
8273         Handle "s" wrapping around zero and extremely large "size".
8274         Correct main loop count.  Handle single left-over word from main
8275         loop inline rather than by using small_loop.  Correct comments.
8276         Delete "zero" tail, use "end_max" instead.
8277         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8279 2013-10-04  Alan Modra  <amodra@gmail.com>
8281         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8282         support.  Don't branch over align.
8283         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8284         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8285         support.  Rearrange tmp reg use to suit.  Comment.
8286         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8288 2013-10-04  Alan Modra  <amodra@gmail.com>
8290         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8292 2013-10-04  Alan Modra  <amodra@gmail.com>
8294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8295         conditional form of branch and link when obtaining pc.
8296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8298 2013-10-04  Alan Modra  <amodra@gmail.com>
8300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8301         HIWORD/LOWORD.
8302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8305 2013-10-04  Alan Modra  <amodra@gmail.com>
8307         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8308         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8309         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8310         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8311         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8312         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8313         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8314         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8315         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8316         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8318 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8319             Alistair Popple <alistair@ozlabs.au.ibm.com>
8320             Alan Modra <amodra@gmail.com>
8322         [BZ #15723]
8323         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8324         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8325         _dl_hwcap access for little-endian.
8326         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
8327         destroy vmx regs when saving unaligned.
8328         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8329         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
8330         destroy vmx regs when saving unaligned.
8332 2013-10-04  Alan Modra  <amodra@gmail.com>
8334         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8335         Don't use a union to pack hi/low value.
8337 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8339         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8340         for little-endian.
8341         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8342         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8343         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8344         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8345         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8347 2013-10-04  Alan Modra  <amodra@gmail.com>
8349         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8350         constants to usual value for .cst8 section, and remove redundant
8351         high address load.
8352         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8353         constant for 0x1p52.  Load little-endian words of double from
8354         correct stack offsets.
8356 2013-10-04  Alan Modra  <amodra@gmail.com>
8358         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8359         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8360         words of double from correct stack offsets.
8361         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8362         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8363         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8364         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8365         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8366         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8367         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8368         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8369         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8370         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8371         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8372         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8373         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8374         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8375         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8376         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8377         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8379 2013-10-04  Alan Modra  <amodra@gmail.com>
8381         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8382         64-bit int/double union.
8383         (_FPU_SETCW): Likewise.
8384         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8385         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8387 2013-10-04  Alan Modra  <amodra@gmail.com>
8389         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8390         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8392 2013-10-04  Alan Modra  <amodra@gmail.com>
8394         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8395         use vector int constants.
8396         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8398 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8400         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8401         array with long long.
8402         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8403         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8404         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8405         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8406         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8407         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8408         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8409         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8410         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8411         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8412         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8413         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8414         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8416 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8418         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8419         (__signbit): Likewise.  Correct for little-endian.
8420         (__signbitl): Call __signbit.
8421         (lrint): Correct for little-endian.
8422         (lrintf): Call lrint.
8424 2013-10-04  Alan Modra  <amodra@gmail.com>
8426         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8427         union 32-bit int array member with 64-bit int array.
8428         (t515, tm256): Double rather than long double.
8429         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8431 2013-10-04  Alan Modra  <amodra@gmail.com>
8433         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8434         Delete.
8435         (IEEE854_LONG_DOUBLE_BIAS): Delete.
8436         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8437         version of math_ldbl.h.
8439 2013-10-04  Alan Modra  <amodra@gmail.com>
8441         [BZ #15734], [BZ #15735]
8442         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8443         all uses of ieee875 long double macros and unions.  Simplify test
8444         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
8445         ldbl_extract_mantissa value for ix,iy exponents.  Properly
8446         normalize after ldbl_extract_mantissa, and don't add hidden bit
8447         already handled.  Don't treat low word of ieee854 mantissa like
8448         low word of IBM long double and mask off bit when testing for
8449         zero.
8450         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8451         all uses of ieee875 long double macros and unions.  Simplify tests
8452         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
8453         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
8454         two1022, instead use their values.  Recognise that tests for large
8455         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
8456         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8457         Rewrite all uses of ieee875 long double macros and unions.  Simplify
8458         test for 0.0L and nan.  Correct negation.
8459         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8460         ieee875 long double macros and unions.  Correct output for large
8461         magnitude x.  Correct absolute value calculation.
8462         (__erfcl): Likewise.
8463         * math/libm-test.inc: Add tests for errors discovered in IBM long
8464         double versions of fmodl, remainderl, erfl and erfcl.
8466 2013-10-04  Alan Modra  <amodra@gmail.com>
8468         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8469         all uses of ieee854 long double macros and unions.  Simplify tests
8470         for long doubles that are fully specified by the high double.
8471         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8472         Likewise.
8473         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8474         Remove dead code too.
8475         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8476         (__ieee754_ynl): Likewise.
8477         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8478         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8479         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8480         Remove dead code too.
8481         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8482         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8483         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8484         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8485         Simplify.
8486         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8487         Simplify.
8488         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8489         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8490         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8491         Comment on variable precision.
8492         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8493         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8494         Likewise.
8495         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8496         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8497         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8498         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8499         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8501 2013-10-04  Alan Modra  <amodra@gmail.com>
8503         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8504         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8505         all uses of ieee854 long double macros and unions.
8506         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8507         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8508         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8509         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8510         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8511         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8512         Likewise.
8513         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8514         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8515         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8516         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8517         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8518         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8519         Simplify sign and nan test too.
8520         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8521         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8522         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8523         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8524         Likewise.
8525         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8526         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8527         Likewise.
8528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8529         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8530         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8531         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8532         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8533         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8535 2013-10-04  Alan Modra  <amodra@gmail.com>
8537         * stdio-common/printf_size.c (__printf_size): Don't use
8538         union ieee854_long_double in fpnum union.
8539         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
8540         signbit macro to retrieve sign from long double.
8541         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8542         retrieve sign from long double.
8543         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8544         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8545         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8546         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8547         * math/test-misc.c (main): Don't use union ieee854_long_double.
8549 2013-10-04  Alan Modra  <amodra@gmail.com>
8551         [BZ #15680]
8552         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8553         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8554         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8555         calculation.  Remove unnecessary test for denormal exponent.
8556         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8557         Correct handling of denormals.  Avoid undefined shift behaviour.
8558         Correct normalisation of low mantissa when low double is denormal.
8559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8560         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
8561         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8562         Correct normalisation of low mantissa.  Test for overflow of high
8563         mantissa and normalise.
8564         (ldbl_nearbyint): Use more readable constant for two52.
8565         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8566         (__mpn_construct_long_double): Fix test for overflow of high
8567         mantissa and correct normalisation.  Avoid undefined shift.
8569 2013-10-04  Alan Modra  <amodra@gmail.com>
8571         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8572         (union ibm_extended_long_double): Define as an array of ieee754_double.
8573         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8574         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8575         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8576         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8577         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8578         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8579         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8580         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8581         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8582         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8583         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8585 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
8587         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8588         page size instead of calling getpagesize.
8590         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8591         (LOCFILE_ALIGN_MASK): Likewise.
8592         (LOCFILE_ALIGN_UP): Likewise.
8593         (LOCFILE_ALIGNED_P): Likewise.
8594         * locale/programs/ld-collate.c (collate_output): Use the new
8595         macros instead of __alignof__ (int32_t).
8596         * locale/weight.h (findidx): Likewise.
8598 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
8600         [BZ #431]
8601         * manual/string.texi: Fix strncat and wcsncat.
8603 2013-10-03  Brooks Moses  <bmoses@google.com>
8605         [BZ #15915]
8606         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8607         * Makerules: ...here, and adjust associated comments.
8609 2013-10-02  Will Newton  <will.newton@linaro.org>
8611         * malloc/Makefile: Add tst-pvalloc.
8612         * malloc/tst-pvalloc.c: New file.
8614 2013-10-02  Will Newton  <will.newton@linaro.org>
8616         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8617         improve test coverage.
8619 2013-10-02  Will Newton  <will.newton@linaro.org>
8621         * malloc/Makefile: Add tst-posix_memalign.
8622         * malloc/tst-posix_memalign.c: New file.
8624 2013-10-01  Eric Blake  <eblake@redhat.com>
8626         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8627         Use __THROWNL rather than __THROW on static functions.
8629 2013-09-30  Petr Machata  <pmachata@redhat.com>
8631         * elf/elf.h (R_AARCH64_ABS16): New macro.
8632         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8633         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8634         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8635         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8636         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8637         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8638         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8639         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8640         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8641         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8642         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8643         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8644         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8645         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8646         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8647         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8648         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8649         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8650         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8651         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8652         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8653         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8654         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8655         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8656         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8657         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8658         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8659         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8660         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8661         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8662         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8663         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8664         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8665         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8666         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8667         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8668         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8669         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8670         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8671         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8672         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8673         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8674         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8675         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8676         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8677         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8678         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8679         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8680         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8681         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8682         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8683         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8684         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8685         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8686         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8687         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8688         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8689         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8690         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8691         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8692         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8693         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8694         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8695         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8696         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8697         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8698         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8699         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8700         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8701         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8702         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8703         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8704         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8705         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8706         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8707         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8708         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8709         (R_AARCH64_TLSDESC_LDR): Likewise.
8710         (R_AARCH64_TLSDESC_ADD): Likewise.
8711         (R_AARCH64_TLSDESC_CALL): Likewise.
8713 2013-09-30  Andreas Schwab  <schwab@suse.de>
8715         [BZ #15048]
8716         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8717         the nss database lookup.
8718         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8721 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
8723         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8725 2013-09-28  P. J. McDermott  <pj@pehjota.net>
8727         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8728         ${Bash-specific parameter/pattern/string} parameter expansion.
8729         * sysdeps/unix/make-syscalls.sh: Likewise.
8731 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8733         * sysdeps/sh/stackguard-macros.h: New file.
8735 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
8737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8739         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8740         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8741         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8742         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8744 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8746         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8747         Fix thread ID register.
8749 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
8751         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8752         [POSIX || UNIX98]: Require rather than permitting all symbols from
8753         <time.h>.
8754         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8755         element of struct sched_param.
8756         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8757         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8758         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8759         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8760         constant.
8762 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
8764         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8765         argument calculation.
8767 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8769         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8770         Expect macro.
8771         [POSIX] (pthread_attr_t): Do not require type.
8772         [POSIX] (pthread_cond_t): Likewise.
8773         [POSIX] (pthread_condattr_t): Likewise.
8774         [POSIX] (pthread_key_t): Likewise.
8775         [POSIX] (pthread_mutex_t): Likewise.
8776         [POSIX] (pthread_mutexattr_t): Likewise.
8777         [POSIX] (pthread_once_t): Likewise.
8778         [POSIX] (pthread_t): Likewise.
8779         [POSIX-based standards] (pthread_atfork): Expect function.
8781 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8782             Richard Sandiford  <richard@codesourcery.com>
8784         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8785         (swap_endianness_p): New extern variable.
8786         (set_big_endian): New inline function.
8787         (maybe_swap_uint32): Likewise.
8788         (maybe_swap_uint32_array): Likewise.
8789         (maybe_swap_uint32_obstack): Likewise.
8790         * locale/programs/locfile.c: Include <stdbool.h>.
8791         (swap_endianness_p): New variable.
8792         (add_locale_uint32): Call maybe_swap_uint32.
8793         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8794         (write_locale_data): Call maybe_swap_uint32_array.
8795         * locale/programs/ld-collate.c (obstack_int32_grow): Call
8796         maybe_swap_uint32.
8797         (obstack_int32_grow_fast): Likewise.
8798         (output_weightwc): Call maybe_swap_uint32_obstack.
8799         (collate_output): Likewise.
8800         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8801         (OPT_LITTLE_ENDIAN): Likewise.
8802         (options): Add --little-endian and --big-endian options.
8803         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8804         * locale/programs/locarchive.c: Include "locfile.h".
8805         (GET): New macro.
8806         (SET): Likewise.
8807         (INC): Likewise.
8808         (create_archive): Use the new macros to access fields of
8809         structures directly mapped from or written to locale archives.
8810         (oldlocrecentcmp): Likewise.
8811         (enlarge_archive): Likewise.
8812         (insert_name): Likewise.
8813         (add_alias): Likewise.
8814         (add_locale): Likewise.
8815         (delete_locales_from_archive): Likewise.
8816         (show_archive_content): Likewise.
8817         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
8818         locale data.
8820 2013-09-24  Roland McGrath  <roland@hack.frob.com>
8822         * manual/freemanuals.texi: Updated from (newly) canonical copy at
8823         http://www.gnu.org/doc/freemanuals.texi.
8824         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8826 2013-09-24  Will Newton  <will.newton@linaro.org>
8828         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8829         macro.
8831 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
8833         * locale/hashval.h (compute_hashval): Interpret bytes of key as
8834         unsigned char.
8836 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
8838         * manual/threads.texi (POSIX Threads): Fix a typo.
8840 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8842         [BZ #14547]
8843         * string/tst-strcoll-overflow.c: New test case.
8844         * string/Makefile (xtests): Add tst-strcoll-overflow.
8845         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8846         cache if string sizes may cause integer overflow.
8848         [BZ #14547]
8849         * string/strcoll_l.c (coll_seq): New members rule, idx,
8850         save_idx and back_us.
8851         (get_next_seq_nocache): New function.
8852         (do_compare_nocache): New function.
8853         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8854         when malloc fails.
8856 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
8858         [BZ #15754]
8859         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8860         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8861         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8863         [BZ #15754]
8864         * elf/Makefile (tests): Add tst-ptrguard1.
8865         (tests-static): Add tst-ptrguard1-static.
8866         (tst-ptrguard1-ARGS): Define.
8867         (tst-ptrguard1-static-ARGS): Define.
8868         * elf/tst-ptrguard1.c: New file.
8869         * elf/tst-ptrguard1-static.c: New file.
8870         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8871         * sysdeps/i386/stackguard-macros.h: Likewise.
8872         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8873         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8874         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8875         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8876         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8877         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8879 2013-09-23  Hector Marco  <hecmargi@upv.es>
8880             Ismael Ripoll  <iripoll@disca.upv.es>
8881             Carlos O'Donell  <carlos@redhat.com>
8883         [BZ #15754]
8884         * sysdeps/generic/stackguard-macros.h: Define
8885         __pointer_chk_guard_local and POINTER_CHK_GUARD.
8886         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8887         Define __pointer_chk_guard_local.
8888         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8889         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8891 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
8893         [BZ #15859]
8894         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8896 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
8898         * include/string.h (__ffs): Declare as hidden.
8899         * string/ffs.c (__ffs): Define as hidden.
8900         * sysdeps/i386/ffs.c (__ffs): Likewise.
8901         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8902         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8903         * sysdeps/s390/ffs.c (__ffs): Likewise.
8904         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8906 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
8908         * NEWS: Mention malloc probes.
8910         * malloc/arena.c (new_heap): New memory_heap_new probe.
8911         (grow_heap): New memory_heap_more probe.
8912         (shrink_heap): New memory_heap_less probe.
8913         (heap_trim): New memory_heap_free probe.
8914         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8915         (systrim): New memory_sbrk_less probe.
8916         * manual/probes.texi: Document them.
8918         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8919         * manual/probes.texi: Document it.
8921         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
8922         (__libc_realloc): Add memory_realloc_retry probe.
8923         (__libc_memalign): Add memory_memalign_retry probe.
8924         (__libc_valloc): Add memory_valloc_retry probe.
8925         (__libc_pvalloc): Add memory_pvalloc_retry probe.
8926         (__libc_calloc): Add memory_calloc_retry probe.
8927         * manual/probes.texi: Document them.
8929         * malloc/arena.c (get_free_list): Add probe
8930         memory_arena_reuse_free_list.
8931         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
8932         and memory_arena_reuse.
8933         (arena_get2) [!PER_THREAD]: Likewise.
8934         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
8935         memory_arena_reuse_realloc.
8936         * manual/probes.texi: Document them.
8938         * malloc/malloc.c (__libc_free): Add
8939         memory_mallopt_free_dyn_thresholds probe.
8940         (__libc_mallopt): Add multiple memory_mallopt probes.
8941         * manual/probes.texi: Document them.
8943         * malloc/malloc.c: Include stap-probe.h.
8944         (__libc_mallopt): Add memory_mallopt probe.
8945         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
8946         * manual/probes.texi: New.
8947         * manual/Makefile (chapters): Add probes.
8948         * manual/threads.texi: Set next node.
8950 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
8952         [BZ #15963, #13985]
8953         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
8954         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
8955         Add `Chinese' to `nan' entry name.
8957 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8959         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
8960         (POLYNOMIAL): Likewise.
8961         (TAYLOR_SINCOS): Likewise.
8962         (TAYLOR_SLOW): Likewise.
8963         (__sin): Use TAYLOR_SINCOS.
8964         (__cos): Likewise.
8965         (slow): Use TAYLOR_SLOW.
8966         (sloww): Likewise.
8967         (bsloww): Likewise.
8968         (csloww): Likewise.
8970 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
8972         * stdlib/strtod_l.c: Fix buffer overrun.
8974 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8976         * benchtests/Makefile (bench): Add sincos.
8977         * benchtests/bench-sincos.c: New file.
8979         * math/libm-test.inc (cos_test_data): New test inputs.
8980         (sin_test_data): Likewise.
8982         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
8983         macro.
8984         (__sin): Use it.
8985         (__cos): Likewise.
8986         (slow1): Likewise.
8987         (slow2): Likewise.
8988         (sloww1): Likewise.
8989         (sloww2): Likewise.
8990         (bsloww1): Likewise.
8991         (bsloww2): Likewise.
8992         (cslow2): Likewise.
8993         (csloww1): Likewise.
8994         (csloww2): Likewise.
8996         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
8997         function.
8998         (__sin): Use it.
8999         (__cos): Likewise.
9001         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9002         gotos.
9003         (__cos): Likewise.
9005 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
9007         * config.h.in (HAVE_MIPS_NAN2008): New macro.
9008         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9009         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9010         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9011         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9012         * elf/cache.c (print_entry): Handle the new cache flags.
9014 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9015             Aldy Hernandez  <aldyh@redhat.com>
9017         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9018         Change condition to [_SOFT_FLOAT].
9019         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9020         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9021         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9022         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9023         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9024         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9027         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9029         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9030         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9031         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9032         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9033         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9034         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9035         declaration.
9037 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9039         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9040         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9041         (__longjmp): Use LOAD_GP to load saved GPRs.
9042         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9043         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9044         (__sigsetjmp): Use SAVE_GP to save GPRs.
9046         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9047         Do not append -msoft-float.
9048         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9050 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9052         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9054 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
9056         [BZ #15966]
9057         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9058         (_FPU_GETCW): Use initial "__" on variable and field names but not
9059         on macro parameter name.
9060         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
9061         parentheses around reference to macro parameter.
9063 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
9065         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9066         prototype.
9067         (ctype_startup): Use uint32_t in cast and sizeof for
9068         ctype->charnames.
9070 2013-09-11  Jia Liu  <proljc@gmail.com>
9072         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9073         __daddr_t_defined.
9074         [__FreeBSD__]: Likewise.
9076 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9079         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9080         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9081         (strchr): Remove __strchr_sse42 ifunc selection.
9082         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9083         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9085 2013-09-11  Will Newton  <will.newton@linaro.org>
9087         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9088         parameter to RES. Remove hardcoded 1000 value.
9089         * benchtests/bench-skeleton.c (main): Pass RES parameter
9090         to TIMING_INIT and multiply result by 1000.
9092 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9096 2013-09-11  Andreas Schwab  <schwab@suse.de>
9098         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9099         if not defined.
9100         (O_TMPFILE) [__USE_GNU]: Define.
9101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9102         Define.
9104 2013-09-11  Will Newton  <will.newton@linaro.org>
9106         [BZ #15857]
9107         * malloc/malloc.c (__libc_memalign): Check the value of bytes
9108         does not overflow.
9110 2013-09-11  Will Newton  <will.newton@linaro.org>
9112         [BZ #15856]
9113         * malloc/malloc.c (__libc_valloc): Check the value of bytes
9114         does not overflow.
9116 2013-09-11  Will Newton  <will.newton@linaro.org>
9118         [BZ #15855]
9119         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9120         does not overflow.
9122 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
9124         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9125         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9126         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9127         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9128         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9130 2013-09-10  Allan McRae  <allan@archlinux.org>
9132         [BZ #15748]
9133         * manual/arith.texi (Parsing of Floats): Clarify
9134         cross-reference.
9136         [BZ #15849]
9137         * manual/install.texi (Running make install): Mention
9138         --enable-pt-chown.
9139         * INSTALL: Regenerated.
9141 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
9143         * csu/init-first.c (_init): Remove the !SHARED condition around
9144         FPU control word initialization.
9145         * elf/dl-support.c (_dl_fpu_control): New variable.
9146         (_dl_aux_init) <AT_FPUCW>: Initialize it.
9147         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9148         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9149         * math/test-fpucw-static.c: New file.
9150         * math/test-fpucw-ieee.c: New file.
9151         * math/test-fpucw-ieee-static.c: New file.
9152         * math/Makefile (tests): Add `test-fpucw-ieee' and
9153         `$(tests-static)'.
9154         (tests-static): New variable.
9155         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9156         dependency to...
9157         [($(build-shared),yes)]
9158         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9159         ... this.
9160         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9161         New dependency.
9163 2013-09-09  Allan McRae  <allan@archlinux.org>
9165         [BZ #15939]
9166         * manual/string.texi (Collation Functions): Fix typo in
9167         strcoll example.
9168         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9170         [BZ #15893]
9171         * stdlib/isomac.c (get_null_defines): Fix memory leak.
9173         [BZ #15892]
9174         * libio/memstream.c (open_memstream): Fix memory leak.
9175         * libio/wmemstream.c (open_wmemstream): Likewise.
9177         [BZ #15895]
9178         * nscd/netgroupcache.c: Fix nesting of ifdefs.
9180 2013-09-09  Will Newton  <will.newton@linaro.org>
9182         * malloc/Makefile: Add tst-realloc to tests.
9183         * malloc/tst-realloc.c: New file.
9185 2013-09-09  Allan McRae  <allan@archlinux.org>
9187         [BZ #15844]
9188         * COPYING: Update from GNU website to fix FSF address.
9189         * COPYING.LIB: Likewise.
9191 2013-09-06  David S. Miller  <davem@davemloft.net>
9193         * po/zh_TW.po: Update Chinese (traditional) translation from
9194         translation project.
9196 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
9197             Joseph Myers  <joseph@codesourcery.com>
9199         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9200         "localeinfo.h".
9201         (obstack_chunk_alloc): New macro.
9202         (obstack_chunk_free): Likewise.
9203         (record_offset): New function.
9204         (init_locale_data): Likewise.
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): Take locale_file structure rather than an
9219         iovec.
9220         * locale/programs/locfile.h: Include "obstack.h".
9221         (struct locale_file): Change to store locale file contents instead
9222         of header.
9223         (init_locale_data): New prototype.
9224         (align_locale_data): Likewise.
9225         (add_locale_empty): Likewise.
9226         (add_locale_raw_data): Likewise.
9227         (add_locale_raw_obstack): Likewise.
9228         (add_locale_string): Likewise.
9229         (add_locale_wstring): Likewise.
9230         (add_locale_uint32): Likewise.
9231         (add_locale_uint32_array): Likewise.
9232         (add_locale_char): Likewise.
9233         (start_locale_structure): Likewise.
9234         (end_locale_structure): Likewise.
9235         (start_locale_prelude): Likewise.
9236         (end_locale_prelude): Likewise.
9237         (write_locale_data): Update prototype.
9238         * locale/programs/3level.h (struct TABLE): Remove result field.
9239         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9240         Use new locale_file interface.
9241         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9242         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9243         * locale/programs/ld-address.c (address_output): Use new
9244         locale_file interface.
9245         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9246         NO_ADD_LOCALE.
9247         (collate_finish): Don't call collseq_table_finalize.
9248         (collate_output): Use new locale_file interface.
9249         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9250         in file.
9251         (NO_FINALIZE): Change to NO_ADD_LOCALE.
9252         (TABLE): Move defines earlier in file.
9253         (ELEMENT): Likewise.
9254         (DEFAULT): Likewise.
9255         (wctrans_table_add): Move macro and inline function earlier in
9256         file.
9257         (struct wctype_table): Move type earlier in file.
9258         (add_locale_wctype_table): New static prototype.
9259         (struct locale_ctype_t): Use logical types instead of struct iovec
9260         pointers for members.
9261         (ctype_output): Use new locale_file interface.
9262         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
9263         new locale_file interface.
9264         (allocate_arrays): Update for use of new locale_file interface.
9265         * locale/programs/ld-identification.c (identification_output): Use
9266         new locale_file interface.
9267         * locale/programs/ld-measurement.c (measurement_output): Likewise.
9268         * locale/programs/ld-messages.c (messages_output): Likewise.
9269         * locale/programs/ld-monetary.c (monetary_output): Likewise.
9270         * locale/programs/ld-name.c (name_output): Likewise.
9271         * locale/programs/ld-numeric.c (numeric_output): Likewise.
9272         * locale/programs/ld-paper.c (paper_output): Likewise.
9273         * locale/programs/ld-telephone.c (telephone_output): Likewise.
9274         * locale/programs/ld-time.c (time_output): Likewise.
9276 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9278         * benchtests/Makefile: Add memrchr benchmark.
9279         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9280         benchmark as memrchr.
9281         * benchtests/bench-memrchr-ifunc.c: New file.
9282         * benchtests/bench-memrchr.c: New file.
9284 2013-09-06   Will Newton  <will.newton@linaro.org>
9286         * benchtests/Makefile (string-bench): Add memcpy.
9288 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
9289             Cong Wang  <amwang@redhat.com>
9291         [BZ #15850]
9292         * sysdeps/unix/sysv/linux/bits/in.h
9293         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9294         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9295         before __USE_KERNEL_IPV6_DEFS uses.
9296         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9297         IPPROTO_BEETPH.
9298         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9299         sockaddr_in6, or ipv6_mreq.
9301 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9303         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9304         memory access for final bytes in some large inputs.
9305         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9307 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9309         * string/test-memrchr.c: New file.
9310         * string/test-memrchr-ifunc.c: New file.
9311         * string/Makefile: Add new memrchr testcase.
9313 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
9315         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9316         fanotify_init returns EPERM.
9318 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9320         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9321         errors.
9322         (top level): Treat second token from macro or constant entries for
9323         allowed headers as allowed.
9324         * include/complex.h: Condition internal declarations on
9325         [!_ISOMAC].
9326         * include/fenv.h: Condition include of <stdbool.h> and internal
9327         declarations on [!_ISOMAC].
9329 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
9331         [BZ #15923]
9332         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9334 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9336         * configure.in (--enable-versioning): Remove configure option.
9337         (libc_cv_asm_symver_directive): Remove configure test.
9338         (libc_cv_ld_version_script_option): Likewise.
9339         (VERSIONING): Remove variable and AC_SUBST.
9340         (DO_VERSIONING): Remove AC_DEFINE.
9341         * configure: Regenerated.
9342         * config.h.in (DO_VERSIONING): Remove macro.
9343         * Makerules [$(versioning) = yes]: Change conditionals to
9344         [$(build-shared) = yes].
9345         * config.make.in (versioning): Remove variable.
9346         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9347         [$(build-shared) = yes].
9348         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9349         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9350         * elf/Makefile [$(versioning) = yes]: Change conditionals to
9351         [$(build-shared) = yes].
9352         * extra-lib.mk [$(versioning) = yes]: Likewise.
9353         * hurd/Makefile [$(versioning) = yes]: Likewise.
9354         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9355         [SHARED].
9356         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9357         [SHARED].
9358         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9359         [SHARED && !NO_HIDDEN].
9360         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9361         [SHARED].
9362         [SHARED && DO_VERSIONING]: Likewise..
9363         * libio/Makefile [$(versioning) = yes]: Change conditionals to
9364         [$(build-shared) = yes].
9365         * manual/install.texi (--disable-versioning): Remove
9366         documentation.
9367         * INSTALL: Regenerated.
9368         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9369         to [SHARED].
9370         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9371         [$(build-shared) = yes].
9372         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9373         * sysdeps/i386/i686/multiarch/strstr-c.c
9374         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9375         [SHARED && !NO_HIDDEN].
9376         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9377         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9378         * sysdeps/powerpc/powerpc32/dl-machine.c
9379         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9380         * sysdeps/powerpc/powerpc32/sysdep.h
9381         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9382         to [SHARED && PIC && !NO_HIDDEN].
9383         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9384         conditional to [SHARED].
9386 2013-09-04   Will Newton  <will.newton@linaro.org>
9388         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9389         * benchtests/bench-string.h: Include bench-timing.h instead
9390         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9391         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9392         call to HP_TIMING_DIFF_INIT.
9393         * benchtests/bench-memccpy.c: Use bench-timing.h macros
9394         instead of hp-timing.h macros.
9395         * benchtests/bench-memchr.c: Likewise.
9396         * benchtests/bench-memcmp.c: Likewise.
9397         * benchtests/bench-memcpy.c: Likewise.
9398         * benchtests/bench-memmem.c: Likewise.
9399         * benchtests/bench-memmove.c: Likewise.
9400         * benchtests/bench-memset.c: Likewise.
9401         * benchtests/bench-rawmemchr.c: Likewise.
9402         * benchtests/bench-strcasecmp.c: Likewise.
9403         * benchtests/bench-strcasestr.c: Likewise.
9404         * benchtests/bench-strcat.c: Likewise.
9405         * benchtests/bench-strchr.c: Likewise.
9406         * benchtests/bench-strcmp.c: Likewise.
9407         * benchtests/bench-strcpy.c: Likewise.
9408         * benchtests/bench-strcpy_chk.c: Likewise.
9409         * benchtests/bench-strlen.c: Likewise.
9410         * benchtests/bench-strncasecmp.c: Likewise.
9411         * benchtests/bench-strncat.c: Likewise.
9412         * benchtests/bench-strncmp.c: Likewise.
9413         * benchtests/bench-strncpy.c: Likewise.
9414         * benchtests/bench-strnlen.c: Likewise.
9415         * benchtests/bench-strpbrk.c: Likewise.
9416         * benchtests/bench-strrchr.c: Likewise.
9417         * benchtests/bench-strspn.c: Likewise.
9418         * benchtests/bench-strstr.c: Likewise.
9420 2013-09-04  Will Newton  <will.newton@linaro.org>
9422         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9424 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
9426         [BZ #15427]
9427         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9428         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9429         * math/libm-test.inc (lgamma_test_data): Add more tests.
9430         * sysdeps/i386/fpu/libm-test-ulps: Update.
9431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9433 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
9435         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9437         Add ifunc.
9438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9439         Add strcmp-sse2-unaligned
9440         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9442 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9444         * Versions.def (libc): Add GLIBC_2.19.
9446 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9448         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9449         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9451 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
9453         [BZ #14155]
9454         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9455         intermediate calculations in recurrence.
9456         (__ieee754_ynf): Likewise.
9457         * math/libm-test.inc (jn_test_data): Do not allow spurious
9458         underflow exception.  Add more tests.
9459         (yn_test_data): Add more tests.
9460         * sysdeps/i386/fpu/libm-test-ulps: Update.
9461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9463 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
9465         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9467 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9469         * csu/init-first.c: Fix then/than typos.
9470         * locale/programs/ld-collate.c: Likewise.
9471         * locale/programs/linereader.h: Likewise.
9472         * manual/charset.texi: Likewise.
9473         * manual/filesys.texi: Likewise.
9474         * manual/stdio.texi: Likewise.
9475         * manual/string.texi: Likewise.
9476         * stdlib/fmtmsg.c: Likewise.
9477         * sysdeps/i386/stpncpy.S: Likewise.
9478         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9479         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9480         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9481         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9483 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9485         * elf/dl-open.c: Fix typos.
9486         * iconvdata/gbbig5.c: Likewise.
9487         * iconvdata/iso-2022-jp.c: Likewise.
9488         * iconv/gconv_int.h: Likewise.
9489         * iconv/loop.c: Likewise.
9490         * nis/rpcsvc/nis.h: Likewise.
9491         * resolv/ns_name.c: Likewise.
9492         * stdio-common/vfscanf.c: Likewise.
9493         * streams/stropts.h: Likewise.
9494         * sunrpc/rpc_thread.c: Likewise.
9495         * sysdeps/i386/strpbrk.S: Likewise.
9496         * sysdeps/ieee754/k_standard.c: Likewise.
9497         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9498         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9499         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9500         * sysdeps/mach/hurd/profil.c: Likewise.
9501         * sysdeps/s390/dl-procinfo.h: Likewise.
9502         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9503         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9504         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9505         * sysdeps/x86_64/dl-trampoline.S: Likewise.
9506         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9508 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
9510         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9511         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9513 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
9515         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9516         aix specific files.
9517         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9518         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9519         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9520         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9521         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9522         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9523         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9524         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9526 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
9527             Roland McGrath  <roland@hack.frob.com>
9529         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9530         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9532 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9534         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9535         __executable_start symbol instead of _start.
9537 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
9539         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9540         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9541         Move macros to...
9542         * sysdeps/gnu/ldsodefs.h: ... this new file.
9544         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9545         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9546         instead of ELFOSABI_LINUX.
9548         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9549         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9550         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9551         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9552         Likewise.
9553         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9554         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9555         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9556         Likewise.
9557         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9558         (ibm_extended_long_double): Add ieee_nan member.
9559         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9560         (do_test): New function.
9562         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9563         TEST_TRUNC.
9564         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9565         functions, renamed from truncdfsf_test, trunctfsf_test,
9566         trunctfdf_test.
9567         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9568         functions.
9569         (do_test): Run all these.
9571 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
9573         * argp/argp-help.c: Fix typos.
9574         * argp/argp-parse.c: Likewise.
9575         * debug/backtracesyms.c: Likewise.
9576         * elf/elf.h: Likewise.
9577         * malloc/malloc.c: Likewise.
9578         * nis/nis_print.c: Likewise.
9579         * resolv/res_comp.c: Likewise.
9580         * stdlib/stdlib.h: Likewise.
9581         * sunrpc/clnt_tcp.c: Likewise.
9582         * sunrpc/clnt_udp.c: Likewise.
9583         * sunrpc/clnt_unix.c: Likewise.
9584         * sysdeps/unix/bsd/ptsname.c: Likewise.
9585         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9586         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9588         Likewise.
9589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9590         Likewise.
9591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9592         Likewise.
9593         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9595 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9597         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9600 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
9602         [BZ #15897]
9603         * dlfcn/Makefile (tests): Add bug-dl-leaf.
9604         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9605         ($(objpfx)bug-dl-leaf): New rule.
9606         ($(objpfx)bug-dl-leaf.so): Likewise.
9607         ($(objpfx)bug-dl-leaf.out): Likewise.
9608         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9609         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9610         * dlfcn/bug-dl-leaf.c: New test.
9611         * dlfcn/bug-dl-leaf-lib.c: Likewise.
9612         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9613         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9614         (dlclose): Likewise.
9615         (dlmopen): Likewise.
9617 2013-08-27  Roland McGrath  <roland@hack.frob.com>
9619         * include/netdb.h [!_ISOMAC]:
9620         Don't include <tls.h>.
9621         (h_errno, __libc_h_errno): Move declaration and macros out of
9622         [_LIBC_REENTRANT].
9624         * include/resolv.h [_RESOLV_H_]:
9625         Don't include <tls.h>.
9626         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9627         * resolv/res_libc.c: Don't include <tls.h>.
9628         (_res): Use __attribute__ ((nocommon)) in place of
9629         __attribute__ ((section (".bss"))).
9631         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9632         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9634         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9636         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9637         only under [SIOCGIFCONF && SIOCGIFNETMASK].
9639         * resolv/res_mkquery.c: Include <sys/time.h>.
9641         * inet/ifreq.c: Moved to ...
9642         * sysdeps/unix/ifreq.c: ... here.
9643         * inet/ifreq.c: New file, true stub version.
9645         * socket/sa_len.c: New file.
9646         * socket/Makefile (aux): Add it.
9647         * sysdeps/unix/sysv/linux/Makefile
9648         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9649         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9650         and #include <socket/sa_len.c>.
9651         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9652         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9654         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9655         * bits/socket.h: ... here.
9657         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9658         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9659         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9661 2013-08-27  Andreas Schwab  <schwab@suse.de>
9663         [BZ #15736]
9664         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9665         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9666         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9667         * string/test-strcasecmp.c (test_main): Run tests in several
9668         locales.
9669         * string/test-strncasecmp.c (test_main): Likewise.
9671         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9672         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9673         to __strcasecmp_nonascii and __strncasecmp_nonascii.
9674         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9675         (__strncasecmp_ssse3) [PIC]: Likewise.
9677 2013-08-26  Roland McGrath  <roland@hack.frob.com>
9679         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9681         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9682         instead of explicitly declaring xdecrypt.
9683         * nis/nss_nis/nis-publickey.c: Likewise.
9685 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9687         [BZ #15890]
9688         * nscd/aicache.c: Include res_hconf.h.
9689         (addhstaiX): Initialize res_hconf.
9691 2013-08-26  Andreas Schwab  <schwab@suse.de>
9693         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9694         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9696 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9698         * nscd/aicache.c (addhstaiX): Fix indentation.
9700 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
9702         * configure.ac: Quote $build_pt_chown test.
9703         * configure: Regenerated.
9705 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
9707         [BZ #15532]
9708         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9709         * math/s_cexpf.c (__cexpf): Likewise.
9710         * math/s_cexpl.c (__cexpl): Likewise.
9711         * math/libm-test.inc (cexp_test_data): Correct expected return
9712         value for NaN + i0.  Add another test.
9714 2013-08-22  David S. Miller  <davem@davemloft.net>
9716         * po/ca.po: Update Catalan translation from translation project.
9717         * po/uk.po: Add Ukrainian translations from translation project.
9719 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
9721         [BZ #15797]
9722         * math/s_fdim.c (__fdim): Check for infinite arguments if result
9723         is infinite, not alongside NaN test.
9724         * math/s_fdimf.c (__fdimf): Likewise.
9725         * math/s_fdiml.c (__fdiml): Likewise.
9726         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
9727         errno is unchanged.
9729 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
9731         * argp/argp-help.c: Fix typos.
9732         * crypt/speeds.c: Likewise.
9733         * csu/check_fds.c: Likewise.
9734         * elf/dl-load.c: Likewise.
9735         * elf/dl-open.c: Likewise.
9736         * elf/reldep3.c: Likewise.
9737         * elf/reldep.c: Likewise.
9738         * elf/sprof.c: Likewise.
9739         * iconv/iconv_charmap.c: Likewise.
9740         * iconv/skeleton.c: Likewise.
9741         * iconv/strtab.c: Likewise.
9742         * io/lockf64.c: Likewise.
9743         * libio/libioP.h: Likewise.
9744         * resolv/gai_notify.c: Likewise.
9745         * resolv/ns_name.c: Likewise.
9746         * resolv/ns_samedomain.c: Likewise.
9747         * resolv/res_send.c: Likewise.
9748         * stdlib/random.c: Likewise.
9749         * sunrpc/rpc/xdr.h: Likewise.
9750         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9751         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9752         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9753         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9754         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9755         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9757         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9758         * sysdeps/mach/hurd/check_fds.c: Likewise.
9759         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9760         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9761         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9762         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9763         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9764         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9765         * sysdeps/pthread/aio_notify.c: Likewise.
9766         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9767         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9768         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9769         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9770         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9772 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9774         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9775         version if bit_Slow_SSE4_2 is set.
9776         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9777         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9779 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9781         [BZ #15867]
9782         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9783         trampoline stack frame information.
9784         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9785         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9786         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9787         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9788         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9789         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9790         (_libc_vdso_platform_setup): Initialize the signal trampolines.
9791         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9792         sa_flags value.
9793         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9794         interrupting a syscall and set with option SA_SIGINFO.
9796 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9798         [BZ #15531]
9799         * math/s_cproj.c (__cproj): Only return an infinity if one part of
9800         argument is infinite.
9801         * math/s_cprojf.c (__cprojf): Likewise.
9802         * math/s_cprojl.c (__cprojl): Likewise.
9803         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9804         * math/libm-test.inc (cproj_test_data): Add more tests.
9806         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9808         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9809         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9810         size.  Use __ffs to determine corresponding shift.
9812 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9813             Roland McGrath  <roland@hack.frob.com>
9815         * Makefile (INSTALL): Remove trailing blank lines from output of
9816         makeinfo.
9818 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9820         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9821         Align 32 bit compat elf_greg to 8 bytes.
9823 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9825         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9827 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9829         * string/strcoll_l.c (coll_seq): New structure.
9830         (get_next_seq_cached): New function.
9831         (get_next_seq): New function.
9832         (do_compare): New function.
9833         (STRCOLL): Use GNU style definition.  Simplify implementation
9834         by using get_next_seq, get_next_seq_cached and do_compare.
9836 2013-08-16  Florian Weimer  <fweimer@redhat.com>
9838         [BZ #14699]
9839         CVE-2013-4237
9840         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9841         member.
9842         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9843         member.
9844         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9845         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9846         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
9847         conditional.
9848         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9849         GETDENTS_64BIT_ALIGNED.
9850         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9851         * manual/filesys.texi (Reading/Closing Directory): Document
9852         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
9853         strongly.
9854         * manual/conf.texi (Limits for Files): Add portability note to
9855         NAME_MAX, PATH_MAX.
9856         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9858 2013-08-13  Andreas Schwab  <schwab@suse.de>
9860         [BZ #15749]
9861         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9862         of fabs.
9863         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9864         LDBL_MAX_EXP >= 16384]: Add tests for it.
9866 2013-08-12  David S. Miller  <davem@davemloft.net>
9868         * version.h (RELEASE): Set to "development".
9869         (VERSION): Set to "2.18.90".
9870         * NEWS: Add 2.19 section.
9872 2013-08-03  David S. Miller  <davem@davemloft.net>
9874         * po/ko.po: Update Korean translation from translation project.
9876 2013-08-01  David S. Miller  <davem@davemloft.net>
9878         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
9879         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9880         Bilka.
9882 2013-07-30  David S. Miller  <davem@davemloft.net>
9884         * po/fr.po: Update French translation from translation project.
9886 2013-07-28  David S. Miller  <davem@davemloft.net>
9888         * po/cs.po: Update Czech translation from translation project.
9890         * po/sv.po: Update Swedish translation from translation project.
9892 2013-07-27  David S. Miller  <davem@davemloft.net>
9894         * po/eo.po: Update Esperanto translation from translation project.
9896         * po/vi.po: Update Vietnamese translation from translation project.
9898         * po/de.po: Update German translation from translation project.
9900 2013-07-26  David S. Miller  <davem@davemloft.net>
9902         * po/bg.po: Update Bulgarian translation from translation project.
9904         * po/nl.po: Update Dutch translation from translation project.
9905         * po/pl.po: Update Polish translation from translation project.
9906         * po/ru.po: Update Russian translation from translation project.
9908 2013-07-24  David S. Miller  <davem@davemloft.net>
9910         * po/libc.pot: Update.
9912 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9914         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9915         variable page size.
9916         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9917         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9918         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9920 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9922         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
9924 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9925             Andreas Schwab  <schwab@suse.de>
9926             Roland McGrath  <roland@hack.frob.com>
9927             Joseph Myers  <joseph@codesourcery.com>
9928             Carlos O'Donell  <carlos@redhat.com>
9930         [BZ #15755]
9931         * config.h.in: Define HAVE_PT_CHOWN.
9932         * config.make.in (build-pt-chown): New variable.
9933         * configure.in (--enable-pt_chown): New configure option.
9934         * configure: Regenerate.
9935         * login/Makefile: Include Makeconfig.  Build pt_chown only if
9936         build-pt-chown is enabled.
9937         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
9938         pt_chown to fix pty ownership.
9939         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
9940         CLOSE_ALL_FDS.
9941         * manual/install.texi (Configuring and compiling): Mention
9942         --enable-pt_chown. Add @findex for grantpt.
9943         * INSTALL: Regenerate.
9945 2013-07-20  David S. Miller  <davem@davemloft.net>
9947         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
9948         difference between 32-bit and 64-bit.
9950 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
9952         [BZ #15711]
9953         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
9954         Avoid system header dependency with -ffreestanding.
9955         ($(objpfx)bits/syscall%d): Likewise.
9957 2013-07-13  David S. Miller  <davem@davemloft.net>
9959         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
9960         underflows from atanl/atan2l due to bug 15319.
9961         (casinh_test_data): Likewise.
9963 2013-07-07  David S. Miller  <davem@davemloft.net>
9965         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
9967 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
9969         * sysdeps/i386/fpu/libm-test-ulps: Update.
9970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9972 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9974         * configure.in (--enable-lock-elision): Fix message text.
9975         * INSTALL: Regenerate.
9976         * configure: Regenerate.
9978 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9982 2013-07-03  Andreas Jaeger  <aj@suse.de>
9984         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
9985         define.
9986         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
9987         (ptrace_peeksiginfo_args): Add.
9988         (__ptrace_peeksiginfo_flags): Add.
9989         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9990         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9991         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9993 2013-07-03  Allan McRae  <allan@archlinux.org>
9995         * sysdeps/i386/fpu/libm-test-ulps: Update.
9997 2013-07-02  David S. Miller  <davem@davemloft.net>
9999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10001 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
10003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10005 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10007         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10010 2013-07-02  Andi Kleen <ak@linux.intel.com>
10012         * config.h.in (ENABLE_LOCK_ELISION): Add.
10013         * configure.in (--enable-lock-elision): Add option.
10014         * manual/install.texi: Document --enable lock elision.
10015         * configure: Regenerate
10016         * INSTALL: Regenerate.
10018 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10020         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10021         SSE4.2 strcasecmp for libc.a.
10022         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10024 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10026         [BZ #13304]
10027         * soft-fp/op-common.h (_FP_FMA): New macro.
10028         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10029         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
10030         (_FP_MUL_MEAT_1_imm): ... here.
10031         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
10032         (_FP_MUL_MEAT_1_wide): ... here.
10033         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
10034         (_FP_MUL_MEAT_1_hard): ... here.
10035         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10036         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
10037         (_FP_MUL_MEAT_2_wide): ... here.
10038         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
10039         (_FP_MUL_MEAT_2_wide_3mul): ... here.
10040         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
10041         (_FP_MUL_MEAT_2_gmp): ... here.
10042         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10043         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
10044         (_FP_MUL_MEAT_4_wide): ... here.
10045         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
10046         (_FP_MUL_MEAT_4_gmp): ... here.
10047         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10048         (_FP_WFRACBITS_DW_S): Likewise.
10049         (_FP_WFRACXBITS_DW_S): Likewise.
10050         (_FP_HIGHBIT_DW_S): Likewise.
10051         (FP_FMA_S): Likewise.
10052         (_FP_FRAC_HIGH_DW_S): Likewise.
10053         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10054         (_FP_WFRACBITS_DW_D): Likewise.
10055         (_FP_WFRACXBITS_DW_D): Likewise.
10056         (_FP_HIGHBIT_DW_D): Likewise.
10057         (FP_FMA_D): Likewise.
10058         (_FP_FRAC_HIGH_DW_D): Likewise.
10059         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10060         (_FP_WFRACBITS_DW_E): Likewise.
10061         (_FP_WFRACXBITS_DW_E): Likewise.
10062         (_FP_HIGHBIT_DW_E): Likewise.
10063         (FP_FMA_E): Likewise.
10064         (_FP_FRAC_HIGH_DW_E): Likewise.
10065         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10066         (_FP_WFRACBITS_DW_Q): Likewise.
10067         (_FP_WFRACXBITS_DW_Q): Likewise.
10068         (_FP_HIGHBIT_DW_Q): Likewise.
10069         (FP_FMA_Q): Likewise.
10070         (_FP_FRAC_HIGH_DW_Q): Likewise.
10071         * soft-fp/fmasf4.c: New file.
10072         * soft-fp/fmadf4.c: Likewise.
10073         * soft-fp/fmatf4.c: Likewise.
10075 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10078         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10079         Silvermont.
10080         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10081         macro.
10082         (index_Slow_SSE4_2): Likewise.
10083         (index_Prefer_PMINUB_for_stringop): Likewise.
10084         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10085         bit_Slow_SSE4_2 is set.
10086         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10087         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10089 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10091         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10092         rtld_global._dl_hwcap2.
10093         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10094         POWER8.
10095         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10096         POWER8 feature descriptions defined in _dl_hwcap2.
10097         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10098         string handling for POWER8 feature bits.
10099         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10100         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10101         _dl_powerpc_cap_flags.
10102         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10103         * sysdeps/powerpc/rtld-global-offsets.sym
10104         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10105         _dl_hwcap2 in the rtld_global_ro structure.
10107 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10109         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10110         hardware capabilities in support of AT_HWCAP2.
10111         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10112         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10113         GLRO(dl_hwcap2).
10114         (_dl_show_auxv): Add support for calling _dl_procinfo to display
10115         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10116         explicitly the unknown a_type display mechanism is used.
10117         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10118         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10119         struct member.
10120         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10121         to macro prototype for AT_HWCAP2 support.
10122         * sysdeps/i386/dl-procinfo.h: Likewise.
10123         * sysdeps/s390/dl-procinfo.h: Likewise.
10124         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10125         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
10126         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
10127         return -1 for unknown a_type display fallback.
10128         * sysdeps/sparc/dl-procinfo.h: Likewise.
10129         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10130         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10132 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
10134         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10135         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10137 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
10139         [BZ #12492]
10140         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10141         mprotect making __stack_prot writable.
10143 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
10144             Joseph Myers  <joseph@codesourcery.com>
10146         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10147         as being properly aligned.
10149 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
10151         * dlfcn/modstatic5.c: New file.
10152         * dlfcn/tststatic5.c: New file.
10153         * dlfcn/Makefile (tests): Add tststatic5.
10154         (tests-static): Likewise.
10155         (modules-names): Add modstatic5.
10156         (tststatic5-ENV): New variable.
10157         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10159         [BZ #15022]
10160         * elf/dl-support.c (_dl_main_map): New variable.
10161         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10162         (_dl_nns, _dl_load_adds): Set to 1.
10163         (_dl_initial_searchlist): Refer to _dl_main_map.
10164         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10165         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10166         call to _dl_get_origin.
10167         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10168         around call_map.
10169         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10170         * dlfcn/modstatic3.c: New file.
10171         * dlfcn/tststatic3.c: New file.
10172         * dlfcn/tststatic4.c: New file.
10173         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10174         (tests-static): Likewise.
10175         (modules-names): Add modstatic3.
10176         (tststatic3-ENV, tststatic4-ENV): New variables.
10177         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10178         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10180 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
10182         * configure.in (CC): Require GCC version 4.4 or later.
10183         * configure: Regenerated.
10184         * manual/install.texi (Tools for Compilation): Update GCC version
10185         requirement.
10186         * INSTALL: Regenerated.
10188 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10190         [BZ #15674]
10191         * string/test-memcmp.c (check2): New.
10192         (main): Call check2.
10194         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10196 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
10198         [BZ #15022]
10199         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10200         over to...
10201         (dl_open_worker) [!SHARED]: ... here.
10203 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10205         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10207 2013-06-25  Richard Henderson  <rth@redhat.com>
10209         * locale/programs/locarchive.c: Include <libc-internal.h>
10211 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
10213         * manual/texinfo.tex: Update to version 2013-06-21.17, with
10214         trailing whitespace removed.
10216 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10218         [BZ #10283]
10219         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10220         * locale/programs/locarchive.c: Include libc-mmap.h.
10221         (prepare_address_space): Take two new outputs (the mmap base and len).
10222         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
10223         values.
10224         (create_archive): Declare new mmap base and len values for
10225         prepare_address_space, and store the result in ah.
10226         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10227         (enlarge_archive): If ah->mmap_base is not NULL, use that and
10228         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10229         Declare new mmap base and len values for
10230         prepare_address_space, and store the result in new_ah.
10231         (open_archive): Declare new mmap base and len values for
10232         prepare_address_space, and store the result in ah.
10233         (close_archive): If ah->mmap_base is not NULL, use that and
10234         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10235         * sysdeps/generic/libc-mmap.h: New file.
10237 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10239         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10240         (ALIGN_UP): Likewise.
10241         (PTR_ALIGN_DOWN): Likewise.
10242         (PTR_ALIGN_UP): Likewise.
10244 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10246         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10247         entry mapped to PPC_PLATFORM_POWER8.
10248         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10249         POWER8.
10250         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10251         (_dl_string_platform): Add case for exporting platform position for
10252         POWER8.
10253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10254         search path to sysdeps/powerpc/powerpc32/power8 directory.
10255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10256         search path to sysdeps/powerpc/powerpc64/power8 directory.
10257         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10258         power7 directories.
10259         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10260         power7 directories.
10262 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10264         * INSTALL: Regenerate.
10266         * nscd/connections.c (nscd_init): Fix comment.
10268 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
10270         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10272         [BZ #15667]
10273         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10274         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10276 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10278         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10279         DL_DST_REQ_STATIC.
10280         (DL_DST_REQ_STATIC): Remove macro.
10282 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
10284         [BZ #7006]
10285         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10286         with a shift of 0 bits.
10288 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10290         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10291         $(tststatic-ENV).
10293 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10295         [BZ #15655]
10296         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10298 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10300         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10301         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10302         accepts -fno-tree-loop-distribute-patterns.
10303         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10304         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10305         recursive call.
10306         * string/memset.c (memset): Likewise.
10307         * string/test-memmove.c (simple_memmove): Disable loop transformation
10308         to library calls.
10309         * string/test-memset.c (simple_memset): Likewise.
10310         * benchtests/bench-memmove.c (simple_memmove): Likewise.
10311         * benchtests/bench-memset.c (simple_memset): Likewise.
10312         * configure: Regenerated.
10314 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
10316         * math/test-misc.c (main): Ignore fesetround failure when failures
10317         of subsequent rounding tests would be ignored.
10319         [BZ #15654]
10320         * math/fedisblxcpt.c (fedisableexcept): Return 0.
10321         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10322         * math/fegetenv.c (__fegetenv): Return 0.
10323         * math/fegetexcept.c (fegetexcept): Return 0.
10324         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10325         FE_TONEAREST.
10326         * math/feholdexcpt.c (feholdexcept): Return 0.
10327         * math/fesetenv.c (__fesetenv): Return 0.
10328         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10329         argument FE_TONEAREST.
10330         * math/feupdateenv.c (__feupdateenv): Return 0.
10331         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10333 2013-06-18  Roland McGrath  <roland@hack.frob.com>
10335         * elf/rtld-Rules (rtld-compile-command.S): New variable.
10336         (rtld-compile-command.s, rtld-compile-command.c): New variables.
10337         ($(objpfx)rtld-%.os rules): Use them.
10339 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10341         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10342         fields.
10344 2013-06-17  Roland McGrath  <roland@hack.frob.com>
10346         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10347         length of target pattern, then descending length of dependency pattern.
10348         * configure.in (AWK): Require gawk 3.1.2 or newer.
10349         * manual/install.texi (Tools for Compilation): Say that we do.
10350         * configure: Regenerated.
10352         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10353         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10354         * scripts/sysd-rules.awk: ... this new script.
10355         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10356         than a glob-style pattern.
10358 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
10360         * math/test-misc.c (main): Do not treat incorrectly rounded
10361         conversions as failure unless ROUNDING_TESTS passes.
10363 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
10365         [BZ #15631]
10366         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10367         restore exception state around main square root computation, then
10368         check for inexactness explicitly.
10370         * math/libm-test.inc (fma_test_data): Add another test.
10372 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10374         * manual/threads.texi (Non-POSIX Extensions): New document
10375         node.  Document pthread_getattr_default_np and
10376         pthread_setattr_default_np.
10378         * Versions.def (libpthread): Add GLIBC_2.18.
10379         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10381         Likewise.
10382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10383         Likewise.
10384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10385         Likewise.
10386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10387         Likewise.
10388         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10389         Likewise.
10390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10391         Likewise.
10392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10393         Likewise.
10394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10395         Likewise.
10396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10397         Likewise.
10399 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10402         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10404 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10405             H.J. Lu  <hjl.tools@gmail.com>
10407         [BZ #15627]
10408         * sysdeps/x86_64/rtld-memset.c: Remove file.
10409         * sysdeps/x86_64/rtld-memset.S: New file.
10411 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
10413         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10414         (test_in_one_mode): Take arguments for whether the rounding mode
10415         is supported for each floating-point type.
10416         (do_test): Pass new arguments to test_in_one_mode using
10417         ROUNDING_TESTS.
10419 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10421         * posix/tst-waitid.c (do_test): Distinguish different instances of
10422         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
10423         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10424         before entering the kernel for waitpid.
10426 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10428         * NEWS: Fix note on clock function precision.  Text by Roland
10429         McGrath.
10431 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10433         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10434         it into place only when and if the sanity check passes.
10436 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
10438         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10439         output for whether conversion result is exact.  Take argument
10440         indicating whether type is IBM long double.
10441         (round_for_all): Change need_exact field to ibm_ld.
10442         * stdlib/tst-strtod-round.c (struct exactness): New type.
10443         (struct test): Change bool ld_ok field to struct exactness exact.
10444         (TEST): Update all definitions for change to field.
10445         (tests): Regenerate array contents.
10446         (test_in_one_mode): Take pointer to new field instead of old ld_ok
10447         field value.  Check for IBM long double here.
10448         (do_test): Update calls to test_in_one_mode.
10450 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10452         [BZ #12515]
10453         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10454         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10456 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10458         [BZ #15605]
10459         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10460         generated by the compiler on loop optimizations.
10461         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10462         general definitions.
10464 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
10466         * math/bug-nextafter.c: Include <math-tests.h>.
10467         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10468         the relevant type.
10469         * math/bug-nexttoward.c: Include <math-tests.h>.
10470         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10471         the relevant type.
10472         * math/test-misc.c: Include <math-tests.h>.
10473         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10474         the relevant type.
10476 2013-06-12  Andreas Jaeger  <aj@suse.de>
10478         * po/ia.po: Update Interlingua translation from translation
10479         project.
10481 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10483         * include/fenv.h: Include stdbool.h.
10484         (struct rm_ctx): New structure.
10485         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10486         Define macro.
10487         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10488         (SET_RESTORE_ROUNDF): Likewise.
10489         (SET_RESTORE_ROUNDL): Likewise.
10490         (SET_RESTORE_ROUND_NOEX): Likewise.
10491         (SET_RESTORE_ROUND_NOEXF): Likewise.
10492         (SET_RESTORE_ROUND_NOEXL): Likewise.
10493         (SET_RESTORE_ROUND_53BIT): Likewise.
10494         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10495         (libc_feresetround_noexf_ctx): Likewise.
10496         (libc_feresetround_noexl_ctx): Likewise.
10497         (libc_feholdsetround_53bit_ctx): Likewise.
10498         (libc_feresetround_53bit_ctx): Likewise.
10499         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10500         (libc_feholdexcept_setround_sse_ctx): New function.
10501         (libc_fesetenv_sse_ctx): Likewise.
10502         (libc_feupdateenv_sse_ctx): Likewise.
10503         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10504         (libc_feholdexcept_setround_387_ctx): Likewise.
10505         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10506         (libc_feholdsetround_387_prec_ctx): Likewise.
10507         (libc_feholdsetround_387_ctx): Likewise.
10508         (libc_feholdsetround_387_53bit_ctx): Likewise.
10509         (libc_feholdsetround_sse_ctx): Likewise.
10510         (libc_feresetround_sse_ctx): Likewise.
10511         (libc_feresetround_387_ctx): Likewise.
10512         (libc_feupdateenv_387_ctx): Likewise.
10513         (libc_feholdexcept_setroundf_ctx): Define macro.
10514         (libc_fesetenvf_ctx): Likewise.
10515         (libc_feupdateenvf_ctx): Likewise.
10516         (libc_feholdsetroundf_ctx): Likewise.
10517         (libc_feresetroundf_ctx): Likewise.
10518         (libc_feholdexcept_setround_ctx): Likewise.
10519         (libc_fesetenv_ctx): Likewise.
10520         (libc_feupdateenv_ctx): Likewise.
10521         (libc_feholdsetround_ctx): Likewise.
10522         (libc_feresetround_ctx): Likewise.
10523         (libc_feholdexcept_setroundl_ctx): Likewise.
10524         (libc_feupdateenvl_ctx): Likewise.
10525         (libc_feholdsetroundl_ctx): Likewise.
10526         (libc_feresetroundl_ctx): Likewise.
10527         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10528         (libc_feresetround_53bit_ctx): Likewise.
10530 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10532         * locale/iso-639.def: Convert to UTF-8.
10534 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
10536         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10537         (EXCEPTION_TESTS_double): Likewise.
10538         (EXCEPTION_TESTS_long_double): Likewise.
10539         (EXCEPTION_TESTS): Likewise.
10540         * math/libm-test.inc (test_exceptions): Only test exceptions if
10541         EXCEPTION_TESTS (FLOAT).
10543 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10545         * benchtests/Makefile (string-bench): Add strcpy_chk and
10546         stpcpy_chk.
10547         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10548         * benchtests/bench-stpcpy_chk.c: New file.
10549         * benchtests/bench-strcpy_chk-ifunc.c: New file.
10550         * benchtests/bench-strcpy_chk.c: New file.
10551         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10552         code.
10553         (do_test): Likewise.
10555 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10557         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10558         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10559         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10560         with tabs where appropriate.
10561         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10562         dl-procinfo.h.
10563         [PPC_PLATFORM_PPC440]: Likewise.
10564         [PPC_PLATFORM_PPC464]: Likewise.
10565         [PPC_PLATFORM_PPC476]: Likewise.
10566         (_dl_string_platform): Add support for detecting ppc405, ppc440,
10567         ppc464, and ppc476 platform strings merging from ports/
10568         dl-procinfo.h.
10570 2013-06-11  Andreas Schwab  <schwab@suse.de>
10572         [BZ #14991]
10573         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10574         (from_ucs4_idx): Regenerate.
10575         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10576         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10577         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10578         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10579         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10580         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10581         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10582         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10583         from FROM_LOOP and TO_LOOP specific macros.
10584         (BODY): Handle combining characters.
10585         * iconvdata/BIG5HKSCS.irreversible: Update.
10586         * iconvdata/BIG5HKSCS.precomposed: New file.
10587         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10588         characters.
10589         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10591 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10593         * include/sys/time.h: Fix indentation and add copyright header.
10595         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10596         (do_test): Likewise.
10597         * string/test-memchr.c (do_one_test): Likewise.
10598         (do_test): Likewise.
10599         * string/test-memcmp.c (do_one_test): Likewise.
10600         (do_test): Likewise.
10601         * string/test-memcpy.c (do_one_test): Likewise.
10602         (do_test): Likewise.
10603         * string/test-memmem.c (do_one_test): Likewise.
10604         (do_test): Likewise.
10605         (do_random_tests): Likewise.
10606         * string/test-memmove.c (do_one_test): Likewise.
10607         (do_test): Likewise.
10608         * string/test-memset.c (do_one_test): Likewise.
10609         (do_test): Likewise.
10610         * string/test-rawmemchr.c (do_one_test): Likewise.
10611         (do_test): Likewise.
10612         * string/test-strcasecmp.c (do_one_test): Likewise.
10613         (do_test): Likewise.
10614         * string/test-strcasestr.c (do_one_test): Likewise.
10615         (do_test): Likewise.
10616         * string/test-strcat.c (do_one_test): Likewise.
10617         (do_test): Likewise.
10618         * string/test-strchr.c (do_one_test): Likewise.
10619         (do_test): Likewise.
10620         * string/test-strcmp.c (do_one_test): Likewise.
10621         (do_test): Likewise.
10622         * string/test-strcpy.c (do_one_test): Likewise.
10623         (do_test): Likewise.
10624         * string/test-string.h: Likewise.
10625         (test_init): Likewise.
10626         * string/test-strlen.c (do_one_test): Likewise.
10627         (do_test): Likewise.
10628         * string/test-strncasecmp.c (do_one_test): Likewise.
10629         (do_test): Likewise.
10630         * string/test-strncat.c (do_one_test): Likewise.
10631         (do_test): Likewise.
10632         * string/test-strncmp.c (do_one_test): Likewise.
10633         (do_test_limit): Likewise.
10634         (do_test): Likewise.
10635         * string/test-strncpy.c (do_one_test): Likewise.
10636         (do_test): Likewise.
10637         * string/test-strnlen.c (do_one_test): Likewise.
10638         (do_test): Likewise.
10639         * string/test-strpbrk.c (do_one_test): Likewise.
10640         (do_test): Likewise.
10641         * string/test-strrchr.c (do_one_test): Likewise.
10642         (do_test): Likewise.
10643         * string/test-strspn.c (do_one_test): Likewise.
10644         (do_test): Likewise.
10645         * string/test-strstr.c (do_one_test): Likewise.
10646         (do_test): Likewise.
10648         * benchtests/Makefile (string-bench): Add string benchmarks.
10649         * benchtests/bench-bcopy-ifunc.c: New file.
10650         * benchtests/bench-bcopy.c: New file.
10651         * benchtests/bench-bzero-ifunc.c: New file.
10652         * benchtests/bench-bzero.c: New file.
10653         * benchtests/bench-memccpy-ifunc.c: New file.
10654         * benchtests/bench-memccpy.c: New file.
10655         * benchtests/bench-memchr-ifunc.c: New file.
10656         * benchtests/bench-memchr.c: New file.
10657         * benchtests/bench-memcmp-ifunc.c: New file.
10658         * benchtests/bench-memcmp.c: New file.
10659         * benchtests/bench-memmem-ifunc.c: New file.
10660         * benchtests/bench-memmem.c: New file.
10661         * benchtests/bench-memmove-ifunc.c: New file.
10662         * benchtests/bench-memmove.c: New file.
10663         * benchtests/bench-mempcpy-ifunc.c: New file.
10664         * benchtests/bench-mempcpy.c: New file.
10665         * benchtests/bench-memset-ifunc.c: New file.
10666         * benchtests/bench-memset.c: New file.
10667         * benchtests/bench-rawmemchr-ifunc.c: New file.
10668         * benchtests/bench-rawmemchr.c: New file.
10669         * benchtests/bench-stpcpy-ifunc.c: New file.
10670         * benchtests/bench-stpcpy.c: New file.
10671         * benchtests/bench-stpncpy-ifunc.c: New file.
10672         * benchtests/bench-stpncpy.c: New file.
10673         * benchtests/bench-strcasecmp-ifunc.c: New file.
10674         * benchtests/bench-strcasecmp.c: New file.
10675         * benchtests/bench-strcasestr-ifunc.c: New file.
10676         * benchtests/bench-strcasestr.c: New file.
10677         * benchtests/bench-strcat-ifunc.c: New file.
10678         * benchtests/bench-strcat.c: New file.
10679         * benchtests/bench-strchr-ifunc.c: New file.
10680         * benchtests/bench-strchr.c: New file.
10681         * benchtests/bench-strchrnul-ifunc.c: New file.
10682         * benchtests/bench-strchrnul.c: New file.
10683         * benchtests/bench-strcmp-ifunc.c: New file.
10684         * benchtests/bench-strcmp.c: New file.
10685         * benchtests/bench-strcpy-ifunc.c: New file.
10686         * benchtests/bench-strcpy.c: New file.
10687         * benchtests/bench-strcspn-ifunc.c: New file.
10688         * benchtests/bench-strcspn.c: New file.
10689         * benchtests/bench-strlen-ifunc.c: New file.
10690         * benchtests/bench-strlen.c: New file.
10691         * benchtests/bench-strncasecmp-ifunc.c: New file.
10692         * benchtests/bench-strncasecmp.c: New file.
10693         * benchtests/bench-strncat-ifunc.c: New file.
10694         * benchtests/bench-strncat.c: New file.
10695         * benchtests/bench-strncmp-ifunc.c: New file.
10696         * benchtests/bench-strncmp.c: New file.
10697         * benchtests/bench-strncpy-ifunc.c: New file.
10698         * benchtests/bench-strncpy.c: New file.
10699         * benchtests/bench-strnlen-ifunc.c: New file.
10700         * benchtests/bench-strnlen.c: New file.
10701         * benchtests/bench-strpbrk-ifunc.c: New file.
10702         * benchtests/bench-strpbrk.c: New file.
10703         * benchtests/bench-strrchr-ifunc.c: New file.
10704         * benchtests/bench-strrchr.c: New file.
10705         * benchtests/bench-strspn-ifunc.c: New file.
10706         * benchtests/bench-strspn.c: New file.
10707         * benchtests/bench-strstr-ifunc.c: New file.
10708         * benchtests/bench-strstr.c: New file.
10710         * benchtests/Makefile: Disable parallel execution of targets.
10711         (string-bench): Add memcpy.
10712         (benchset): New variable to store a list of benchmark sets.
10713         (bench-func): Renamed from bench.
10714         (bench-set): New target.
10715         (bench): Depend on bench-func and bench-set.
10716         * benchtests/README: Add section on benchmark sets.
10717         * benchtests/bench-memcpy-ifunc.c: New file.
10718         * benchtests/bench-memcpy.c: New file.
10719         * benchtests/bench-string.h: New file.
10721 2013-06-11  Andreas Schwab  <schwab@suse.de>
10723         [BZ #15577]
10724         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10725         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10726         values in the triple.
10727         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10728         terminator in the group key.
10730 2013-06-11  Andreas Jaeger  <aj@suse.de>
10732         * po/zh_TW.po: Update Chinese (traditional) translation from
10733         translation project.
10735 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10737         * include/time.h (__clock_gettime): Add libc_hidden_proto.
10738         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10739         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
10740         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10741         (clock_getcpuclockid): Likewise.
10742         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10743         Add weak_alias and libc_hidden_def.
10744         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10745         * rt/clock_gettime.c (clock_gettime): Rename to
10746         __clock_gettime.  Add weak_alias and libc_hidden_def.
10747         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10748         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10749         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
10750         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10751         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10752         Likewise.
10753         * rt/clock_settime.c (clock_settime): Rename to
10754         __clock_settime.  Add weak_alias and libc_hidden_def.
10755         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10757 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
10759         * mach/err_boot.sub: Remove trailing whitespace.
10760         * mach/err_ipc.sub: Likewise.
10761         * mach/err_mach.sub: Likewise.
10763         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10764         (ROUNDING_TESTS_double): Likewise.
10765         (ROUNDING_TESTS_long_double): Likewise.
10766         (ROUNDING_TESTS): Likewise.
10767         * math/libm-test.inc: Include <math-tests.h>.
10768         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10769         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10770         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10771         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10773 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10775         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10776         of assigning.
10778 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
10780         * sysdeps/gnu/errlist.awk: Do not generate space at end of
10781         otherwise empty TRANS lines.
10782         * sysdeps/gnu/errlist.c: Regenerated.
10784         * catgets/gencat.c (error_print): Use (void) in function
10785         definition.
10786         * crypt/crypt_util.c (__init_des): Likewise.
10787         * crypt/speeds.c (Stop): Likewise.
10788         (main): Likewise.
10789         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10790         * inet/ruserpass.c (token): Likewise.
10791         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10792         * intl/localealias.c (extend_alias_table): Likewise.
10793         * intl/plural-exp.c (init_germanic_plural): Likewise.
10794         * libio/fcloseall.c (__fcloseall): Likewise.
10795         * libio/genops.c (_IO_flush_all): Likewise.
10796         (_IO_flush_all_linebuffered): Likewise.
10797         (_IO_cleanup): Likewise.
10798         (_IO_iter_begin): Likewise.
10799         (_IO_iter_end): Likewise.
10800         (_IO_list_lock): Likewise.
10801         (_IO_list_unlock): Likewise.
10802         (_IO_list_resetlock): Likewise.
10803         * libio/getchar.c (getchar): Likewise.
10804         * libio/getchar_u.c (getchar_unlocked): Likewise.
10805         * libio/getwchar.c (getwchar): Likewise.
10806         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10807         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10808         * login/getpt.c (__getpt): Likewise.
10809         * login/tst-utmp.c (main): Likewise.
10810         * malloc/hooks.c (__malloc_check_init): Likewise.
10811         * malloc/malloc.c (__malloc_stats): Likewise.
10812         * malloc/mtrace.c (tr_break): Likewise.
10813         (mtrace): Likewise.
10814         (muntrace): Likewise.
10815         * misc/fstab.c (endfsent): Likewise.
10816         * misc/getclktck.c (__getclktck): Likewise.
10817         * misc/getdtsz.c (__getdtablesize): Likewise.
10818         * misc/gethostid.c (gethostid): Likewise.
10819         * misc/getpagesize.c (__getpagesize): Likewise.
10820         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10821         (__get_nprocs): Likewise.
10822         (__get_phys_pages): Likewise.
10823         (__get_avphys_pages): Likewise.
10824         * misc/getttyent.c (getttyent): Likewise.
10825         (setttyent): Likewise.
10826         (endttyent): Likewise.
10827         * misc/getusershell.c (getusershell): Likewise.
10828         (endusershell): Likewise.
10829         (setusershell): Likewise.
10830         (initshells): Likewise.
10831         * misc/hsearch.c (__hdestroy): Likewise.
10832         * misc/sync.c (sync): Likewise.
10833         * misc/syslog.c (closelog_internal): Likewise.
10834         (closelog): Likewise.
10835         * misc/ttyslot.c (ttyslot): Likewise.
10836         * misc/vhangup.c (vhangup): Likewise.
10837         * posix/fork.c (__fork): Likewise.
10838         * posix/getegid.c (__getegid): Likewise.
10839         * posix/geteuid.c (__geteuid): Likewise.
10840         * posix/getgid.c (__getgid): Likewise.
10841         * posix/getpid.c (__getpid): Likewise.
10842         * posix/getppid.c (__getppid): Likewise.
10843         * posix/getuid.c (__getuid): Likewise.
10844         * posix/pause.c (pause): Likewise.
10845         * posix/setpgrp.c (setpgrp): Likewise.
10846         * posix/setsid.c (__setsid): Likewise.
10847         * posix/test-vfork.c (noop): Likewise.
10848         * resolv/gethnamaddr.c (_endhtent): Likewise.
10849         (_gethtent): Likewise.
10850         (ht_endhostent): Likewise.
10851         (gethostent): Likewise.
10852         (dns_service): Likewise.
10853         * stdlib/drand48.c (drand48): Likewise.
10854         * stdlib/lrand48.c (lrand48): Likewise.
10855         * stdlib/mrand48.c (mrand48): Likewise.
10856         * stdlib/rand.c (rand): Likewise.
10857         * stdlib/random.c (__random): Likewise.
10858         * stdlib/setenv.c (clearenv): Likewise.
10859         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10860         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10861         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10862         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10863         (__get_nprocs): Likewise.
10864         (__get_phys_pages): Likewise.
10865         (__get_avphys_pages): Likewise.
10866         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10867         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10868         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10869         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10870         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10871         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10872         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10873         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10874         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10875         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10876         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10877         * sysdeps/mach/hurd/sync.c (sync): Likewise.
10878         * sysdeps/posix/clock.c (clock): Likewise.
10879         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10880         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10881         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10882         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10883         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10884         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10885         (__get_nprocs_conf): Likewise.
10886         (__get_phys_pages): Likewise.
10887         (__get_avphys_pages): Likewise.
10888         * time/clock.c (clock): Likewise.
10889         * time/tzset.c (__tzname_max): Likewise.
10891 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
10893         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10894         (__bswap_32): Do not use "register".
10895         * crypt/crypt.c (_ufc_doit_r): Likewise.
10896         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10897         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10898         * gmon/gmon.c (__monstartup): Likewise.
10899         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10900         * hurd/hurdmalloc.c (more_memory): Likewise.
10901         (malloc): Likewise.
10902         (free): Likewise.
10903         (realloc): Likewise.
10904         (malloc_fork_prepare): Likewise.
10905         (malloc_fork_parent): Likewise.
10906         (malloc_fork_child): Likewise.
10907         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10908         (_svcauth_des): Likewise.
10909         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10910         * inet/inet_net.c (inet_network): Likewise.
10911         * inet/inet_netof.c (inet_netof): Likewise.
10912         * inet/rcmd.c (__validuser2_sa): Likewise.
10913         * io/fts.c (fts_open): Likewise.
10914         (fts_load): Likewise.
10915         (fts_close): Likewise.
10916         (fts_read): Likewise.
10917         (fts_children): Likewise.
10918         (fts_build): Likewise.
10919         (fts_stat): Likewise.
10920         (fts_sort): Likewise.
10921         (fts_alloc): Likewise.
10922         (fts_lfree): Likewise.
10923         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
10924         (_IO_file_xsgetn): Likewise.
10925         (_IO_file_xsgetn_mmap): Likewise.
10926         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10927         (_IO_cookie_write): Likewise.
10928         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
10929         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
10930         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
10931         * malloc/obstack.c (_obstack_begin): Likewise.
10932         (_obstack_begin_1): Likewise.
10933         (_obstack_newchunk): Likewise.
10934         (_obstack_allocated_p): Likewise.
10935         (obstack_free): Likewise.
10936         (_obstack_memory_used): Likewise.
10937         * misc/getttyent.c (getttynam): Likewise.
10938         (getttyent): Likewise.
10939         (skip): Likewise.
10940         (value): Likewise.
10941         * misc/getusershell.c (initshells): Likewise.
10942         * misc/syslog.c (__vsyslog_chk): Likewise.
10943         * misc/ttyslot.c (ttyslot): Likewise.
10944         * nis/nis_hash.c (__nis_hash): Likewise.
10945         * posix/fnmatch_loop.c (FCT): Likewise.
10946         * posix/getconf.c (print_all): Likewise.
10947         (main): Likewise.
10948         * posix/getopt.c (exchange): Likewise.
10949         * posix/glob.c (globfree): Likewise.
10950         (prefix_array): Likewise.
10951         (__glob_pattern_type): Likewise.
10952         * resolv/arpa/nameser.h (NS_GET16): Likewise.
10953         (NS_GET32): Likewise.
10954         (NS_PUT16): Likewise.
10955         (NS_PUT32): Likewise.
10956         * resolv/gethnamaddr.c (getanswer): Likewise.
10957         (gethostbyname2): Likewise.
10958         (gethostbyaddr): Likewise.
10959         (_gethtent): Likewise.
10960         (_gethtbyname2): Likewise.
10961         (_gethtbyaddr): Likewise.
10962         * resolv/ns_print.c (dst_s_get_int16): Likewise.
10963         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10964         * resolv/res_init.c (__res_vinit): Likewise.
10965         (net_mask): Likewise.
10966         * resolv/res_mkquery.c (outchar): Likewise.
10967         (PRINT): Likewise.
10968         * stdio-common/printf_fp.c (outchar): Likewise.
10969         (PRINT): Likewise.
10970         * stdio-common/printf_fphex.c (outchar): Likewise.
10971         (PRINT): Likewise.
10972         * stdio-common/printf_size.c (outchar): Likewise.
10973         (PRINT): Likewise.
10974         * stdio-common/test_rdwr.c (main): Likewise.
10975         * stdio-common/tfformat.c (matches): Likewise.
10976         * stdio-common/vfprintf.c (outchar): Likewise.
10977         (printf_unknown): Likewise.
10978         (buffered_vfprintf): Likewise.
10979         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10980         * stdio-common/xbug.c (AppendToBuffer): Likewise.
10981         (ReadFile): Likewise.
10982         * stdlib/qsort.c (SWAP): Likewise.
10983         (_quicksort): Likewise.
10984         * stdlib/setenv.c (__add_to_environ): Likewise.
10985         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10986         * stdlib/strtol_l.c (__strtol_l): Likewise.
10987         * stdlib/tst-strtod.c (main): Likewise.
10988         * stdlib/tst-strtol.c (main): Likewise.
10989         * stdlib/tst-strtoll.c (main): Likewise.
10990         * string/bits/string2.h (__strcmp_cc): Likewise.
10991         (__strcmp_cg): Likewise.
10992         (__strcspn_c1): Likewise.
10993         (__strcspn_c2): Likewise.
10994         (__strcspn_c3): Likewise.
10995         (__strspn_c1): Likewise.
10996         (__strspn_c2): Likewise.
10997         (__strspn_c3): Likewise.
10998         (__strsep_1c): Likewise.
10999         (__strsep_2c): Likewise.
11000         (__strsep_3c): Likewise.
11001         * string/memccpy.c (__memccpy): Likewise.
11002         * string/stpcpy.c (__stpcpy): Likewise.
11003         * string/strcmp.c (strcmp): Likewise.
11004         * string/strrchr.c (strrchr): Likewise.
11005         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11006         Likewise.
11007         * sysdeps/mach/hurd/getcwd.c
11008         (_hurd_canonicalize_directory_name_internal): Likewise.
11009         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11010         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11011         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11012         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11013         Likewise, in both definitions.
11014         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11015         definitions.
11016         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11017         64] (__bswap_64): Likewise.
11018         * time/test_time.c (main): Likewise.
11019         * time/tzfile.c (__tzfile_read): Likewise.
11020         (__tzfile_compute): Likewise.
11021         * time/tzset.c (__tzset_parse_tz): Likewise.
11022         (tzset_internal): Likewise.
11023         (compute_change): Likewise.
11024         * wcsmbs/wcscat.c (__wcscat): Likewise.
11025         * wcsmbs/wcschr.c (wcschr): Likewise.
11026         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11027         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11028         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11029         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11030         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11031         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11032         * wcsmbs/wmemchr.c (wmemchr): Likewise.
11033         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11034         * wcsmbs/wmemset.c (wmemset): Likewise.
11036 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
11038         * scripts/config.guess: Update to version 2013-05-16.
11039         * scripts/config.sub: Update to version 2013-04-24.
11040         * scripts/install-sh: Update to version 2011-11-20.07.
11041         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11042         * scripts/move-if-change: Update to version 2012-01-06 07:23.
11044 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
11046         * debug/fgetws_u_chk.c: Fix leading whitespaces.
11047         * elf/sln.c: Likewise.
11048         * hurd/hurd/ioctl.h: Likewise.
11049         * hurd/hurdmalloc.c: Likewise.
11050         * hurd/xattr.c: Likewise.
11051         * include/shlib-compat.h: Likewise.
11052         * inet/ruserpass.c: Likewise.
11053         * libio/iofgets_u.c: Likewise.
11054         * libio/iofgetws_u.c: Likewise.
11055         * locale/programs/ld-identification.c: Likewise.
11056         * locale/programs/ld-time.c: Likewise.
11057         * mach/msg-destroy.c: Likewise.
11058         * nss/nss_files/files-netgrp.c: Likewise.
11059         * resolv/res_data.c: Likewise.
11060         * soft-fp/op-1.h: Likewise.
11061         * soft-fp/op-2.h: Likewise.
11062         * soft-fp/op-4.h: Likewise.
11063         * soft-fp/op-common.h: Likewise.
11064         * stdio-common/printf_fphex.c: Likewise.
11065         * stdlib/strtod_l.c: Likewise.
11066         * sunrpc/rpc/clnt.h: Likewise.
11067         * sysdeps/generic/framestate.c: Likewise.
11068         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11069         * sysdeps/i386/bsd-setjmp.S: Likewise.
11070         * sysdeps/i386/__longjmp.S: Likewise.
11071         * sysdeps/i386/setjmp.S: Likewise.
11072         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11073         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11074         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11075         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11076         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11077         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11078         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11079         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11080         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11081         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11082         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11083         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11084         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11085         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11086         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11087         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11088         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11089         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11090         * sysdeps/ieee754/support.c: Likewise.
11091         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11092         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11093         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11094         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11095         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11096         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11097         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11098         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11099         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11100         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11101         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11102         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11103         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11104         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11105         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11106         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11107         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11110 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
11112         * posix/transbug.c: Remove executable mode.
11114 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
11116         * crypt/speeds.c: Remove trailing whitespace.
11117         * dlfcn/default.c: Likewise.
11118         * elf/ifuncdep2.c: Likewise.
11119         * elf/ifuncmain1.c: Likewise.
11120         * elf/ifuncmain1vis.c: Likewise.
11121         * elf/testobj.h: Likewise.
11122         * elf/tst-stackguard1.c: Likewise.
11123         * gmon/sys/gmon.h: Likewise.
11124         * hurd/hurdmsg.c: Likewise.
11125         * hurd/new-fd.c: Likewise.
11126         * hurd/ports-get.c: Likewise.
11127         * iconvdata/ibm1008_420.c: Likewise.
11128         * inet/tst-getni1.c: Likewise.
11129         * inet/tst-getni2.c: Likewise.
11130         * libio/ioungetc.c: Likewise.
11131         * libio/wfiledoalloc.c: Likewise.
11132         * manual/libm-err-tab.pl: Likewise.
11133         * math/w_dremf.c: Likewise.
11134         * misc/ftruncate.c: Likewise.
11135         * posix/bug-glob2.c: Likewise.
11136         * posix/tst-pcre.c: Likewise.
11137         * posix/wait4.c: Likewise.
11138         * resolv/README: Likewise.
11139         * resolv/res_debug.h: Likewise.
11140         * resolv/tst-inet_ntop.c: Likewise.
11141         * setjmp/bug269-setjmp.c: Likewise.
11142         * soft-fp/extended.h: Likewise.
11143         * soft-fp/op-1.h: Likewise.
11144         * soft-fp/op-2.h: Likewise.
11145         * soft-fp/op-4.h: Likewise.
11146         * soft-fp/op-8.h: Likewise.
11147         * soft-fp/testit.c: Likewise.
11148         * stdio-common/bug16.c: Likewise.
11149         * stdlib/random.c: Likewise.
11150         * sunrpc/rpcsvc/rquota.x: Likewise.
11151         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11152         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11153         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11154         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11155         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11156         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11157         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11158         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11159         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11160         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11161         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11162         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11163         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11164         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11165         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11166         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11167         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11168         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11169         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11170         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11171         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11172         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11173         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11174         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11175         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11176         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11177         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11178         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11179         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11180         * sysdeps/ieee754/s_lib_version.c: Likewise.
11181         * sysdeps/mach/hurd/check_fds.c: Likewise.
11182         * sysdeps/mach/hurd/getsockname.c: Likewise.
11183         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11184         * sysdeps/mach/hurd/recvfrom.c: Likewise.
11185         * sysdeps/powerpc/bits/link.h: Likewise.
11186         * sysdeps/powerpc/dl-procinfo.c: Likewise.
11187         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11188         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11189         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11190         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11191         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11192         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11193         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11194         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11195         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11196         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11197         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11198         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11199         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11200         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11201         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11202         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11203         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11204         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11205         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11206         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11207         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11208         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11209         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11210         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11211         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11212         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11213         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11214         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11215         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11216         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11217         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11218         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11219         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11220         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11221         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11222         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11223         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11224         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11225         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11226         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11227         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11228         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11229         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11230         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11231         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11232         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11233         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11234         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11235         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11236         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11237         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11238         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11239         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11240         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11241         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11242         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11243         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11244         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11245         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11246         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11247         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11248         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11249         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11250         * sysdeps/powerpc/sysdep.h: Likewise.
11251         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11252         * sysdeps/s390/s390-64/sub_n.S: Likewise.
11253         * sysdeps/sh/dl-trampoline.S: Likewise.
11254         * sysdeps/sh/memset.S: Likewise.
11255         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11256         * sysdeps/sh/strlen.S: Likewise.
11257         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11258         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11259         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11260         * sysdeps/sparc/sparc32/rem.S: Likewise.
11261         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11262         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11263         * sysdeps/sparc/sparc32/strchr.S: Likewise.
11264         * sysdeps/sparc/sparc32/udiv.S: Likewise.
11265         * sysdeps/sparc/sparc32/urem.S: Likewise.
11266         * sysdeps/sparc/sparc64/add_n.S: Likewise.
11267         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11268         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11269         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11270         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11271         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11272         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11273         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11274         * sysdeps/unix/bsd/times.c: Likewise.
11275         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11276         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11280         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11281         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11282         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11283         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11284         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11285         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11286         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11287         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11288         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11289         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11290         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11291         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11292         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11293         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11294         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11295         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11296         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11297         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11298         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11299         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11300         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11301         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11302         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11303         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11304         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11305         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11306         * sysdeps/x86_64/strcspn.S: Likewise.
11308 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11310         * locale/C-translit.h: Revert #include <stdint.h> because this is a
11311         generated file.  Regenerate properly from gen-translit.pl.
11312         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
11313         locale/C-translit.h.
11315 2013-06-05  Andreas Schwab  <schwab@suse.de>
11317         [BZ #15100]
11318         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11319         week as 6 instead of -1.
11320         * time/tst-strptime.c (day_tests): Add test case.
11322 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11324         * sysdeps/generic/math_private.h
11325         (libc_feholdexcept_setround_53bit): Replace with
11326         libc_feholdsetround_53bit.
11327         (libc_feupdateenv_53bit): Replace with
11328         libc_feresetround_53bit.
11329         (SET_RESTORE_ROUND_53BIT): Adjust.
11331 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11333         * string/test-strchrnul.c: Add copyright header.
11335         * posix/tst-getaddrinfo4.c: Increase test timeout.
11337 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
11339         [BZ #15536]
11340         * math/libm-test.inc (MAX_EXP): Remove
11341         (MIN_EXP): Define.
11342         (ulp): Use MIN_EXP - MANT_DIG.
11343         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11345 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
11347         * po/be.po: Revert last change.
11348         * po/zh_CN.po: Likewise.
11349         * po/header.pot: Likewise.
11351 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
11353         * Makefile ($(common-objpfx)linkobj/libc.so): Define
11354         link-libc-deps to empty as target-specific variable.
11355         * Makerules (link-libc-args): New variable.
11356         (libc-for-link): Likewise.
11357         (link-libc-deps): Likewise.
11358         (lib%.so): Depend on $(link-libc-deps).  Link with
11359         $(link-libc-args).
11360         (build-module): Link with $(link-libc-args).
11361         (build-module-asneeded): Likewise.
11362         (build-module-helper-objlist): Filter out $(link-libc-deps) from
11363         list of objects.
11364         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11365         target-specific variable.
11366         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11367         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11368         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11369         libc.
11370         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11371         libc and ld.so.
11372         ($(objpfx)libpcprofile.so): Likewise.
11373         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11374         libc_nonshared.a.
11375         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11376         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11377         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11378         $(link-libc-deps).
11379         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11380         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11381         * login/Makefile ($(objpfx)libutil.so): Likewise.
11382         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11383         * math/Makefile ($(objpfx)libm.so): Likewise.
11384         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11385         $(objpfx)libnsl.so): Define libc-for-link as target-specific
11386         variable instead of depending directly on libc.
11387         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11388         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11389         $(link-libc-deps).
11390         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11391         libc.
11392         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11393         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11394         ($(objpfx)libanl.so): Likewise.
11395         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11396         ld.so.
11397         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11398         $(link-libc-deps).
11399         * sysdeps/i386/fpu/Makefile: Remove file.
11400         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11401         ($(objpfx)libm.so): Remove dependency on ld.so.
11403 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
11405         [BZ # 15553]
11406         * nis/yp_xdr.c (XDRMAXNAME): Define.
11407         (XDRMAXRECORD): Define.
11408         (xdr_domainname): Use XDRMAXNAME.
11409         (xdr_mapname): Likewise.
11410         (xdr_peername): Likewise.
11411         (xdr_keydat): Use XDRMAXRECORD.
11412         (xdr_valdat): Likewise.
11414 2013-05-30  Jeff Law  <law@redhat.com>
11416         [BZ #14256]
11417         * manual/errno.texi (ESTALE): Update to account for more than
11418         just NFS file systems.
11419         * sysdeps/gnu/errlist.c: Regenerated.
11421 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11423         [BZ #15465]
11424         * elf/Makefile (tests): Add tst-null-argv.
11425         (modules-names):  Add tst-null-argv-lib.
11426         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11427         (tst-null-argv-ENV): Set environment for tst-null-argv.
11428         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11429         (RTLD_PROGNAME): New macro.
11430         * elf/tst-null-argv.c: New test case.
11431         * elf/tst-null-argv-lib.c: Library for test case.
11432         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11433         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11434         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11435         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11436         * elf/dl-init.c (call_init): Likewise.
11437         (_dl_init): Likewise.
11438         * elf/dl-load.c (print_search_path): Likewise.
11439         (_dl_map_object): Likewise.
11440         * elf/dl-lookup.c (do_lookup_x): Likewise.
11441         (add_dependency): Likewise.
11442         (_dl_lookup_symbol_x): Likewise.
11443         (_dl_debug_bindings): Likewise.
11444         * elf/dl-open.c (_dl_show_scope): Likewise.
11445         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11446         * elf/dl-version.c (match_symbol): Likewise.
11447         (_dl_check_map_versions): Likewise.
11448         * elf/rtld.c (dl_main): Likewise.
11449         (print_unresolved): Use RTLD_PROGNAME.
11450         (print_missing_version): Likewise.
11451         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11452         (elf_machine_rela): Likewise.
11453         * sysdeps/powerpc/powerpc32/dl-machine.c
11454         (__process_machine_rela): Likewise.
11455         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11456         Likewise.
11457         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11458         Likewise.
11459         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11460         Likewise.
11461         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11462         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11463         Likewise.
11464         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11465         Likewise.
11466         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11468 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
11470         * po/be.po: Add descriptive title.
11471         * po/zh_CN.po: Likewise.
11472         * po/header.pot: Likewise.
11474 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
11476         * locale/programs/locarchive.c (create_archive): Inlucde fname in
11477         error message.
11478         (enlarge_archive): Likewise.
11480 2013-05-28  Ben North  <ben@redfrontdoor.org>
11482         * manual/arith.texi (frexp): It is the magnitude of the return
11483         value which lies in [0.5, 1), not the return value itself.
11485 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11489 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
11491         * stdio-common/bug26.c (main): Correct fscanf template.
11493         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11494         declare _dl_skip_args.
11496         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11497         Don't declare.
11499         * manual/platform.texi: Add missing @end deftypefun.
11501 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
11503         [BZ #15529]
11504         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11505         bit of mantissa of 2^16382.
11506         * math/libm-test.inc (hypot_test_data): Add more tests.
11508         * math/libm-test.inc: Add drem and pow10 to list of tested
11509         functions.
11510         (pow10_test): New function.
11511         (drem_test): Likewise.
11512         (drem_test_tonearest): Likewise.
11513         (drem_test_towardzero): Likewise.
11514         (drem_test_downward): Likewise.
11515         (drem_test_upward): Likewise.
11516         (main): Call the new functions.
11518         * math/libm-test.inc (finite_test_data): Remove.
11519         (finite_test): Run tests from isfinite_test_data.
11520         (gamma_test_data): Remove.
11521         (gamma_test): Run tests from lgamma_test_data.
11522         * sysdeps/i386/fpu/libm-test-ulps: Update.
11523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11525 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11527         * manual/platform.texi: Add PowerPC PPR function set documentation.
11528         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11529         implementation.
11531 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
11533         * math/libm-test.inc (MAX_EXP): Define.
11534         (ULPDIFF): Define.
11535         (ulp): New function.
11536         (check_float_internal): Use ULPDIFF.
11537         (cpow_test): Disable failing test.
11538         (check_ulp): Test ulp() implemetnation.
11539         (main): Call check_ulp before starting tests.
11541 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
11543         * math/gen-libm-test.pl (generate_testfile): Do not handle
11544         START_DATA and END_DATA.
11545         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11546         END_DATA.
11547         (acos_tonearest_test_data): Likewise.
11548         (acos_towardzero_test_data): Likewise.
11549         (acos_downward_test_data): Likewise.
11550         (acos_upward_test_data): Likewise.
11551         (acosh_test_data): Likewise.
11552         (asin_test_data): Likewise.
11553         (asin_tonearest_test_data): Likewise.
11554         (asin_towardzero_test_data): Likewise.
11555         (asin_downward_test_data): Likewise.
11556         (asin_upward_test_data): Likewise.
11557         (asinh_test_data): Likewise.
11558         (atan_test_data): Likewise.
11559         (atanh_test_data): Likewise.
11560         (atan2_test_data): Likewise.
11561         (cabs_test_data): Likewise.
11562         (cacos_test_data): Likewise.
11563         (cacosh_test_data): Likewise.
11564         (carg_test_data): Likewise.
11565         (casin_test_data): Likewise.
11566         (casinh_test_data): Likewise.
11567         (catan_test_data): Likewise.
11568         (catanh_test_data): Likewise.
11569         (cbrt_test_data): Likewise.
11570         (ccos_test_data): Likewise.
11571         (ccosh_test_data): Likewise.
11572         (ceil_test_data): Likewise.
11573         (cexp_test_data): Likewise.
11574         (cimag_test_data): Likewise.
11575         (clog_test_data): Likewise.
11576         (clog10_test_data): Likewise.
11577         (conj_test_data): Likewise.
11578         (copysign_test_data): Likewise.
11579         (cos_test_data): Likewise.
11580         (cos_tonearest_test_data): Likewise.
11581         (cos_towardzero_test_data): Likewise.
11582         (cos_downward_test_data): Likewise.
11583         (cos_upward_test_data): Likewise.
11584         (cosh_test_data): Likewise.
11585         (cosh_tonearest_test_data): Likewise.
11586         (cosh_towardzero_test_data): Likewise.
11587         (cosh_downward_test_data): Likewise.
11588         (cosh_upward_test_data): Likewise.
11589         (cpow_test_data): Likewise.
11590         (cproj_test_data): Likewise.
11591         (creal_test_data): Likewise.
11592         (csin_test_data): Likewise.
11593         (csinh_test_data): Likewise.
11594         (csqrt_test_data): Likewise.
11595         (ctan_test_data): Likewise.
11596         (ctan_tonearest_test_data): Likewise.
11597         (ctan_towardzero_test_data): Likewise.
11598         (ctan_downward_test_data): Likewise.
11599         (ctan_upward_test_data): Likewise.
11600         (ctanh_test_data): Likewise.
11601         (ctanh_tonearest_test_data): Likewise.
11602         (ctanh_towardzero_test_data): Likewise.
11603         (ctanh_downward_test_data): Likewise.
11604         (ctanh_upward_test_data): Likewise.
11605         (erf_test_data): Likewise.
11606         (erfc_test_data): Likewise.
11607         (exp_test_data): Likewise.
11608         (exp_tonearest_test_data): Likewise.
11609         (exp_towardzero_test_data): Likewise.
11610         (exp_downward_test_data): Likewise.
11611         (exp_upward_test_data): Likewise.
11612         (exp10_test_data): Likewise.
11613         (exp2_test_data): Likewise.
11614         (expm1_test_data): Likewise.
11615         (fabs_test_data): Likewise.
11616         (fdim_test_data): Likewise.
11617         (finite_test_data): Likewise.
11618         (floor_test_data): Likewise.
11619         (fma_test_data): Likewise.
11620         (fma_towardzero_test_data): Likewise.
11621         (fma_downward_test_data): Likewise.
11622         (fma_upward_test_data): Likewise.
11623         (fmax_test_data): Likewise.
11624         (fmin_test_data): Likewise.
11625         (fmod_test_data): Likewise.
11626         (fpclassify_test_data): Likewise.
11627         (frexp_test_data): Likewise.
11628         (gamma_test_data): Likewise.
11629         (hypot_test_data): Likewise.
11630         (ilogb_test_data): Likewise.
11631         (isfinite_test_data): Likewise.
11632         (isgreater_test_data): Likewise.
11633         (isgreaterequal_test_data): Likewise.
11634         (isinf_test_data): Likewise.
11635         (isless_test_data): Likewise.
11636         (islessequal_test_data): Likewise.
11637         (islessgreater_test_data): Likewise.
11638         (isnan_test_data): Likewise.
11639         (isnormal_test_data): Likewise.
11640         (issignaling_test_data): Likewise.
11641         (isunordered_test_data): Likewise.
11642         (j0_test_data): Likewise.
11643         (j1_test_data): Likewise.
11644         (jn_test_data): Likewise.
11645         (ldexp_test_data): Likewise.
11646         (lgamma_test_data): Likewise.
11647         (lrint_test_data): Likewise.
11648         (lrint_tonearest_test_data): Likewise.
11649         (lrint_towardzero_test_data): Likewise.
11650         (lrint_downward_test_data): Likewise.
11651         (lrint_upward_test_data): Likewise.
11652         (llrint_test_data): Likewise.
11653         (llrint_tonearest_test_data): Likewise.
11654         (llrint_towardzero_test_data): Likewise.
11655         (llrint_downward_test_data): Likewise.
11656         (llrint_upward_test_data): Likewise.
11657         (log_test_data): Likewise.
11658         (log10_test_data): Likewise.
11659         (log1p_test_data): Likewise.
11660         (log2_test_data): Likewise.
11661         (logb_test_data): Likewise.
11662         (logb_downward_test_data): Likewise.
11663         (lround_test_data): Likewise.
11664         (llround_test_data): Likewise.
11665         (modf_test_data): Likewise.
11666         (nearbyint_test_data): Likewise.
11667         (nextafter_test_data): Likewise.
11668         (nexttoward_test_data): Likewise.
11669         (pow_test_data): Likewise.
11670         (pow_tonearest_test_data): Likewise.
11671         (pow_towardzero_test_data): Likewise.
11672         (pow_downward_test_data): Likewise.
11673         (pow_upward_test_data): Likewise.
11674         (remainder_test_data): Likewise.
11675         (remainder_tonearest_test_data): Likewise.
11676         (remainder_towardzero_test_data): Likewise.
11677         (remainder_downward_test_data): Likewise.
11678         (remainder_upward_test_data): Likewise.
11679         (remquo_test_data): Likewise.
11680         (rint_test_data): Likewise.
11681         (rint_tonearest_test_data): Likewise.
11682         (rint_towardzero_test_data): Likewise.
11683         (rint_downward_test_data): Likewise.
11684         (rint_upward_test_data): Likewise.
11685         (round_test_data): Likewise.
11686         (scalb_test_data): Likewise.
11687         (scalbn_test_data): Likewise.
11688         (scalbln_test_data): Likewise.
11689         (signbit_test_data): Likewise.
11690         (sin_test_data): Likewise.
11691         (sin_tonearest_test_data): Likewise.
11692         (sin_towardzero_test_data): Likewise.
11693         (sin_downward_test_data): Likewise.
11694         (sin_upward_test_data): Likewise.
11695         (sincos_test_data): Likewise.
11696         (sinh_test_data): Likewise.
11697         (sinh_tonearest_test_data): Likewise.
11698         (sinh_towardzero_test_data): Likewise.
11699         (sinh_downward_test_data): Likewise.
11700         (sinh_upward_test_data): Likewise.
11701         (sqrt_test_data): Likewise.
11702         (tan_test_data): Likewise.
11703         (tan_tonearest_test_data): Likewise.
11704         (tan_towardzero_test_data): Likewise.
11705         (tan_downward_test_data): Likewise.
11706         (tan_upward_test_data): Likewise.
11707         (tanh_test_data): Likewise.
11708         (tgamma_test_data): Likewise.
11709         (trunc_test_data): Likewise.
11710         (y0_test_data): Likewise.
11711         (y1_test_data): Likewise.
11712         (yn_test_data): Likewise.
11713         (significand_test_data): Likewise.
11715         * math/gen-libm-test.pl (@functions): Remove variable.
11716         (generate_testfile): Don't handle START and END lines.
11717         * math/libm-test.inc (START): New macro.
11718         (END): Likewise.
11719         (END_COMPLEX): Likewise.
11720         (acos_test): Use END macro without arguments.
11721         (acos_test_tonearest): Likewise.
11722         (acos_test_towardzero): Likewise.
11723         (acos_test_downward): Likewise.
11724         (acos_test_upward): Likewise.
11725         (acosh_test): Likewise.
11726         (asin_test): Likewise.
11727         (asin_test_tonearest): Likewise.
11728         (asin_test_towardzero): Likewise.
11729         (asin_test_downward): Likewise.
11730         (asin_test_upward): Likewise.
11731         (asinh_test): Likewise.
11732         (atan_test): Likewise.
11733         (atanh_test): Likewise.
11734         (atan2_test): Likewise.
11735         (cabs_test): Likewise.
11736         (cacos_test): Use END_COMPLEX macro without arguments.
11737         (cacosh_test): Likewise.
11738         (carg_test): Use END macro without arguments.
11739         (casin_test): Use END_COMPLEX macro without arguments.
11740         (casinh_test): Likewise.
11741         (catan_test): Likewise.
11742         (catanh_test): Likewise.
11743         (cbrt_test): Use END macro without arguments.
11744         (ccos_test): Use END_COMPLEX macro without arguments.
11745         (ccosh_test): Likewise.
11746         (ceil_test): Use END macro without arguments.
11747         (cexp_test): Use END_COMPLEX macro without arguments.
11748         (cimag_test): Use END macro without arguments.
11749         (clog_test): Use END_COMPLEX macro without arguments.
11750         (clog10_test): Likewise.
11751         (conj_test): Likewise.
11752         (copysign_test): Use END macro without arguments.
11753         (cos_test): Likewise.
11754         (cos_test_tonearest): Likewise.
11755         (cos_test_towardzero): Likewise.
11756         (cos_test_downward): Likewise.
11757         (cos_test_upward): Likewise.
11758         (cosh_test): Likewise.
11759         (cosh_test_tonearest): Likewise.
11760         (cosh_test_towardzero): Likewise.
11761         (cosh_test_downward): Likewise.
11762         (cosh_test_upward): Likewise.
11763         (cpow_test): Use END_COMPLEX macro without arguments.
11764         (cproj_test): Likewise.
11765         (creal_test): Use END macro without arguments.
11766         (csin_test): Use END_COMPLEX macro without arguments.
11767         (csinh_test): Likewise.
11768         (csqrt_test): Likewise.
11769         (ctan_test): Likewise.
11770         (ctan_test_tonearest): Likewise.
11771         (ctan_test_towardzero): Likewise.
11772         (ctan_test_downward): Likewise.
11773         (ctan_test_upward): Likewise.
11774         (ctanh_test): Likewise.
11775         (ctanh_test_tonearest): Likewise.
11776         (ctanh_test_towardzero): Likewise.
11777         (ctanh_test_downward): Likewise.
11778         (ctanh_test_upward): Likewise.
11779         (erf_test): Use END macro without arguments.
11780         (erfc_test): Likewise.
11781         (exp_test): Likewise.
11782         (exp_test_tonearest): Likewise.
11783         (exp_test_towardzero): Likewise.
11784         (exp_test_downward): Likewise.
11785         (exp_test_upward): Likewise.
11786         (exp10_test): Likewise.
11787         (exp2_test): Likewise.
11788         (expm1_test): Likewise.
11789         (fabs_test): Likewise.
11790         (fdim_test): Likewise.
11791         (finite_test): Likewise.
11792         (floor_test): Likewise.
11793         (fma_test): Likewise.
11794         (fma_test_towardzero): Likewise.
11795         (fma_test_downward): Likewise.
11796         (fma_test_upward): Likewise.
11797         (fmax_test): Likewise.
11798         (fmin_test): Likewise.
11799         (fmod_test): Likewise.
11800         (fpclassify_test): Likewise.
11801         (frexp_test): Likewise.
11802         (gamma_test): Likewise.
11803         (hypot_test): Likewise.
11804         (ilogb_test): Likewise.
11805         (isfinite_test): Likewise.
11806         (isgreater_test): Likewise.
11807         (isgreaterequal_test): Likewise.
11808         (isinf_test): Likewise.
11809         (isless_test): Likewise.
11810         (islessequal_test): Likewise.
11811         (islessgreater_test): Likewise.
11812         (isnan_test): Likewise.
11813         (isnormal_test): Likewise.
11814         (issignaling_test): Likewise.
11815         (isunordered_test): Likewise.
11816         (j0_test): Likewise.
11817         (j1_test): Likewise.
11818         (jn_test): Likewise.
11819         (ldexp_test): Likewise.
11820         (lgamma_test): Likewise.
11821         (lrint_test): Likewise.
11822         (lrint_test_tonearest): Likewise.
11823         (lrint_test_towardzero): Likewise.
11824         (lrint_test_downward): Likewise.
11825         (lrint_test_upward): Likewise.
11826         (llrint_test): Likewise.
11827         (llrint_test_tonearest): Likewise.
11828         (llrint_test_towardzero): Likewise.
11829         (llrint_test_downward): Likewise.
11830         (llrint_test_upward): Likewise.
11831         (log_test): Likewise.
11832         (log10_test): Likewise.
11833         (log1p_test): Likewise.
11834         (log2_test): Likewise.
11835         (logb_test): Likewise.
11836         (logb_test_downward): Likewise.
11837         (lround_test): Likewise.
11838         (llround_test): Likewise.
11839         (modf_test): Likewise.
11840         (nearbyint_test): Likewise.
11841         (nextafter_test): Likewise.
11842         (nexttoward_test): Likewise.
11843         (pow_test): Likewise.
11844         (pow_test_tonearest): Likewise.
11845         (pow_test_towardzero): Likewise.
11846         (pow_test_downward): Likewise.
11847         (pow_test_upward): Likewise.
11848         (remainder_test): Likewise.
11849         (remainder_test_tonearest): Likewise.
11850         (remainder_test_towardzero): Likewise.
11851         (remainder_test_downward): Likewise.
11852         (remainder_test_upward): Likewise.
11853         (remquo_test): Likewise.
11854         (rint_test): Likewise.
11855         (rint_test_tonearest): Likewise.
11856         (rint_test_towardzero): Likewise.
11857         (rint_test_downward): Likewise.
11858         (rint_test_upward): Likewise.
11859         (round_test): Likewise.
11860         (scalb_test): Likewise.
11861         (scalbn_test): Likewise.
11862         (scalbln_test): Likewise.
11863         (signbit_test): Likewise.
11864         (sin_test): Likewise.
11865         (sin_test_tonearest): Likewise.
11866         (sin_test_towardzero): Likewise.
11867         (sin_test_downward): Likewise.
11868         (sin_test_upward): Likewise.
11869         (sincos_test): Likewise.
11870         (sinh_test): Likewise.
11871         (sinh_test_tonearest): Likewise.
11872         (sinh_test_towardzero): Likewise.
11873         (sinh_test_downward): Likewise.
11874         (sinh_test_upward): Likewise.
11875         (sqrt_test): Likewise.
11876         (tan_test): Likewise.
11877         (tan_test_tonearest): Likewise.
11878         (tan_test_towardzero): Likewise.
11879         (tan_test_downward): Likewise.
11880         (tan_test_upward): Likewise.
11881         (tanh_test): Likewise.
11882         (tgamma_test): Likewise.
11883         (trunc_test): Likewise.
11884         (y0_test): Likewise.
11885         (y1_test): Likewise.
11886         (yn_test): Likewise.
11887         (significand_test): Likewise.
11889 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
11891         [BZ #15381]
11892         * libio/genops.c (_IO_no_init): Initialize wide struct info.
11894 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
11896         [BZ #14894]
11897         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11898         __ppc_mdoio and __ppc_mdoom.
11899         * manual/platform.texi: Document new functions __ppc_yield,
11900         __ppc_mdoio and __ppc_mdoom.
11902 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
11904         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11905         (main): Mention "tls" pseudo-hwcap is legacy.
11906         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11908 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11910         * math/gen-libm-test.pl (parse_args): Output only string of
11911         arguments as text for test name, not full call or descriptions of
11912         tests for extra outputs.
11913         (generate_testfile): Do not pass function name to parse_args.
11914         Generate this_func variable from START.
11915         * math/libm-test.inc (struct test_f_f_data): Rename test_name
11916         field to arg_str.
11917         (struct test_ff_f_data): Likewise.
11918         (test_ff_f_data_nexttoward): Likewise.
11919         (struct test_fi_f_data): Likewise.
11920         (struct test_fl_f_data): Likewise.
11921         (struct test_if_f_data): Likewise.
11922         (struct test_fff_f_data): Likewise.
11923         (struct test_c_f_data): Likewise.
11924         (struct test_f_f1_data): Likewise.  Remove field extra_name.
11925         (struct test_fF_f1_data): Likewise.
11926         (struct test_ffI_f1_data): Likewise.
11927         (struct test_c_c_data): Rename test_name field to arg_str.
11928         (struct test_cc_c_data): Likewise.
11929         (struct test_f_i_data): Likewise.
11930         (struct test_ff_i_data): Likewise.
11931         (struct test_f_l_data): Likewise.
11932         (struct test_f_L_data): Likewise.
11933         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
11934         and extra2_name.
11935         (COMMON_TEST_SETUP): New macro.
11936         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
11937         (COMMON_TEST_CLEANUP): Likewise.
11938         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
11939         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
11940         macros.
11941         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
11942         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
11943         macros.
11944         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
11945         (RUN_TEST_fff_f): Take argument string.  Call new setup and
11946         cleanup macros.
11947         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
11948         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
11949         macros.
11950         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
11951         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
11952         macros.
11953         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
11954         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
11955         cleanup macros.
11956         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
11957         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
11958         cleanup macros.
11959         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
11960         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
11961         cleanup macros.
11962         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
11963         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
11964         macros.
11965         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
11966         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
11967         macros.
11968         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
11969         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
11970         macros.
11971         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
11972         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
11973         cleanup macros.
11974         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
11975         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
11976         cleanup macros.
11977         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
11978         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
11979         macros.
11980         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
11981         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
11982         cleanup macros.
11983         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
11984         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
11985         macros.
11986         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
11987         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
11988         macros.
11989         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
11990         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
11991         cleanup macros.
11992         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
11994 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
11996         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
11997         to _sifields.sigfault.
11998         (si_addr_lsb): Define new macro.
11999         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12000         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12001         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12003 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
12005         [BZ #15441]
12006         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12007         returns -1.
12008         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12009         null return -1.
12010         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12011         loading the domain.
12013 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12015         * math/gen-libm-test.pl (parse_args): Do not include expected
12016         result in test name.
12017         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12018         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12019         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12020         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12021         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12024 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12026         * benchtests/Makefile: Sort function entries.
12028         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12029         tanh, asinh, acosh, atanh.
12030         * benchtests/acos-inputs: New file.
12031         * benchtests/acosh-inputs: New file.
12032         * benchtests/asin-inputs: New file.
12033         * benchtests/asinh-inputs: New file.
12034         * benchtests/atanh-inputs: New file.
12035         * benchtests/cosh-inputs: New file.
12036         * benchtests/log-inputs: New file.
12037         * benchtests/sinh-inputs: New file.
12038         * benchtests/tanh-inputs: New file.
12040 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
12042         [BZ #15339]
12043         * posix/tst-getaddrinfo4.c: New test.
12044         * posix/Makefile (tests): Add it.
12046 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12048         [BZ #15339]
12049         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12050         when no services were used.
12051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12052         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12054 2013-05-21  Andreas Schwab  <schwab@suse.de>
12056         [BZ #15014]
12057         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12058         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12059         successful.
12060         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12061         redundant variable declarations and reallocation of buffer when
12062         parsing as IPv6 address.  Always set NSS status when called from
12063         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
12064         buffer too small.  Correct computation of needed size.
12065         * nss/Makefile (tests): Add test-digits-dots.
12066         * nss/test-digits-dots.c: New test.
12068 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12070         * benchtests/Makefile: Remove instructions for adding
12071         benchmark tests.
12072         * benchtests/README: New file to explain how to execute and
12073         enhance the benchmark tests.
12075 2013-05-21  Andreas Schwab  <schwab@suse.de>
12077         [BZ #15493]
12078         * setjmp/Makefile (tests): Add tst-sigsetjmp.
12079         * setjmp/tst-sigsetjmp.c: New test.
12081 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12083         * sysdeps/x86_64/memset.S (memset): New implementation.
12084         (__bzero): Likewise.
12085         (__memset_tail): New function.
12087 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12089         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12090         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12091         __memcpy_sse2_unaligned ifunc selection.
12092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12093         Add memcpy-sse2-unaligned.S.
12094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12095         Add: __memcpy_sse2_unaligned.
12097 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
12099         [BZ #15490]
12100         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12101         math_force_eval before restoring floating-point envrionment.
12102         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12103         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12104         Likewise.
12105         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12106         <math_private.h>.
12107         (__nearbyintl): Use math_force_eval before restoring
12108         floating-point environment.
12109         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12111         * math/gen-libm-test.pl (special_functions): Remove.
12112         (parse_args): Don't handle TEST_extra.  Handle functions with no
12113         return value.
12114         * math/libm-test.inc (struct test_sincos_data): Replace with
12115         struct test_fFF_11_data.
12116         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12117         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12118         (sincos_test_data): Change element type to struct
12119         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
12120         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12121         RUN_TEST_LOOP_sincos.
12122         * math/README.libm-test: Don't mention special handling of
12123         individual functions.
12124         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12125         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12126         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12127         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12128         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12131         * math/gen-libm-test.pl (get_variable): Remove function.
12132         (parse_args): Don't show pointer parameters to call in test
12133         names.  Use "extra output N" in test names for extra outputs
12134         rather than naming variables.
12136 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
12138         [BZ #15488]
12139         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12140         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12141         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12142         double tests.
12143         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12144         disable.
12145         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12146         check_long_double.
12148         * math/gen-libm-test.pl (@tests): Remove variable.
12149         ($count): Likewise.
12150         (new_test): Remove function.
12151         (show_exceptions): New function.
12152         (special_functions): Use show_exceptions instead of new_test.
12153         (parse_args): Likewise.
12154         (generate_testfile): Pass only function name in generated call to
12155         print_max_error or print_complex_max_error.
12156         (get_ulps): Do not handle complex tests specially.
12157         (output_test): Rename to ...
12158         (get_all_ulps_for_test): ... this.  Return a string rather than
12159         printing to a file.  Require ulps to be present.
12160         (output_ulps): Generate arrays rather than #defines.
12161         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12162         (struct ulp_data): New type.
12163         (BUILD_COMPLEX_ULP): Remove macro.
12164         (compare_ulp_data): New function.
12165         (find_ulps): Likewise.
12166         (find_test_ulps): Likewise.
12167         (find_function_ulps): Likewise.
12168         (find_complex_function_ulps): Likewise.
12169         (print_max_error): Determine allowed ulps using
12170         find_function_ulps.
12171         (print_complex_max_error): Determine allowed ulps using
12172         find_complex_function_ulps.
12173         (check_float_internal): Determine max ulps using find_test_ulps.
12174         (check_float): Do not take max_ulp parameter.  Update call to
12175         check_float_internal.
12176         (check_complex): Likewise.
12177         (check_int): Do not take max_ulp parameter.
12178         (check_long): Likewise.
12179         (check_bool): Likewise.
12180         (check_longlong): Likewise.
12181         (struct test_f_f_data): Remove max_ulp field.
12182         (struct test_ff_f_data): Likewise.
12183         (struct test_ff_f_data_nexttoward): Likewise.
12184         (struct test_fi_f_data): Likewise.
12185         (struct test_fl_f_data): Likewise.
12186         (struct test_if_f_data): Likewise.
12187         (struct test_fff_f_data): Likewise.
12188         (struct test_c_f_data): Likewise.
12189         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12190         (struct test_fF_f1_data): Likewise.
12191         (struct test_ffI_f1_data): Likewise.
12192         (struct test_c_c_data): Remove max_ulp field.
12193         (struct test_cc_c_data): Likewise.
12194         (struct test_f_i_data): Likewise.
12195         (struct test_ff_i_data): Likewise.
12196         (struct test_f_l_data): Likewise.
12197         (struct test_f_L_data): Likewise.
12198         (struct test_sincos_data): Likewise.
12199         (RUN_TEST_f_f): Do not handle ulps.
12200         (RUN_TEST_LOOP_f_f): Likewise.
12201         (RUN_TEST_2_f): Likewise.
12202         (RUN_TEST_LOOP_2_f): Likewise.
12203         (RUN_TEST_fff_f): Likewise.
12204         (RUN_TEST_LOOP_fff_f): Likewise.
12205         (RUN_TEST_c_f): Likewise.
12206         (RUN_TEST_LOOP_c_f): Likewise.
12207         (RUN_TEST_f_f1): Likewise.
12208         (RUN_TEST_LOOP_f_f1): Likewise.
12209         (RUN_TEST_fF_f1): Likewise.
12210         (RUN_TEST_LOOP_fF_f1): Likewise.
12211         (RUN_TEST_fI_f1): Likewise.
12212         (RUN_TEST_LOOP_fI_f1): Likewise.
12213         (RUN_TEST_ffI_f1): Likewise.
12214         (RUN_TEST_LOOP_ffI_f1): Likewise.
12215         (RUN_TEST_c_c): Likewise.
12216         (RUN_TEST_LOOP_c_c): Likewise.
12217         (RUN_TEST_cc_c): Likewise.
12218         (RUN_TEST_LOOP_cc_c): Likewise.
12219         (RUN_TEST_f_i): Likewise.
12220         (RUN_TEST_LOOP_f_i): Likewise.
12221         (RUN_TEST_f_i_tg): Likewise.
12222         (RUN_TEST_LOOP_f_i_tg): Likewise.
12223         (RUN_TEST_ff_i_tg): Likewise.
12224         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12225         (RUN_TEST_f_b): Likewise.
12226         (RUN_TEST_LOOP_f_b): Likewise.
12227         (RUN_TEST_f_b_tg): Likewise.
12228         (RUN_TEST_LOOP_f_b_tg): Likewise.
12229         (RUN_TEST_f_l): Likewise.
12230         (RUN_TEST_LOOP_f_l): Likewise.
12231         (RUN_TEST_f_L): Likewise.
12232         (RUN_TEST_LOOP_f_L): Likewise.
12233         (RUN_TEST_sincos): Likewise.
12234         (RUN_TEST_LOOP_sincos): Likewise.
12236 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
12238         [BZ #15480]
12239         [BZ #15485]
12240         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12241         main case of finite arguments, set rounding mode to FE_TONEAREST
12242         and discard exceptions.
12243         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12244         exceptions.
12245         (remainder_tonearest_test_data): New variable.
12246         (remainder_test_tonearest): New function.
12247         (remainder_towardzero_test_data): New variable.
12248         (remainder_test_towardzero): New function.
12249         (remainder_downward_test_data): New variable.
12250         (remainder_test_downward): New function.
12251         (remainder_upward_test_data): New variable.
12252         (remainder_test_upward): New function.
12253         (main): Call the new test functions.
12255         * math/libm-test.inc (struct test_f_f1_data): Remove field
12256         extra_init.
12257         (struct test_fF_f1_data): Likewise.
12258         (struct test_ffI_f1_data): Likewise.
12259         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
12260         based on value of EXTRA_EXPECTED.
12261         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12262         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
12263         EXTRA_VAR based on value of EXTRA_EXPECTED.
12264         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12265         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
12266         EXTRA_VAR based on value of EXTRA_EXPECTED.
12267         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12268         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
12269         EXTRA_VAR based on value of EXTRA_EXPECTED.
12270         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12271         * math/gen-libm-test.pl (parse_args): Don't output initializers
12272         for extra output values.
12274         * math/libm-test.inc (check_int): Expect result to be exactly
12275         equal to expected value and do not handle ulps.
12276         (check_long): Likewise.
12277         (check_longlong): Likewise.
12279         * math/libm-test.inc (ceil_test_data): Test for "inexact"
12280         exceptions.
12281         (cimag_test_data): Likewise.
12282         (conj_test_data): Likewise.
12283         (copysign_test_data): Likewise.
12284         (cproj_test_data): Likewise.
12285         (creal_test_data): Likewise.
12286         (fabs_test_data): Likewise.
12287         (fdim_test_data): Likewise.
12288         (finite_test_data): Likewise.
12289         (floor_test_data): Likewise.
12290         (fmax_test_data): Likewise.
12291         (fmin_test_data): Likewise.
12292         (fmod_test_data): Likewise.
12293         (fpclassify_test_data): Likewise.
12294         (frexp_test_data): Likewise.
12295         (ilogb_test_data): Likewise.
12296         (isfinite_test_data): Likewise.
12297         (isgreater_test_data): Likewise.
12298         (isgreaterequal_test_data): Likewise.
12299         (isinf_test_data): Likewise.
12300         (isless_test_data): Likewise.
12301         (islessequal_test_data): Likewise.
12302         (islessgreater_test_data): Likewise.
12303         (isnan_test_data): Likewise.
12304         (isnormal_test_data): Likewise.
12305         (issignaling_test_data): Likewise.
12306         (isunordered_test_data): Likewise.
12307         (ldexp_test_data): Likewise.
12308         (lrint_test_data): Likewise.
12309         (lrint_test_data) [TEST_FLOAT]: Disable one test.
12310         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12311         (lrint_tonearest_test_data): Test for "inexact" exceptions.
12312         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12313         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12314         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12315         test input.
12316         (lrint_towardzero_test_data): Test for "inexact" exceptions.
12317         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12318         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12319         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12320         that test input.
12321         (lrint_downward_test_data): Test for "inexact" exceptions.
12322         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12323         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12324         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12325         test input.
12326         (lrint_upward_test_data): Test for "inexact" exceptions.
12327         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12328         test input.
12329         (llrint_test_data): Test for "inexact" exceptions.
12330         (llrint_test_data) [TEST_FLOAT]: Disable one test.
12331         (llrint_tonearest_test_data): Test for "inexact" exceptions.
12332         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12333         (llrint_towardzero_test_data): Test for "inexact" exceptions.
12334         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12335         (llrint_downward_test_data): Test for "inexact" exceptions.
12336         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12337         (llrint_upward_test_data): Test for "inexact" exceptions.
12338         (logb_test_data): Likewise.
12339         (logb_downward_test_data): Likewise.
12340         (nextafter_test_data): Likewise.
12341         (nexttoward_test_data): Likewise.
12342         (remainder_test_data): Likewise.
12343         (remquo_test_data): Likewise.
12344         (scalbn_test_data): Likewise.
12345         (scalbln_test_data): Likewise.
12346         (signbit_test_data): Likewise.
12347         (sqrt_test_data): Likewise.
12348         (significand_test_data): Likewise.
12350 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12352         [BZ #15424]
12353         * benchtests/bench-modf.c (struct args): Mark arg0 as
12354         volatile.
12355         * scripts/bench.pl: Mark members of struct args as volatile.
12357 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12359         [BZ # 15497]
12360         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12361         negative infinity on POWER6 or lower.
12362         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12364 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12366         [BZ #15442]
12367         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12368         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12369         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12370         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12371         (_FP_SETQNAN): New macro.
12372         (_FP_SETQNAN_SEMIRAW): Likewise.
12373         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12374         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12375         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12376         (FP_EXTEND): Use _FP_FRAC_SNANP.
12377         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12378         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12379         into account.
12380         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12381         New macro.
12382         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12383         Likewise.
12385 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12387         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12388         with DIVIDE_BY_ZERO_EXCEPTION.
12389         (gamma_test_data): Likewise.
12390         (lgamma_test_data): Likewise.
12391         (log_test_data): Likewise.
12392         (log10_test_data): Likewise.
12393         (log2_test_data): Likewise.
12394         (tgamma_test_data): Likewise.
12396         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12397         (acos_test_tonearest): Likewise.
12398         (acos_test_towardzero): Likewise.
12399         (acos_test_downward): Likewise.
12400         (acos_test_upward): Likewise.
12401         (acosh_test): Likewise.
12402         (asin_test): Likewise.
12403         (asin_test_tonearest): Likewise.
12404         (asin_test_towardzero): Likewise.
12405         (asin_test_downward): Likewise.
12406         (asin_test_upward): Likewise.
12407         (asinh_test): Likewise.
12408         (atan_test): Likewise.
12409         (atanh_test): Likewise.
12410         (atan2_test): Likewise.
12411         (cabs_test): Likewise.
12412         (cacos_test): Likewise.
12413         (cacosh_test): Likewise.
12414         (casin_test): Likewise.
12415         (casinh_test): Likewise.
12416         (catan_test): Likewise.
12417         (catanh_test): Likewise.
12418         (cbrt_test): Likewise.
12419         (ccos_test): Likewise.
12420         (ccosh_test): Likewise.
12421         (cexp_test): Likewise.
12422         (clog_test): Likewise.
12423         (clog10_test): Likewise.
12424         (cos_test): Likewise.
12425         (cos_test_tonearest): Likewise.
12426         (cos_test_towardzero): Likewise.
12427         (cos_test_downward): Likewise.
12428         (cos_test_upward): Likewise.
12429         (cosh_test): Likewise.
12430         (cosh_test_tonearest): Likewise.
12431         (cosh_test_towardzero): Likewise.
12432         (cosh_test_downward): Likewise.
12433         (cosh_test_upward): Likewise.
12434         (cpow_test): Likewise.
12435         (csin_test): Likewise.
12436         (csinh_test): Likewise.
12437         (csqrt_test): Likewise.
12438         (ctan_test): Likewise.
12439         (ctan_test_tonearest): Likewise.
12440         (ctan_test_towardzero): Likewise.
12441         (ctan_test_downward): Likewise.
12442         (ctan_test_upward): Likewise.
12443         (ctanh_test): Likewise.
12444         (ctanh_test_tonearest): Likewise.
12445         (ctanh_test_towardzero): Likewise.
12446         (ctanh_test_downward): Likewise.
12447         (ctanh_test_upward): Likewise.
12448         (erf_test): Likewise.
12449         (erfc_test): Likewise.
12450         (exp_test): Likewise.
12451         (exp_test_tonearest): Likewise.
12452         (exp_test_towardzero): Likewise.
12453         (exp_test_downward): Likewise.
12454         (exp_test_upward): Likewise.
12455         (exp10_test): Likewise.
12456         (exp2_test): Likewise.
12457         (expm1_test): Likewise.
12458         (fmod_test): Likewise.
12459         (gamma_test): Likewise.
12460         (hypot_test): Likewise.
12461         (j0_test): Likewise.
12462         (j1_test): Likewise.
12463         (jn_test): Likewise.
12464         (lgamma_test): Likewise.
12465         (log_test): Likewise.
12466         (log10_test): Likewise.
12467         (log1p_test): Likewise.
12468         (log2_test): Likewise.
12469         (logb_test_downward): Likewise.
12470         (pow_test): Likewise.
12471         (pow_test_tonearest): Likewise.
12472         (pow_test_towardzero): Likewise.
12473         (pow_test_downward): Likewise.
12474         (pow_test_upward): Likewise.
12475         (remainder_test): Likewise.
12476         (remquo_test): Likewise.
12477         (sin_test): Likewise.
12478         (sin_test_tonearest): Likewise.
12479         (sin_test_towardzero): Likewise.
12480         (sin_test_downward): Likewise.
12481         (sin_test_upward): Likewise.
12482         (sincos_test): Likewise.
12483         (sinh_test): Likewise.
12484         (sinh_test_tonearest): Likewise.
12485         (sinh_test_towardzero): Likewise.
12486         (sinh_test_downward): Likewise.
12487         (sinh_test_upward): Likewise.
12488         (sqrt_test): Likewise.
12489         (tan_test): Likewise.
12490         (tan_test_tonearest): Likewise.
12491         (tan_test_towardzero): Likewise.
12492         (tan_test_downward): Likewise.
12493         (tan_test_upward): Likewise.
12494         (tanh_test): Likewise.
12495         (tgamma_test): Likewise.
12496         (y0_test): Likewise.
12497         (y1_test): Likewise.
12498         (yn_test): Likewise.
12500         * math/gen-libm-test.pl (adjust_arg): Remove function.
12501         (special_function): Remove argument $in_func.  Only handle
12502         generating output for tables of tests, not inside functions.
12503         (parse_args): Likewise.
12504         (generate_testfile): Remove variable $in_func.  Update call to
12505         parse_args.
12506         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12507         (MINUS_ZERO_INIT): Rename macro to minus_zero.
12508         (PLUS_INFTY_INIT): Rename macro to plus_infty.
12509         (MINUS_INFTY_INIT): Rename macro to minus_infty.
12510         (QNAN_VALUE_INIT): Rename macro to qnan_value.
12511         (MAX_VALUE_INIT): Rename macro to max_value.
12512         (MIN_VALUE_INIT): Rename macro to min_value.
12513         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12514         (plus_zero): Remove variable.
12515         (minus_zero): Likewise.
12516         (plus_infty): Likewise.
12517         (minus_infty): Likewise.
12518         (qnan_value): Likewise.
12519         (max_value): Likewise.
12520         (min_value): Likewise.
12521         (min_subnorm_value): Likewise.
12523 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12525         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12526         uint64_t or uint32_t usage.
12527         * crypt/sha256-block.c: Likewise.
12528         * crypt/sha256-crypt.c: Likewise.
12529         * crypt/sha256.c: Likewise.
12530         * crypt/sha512-block.c: Likewise.
12531         * crypt/sha512-crypt.c: Likewise.
12532         * crypt/sha512.c: Likewise.
12533         * debug/backtrace-tst.c: Likewise.
12534         * debug/pcprofiledump.c: Likewise.
12535         * elf/cache.c: Likewise.
12536         * elf/dl-cache.c: Likewise.
12537         * elf/dl-misc.c: Likewise.
12538         * elf/dl-profile.c: Likewise.
12539         * elf/dl-support.c: Likewise.
12540         * elf/ldconfig.c: Likewise.
12541         * elf/sprof.c: Likewise.
12542         * iconv/dummy-repertoire.c: Likewise.
12543         * iconv/iconv_charmap.c: Likewise.
12544         * iconv/skeleton.c: Likewise.
12545         * iconvdata/8bit-generic.c: Likewise.
12546         * iconvdata/cp737.h: Likewise.
12547         * iconvdata/cp775.h: Likewise.
12548         * iconvdata/ibm1008.h: Likewise.
12549         * iconvdata/ibm1025.h: Likewise.
12550         * iconvdata/ibm1046.h: Likewise.
12551         * iconvdata/ibm1097.h: Likewise.
12552         * iconvdata/ibm1112.h: Likewise.
12553         * iconvdata/ibm1122.h: Likewise.
12554         * iconvdata/ibm1123.h: Likewise.
12555         * iconvdata/ibm1124.h: Likewise.
12556         * iconvdata/ibm1129.h: Likewise.
12557         * iconvdata/ibm1130.h: Likewise.
12558         * iconvdata/ibm1132.h: Likewise.
12559         * iconvdata/ibm1133.h: Likewise.
12560         * iconvdata/ibm1137.h: Likewise.
12561         * iconvdata/ibm1140.h: Likewise.
12562         * iconvdata/ibm1141.h: Likewise.
12563         * iconvdata/ibm1142.h: Likewise.
12564         * iconvdata/ibm1143.h: Likewise.
12565         * iconvdata/ibm1144.h: Likewise.
12566         * iconvdata/ibm1145.h: Likewise.
12567         * iconvdata/ibm1146.h: Likewise.
12568         * iconvdata/ibm1147.h: Likewise.
12569         * iconvdata/ibm1148.h: Likewise.
12570         * iconvdata/ibm1149.h: Likewise.
12571         * iconvdata/ibm1153.h: Likewise.
12572         * iconvdata/ibm1154.h: Likewise.
12573         * iconvdata/ibm1155.h: Likewise.
12574         * iconvdata/ibm1156.h: Likewise.
12575         * iconvdata/ibm1157.h: Likewise.
12576         * iconvdata/ibm1158.h: Likewise.
12577         * iconvdata/ibm1160.h: Likewise.
12578         * iconvdata/ibm1161.h: Likewise.
12579         * iconvdata/ibm1162.h: Likewise.
12580         * iconvdata/ibm1163.h: Likewise.
12581         * iconvdata/ibm1164.h: Likewise.
12582         * iconvdata/ibm1166.h: Likewise.
12583         * iconvdata/ibm1167.h: Likewise.
12584         * iconvdata/ibm12712.h: Likewise.
12585         * iconvdata/ibm1390.h: Likewise.
12586         * iconvdata/ibm1399.h: Likewise.
12587         * iconvdata/ibm16804.h: Likewise.
12588         * iconvdata/ibm4517.h: Likewise.
12589         * iconvdata/ibm4899.h: Likewise.
12590         * iconvdata/ibm4909.h: Likewise.
12591         * iconvdata/ibm4971.h: Likewise.
12592         * iconvdata/ibm5347.h: Likewise.
12593         * iconvdata/ibm803.h: Likewise.
12594         * iconvdata/ibm856.h: Likewise.
12595         * iconvdata/ibm901.h: Likewise.
12596         * iconvdata/ibm902.h: Likewise.
12597         * iconvdata/ibm9030.h: Likewise.
12598         * iconvdata/ibm9066.h: Likewise.
12599         * iconvdata/ibm921.h: Likewise.
12600         * iconvdata/ibm922.h: Likewise.
12601         * iconvdata/ibm9448.h: Likewise.
12602         * iconvdata/isiri-3342.h: Likewise.
12603         * iconvdata/jis0201.h: Likewise.
12604         * include/link.h: Likewise.
12605         * include/netdb.h: Likewise.
12606         * inet/check_native.c: Likewise.
12607         * inet/check_pf.c: Likewise.
12608         * inet/getipv4sourcefilter.c: Likewise.
12609         * inet/getnameinfo.c: Likewise.
12610         * inet/getsourcefilter.c: Likewise.
12611         * inet/htonl.c: Likewise.
12612         * inet/setipv4sourcefilter.c: Likewise.
12613         * inet/setsourcefilter.c: Likewise.
12614         * inet/test-inet6_opt.c: Likewise.
12615         * inet/tst-network.c: Likewise.
12616         * locale/C-collate.c: Likewise.
12617         * locale/C-ctype.c: Likewise.
12618         * locale/C-time.c: Likewise.
12619         * locale/C-translit.h: Likewise.
12620         * locale/loadarchive.c: Likewise.
12621         * locale/programs/3level.h: Likewise.
12622         * locale/programs/charmap.c: Likewise.
12623         * locale/programs/charmap.h: Likewise.
12624         * locale/programs/ld-address.c: Likewise.
12625         * locale/programs/ld-collate.c: Likewise.
12626         * locale/programs/ld-ctype.c: Likewise.
12627         * locale/programs/ld-identification.c: Likewise.
12628         * locale/programs/ld-measurement.c: Likewise.
12629         * locale/programs/ld-messages.c: Likewise.
12630         * locale/programs/ld-monetary.c: Likewise.
12631         * locale/programs/ld-name.c: Likewise.
12632         * locale/programs/ld-numeric.c: Likewise.
12633         * locale/programs/ld-paper.c: Likewise.
12634         * locale/programs/ld-telephone.c: Likewise.
12635         * locale/programs/ld-time.c: Likewise.
12636         * locale/programs/linereader.c: Likewise.
12637         * locale/programs/locale.c: Likewise.
12638         * locale/programs/locarchive.c: Likewise.
12639         * locale/programs/locfile.h: Likewise.
12640         * locale/programs/repertoire.c: Likewise.
12641         * locale/programs/simple-hash.c: Likewise.
12642         * locale/programs/simple-hash.h: Likewise.
12643         * malloc/memusage.c: Likewise.
12644         * malloc/memusagestat.c: Likewise.
12645         * nis/nis_defaults.c: Likewise.
12646         * nis/nis_hash.c: Likewise.
12647         * nis/nis_print.c: Likewise.
12648         * nis/nis_xdr.c: Likewise.
12649         * nscd/connections.c: Likewise.
12650         * nscd/hstcache.c: Likewise.
12651         * nscd/nscd_gethst_r.c: Likewise.
12652         * nscd/nscd_getserv_r.c: Likewise.
12653         * nscd/nscd_helper.c: Likewise.
12654         * nscd/servicescache.c: Likewise.
12655         * nss/makedb.c: Likewise.
12656         * nss/nss_db/db-XXX.c: Likewise.
12657         * nss/nss_db/db-initgroups.c: Likewise.
12658         * nss/nss_db/db-netgrp.c: Likewise.
12659         * nss/nss_files/files-network.c: Likewise.
12660         * nss/nss_files/files-parse.c: Likewise.
12661         * posix/bug-regex5.c: Likewise.
12662         * posix/fnmatch_loop.c: Likewise.
12663         * posix/regcomp.c: Likewise.
12664         * posix/regexec.c: Likewise.
12665         * posix/tst-rfc3484-2.c: Likewise.
12666         * posix/tst-rfc3484-3.c: Likewise.
12667         * posix/tst-rfc3484.c: Likewise.
12668         * resolv/nss_dns/dns-canon.c: Likewise.
12669         * resolv/nss_dns/dns-network.c: Likewise.
12670         * resolv/res_init.c: Likewise.
12671         * resolv/res_mkquery.c: Likewise.
12672         * resolv/tst-aton.c: Likewise.
12673         * stdlib/cxa_atexit.c: Likewise.
12674         * stdlib/cxa_finalize.c: Likewise.
12675         * stdlib/gen-fpioconst.c: Likewise.
12676         * stdlib/strtol_l.c: Likewise.
12677         * string/tst-endian.c: Likewise.
12678         * sunrpc/auth_des.c: Likewise.
12679         * sunrpc/clnt_udp.c: Likewise.
12680         * sunrpc/rtime.c: Likewise.
12681         * sunrpc/svcauth_des.c: Likewise.
12682         * sunrpc/xdr.c: Likewise.
12683         * sunrpc/xdr_intXX_t.c: Likewise.
12684         * sunrpc/xdr_rec.c: Likewise.
12685         * sysdeps/generic/ldconfig.h: Likewise.
12686         * sysdeps/generic/ldsodefs.h: Likewise.
12687         * sysdeps/generic/memusage.h: Likewise.
12688         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12689         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12690         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12691         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12692         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12693         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12694         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12695         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12696         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12697         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12698         * sysdeps/posix/getaddrinfo.c: Likewise.
12699         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12700         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12701         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12702         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12703         * sysdeps/powerpc/test-gettimebase.c: Likewise.
12704         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12705         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12706         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12707         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12708         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12709         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12710         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12711         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12712         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12713         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12714         * sysdeps/x86_64/dl-tls.h: Likewise.
12715         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12716         * time/alt_digit.c: Likewise.
12717         * time/era.c: Likewise.
12718         * wcsmbs/tst-c16c32-1.c: Likewise.
12720 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12722         * math/libm-test.inc (struct test_sincos_data): New type.
12723         (RUN_TEST_LOOP_sincos): New macro.
12724         (sincos_test_data): New variable.
12725         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12727 2013-05-16  Richard Henderson  <rth@redhat.com>
12729         * math/atest-exp2.c (LIMB64): New macro.
12730         (CONSTSZ): New macro.
12731         (mp_exp1, mp_exp_m1, mp_log2): New variables.
12732         (hexdig): Move ...
12733         (print_mpn_fp): ... to function scope.
12734         (read_mpn_hex): Remove.
12735         (get_log2): Remove.
12736         (exp2_mpn): Use mp_log2.
12737         (main): Use mp_exp1.
12739 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12741         * math/libm-test.inc: Remove comment about not testing "inexact"
12742         exceptions.
12743         (INEXACT_EXCEPTION): New macro.
12744         (NO_INEXACT_EXCEPTION): Likewise.
12745         (INVALID_EXCEPTION_OK): Update value.
12746         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12747         (OVERFLOW_EXCEPTION_OK): Likewise.
12748         (UNDERFLOW_EXCEPTION_OK): Likewise.
12749         (IGNORE_ZERO_INF_SIGN): Likewise.
12750         (ERRNO_UNCHANGED): Likewise.
12751         (ERRNO_EDOM): Likewise.
12752         (ERRNO_ERANGE): Likewise.
12753         (test_exceptions): Handle testing "inexact" exceptions.
12754         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12755         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12756         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12757         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12758         INEXACT_EXCEPTION.
12759         (rint_towardzero_test_data): Likewise.
12760         (rint_downward_test_data): Likewise.
12761         (rint_upward_test_data): Likewise.
12763         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12764         with OVERFLOW_EXCEPTION.
12765         (exp10_test_data): Likewise.
12766         (exp2_test_data): Likewise.
12767         (expm1_test_data): Likewise.
12768         (lgamma_test_data): Likewise.
12769         (pow_test_data): Likewise.
12770         (tgamma_test_data): Likewise.
12771         (yn_test_data): Remove duplicate test of overflow.
12773         * math/libm-test.inc (struct test_cc_c_data): New type.
12774         (RUN_TEST_LOOP_cc_c): New macro.
12775         (cpow_test_data): New variable.
12776         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12778         * math/libm-test.inc (struct test_f_L_data): New type.
12779         (RUN_TEST_LOOP_f_L): New macro.
12780         (llrint_test_data): New variable.
12781         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12782         (llrint_tonearest_test_data): New variable.
12783         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12784         (llrint_towardzero_test_data): New variable.
12785         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12786         (llrint_downward_test_data): New variable.
12787         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12788         (llrint_upward_test_data): New variable.
12789         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12790         (llround_test_data): New variable.
12791         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12793 2013-05-13  Peter Collingbourne  <pcc@google.com>
12795         * math/atest-exp2.c (get_log2): Remove const attribute.
12797 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12799         * math/libm-test.inc (struct test_f_l_data): New type.
12800         (RUN_TEST_LOOP_f_l): New macro.
12801         (lrint_test_data): New variable.
12802         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12803         (lrint_tonearest_test_data): New variable.
12804         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12805         (lrint_towardzero_test_data): New variable.
12806         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12807         (lrint_downward_test_data): New variable.
12808         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12809         (lrint_upward_test_data): New variable.
12810         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12811         (lround_test_data): New variable.
12812         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12814 2013-05-15  Peter Collingbourne  <pcc@google.com>
12816         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12817         (EXTRACT_WORDS64) Use where appropriate.
12818         (INSERT_WORDS64) Likewise.
12820         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12821         constraints with x constraints.
12822         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12824         * malloc/obstack.c (_obstack_compat): Add initializer.
12826 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12828         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12829         si_trapno and add si_addr_lsb to _sifields.sigfault.
12830         (si_trapno): Remove macro.
12831         (si_addr_lsb): Define new macro.
12832         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12834 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12836         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12837         instead of TEST_f_l.
12838         (llrint_test_tonearest): Likewise.
12839         (llrint_test_towardzero): Likewise.
12840         (llrint_test_downward): Likewise.
12841         (llrint_test_upward): Likewise.
12842         (llround_test): Likewise.
12844         * math/libm-test.inc (struct test_f_i_data): Add comment.
12845         (RUN_TEST_LOOP_f_b): New macro.
12846         (RUN_TEST_LOOP_f_b_tg): Likewise.
12847         (finite_test_data): New variable.
12848         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12849         (isfinite_test_data): New variable.
12850         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12851         (isinf_test_data): New variable.
12852         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12853         (isnan_test_data): New variable.
12854         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12855         (isnormal_test_data): New variable.
12856         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12857         (issignaling_test_data): New variable.
12858         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12859         (signbit_test_data): New variable.
12860         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12862         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12863         with INVALID_EXCEPTION.
12864         (acosh_test_data): Likewise.
12865         (asin_test_data): Likewise.
12866         (atanh_test_data): Likewise.
12867         (fmod_test_data): Likewise.
12868         (log_test_data): Likewise.
12869         (log10_test_data): Likewise.
12870         (log2_test_data): Likewise.
12871         (pow_test_data): Likewise.
12872         (sqrt_test_data): Likewise.
12873         (y0_test_data): Likewise.
12874         (y1_test_data): Likewise.
12875         (yn_test_data): Likewise.
12877         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12878         function contents.
12880         * math/libm-test.inc (struct test_ff_i_data): New type.
12881         (RUN_TEST_LOOP_ff_i_tg): New macro.
12882         (isgreater_test_data): New variable.
12883         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12884         (isgreaterequal_test_data): New variable.
12885         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12886         (isless_test_data): New variable.
12887         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12888         (islessequal_test_data): New variable.
12889         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12890         (islessgreater_test_data): New variable.
12891         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12892         (isunordered_test_data): New variable.
12893         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12895 2013-05-14  David S. Miller  <davem@davemloft.net>
12897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12899 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
12901         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12903         * math/libm-test.inc (struct test_fF_f1_data): Change type of
12904         extra_test to int.
12905         (struct test_f_i_data): Change type of max_ulp to int.
12907         * math/libm-test.inc (test_ffI_f1_data): New type.
12908         (RUN_TEST_LOOP_ffI_f1): New macro.
12909         (remquo_test_data): New variable.
12910         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12912         * setjmp/tst-setjmp-fp.c: New file.
12913         * setjmp/Makefile (tests): Add tst-setjmp-fp.
12914         (link-libm): New variable.
12915         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12917         * math/libm-test.inc (struct test_f_i_data): New type.
12918         (RUN_TEST_LOOP_f_i): New macro.
12919         (RUN_TEST_LOOP_f_i_tg): Likewise.
12920         (fpclassify_test_data): New variable.
12921         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
12922         (ilogb_test_data): New variable.
12923         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
12925         * math/libm-test.inc (scalbln_test): Correct function name in END
12926         call.
12928         * math/libm-test.inc (struct test_f_f1_data): Add comment.
12929         (RUN_TEST_LOOP_fI_f1): New macro.
12930         (frexp_test_data): New variable.
12931         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
12933         * math/libm-test.inc (struct test_fF_f1_data): New type.
12934         (RUN_TEST_LOOP_fF_f1): New macro.
12935         (modf_test_data): New variable.
12936         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
12938         * math/libm-test.inc (struct test_f_f1_data): New type.
12939         (RUN_TEST_LOOP_f_f1): New macro.
12940         (gamma_test_data): New variable.
12941         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12942         (lgamma_test_data): New variable.
12943         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12945 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
12947         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
12948         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
12949         (main): Comment "tls" pseudo-hwcap.
12951 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
12953         * math/libm-test.inc (struct test_fl_f_data): New type.
12954         (RUN_TEST_LOOP_fl_f): New variable.
12955         (scalbln_test_data): New variable.
12956         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
12958         * math/libm-test.inc (struct test_fi_f_data): New type.
12959         (RUN_TEST_LOOP_fi_f): New macro.
12960         (ldexp_test_data): New variable.
12961         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
12962         (scalbn_test_data): New variable.
12963         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
12965         * math/libm-test.inc (struct test_c_f_data): New type.
12966         (RUN_TEST_LOOP_c_f): New macro.
12967         (cabs_test_data): New variable.
12968         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
12969         (carg_test_data): New variable.
12970         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
12971         (cimag_test_data): New variable.
12972         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
12973         (creal_test_data): New variable.
12974         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
12976         * math/libm-test.inc (struct test_if_f_data): New type.
12977         (RUN_TEST_LOOP_if_f): New macro.
12978         (jn_test_data): New variable.
12979         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
12980         (yn_test_data): New variable.
12981         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
12983         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
12985 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12987         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
12988         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
12990 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12992         * benchtests/Makefile (CPPFLAGS-nonlib): Add
12993         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
12994         (bench-deps): Add bench-timing.h.
12995         * benchtests-bench-skeleton.c: Include bench-timing.h.
12996         (main): Use TIMING_* macros instead of clock_gettime.
12997         * benchtests/bench-timing.h: New file.
12999         [BZ #14582]
13000         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13001         Renamed from _LIB_VERSION.
13002         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13004 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
13006         * math/libm-test.inc (struct test_fff_f_data): New type.
13007         (RUN_TEST_LOOP_fff_f): New macro.
13008         (fma_test_data): New variable.
13009         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13010         (fma_towardzero_test_data): New variable.
13011         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13012         (fma_downward_test_data): New variable.
13013         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13014         (fma_upward_test_data): New variable.
13015         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13017         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13018         (struct test_c_c_data): New type.
13019         (RUN_TEST_LOOP_c_c): New macro.
13020         (cacos_test_data): New variable.
13021         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13022         (cacosh_test_data): New variable.
13023         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13024         (casin_test_data): New variable.
13025         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13026         (casinh_test_data): New variable.
13027         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13028         (catan_test_data): New variable.
13029         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13030         (catanh_test_data): New variable.
13031         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13032         (ccos_test_data): New variable.
13033         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13034         (ccosh_test_data): New variable.
13035         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13036         (cexp_test_data): New variable.
13037         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13038         (clog_test_data): New variable.
13039         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13040         (clog10_test_data): New variable.
13041         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13042         (conj_test_data): New variable.
13043         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13044         (cproj_test_data): New variable.
13045         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13046         (csin_test_data): New variable.
13047         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13048         (csinh_test_data): New variable.
13049         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13050         (csqrt_test_data): New variable.
13051         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13052         (ctan_test_data): New variable.
13053         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13054         (ctan_tonearest_test_data): New variable.
13055         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13056         (ctan_towardzero_test_data): New variable.
13057         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13058         (ctan_downward_test_data): New variable.
13059         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13060         (ctan_upward_test_data): New variable.
13061         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13062         (ctanh_test_data): New variable.
13063         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13064         (ctanh_tonearest_test_data): New variable.
13065         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13066         (ctanh_towardzero_test_data): New variable.
13067         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13068         (ctanh_downward_test_data): New variable.
13069         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13070         (ctanh_upward_test_data): New variable.
13071         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13072         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13073         of BUILD_COMPLEX.
13075         * math/libm-test.inc (struct test_ff_f_data): New type.
13076         (struct test_ff_f_data_nexttoward): Likewise.
13077         (RUN_TEST_LOOP_2_f): New macro.
13078         (RUN_TEST_LOOP_ff_f): Likewise.
13079         (atan2_test_data): New variable.
13080         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13081         (copysign_test_data): New variable.
13082         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13083         (fdim_test_data): New variable.
13084         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13085         (fmax_test_data): New variable.
13086         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13087         (fmin_test_data): New variable.
13088         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13089         (fmod_test_data): New variable.
13090         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13091         (hypot_test_data): New variable.
13092         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13093         (nextafter_test_data): New variable.
13094         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13095         (nexttoward_test_data): New variable.
13096         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13097         (pow_test_data): New variable.
13098         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13099         (pow_tonearest_test_data): New variable.
13100         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13101         (pow_towardzero_test_data): New variable.
13102         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13103         (pow_downward_test_data): New variable.
13104         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13105         (pow_upward_test_data): New variable.
13106         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13107         (remainder_test_data): New variable.
13108         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13109         (scalb_test_data): New variable.
13110         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13111         * sysdeps/i386/fpu/libm-test-ulps: Update.
13113 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
13115         * math/libm-test.inc (fma_test): Use max_value instead of local
13116         variable fltmax.
13117         (nextafter_test): Likewise.
13119         * math/libm-test.inc (acos_towardzero_test_data): New variable.
13120         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13121         (acos_downward_test_data): New variable.
13122         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13123         (acos_upward_test_data): New variable.
13124         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13125         (acosh_test_data): New variable.
13126         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13127         (asin_test_data): New variable.
13128         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13129         (asin_tonearest_test_data): New variable.
13130         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13131         (asin_towardzero_test_data): New variable.
13132         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13133         (asin_downward_test_data): New variable.
13134         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13135         (asin_upward_test_data): New variable.
13136         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13137         (asinh_test_data): New variable.
13138         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13139         (atan_test_data): New variable.
13140         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13141         (atanh_test_data): New variable.
13142         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13143         (cbrt_test_data): New variable.
13144         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13145         (ceil_test_data): New variable.
13146         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13147         (cos_test_data): New variable.
13148         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13149         (cos_tonearest_test_data): New variable.
13150         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13151         (cos_towardzero_test_data): New variable.
13152         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13153         (cos_downward_test_data): New variable.
13154         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13155         (cos_upward_test_data): New variable.
13156         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13157         (cosh_test_data): New variable.
13158         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13159         (cosh_tonearest_test_data): New variable.
13160         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13161         (cosh_towardzero_test_data): New variable.
13162         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13163         (cosh_downward_test_data): New variable.
13164         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13165         (cosh_upward_test_data): New variable.
13166         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13167         (erf_test_data): New variable.
13168         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13169         (erfc_test_data): New variable.
13170         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13171         (exp_test_data): New variable.
13172         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13173         (exp_tonearest_test_data): New variable.
13174         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13175         (exp_towardzero_test_data): New variable.
13176         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13177         (exp_downward_test_data): New variable.
13178         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13179         (exp_upward_test_data): New variable.
13180         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13181         (exp10_test_data): New variable.
13182         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13183         (exp2_test_data): New variable.
13184         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13185         (expm1_test_data): New variable.
13186         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13187         (fabs_test_data): New variable.
13188         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13189         (floor_test_data): New variable.
13190         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13191         (j0_test_data): New variable.
13192         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13193         (j1_test_data): New variable.
13194         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13195         (log_test_data): New variable.
13196         (log_test): Run tests with RUN_TEST_LOOP_f_f.
13197         (log10_test_data): New variable.
13198         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13199         (log1p_test_data): New variable.
13200         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13201         (log2_test_data): New variable.
13202         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13203         (logb_test_data): New variable.
13204         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13205         (logb_downward_test_data): New variable.
13206         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13207         (nearbyint_test_data): New variable.
13208         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13209         (rint_test_data): New variable.
13210         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13211         (rint_tonearest_test_data): New variable.
13212         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13213         (rint_towardzero_test_data): New variable.
13214         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13215         (rint_downward_test_data): New variable.
13216         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13217         (rint_upward_test_data): New variable.
13218         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13219         (round_test_data): New variable.
13220         (round_test): Run tests with RUN_TEST_LOOP_f_f.
13221         (sin_test_data): New variable.
13222         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13223         (sin_tonearest_test_data): New variable.
13224         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13225         (sin_towardzero_test_data): New variable.
13226         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13227         (sin_downward_test_data): New variable.
13228         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13229         (sin_upward_test_data): New variable.
13230         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13231         (sinh_test_data): New variable.
13232         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13233         (sinh_tonearest_test_data): New variable.
13234         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13235         (sinh_towardzero_test_data): New variable.
13236         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13237         (sinh_downward_test_data): New variable.
13238         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13239         (sinh_upward_test_data): New variable.
13240         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13241         (sqrt_test_data): New variable.
13242         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13243         (tan_test_data): New variable.
13244         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13245         (tan_tonearest_test_data): New variable.
13246         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13247         (tan_towardzero_test_data): New variable.
13248         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13249         (tan_downward_test_data): New variable.
13250         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13251         (tan_upward_test_data): New variable.
13252         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13253         (tanh_test_data): New variable.
13254         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13255         (tgamma_test_data): New variable.
13256         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13257         (trunc_test_data): New variable.
13258         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13259         (y0_test_data): New variable.
13260         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13261         (y1_test_data): New variable.
13262         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13263         (significand_test_data): New variable.
13264         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13266 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
13268         [BZ #12387]
13269         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13271 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13273         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13275 2013-05-10  Andreas Jaeger  <aj@suse.de>
13277         [BZ #15448]
13278         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13279         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13281 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13283         * math/gen-libm-test.pl (adjust_arg): New function.
13284         (special_functions): Handle generating output in both functions
13285         and arrays.
13286         (parse_args): Likewise.
13287         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
13288         $in_func argument to parse_args.
13289         * math/libm-test.inc (struct test_f_f_data): New type.
13290         (IF_ROUND_INIT_): New macro.
13291         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13292         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13293         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13294         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13295         (ROUND_RESTORE_): Likewise.
13296         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13297         (ROUND_RESTORE_FE_TONEAREST): Likewise.
13298         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13299         (ROUND_RESTORE_FE_UPWARD): Likewise.
13300         (RUN_TEST_LOOP_f_f): New macro.
13301         (acos_test_data): New variable.
13302         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13303         (acos_tonearest_test_data): New variable.
13304         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13306 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13308         * benchtests/bench-skeleton.c (startup): Fix coding style.
13310 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13312         [BZ #6809]
13313         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13314         negative infinity argument.
13315         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13316         negative infinity argument.
13317         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13318         negative infinity argument.
13319         * math/libm-test.inc (tgamma_test): Expect errno to be set for
13320         domain errors.
13322 2013-05-10  Florian Weimer  <fweimer@redhat.com>
13324         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13325         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13326         * iconv/iconv_prog.c (main): Likewise.
13327         * locale/programs/charmap-dir.c (charmap_readdir)
13328         (fopen_uncompressed): Likewise.
13329         * locale/programs/locfile.c (siblings_uncached)
13330         (write_locale_data): Use lstat64 instead of lstat.
13331         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13332         stat.
13334 2013-05-10  Andreas Jaeger  <aj@suse.de>
13336         [BZ #15395]
13337         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13338         localization.
13339         Include <locale.h>.
13341 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
13343         * elf/dl-close.c (_dl_close_worker): Add comments.
13345 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
13347         [BZ #15359]
13348         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13349         high part of pi/2.
13350         (__ieee754_rem_pio2l): Update comments.
13352         [BZ #15429]
13353         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13354         high part of pi/2.
13355         (__ieee754_rem_pio2l): Update comments.
13357         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13358         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13360         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13361         M_PI_4l.
13363         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13364         (M_PI_34_LOG10El): Likewise.
13365         (M_PI2_LOG10El): Likewise.
13366         (M_PI4_LOG10El): Likewise.
13367         (M_PI_LOG10El): Likewise.
13369 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13373 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
13375         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13376         (MINUS_ZERO_INIT): Likewise.
13377         (PLUS_INFTY_INIT): Likewise.
13378         (MINUS_INFTY_INIT): Likewise.
13379         (QNAN_VALUE_INIT): Likewise.
13380         (MAX_VALUE_INIT): Likewise.
13381         (MIN_VALUE_INIT): Likewise.
13382         (MIN_SUBNORM_VALUE_INIT): Likewise.
13383         (plus_zero): Initialize with PLUS_ZERO_INIT.
13384         (minus_zero): Initialize with MINUS_ZERO_INIT.
13385         (plus_infty): Initialize with PLUS_INFTY_INIT.
13386         (minus_infty): Initialize with MINUS_INFTY_INIT.
13387         (qnan_value): Initialize with QNAN_VALUE_INIT.
13388         (max_value): Initialize with MAX_VALUE_INIT.
13389         (min_value): Initialize with MIN_VALUE_INIT.
13390         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13392         * math/libm-test.inc (RUN_TEST_if_f): New macro.
13393         (jn_test): Use TEST_if_f instead of TEST_ff_f.
13394         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13395         (yn_test): Use TEST_if_f instead of TEST_ff_f.
13397         * math/libm-test.inc (RUN_TEST_f_f): New macro.
13398         (RUN_TEST_2_f): Likewise.
13399         (RUN_TEST_ff_f): Likewise.
13400         (RUN_TEST_fi_f): Likewise.
13401         (RUN_TEST_fl_f): Likewise.
13402         (RUN_TEST_fff_f): Likewise.
13403         (RUN_TEST_c_f): Likewise.
13404         (RUN_TEST_f_f1): Likewise.
13405         (RUN_TEST_fF_f1): Likewise.
13406         (RUN_TEST_fI_f1): Likewise.
13407         (RUN_TEST_ffI_f1): Likewise.
13408         (RUN_TEST_c_c): Likewise.
13409         (RUN_TEST_cc_c): Likewise.
13410         (RUN_TEST_f_i): Likewise.
13411         (RUN_TEST_f_i_tg): Likewise.
13412         (RUN_TEST_ff_i_tg): Likewise.
13413         (RUN_TEST_f_b): Likewise.
13414         (RUN_TEST_f_b_tg): Likewise.
13415         (RUN_TEST_f_l): Likewise.
13416         (RUN_TEST_f_L): Likewise.
13417         (RUN_TEST_sincos): Likewise.
13418         * math/gen-libm-test.pl (new_test): Take new argument to indicate
13419         whether to show exceptions.  Do not include ");\n" in return
13420         value.
13421         (special_functions): Output call to RUN_TEST_sincos instead of
13422         check_float calls.  Update calls to new_test.
13423         (parse_args): Output call to single RUN_TEST_* macro instead of
13424         check_* calls and other assignments.  Update calls to new_test.
13426         [BZ #2546]
13427         [BZ #2560]
13428         [BZ #5159]
13429         [BZ #15426]
13430         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13431         input to result for tgamma overflow.
13432         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13433         (gamma_coeff): New variable.
13434         (NCOEFF): New macro.
13435         (gamma_positive): New function.
13436         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13437         underflow here.  Use gamma_positive instead of exp (lgamma) for
13438         other arguments.
13439         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13440         (gamma_coeff): New variable.
13441         (NCOEFF): New macro.
13442         (gammaf_positive): New function.
13443         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13444         underflow here.  Use gamma_positive instead of exp (lgamma) for
13445         other arguments.
13446         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13447         (gamma_coeff): New variable.
13448         (NCOEFF): New macro.
13449         (gammal_positive): New function.
13450         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13451         underflow here.  Use gamma_positive instead of exp (lgamma) for
13452         other arguments.
13453         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13454         (gamma_coeff): New variable.
13455         (NCOEFF): New macro.
13456         (gammal_positive): New function.
13457         (__ieee754_gammal_r): Handle positive infinity, overflow and
13458         underflow here.  Handle NaN the same as positive infinity.  Remove
13459         check x < 0xffffffff for negative integers.  Use gamma_positive
13460         instead of exp (lgamma) for other arguments.
13461         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13462         (gamma_coeff): New variable.
13463         (NCOEFF): New macro.
13464         (gammal_positive): New function.
13465         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13466         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13467         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13468         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13469         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13470         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13471         * sysdeps/generic/math_private.h (__gamma_productf): New
13472         prototype.
13473         (__gamma_product): Likewise.
13474         (__gamma_productl): Likewise.
13475         * math/Makefile (libm-calls): Add gamma_product.
13476         * math/libm-test.inc (tgamma_test): Add more tests.
13477         * sysdeps/i386/fpu/libm-test-ulps: Update.
13478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13480 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
13482         * benchtests/bench-skeleton.c (main): Preheat CPU.
13484 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
13486         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13488 2013-05-07  Roland McGrath  <roland@hack.frob.com>
13490         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13491         and _dl_skip_args_internal.
13493 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
13495         * manual/message.texi (Message Translation): Talk about users.
13496         Message to key mapping impacts design.
13498 2013-05-06  Roland McGrath  <roland@hack.frob.com>
13500         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13502         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13504         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13505         * sysdeps/wordsize-64/glob64.c: ... here.
13507         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13508         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13509         New macros.
13511         * debug/getlogin_r_chk.c: Moved to ...
13512         * login/getlogin_r_chk.c: ... here.
13513         * debug/Makefile (routines): Move getlogin_r_chk to ...
13514         * login/Makefile (routines): ... here.
13515         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13516         * login/Versions (libc: GLIBC_2.4): ... here.
13518         * io/poll.c (__poll): Renamed from poll.
13519         Add libc_hidden_def.
13520         (poll): Define as weak alias.
13522         * debug/ptsname_r_chk.c: Moved to ...
13523         * login/ptsname_r_chk.c: ... here.
13524         * debug/Makefile (routines): Move ptsname_r_chk to ...
13525         * login/Makefile (routines): ... here.
13526         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13527         * login/Versions (libc: GLIBC_2.4): ... here.
13529         * posix/getlogin.c: Moved to ...
13530         * login/getlogin.c: ... here.
13531         * posix/getlogin_r.c: Moved to ...
13532         * login/getlogin_r.c: ... here.
13533         * posix/getlogin_r.c: Moved to ...
13534         * login/getlogin_r.c: ... here.
13535         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13536         * login/Makefile (routines): ... here.
13537         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13538         * login/Versions (libc: GLIBC_2.0): ... here.
13540         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13541         (setrlimit): Define as weak alias.
13543         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13544         Call __ names for open, ftruncate, and close.
13545         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13546         (truncate): Define as weak alias.
13548 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
13550         * math/gen-libm-test.pl (parse_args): Initialize x before each
13551         test of frexp, modf and remquo.
13553         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13554         test signgam value.
13556 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13558         [BZ #15418]
13559         [BZ #15419]
13560         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13561         internal tests.
13562         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13564 2013-05-06  Roland McGrath  <roland@hack.frob.com>
13566         * elf/dl-writev.h: New file.
13567         * elf/dl-misc.c: Include it.
13568         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13569         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13571 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
13573         * math/libm-test.inc (noXFails): Remove variable.
13574         (noXPasses): Likewise.
13575         (BUILD_COMPLEX_INT): Remove macro.
13576         (print_screen): Remove xfail argument.
13577         (print_screen_max_error): Likewise.
13578         (update_stats): Likewise.
13579         (print_max_error): Likewise.  Update calls to other affected
13580         functions.
13581         (print_complex_max_error): Likewise.
13582         (test_single_exception): Update calls to print_screen.
13583         (test_single_errno): Likewise.
13584         (check_float_internal): Remove xfail argument.  Update calls to
13585         other affected functions.
13586         (check_float): Likewise.
13587         (check_complex): Likewise.
13588         (check_int): Likewise.
13589         (check_long): Likewise.
13590         (check_bool): Likewise.
13591         (check_longlong): Likewise.
13592         (main): Don't print noXFails and noXPasses.
13593         * math/gen-libm-test.pl (top level): Don't mention expected
13594         failure handling in comment.
13595         (new_test): Don't handle expected failures.
13596         (parse_args): Don't mention expected failure handling in comment.
13597         (generate_testfile): Don't handle expected failures.
13598         (parse_ulps): Likewise.
13599         (print_ulps_file): Likewise.
13600         (get_failure): Remove function.
13601         (output_test): Don't handle expected failures.
13602         * make/README.libm-test: Don't mention expected failure handling.
13604         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
13605         (minus_zero): Likewise.
13606         (plus_infty): Likewise.
13607         (minus_infty): Likewise.
13608         (qnan_value): Likewise.
13609         (max_value): Likewise.
13610         (min_value): Likewise.
13611         (min_subnorm_value): Likewise.
13612         (initialize): Do not initialize those variables dynamically.
13614 2013-05-03  Roland McGrath  <roland@hack.frob.com>
13616         * io/open.c (__open_2): Moved to ...
13617         * io/open_2.c: ... this new file.
13618         * io/open64.c (__open64_2): Moved to ...
13619         * io/open64_2.c: ... this new file.
13620         * io/openat.c (__openat_2): Moved to ...
13621         * io/openat_2.c: ... this new file.
13622         * io/openat64.c (__openat64_2): Moved to ...
13623         * io/openat64_2.c: ... this new file.
13624         * io/Makefile (routines): Add them.
13625         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13626         * sysdeps/unix/sysv/linux/open_2.c: File removed.
13627         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13628         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13629         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13630         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13631         (__openat64): Add hidden_ver.
13632         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13633         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13635         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13636         Separately conditionalize setting of GLRO(dl_sysinfo) so
13637         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13638         as well, but the actual setting is only under [NEED_DL_SYSINFO].
13640 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13642         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13643         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13644         definition.
13645         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13646         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13647         (_libc_vdso_platform_setup): Add __vdso_time initialization.
13648         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13649         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13651 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
13653         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13654         test signgam value.
13656         * math/libm-test.inc (hypot_test): Do not use
13657         IGNORE_ZERO_INF_SIGN.
13659 2013-05-03  Andreas Jaeger  <aj@suse.de>
13661         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13662         Linux 3.9.
13663         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13664         (PF_MAX): Adjust for VSOCK change.
13666 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13670 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
13672         [BZ #15264]
13673         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13674         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13675         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13677 2013-05-02  David S. Miller  <davem@davemloft.net>
13679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13681 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
13683         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13685 2013-05-01  Roland McGrath  <roland@hack.frob.com>
13687         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13689 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
13691         [BZ #14952]
13692         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13693         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13694         Use __attribute__ ((__gnu_inline__)).
13695         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13696         Don't use __attribute__ ((__gnu_inline__)).
13698 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
13700         [BZ #15423]
13701         * math/s_catan.c (__catan): Handle small real or imaginary part of
13702         input specially to avoid spurious underflow.
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  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13717 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
13719         [BZ #15416]
13720         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13721         accurately for denominator in atan2.
13722         * math/s_catanf.c (__catanf): Likewise.
13723         * math/s_catanh.c (__catanh): Likewise.
13724         * math/s_catanhf.c (__catanhf): Likewise.
13725         * math/s_catanhl.c (__catanhl): Likewise.
13726         * math/s_catanl.c (__catanl): Likewise.
13727         * math/libm-test.inc (catan_test): Add more tests.
13728         (catanh_test): Likewise.
13729         * sysdeps/i386/fpu/libm-test-ulps: Update.
13730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13732 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13734         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13736         * benchtests/Makefile (bench): Remove slow benchmarks.
13737         * benchtests/atan-inputs: Add slow benchmark inputs.
13738         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13739         (BENCH_FUNC): Accept variant offset.
13740         (VARIANT): Define.
13741         * benchtests/bench-skeleton.c (main): Run benchmark for each
13742         variant.
13743         * benchtests/cos-inputs: Add slow benchmark inputs.
13744         * benchtests/exp-inputs: Likewise.
13745         * benchtests/pow-inputs: Likewise.
13746         * benchtests/sin-inputs: Likewise.
13747         * benchtests/slowatan-inputs: Remove.
13748         * benchtests/slowatan.c: Remove.
13749         * benchtests/slowcos-inputs: Remove.
13750         * benchtests/slowcos.c: Remove.
13751         * benchtests/slowexp-inputs: Remove.
13752         * benchtests/slowexp.c: Remove.
13753         * benchtests/slowpow-inputs: Remove.
13754         * benchtests/slowpow.c: Remove.
13755         * benchtests/slowsin-inputs: Remove.
13756         * benchtests/slowsin.c: Remove.
13757         * benchtests/slowtan-inputs: Remove.
13758         * benchtests/slowtan.c: Remove.
13759         * benchtests/tan-inputs: Add slow benchmark inputs.
13760         * scripts/bench.pl: Parse comments and directives.
13762         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
13763         in CPPFLAGS.
13764         ($(objpfx)bench-%.c): Remove *-ITER.
13765         * benchtests/bench-modf.c: Remove definition of ITER.
13766         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13767         (main): Loop for DURATION seconds instead of fixed number of
13768         iterations.
13769         * scripts/bench.pl: Don't expect iterations in parameters.
13771 2013-04-29  Roland McGrath  <roland@hack.frob.com>
13773         * io/fchdir.c (__fchdir): Renamed from fchdir.
13774         (fchdir): Define as weak alias.
13776 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13778         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13779         (ERRNO_EDOM): Likewise.
13780         (ERRNO_ERANGE): Likewise.
13781         (noErrnoTests): New variable.
13782         (init_max_error): Set errno to 0.
13783         (test_single_errno): New function.
13784         (test_errno): Likewise.
13785         (check_float_internal): Call test_errno.  Set errno to 0.
13786         (check_complex): Refer to errno tests in comment.
13787         (check_int): Call test_errno.  Set errno to 0.
13788         (check_long): Likewise.
13789         (check_bool): Likewise.
13790         (check_longlong): Likewise.
13791         (cos_test): Use ERRNO_* flags for errno tests instead of
13792         check_int.
13793         (expm1_test): Likewise.
13794         (fmod_test): Likewise.
13795         (ilogb_test): Likewise.
13796         (lgamma_test): Likewise.
13797         (pow_test): Likewise.
13798         (remainder_test): Likewise.
13799         (sin_test): Likewise.
13800         (tan_test): Likewise.
13801         (yn_test): Likewise.
13802         (initialize): Set errno to 0.
13803         (main): Print number of errno tests.
13804         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13806 2013-04-29  Andreas Jaeger  <aj@suse.de>
13808         [BZ #15084]
13809         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13810         and RES_USEVC.
13812         [BZ #15085]
13813         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13814         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13815         unimplemented.
13817         [BZ #15380]
13818         * stdlib/random.c (__initstate): Return NULL if
13819         __initstate fails.
13821         [BZ #15086]
13822         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13823         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13824         RES_SNGLKUPREOP.
13826 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13830 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13832         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13833         of individual tests.
13834         (casin_test): Likewise.
13835         (casinh_test): Likewise.
13837 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
13839         [BZ #15409]
13840         * math/s_catan.c (__catan): Handle arguments with large real or
13841         imaginary part separately without squaring.
13842         * math/s_catanf.c (__catanf): Likewise.
13843         * math/s_catanh.c (__catanh): Likewise.
13844         * math/s_catanhf.c (__catanhf): Likewise.
13845         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13846         and redefine.
13847         (__catanhl): Handle arguments with large real or imaginary part
13848         separately without squaring.
13849         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13850         and redefine.
13851         (__catanl): Handle arguments with large real or imaginary part
13852         separately without squaring.
13853         * math/libm-test.inc (catan_test): Add more tests.
13854         (catanh_test): Likewise.
13855         * sysdeps/i386/fpu/libm-test-ulps: Update.
13856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13858 2013-04-27  Andreas Jaeger  <aj@suse.de>
13860         [BZ #15007]
13861         * stdlib/stdlib.h: Update guards for qecvt.
13862         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13863         <stdlib.h>.
13865 2013-04-27  Allan McRae  <allan@archlinux.org>
13867         * sysdeps/i386/fpu/libm-test-ulps: Update.
13869 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
13871         [BZ #15406]
13872         * math/s_catan.c: Include <float.h>.
13873         (__catan): Ensure underflow exception occurs for underflowed
13874         result.
13875         * math/s_catanf.c: Include <float.h>.
13876         (__catanf): Ensure underflow exception occurs for underflowed
13877         result.
13878         * math/s_catanh.c: Include <float.h>.
13879         (__catanh): Ensure underflow exception occurs for underflowed
13880         result.
13881         * math/s_catanhf.c: Include <float.h>.
13882         (__catanhf): Ensure underflow exception occurs for underflowed
13883         result.
13884         * math/s_catanhl.c: Include <float.h>.
13885         (__catanhl): Ensure underflow exception occurs for underflowed
13886         result.
13887         * math/s_catanl.c: Include <float.h>.
13888         (__catanl): Ensure underflow exception occurs for underflowed
13889         result.
13890         * math/libm-test.inc (catan_test): Add more tests.
13891         (catanh_test): Likewise.
13893         [BZ #15405]
13894         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13895         underflowed result.
13896         * math/s_ccoshf.c (__ccoshf): Likewise.
13897         * math/s_ccoshl.c (__ccoshl): Likewise.
13898         * math/s_csin.c (__csin): Likewise.
13899         * math/s_csinf.c (__csinf): Likewise.
13900         * math/s_csinh.c (__csinh): Likewise.
13901         * math/s_csinhf.c (__csinhf): Likewise.
13902         * math/s_csinhl.c (__csinhl): Likewise.
13903         * math/s_csinl.c (__csinl): Likewise.
13904         * math/libm-test.inc (ccos_test): Add more tests.
13905         (ccosh_test): Likewise.
13906         (csin_test): Likewise.
13907         (csinh_test): Likewise.
13909 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13911         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13912         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13913         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13914         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13915         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13916         powerpc/power5+/fpu folders.
13917         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13920 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13924 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
13926         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
13927         additions to variable.
13928         [$(config-machine) = x86_64] (modules-names): Likewise.
13929         ($(objpfx)tst-audit3): Remove dependency.
13930         ($(objpfx)tst-audit3.out): Likewise.
13931         ($(objpfx)tst-audit4): Likewise.
13932         ($(objpfx)tst-audit4.out): Likewise.
13933         ($(objpfx)tst-audit5): Likewise.
13934         ($(objpfx)tst-audit5.out): Likewise.
13935         ($(objpfx)tst-audit6): Likewise.
13936         ($(objpfx)tst-audit6.out): Likewise.
13937         ($(objpfx)tst-audit7): Likewise.
13938         ($(objpfx)tst-audit7.out): Likewise.
13939         (tst-audit3-ENV): Remove variable.
13940         (tst-audit4-ENV): Likewise.
13941         (tst-audit5-ENV): Likewise.
13942         (tst-audit6-ENV): Likewise.
13943         (tst-audit7-ENV): Likewise.
13944         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
13945         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
13946         addition to variable.
13947         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
13948         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
13949         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
13950         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
13951         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
13952         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
13953         tst-audit3, tst-audit4 and tst-audit5.
13954         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
13955         tst-audit6 and tst-audit7.
13956         [$(subdir) = elf] (modules-names): Add audit modules for those
13957         tests.
13958         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
13959         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
13960         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
13961         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
13962         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
13963         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
13964         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
13965         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
13966         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
13967         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
13968         [$(subdir) = elf] (tst-audit3-ENV): New variable.
13969         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
13970         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
13971         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
13972         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
13973         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
13974         Likewise.
13975         [$(subdir) = elf && $(config-cflags-avx) = yes]
13976         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
13977         [$(subdir) = elf && $(config-cflags-avx) = yes]
13978         (CFLAGS-tst-auditmod4a.c): Likewise.
13979         [$(subdir) = elf && $(config-cflags-avx) = yes]
13980         (CFLAGS-tst-auditmod4b.c): Likewise.
13981         [$(subdir) = elf && $(config-cflags-avx) = yes]
13982         (CFLAGS-tst-auditmod6b.c): Likewise.
13983         [$(subdir) = elf && $(config-cflags-avx) = yes]
13984         (CFLAGS-tst-auditmod6c.c): Likewise.
13985         [$(subdir) = elf && $(config-cflags-avx) = yes]
13986         (CFLAGS-tst-auditmod7b.c): Likewise.
13987         * elf/tst-audit3.c: Move to ...
13988         * sysdeps/x86_64/tst-audit3.c: ... here.
13989         * elf/tst-audit4.c: Move to ...
13990         * sysdeps/x86_64/tst-audit4.c: ... here.
13991         * elf/tst-audit5.c: Move to ...
13992         * sysdeps/x86_64/tst-audit5.c: ... here.
13993         * elf/tst-audit6.c: Move to ...
13994         * sysdeps/x86_64/tst-audit6.c: ... here.
13995         * elf/tst-audit7.c: Move to ...
13996         * sysdeps/x86_64/tst-audit7.c: ... here.
13997         * elf/tst-auditmod3a.c: Move to ...
13998         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
13999         * elf/tst-auditmod3b.c: Move to ...
14000         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14001         * elf/tst-auditmod4a.c: Move to ...
14002         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14003         * elf/tst-auditmod4b.c: Move to ...
14004         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14005         * elf/tst-auditmod5a.c: Move to ...
14006         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14007         * elf/tst-auditmod5b.c: Move to ...
14008         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14009         * elf/tst-auditmod6a.c: Move to ...
14010         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14011         * elf/tst-auditmod6b.c: Move to ...
14012         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14013         * elf/tst-auditmod6c.c: Move to ...
14014         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14015         * elf/tst-auditmod7a.c: Move to ...
14016         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14017         * elf/tst-auditmod7b.c: Move to ...
14018         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14020 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
14022         [BZ #15366]
14023         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14024         define unconditionally.
14025         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14026         define unconditionally.
14027         (INT8_C, INT16_C, etc.): Likewise.
14029 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
14031         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14032         __ehdr_start with hidden visibility.
14034         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14036 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
14038         * math/libm-test.inc (cos_test): Use accurate hex constants.
14039         (sincost_test): Likewise.
14041 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
14043         * math/libm-test.inc (catan_test): Add more tests.
14044         (catanh_test): Likewise.
14046         * math/s_catanf.c (__catanf): Use suffixed floating-point
14047         constants.
14048         * math/s_catanhf.c (__catanhf): Likewise.
14049         * math/s_catanhl.c (__catanhl): Likewise.
14050         * math/s_catanl.c (__catanl): Likewise.
14052         [BZ #15394]
14053         * math/s_catan.c (__catan): Calculate imaginary part of result
14054         with log1p not log unless computing log of number close to 0.
14055         * math/s_catanf.c (__catanf): Likewise.
14056         * math/s_catanl.c (__catanl): Likewise.
14057         * math/s_catanh.c (__catanh): Calculate real part of result with
14058         log1p not log unless computing log of number close to 0.
14059         * math/s_catanhf.c (__catanhf): Likewise.
14060         * math/s_catanhl.c (__catanhl): Likewise.
14061         * math/libm-test.inc (catan_test): Add more tests.
14062         (catanh_test): Likewise.
14063         * sysdeps/i386/fpu/libm-test-ulps: Update.
14064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14066 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14068         * benchtests/Makefile: Mention files in which fast and slow
14069         paths of math functions are implemented.
14071 2013-04-23  Roland McGrath  <roland@hack.frob.com>
14073         * sysdeps/posix/timespec_get.c: New file.
14075 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14077         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14078         POWER.
14079         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14080         for POWER.
14081         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14082         powerpc/power5/fpu folders.
14083         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14084         * benchtests/Makefile: Add modf testcase.
14085         * benchtests/bench-modf.c: New file: Benchmark test for mo
14087 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14089         [BZ #14888]
14090         * time/Makefile (tests): Add tst-strptime-whitespace.
14091         * time/strptime_l.c (get_number): Use ISSPACE.
14092         (__strptime_internal): Likewise.
14093         * time/tst-strptime-whitespace.c: New test case.
14095 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
14097         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14098         member.
14099         (_nss_files_init): Set it here.
14101 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
14103         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14104         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14105         unsigned.
14107 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
14109         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14111 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14113         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14114         size just once.
14116 2013-04-21  David S. Miller  <davem@davemloft.net>
14118         * po/ru.po: Update Russion translation from translation project.
14120 2013-04-17  Adam Conrad  <adconrad@0c3.net>
14122         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14123         and setfsgid.
14125 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
14127         * configure.in: Remove i386 configure warning. Remove i386 case.
14128         * configure: Regenerate.
14129         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14130         Add example to error message.
14131         * sysdeps/i386/configure: Regenerate.
14133 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14135         * benchtests/Makefile (bench): Add cos, tan, slowcos and
14136         slowtan.
14137         * benchtests/cos-inputs: New file.
14138         * benchtests/slowcos-inputs: New file.
14139         * benchtests/slowcos.c: New file.
14140         * benchtests/slowtan-inputs: New file.
14141         * benchtests/slowtan.c: New file.
14142         * benchtests/tan-inputs: New file.
14144 2013-04-16  Roland McGrath  <roland@hack.frob.com>
14146         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14147         considered kosher.
14149 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14151         * benchtests/Makefile: Include cppflags-iterator.mk to add
14152         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14154         * Makefile.in (bench-clean): New target.
14155         * benchtests/Makefile (bench-clean): Likewise.
14157 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
14159         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14161 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
14163         * stdio-common/tstdiomisc.c: Fix coding-style violation.
14165 2013-04-15  Andreas Schwab  <schwab@suse.de>
14167         * nscd/grpcache.c (cache_addgr): Properly check for short write.
14168         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14169         * nscd/pwdcache.c (cache_addpw): Likewise.
14170         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
14171         more than recsize.
14173 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14175         * benchtests/Makefile (bench): Write all output to
14176         bench-out.tmp together.
14178 2013-04-15  Andreas Schwab  <schwab@suse.de>
14180         * nscd/nscd.c (main): Don't fork again after closing files.
14182 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14184         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14186         * benchtests/Rules (bench-deps): Collect dependencies into a
14187         single variable.  Add Makefile to dependencies.
14188         ($(objpfx)bench-%.c): Depend on bench-deps.
14190 2013-04-12  Roland McGrath  <roland@hack.frob.com>
14191             Xavier Roche  <roche+kml2@exalead.com>
14193         [BZ #15361]
14194         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14195         just that it's a file descriptor.
14196         * manual/llio.texi (Synchronizing AIO Operations): Update description
14197         for EBADF error from aio_fsync.
14199 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14201         * Rules (bench): Move target definition...
14202         * benchtests/Makefile: ... here.
14204 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
14206         * math/libm-test.inc (cos_test): Fix PI/2 test.
14207         (sincos_test): Likewise.
14208         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14209         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14211 2013-04-11  Andreas Schwab  <schwab@suse.de>
14213         [BZ #13988]
14214         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14215         accept exponent character only when digits were seen.
14216         * stdio-common/Makefile (tests): Add bug26.
14217         * stdio-common/bug26.c: New file.
14219         [BZ #14293]
14220         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14221         non-freeable.
14223 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14225         * Makeconfig (rtld-prefix): Define built linker prefix.
14226         * Rules (run-bench): Use it.
14227         * math/Makefile (run-regen-ulps): Likewise.
14229         * Rules (bench): Remove eval.
14231 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14232             Roland McGrath  <roland@hack.frob.com>
14233             Ondrej Bilka  <neleai@seznam.cz>
14235         [BZ #15346]
14236         * time/getdate.c: Include ctype.h and alloca.h.
14237         (__getdate_r): Trim leading and trailing spaces of input.
14238         * time/tst-getdate.c (tests): Add tests with leading and
14239         trailing spaces.
14241 2013-04-08  Roland McGrath  <roland@hack.frob.com>
14243         [BZ #14280]
14244         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14245         when computing value.
14247 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14249         * math/README.libm-test (How can I generate "libm-test-ulps"?):
14250         Use testrun.sh to run libm tests.
14252         [BZ #15309]
14253         * elf/dl-open.c (dl_open_worker): memset all of seen array.
14255 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
14257         [BZ #15264]
14258         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14260 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14262         * Makefile.in (regen-ulps): New target.
14263         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14264         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14265         [ifneq (no,$(PERL)] (regen-ulps): New target.
14266         [ifeq (no,$(PERL)] (regen-ulps): New target.
14267         * math/libm-test.inc (ulps_file_name): Define.
14268         (output_dir): New variable.
14269         (options): Add "output-dir" option.
14270         (parse_opt): Handle 'o' case.
14271         (main): If output_dir is non-NULL use it as a prefix
14272         otherwise use "".
14273         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14275 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14277         [BZ #10060, #10062]
14278         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14279         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14280         fail configure if __sync_val_compare_and_swap is not inlined.
14281         * sysdeps/i386/configure: Regenerate.
14282         * configure.in: Build for i686 when configured for i386.
14283         * configure: Regenerate.
14284         * README: Remove i386 reference.
14286 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14288         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14289         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14291 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
14293         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14294         (lmsnanval): New variables.
14295         (F): Add conversion tests.
14296         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14297         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14299         * stdio-common/tstdiomisc.c (F): Properly collect individual
14300         tests' results.
14302         [BZ #14686, #15336]
14303         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14304         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14305         Instead, use input NaN values or generate a qNaN by arithmetic
14306         operation.  Also fix bugs to comply with the standard.
14307         * math/libm-test.inc (remainder_test): Add more tests.
14309         [BZ #15335, #15342]
14310         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14312         input NaN values or generate a qNaN by arithmetic operation.
14314         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14315         unreachable code.
14317         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14318         definitions.
14320 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
14322         [BZ #14478]
14323         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14324         underflowed result.
14325         * math/s_cexpf.c (__cexpf): Likewise.
14326         * math/s_cexpl.c (__cexpl): Likewise.
14327         * math/libm-test.inc (cexp_test): Add more tests.
14329 2013-04-03  Andreas Schwab  <schwab@suse.de>
14331         [BZ #15330]
14332         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14333         order arrays from heap if bigger than alloca cutoff.
14335 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
14337         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14338         (SNAN_TESTS_double): Refer to GCC PR56831.
14339         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14340         GCC PR56828.
14342 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14344         * Rules (bench): Move bench.out after the run is complete.
14346         * Rules (bench): Echo currently running benchmark.
14348         * benchtests/Makefile (bench): Add atan and slowatan.
14349         * benchtests/atan-inputs: New file.
14350         * benchtests/slowatan-inputs: New file.
14351         * benchtests/slowatan.c: New file.
14353         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14354         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14355         its value.
14357         [BZ #15305]
14358         * sysdeps/unix/sysv/linux/kernel-features.h
14359         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14360         __ASSUME_XFS_RESTRICTED_CHOWN.
14361         * sysdeps/unix/sysv/linux/pathconf.c
14362         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14363         Save and restore errno.
14365 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
14367         [BZ #15327]
14368         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14369         arguments using __kernel_casinh.
14370         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14371         arguments using __kernel_casinhf.
14372         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14373         arguments using __kernel_casinhl.
14374         * math/libm-test.inc (cacosh_test): Add more tests.
14375         * sysdeps/i386/fpu/libm-test-ulps: Update.
14376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14378 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14380         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14381         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14383         * bench/Makefile (bench): Add sin and slowsin.
14384         * benchtests/sin-inputs: New file.
14385         * benchtests/slowsin-inputs: New file.
14386         * benchtests/slowsin.c: New file.
14388         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14389         (bench): Add slowexp and slowpow.
14390         (exp-ITER): Increase iterations.
14391         (pow-ITER): Likewise.
14392         * benchtests/exp-inputs: Change input.
14393         * benchtests/pow-inputs: Likewise.
14394         * benchtests/slowexp-inputs: New file.
14395         * benchtests/slowexp.c: New file.
14396         * benchtests/slowpow-inputs: New file.
14397         * benchtests/slowpow.c: New file.
14399 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14401         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14402         instructions.
14403         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14404         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14405         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14406         * benchtests/Makefile: Add rint benchtest.
14407         * benchtests/rint-inputs: Input for rint benchtest.
14409 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
14411         * Versions.def (libm): Add GLIBC_2.18.
14412         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14413         hidden libm prototypes.
14414         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14415         * math/Makefile (libm-calls): Add s_issignaling.
14416         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14417         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
14418         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14419         declaration.
14420         * math/math.h [__USE_GNU] (issignaling): New macro.
14421         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14422         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14423         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14424         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14425         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14426         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14427         * manual/arith.texi (issignaling): New section.
14428         * manual/libm-err-tab.pl (@all_functions): Update comment.
14429         * math/gen-libm-test.pl (parse_args): Apply special handling for
14430         issignaling.
14431         * math/libm-test.inc (print_float, issignaling_test): New
14432         functions.
14433         (check_float_internal): Add issignaling checks.
14434         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14435         default definition.
14436         * sysdeps/powerpc/math-tests.h: New file.
14437         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14438         tests.
14439         * math/test-snan.c (TEST_FUNC): Likewise.
14441 2013-03-30  David S. Miller  <davem@davemloft.net>
14443         * po/de.po: Update from translation team.
14445 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
14447         [BZ #10357]
14448         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14449         imaginary part less than 1.0 and real part less than 0.5
14450         specially.
14451         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14452         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14453         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14454         (cacos_test): Add more tests.
14455         (casin_test): Likewise.
14456         (casinh_test): Likewise.
14457         * sysdeps/i386/fpu/libm-test-ulps: Update.
14458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14460 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14462         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14463         ONE with its value.
14465         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14466         (__pow_mp): Replace ONE and MONE with their values.
14467         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14468         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14469         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14470         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14471         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14472         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14474         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14476         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14477         (__pow_mp): Replace ZERO and MZERO with their values.
14478         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14479         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14480         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14481         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14482         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14483         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14484         (__sqr): Likewise.
14486         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14488         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14490 2013-03-28  Roland McGrath  <roland@hack.frob.com>
14492         * include/stdlib.h [!SHARED] (__call_tls_dtors):
14493         Declare with __attribute__ ((weak)).
14494         * stdlib/exit.c (__libc_atexit) [!SHARED]:
14495         Call __call_tls_dtors only if it's not NULL.
14497 2013-03-28  Roland McGrath  <roland@hack.frob.com>
14499         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14500         didn't do it already, then set _dl_phdr and _dl_phnum based on the
14501         magic __ehdr_start linker symbol if it's defined.
14502         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14503         them up here if it was already done.
14505         * elf/dl-support.c (_dl_phdr): Make pointer to const.
14506         (_dl_aux_init): Use const in cast when setting it.
14507         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14508         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14509         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14511         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14512         Declare them here.
14513         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14514         * csu/libc-tls.c: Nor here.
14515         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14517         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14518         (__libc_message): Never call vsyslog.
14520 2013-03-28  Alan Modra  <amodra@gmail.com>
14522         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14523         Define as empty.
14524         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14525         Likewise.
14527 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14529         [BZ #15214]
14530         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14531         underflow.
14532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14534 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14536         [BZ #15304]
14537         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14538         Don't add gid passed as argument.
14540         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14542 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
14544         [BZ #15307]
14545         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14546         imaginary part between 1.0 and 1.5 and real part less than 0.5
14547         specially.
14548         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14549         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14550         * math/libm-test.inc (cacos_test): Add more tests.
14551         (casin_test): Likewise.
14552         (casinh_test): Likewise.
14553         * sysdeps/i386/fpu/libm-test-ulps: Update.
14554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14556 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14558         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14559         constants.
14560         (norm): Likewise.
14561         (denorm): Likewise.
14562         (__dbl_mp): Likewise.
14563         (add_magnitudes): Likewise.
14564         (sub_magnitudes): Likewise.
14565         (__add): Likewise.
14566         (__sub): Likewise.
14567         (__mul): Likewise.
14568         (__sqr): Likewise.
14569         (__inv): Likewise.
14570         (__dvd): Likewise.
14572         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14573         commented code.
14574         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14575         (__dubcos): Likewise.
14576         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14577         (__ieee754_acos): Likewise.
14578         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14579         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14580         (__exp1): Likewise.
14581         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14583         (log1): Likewise.
14584         (my_log2): Likewise.
14585         (checkint): Likewise.
14586         * sysdeps/ieee754/dbl-64/e_remainder.c
14587         (__ieee754_remainder): Likewise.
14588         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14589         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14590         (bsloww): Likewise.
14591         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14593         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14594         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14595         MANTISSA_STORE_T to store computations on mantissa.  Use
14596         macros for rounding and division.
14597         (denorm): Likewise.
14598         (__dbl_mp): Likewise.
14599         (add_magnitudes): Likewise.
14600         (sub_magnitudes): Likewise.
14601         (__mul): Likewise.
14602         (__sqr): Likewise.
14603         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14604         powers of two in terms of TWOPOW macro.
14605         (mp_no): Make type of mantissa as MANTISSA_T.
14606         [!RADIXI]: Define RADIXI.
14607         [!TWO52]: Define TWO52.
14608         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14610 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14612         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14613         llroundl symbol when building for PPC32.
14615 2013-03-24  Mark H Weaver  <mhw@netris.org>
14617         * manual/arith.texi (Normalization Functions): Fix prototypes for
14618         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14620 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14622         [BZ #13889]
14623         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14624         high value to check if expl overflow.
14625         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14626         to check for underflow and overflow.
14627         * math/libm-test.inc: Add exp test.
14629 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
14631         [BZ #11120]
14632         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14633         with NOT_IN_libc.
14635 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14637         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14638         symbol.
14640 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
14642         * math/gen-libm-test.pl (parse_args, special_functions): Properly
14643         wrap blocks consisting of several statements.
14645         * sysdeps/generic/math-tests.h: New file.
14646         * sysdeps/i386/fpu/math-tests.h: Likewise.
14647         * math/test-snan.c: Include it.
14648         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14650 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14652         [BZ #15285]
14653         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14654         (__ieee754_j0l): Do not improve calculations using cos of twice
14655         input for inputs above LDBL_MAX / 2.0L.
14656         (__ieee754_y0l): Likewise.
14657         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14658         (__ieee754_j1l): Do not improve calculations using cos of twice
14659         input for inputs above LDBL_MAX / 2.0L.
14660         (__ieee754_y1l): Likewise.
14661         * math/libm-test.inc (j0_test): Add another test.
14662         (j1_test): Likewise.
14663         (y0_test): Likewise.
14664         (y1_test): Likewise.
14665         * sysdeps/i386/fpu/libm-test-ulps: Update.
14667 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14669         * Rules ($(objpfx)bench-%.c): Include code from a C source
14670         file.
14672 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14674         [BZ #15287]
14675         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14676         imaginary part 1.0 and real part less than 0.5 specially.
14677         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14678         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14679         * math/libm-test.inc (cacos_test): Add more tests.
14680         (casin_test): Likewise.
14681         (casinh_test): Likewise.
14682         * sysdeps/i386/fpu/libm-test-ulps: Update.
14683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14685 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14687         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14688         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14690 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
14692         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14693         * config.make.in (config-cflags-sse4): Remove variable.
14694         (config-cflags-avx): Likewise.
14695         (config-cflags-sse2avx): Likewise.
14696         (config-cflags-novzeroupper): Likewise.
14697         (config-asflags-i686): Likewise.
14698         (have-mfma4): Likewise.
14699         (have-as-vis3): Likewise.
14700         (MIG): Likewise.
14701         * configure.in (MIG): Do not AC_SUBST.
14702         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14703         (libc_cv_cc_sse4): Do not AC_SUBST.
14704         (libc_cv_cc_avx): Likewise.
14705         (libc_cv_cc_sse2avx): Likewise.
14706         (libc_cv_cc_novzeroupper): Likewise.
14707         (libc_cv_cc_fma4): Likewise.
14708         (libc_cv_as_i686): Likewise.
14709         (libc_cv_sparc_as_vis3): Likewise.
14710         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14711         LIBC_CONFIG_VAR.
14712         (config-asflags-i686): Likewise.
14713         (config-cflags-avx): Likewise.
14714         (config-cflags-sse2avx): Likewise.
14715         (have-mfma4): Likewise.
14716         (config-cflags-novzeroupper): Likewise.
14717         * sysdeps/mach/configure.in (MIG): Likewise.
14718         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14719         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14720         LIBC_CONFIG_VAR.
14721         (config-cflags-avx): Likewise.
14722         (config-cflags-sse2avx): Likewise.
14723         (have-mfma4): Likewise.
14724         (config-cflags-novzeroupper): Likewise.
14725         * configure: Regenerated.
14726         * sysdeps/i386/configure: Likewise.
14727         * sysdeps/mach/configure: Likewise.
14728         * sysdeps/sparc/configure: Likewise.
14729         * sysdeps/x86_64/configure: Likewise.
14731 2013-03-20  Roland McGrath  <roland@hack.frob.com>
14733         [BZ #14812]
14734         * locale/programs/localedef.c (options): Put N_ translation marker
14735         on argument names, not just descriptions.
14737 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14739         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14741 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
14743         [BZ #14176]
14744         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14746 2013-03-19  Roland McGrath  <roland@hack.frob.com>
14748         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14749         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14750         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14751         [!BEFORE_ABORT] (before_abort): New function.
14752         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14753         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14754         (writev_for_fatal): New function.
14755         (WRITEV_FOR_FATAL): New macro; call that.
14756         (backtrace_and_maps): New function.
14757         (BEFORE_ABORT): New macro; call that.
14758         (struct str_list): Type removed.
14759         (__libc_message, __libc_fatal): Functions removed.
14760         Include <sysdeps/posix/libc_fatal.c> instead.
14762 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
14764         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14765         constants.
14766         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14767         double constants.
14769 2013-03-19  Andreas Schwab  <schwab@suse.de>
14771         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14772         * sysdeps/gnu/configure: Regenerate.
14774         * configure.in: Substitute libc_cv_rtlddir.
14775         * configure: Regenerate.
14776         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14777         * Makeconfig (rtlddir, inst_rtlddir): New variables.
14778         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14779         * elf/Makefile (install-others, CFLAGS-interp.c)
14780         (ldso_install, common-ldd-rewrite): Likewise.
14781         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14782         $(inst_slibdir)/$(rtld-installed-name).
14783         * scripts/rellns-sh: Add -p option.
14784         * Makerules (make-shlib-link): Use rellns-sh to get relative name
14785         for source.
14787 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14789         * manual/nptl.texi: Renamed to ...
14790         * manual/threads.texi: ... this.
14791         * manual/Makefile (chapters): Update.
14793 2013-03-18  Roland McGrath  <roland@hack.frob.com>
14795         [BZ #14812]
14796         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14797         on argument names, not just descriptions.
14798         * malloc/memusagestat.c (options): Likewise.
14799         * nss/getent.c (options): Likewise.
14801 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
14803         [BZ #14812]
14804         * iconv/iconv_prog.c (options): Put N_ translation marker
14805         on argument names, not just descriptions.
14806         * iconv/iconvconfig.c (options): Likewise.
14808 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
14810         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14811         implementation which is faster on all x86_64 architectures.
14812         Tested on AMD, Intel Nehalem, SNB, IVB.
14813         * sysdeps/x86_64/strnlen.S: Likewise.
14815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14816         Remove all multiarch strlen and strnlen versions.
14817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14818         Remove strlen and strnlen related parts.
14820         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14821         Inline strlen part.
14822         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14824         * sysdeps/x86_64/multiarch/strlen.S: Remove.
14825         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14826         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14827         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14828         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14829         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14831 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
14833         * manual/memory.texi (Malloc Tunable Parameters):
14834         Sort parameters alphabetically. Add comments for missing entries.
14836 2013-03-17  David S. Miller  <davem@davemloft.net>
14838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14840 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
14842         [BZ #15283]
14843         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14844         for arguments at most half maximum finite value.
14845         * math/libm-test.inc (j0_test): Add more tests.
14846         (j1_test): Likewise.
14847         (y0_test): Likewise.
14848         (y1_test): Likewise.
14849         * sysdeps/i386/fpu/libm-test-ulps: Update.
14850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14852         [BZ #14155]
14853         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14854         1 / x and functions P and Q for arguments above 0x1p256L.
14855         (__ieee754_y0l): Likewise.
14856         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14857         (__ieee754_y1l): Likewise.
14858         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14859         (j1_test): Likewise.
14860         (y0_test): Likewise.
14861         (y1_test): Likewise.
14863 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
14865         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14866         variable.
14868 2013-03-15  Roland McGrath  <roland@hack.frob.com>
14870         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14871         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14872         zero since it's initialized to EXEC_PAGESIZE.
14874         * sysdeps/unix/sysv/linux/ldsodefs.h
14875         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14876         * sysdeps/generic/ldsodefs.h: ... here.
14878 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
14880         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14882         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14883         math/test-snan.c.
14884         * math/test-snan.c: Renamed from
14885         sysdeps/powerpc/fpu/test-powerpc-snan.c.
14886         * math/Makefile (tests): Add test-snan.
14887         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14888         test-powerpc-snan.
14890         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14891         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
14892         functions.
14893         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
14894         __builtin_nan family of functions.
14895         * math/libm-test.inc (initialize): Initialize qnan_value with
14896         __builtin_nan family of functions.
14897         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14898         Remove variables.
14899         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14900         Remove functions.
14901         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
14902         storage class.  Initialize qNaN_var and sNaN_var with
14903         __builtin_nan and __builtin_nans families of functions,
14904         respectively.
14906         * math/libm-test.inc (acosh_test): Also test with qNaN input.
14907         (sqrt_test): Remove duplicate test with qNaN input.
14908         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14909         (round_test, signbit_test, significand_test): Note missing +/-Inf
14910         as well as qNaN tests.
14912         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14913         qNaN_var.  Fix a few strings, too.
14914         * math/libm-test.inc (nan_value): Rename to qnan_value.
14915         * math/gen-libm-test.pl (%beautify): Adjust to that.
14916         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14917         * math/test-misc.c (main): Likewise.
14918         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14919         to __qnan_bytes, and __qnan_union, respectively.
14920         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
14921         Likewise.
14922         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
14923         and lqnanval, respectively.
14924         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
14925         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
14926         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
14927         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
14929         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
14930         * math/test-misc.c (main) [__x86_64__]: Enable test for long
14931         doubles.
14933         * math/test-misc.c (main): Fix copy'n'pastos.
14934         * misc/tst-efgcvt.c (special): Likewise.
14936         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
14937         Remove declarations.
14939 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14941         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
14942         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
14943         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
14944         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
14946 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14948         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
14949         macro to return vdso values correctly in IFUNC implementations.
14950         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14951         Optimization by using IFUNC.
14953 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14954             Richard Henderson  <rth@redhat.com>
14955             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14957         * Makefile.in (bench): New target.
14958         * NEWS: Mention the benchmark framework.
14959         * Rules (bench): Likewise.
14960         (binaries-bench): Generate binaries for functions to
14961         benchmark.
14962         * benchtests/Makefile: New makefile for benchmark tests.
14963         * benchtests/bench-skeleton.c: New skeleton file for benchmark
14964         programs.
14965         * benchtests/exp-inputs: New input file for EXP function.
14966         * benchtests/pow-inputs: New input file for POW function.
14967         * scripts/bench.pl: New script to generate source files for
14968         benchmark programs.
14970 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14972         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14973         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
14974         computations on mantissa.  Use macros for rounding and
14975         division.
14976         (denorm): Likewise.
14977         (__dbl_mp): Likewise.
14978         (add_magnitudes): Likewise.
14979         (sub_magnitudes): Likewise.
14980         (__mul): Likewise.
14981         (__sqr): Likewise.
14982         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14983         powers of two in terms of TWOPOW macro.
14984         (mp_no): Make type of mantissa as MANTISSA_T.
14985         [!RADIXI]: Define RADIXI.
14986         [!TWO52]: Define TWO52.
14987         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14989         * manual/nptl.texi (cindex): Modify threads to pthreads.
14991 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
14993         * sysdeps/x86_64/preconfigure: Regenerated.
14995 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
14997         [BZ #14155]
14998         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
14999         0x1p28 and above.
15000         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15001         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15002         0x1p28 and above.
15003         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15004         * math/libm-test.inc (j0_test): Do not allow one spurious
15005         underflow exception.
15006         (y1_test): Likewise.
15008 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15010         * manual/Makefile (chapters): Add nptl.
15011         * manual/debug.texi (Debugging Support): Add link to Threads
15012         chapter.
15013         * manual/nptl.texi: New file.
15015         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15017 2013-03-14  Petr Baudis  <pasky@ucw.cz>
15019         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15020         for non-NULL pointer before the memory validity test. Pointed
15021         out by Holger Brunck <holger.brunck@keymile.com>.
15023 2013-03-13  Andreas Schwab  <schwab@suse.de>
15025         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15026         instead of .os.
15028 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
15030         * timezone/zic.c: Update from tzcode 2013b.
15032 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
15034         * manual/install.texi (Configuring and compiling):
15035         Mention i686 and i586.
15036         * INSTALL: Regenerate.
15038 2013-03-12  Roland McGrath  <roland@hack.frob.com>
15040         * sysdeps/init_array/elf-init.c: New file.
15041         * csu/elf-init.c
15042         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15043         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15045         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15046         __gmon_start__ as global, but as static with a .preinit_array pointer.
15047         * sysdeps/init_array/gmon-start.c: New file.  Use that.
15048         * sysdeps/init_array/crti.S: New file, empty except for comments.
15049         * sysdeps/init_array/crtn.S: Likewise.
15051 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
15053         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15054         definining bcopy.
15055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15056         Remove Prefer_SSE_for_memop.
15057         * sysdeps/x86_64/multiarch/init-arch.h: Remove
15058         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15059         HAS_PREFER_SSE_FOR_MEMOP.
15060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15061         memset-x86-64.
15062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15063         Remove bzero, memset ifunc support.
15064         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15065         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15066         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15067         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15069 2013-03-11  Andreas Schwab  <schwab@suse.de>
15071         [BZ #15234]
15072         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15073         by SHLIB_COMPAT.
15074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15075         (GLIBC_2.16): Remove pthread_atfork.
15077 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15079         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15080         (ptestcases.h): Likewise.
15082 2013-03-08  Roland McGrath  <roland@hack.frob.com>
15084         * Makeconfig ($(common-objpfx)config.status): Depend on
15085         sysdeps/*/preconfigure{,.in} too.
15087 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
15089         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15090         (__free_hook): Use void * instead of __malloc_ptr_t.
15091         (__malloc_hook): Likewise.
15092         (__realloc_hook): Likewise.
15093         (__memalign_hook): Likewise.
15094         (__after_morecore_hook): Likewise.
15095         * malloc/arena.c (save_malloc_hook): Likewise.
15096         (save_free_hook): Likewise.
15097         * malloc/hooks.c (malloc_hook_ini): Likewise.
15098         (realloc_hook_ini): Likewise.
15099         (memalign_hook_ini): Likewise.
15100         * malloc/malloc.c (malloc_hook_ini): Likewise.
15101         (realloc_hook_ini): Likewise.
15102         (memalign_hook_ini): Likewise.
15103         (__free_hook): Likewise.
15104         (__malloc_hook): Likewise.
15105         (__realloc_hook): Likewise.
15106         (__memalign_hook): Likewise.
15107         (__libc_malloc): Likewise.
15108         (__libc_free): Likewise.
15109         (__libc_realloc): Likewise.
15110         (__libc_memalign): Likewise.
15111         (__libc_valloc): Likewise.
15112         (__libc_pvalloc): Likewise.
15113         (__libc_calloc): Likewise.
15114         (__posix_memalign): Likewise.
15115         * malloc/morecore.c (__sbrk): Likewise.
15116         (__default_morecore): Likewise.
15118         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15120         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15121         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15122         __malloc_ptrdiff_t.
15124         * malloc/malloc.h (__malloc_size_t): Remove macro.
15125         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15126         __malloc_size_t.
15127         (old_memalign_hook): Likewise.
15128         (old_realloc_hook): Likewise.
15129         (struct hdr): Likewise.
15130         (flood): Likewise.
15131         (mallochook): Likewise.
15132         (memalignhook): Likewise.
15133         (reallochook): Likewise.
15134         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15135         (tr_old_realloc_hook): Likewise.
15136         (tr_old_memalign_hook): Likewise.
15137         (tr_mallochook): Likewise.
15138         (tr_reallochook): Likewise.
15139         (tr_memalignhook): Likewise.
15141 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15144         default_ldbl_pack and using as default implementation.
15145         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15146         implementation.
15147         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15148         redundant definition.
15149         (ldbl_insert_mantissa): Likewise.
15150         (ldbl_canonicalize): Likewise.
15151         (ldbl_nearbyint): Likewise.
15152         (ldbl_pack): Rename to ldbl_pack_ppc.
15153         (ldbl_unpack): Rename to ldbl_unpack_ppc.
15154         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15155         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15157 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15160         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15161         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15162         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15164         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15165         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15166         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15168 2013-03-07  Andreas Jaeger  <aj@suse.de>
15170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15171         bits/mman-linux.h.
15173 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15175         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15176         Include mpa.h and declare __MPEXP.
15177         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15178         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15179         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15180         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15181         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15182         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15183         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15185         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15186         (__slowpow): Use long double EXPL and LOGL functions to
15187         compute POW.
15188         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15189         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15190         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15191         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15192         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15193         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15195         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15196         intermediate variable to calculate exponent.
15197         (__sqr): Likewise.
15198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15199         Likewise.
15200         (__sqr): Likewise.
15202         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15203         [!NO__SQR]: Define __sqr.
15204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15205         and NO__SQR.  Remove all code except __mul and __sqr.  Include
15206         sysdeps/ieee754/dbl-64/mpa.c.
15207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15209         [BZ #12723]
15210         * posix/Makefile (tests): Add tst-pathconf.
15211         * posix/tst-pathconf.c: New test case.
15212         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15213         _PC_PIPE_BUF.
15214         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15216 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
15218         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15220 2013-03-06  Andreas Jaeger  <aj@suse.de>
15222         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15223         definition via __MAP_ANONYMOUS.
15225         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15226         it's not part of Linux headers.
15228         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15229         (MAP_HUGE_MASK): Define.
15231         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15232         Define.
15233         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15234         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15235         Define.
15236         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15237         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15238         Define.
15239         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15240         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15241         Define.
15242         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15244         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15245         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15246         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15247         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15248         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15249         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15251         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15252         Handle f2fs.
15254         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15255         Handle f2fs and efivarfs.
15257         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15258         f2fs.
15260         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15261         (EFIVARFS_MAGIC): Add.
15262         (F2FS_LINK_MAX): Add.
15264 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15266         * stdio-common/vfprintf.c: Replace __builtin_expect with
15267         __glibc_unlikely.
15269 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
15271         [BZ #13550]
15272         * sysdeps/generic/bp-sym.h: Remove file.
15273         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15274         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15275         <bp-sym.h> and <bp-asm.h>.
15276         (__longjmp): Don't use BP_SYM.
15277         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15278         and <bp-asm.h>.
15279         (memcpy): Don't use BP_SYM.
15280         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15281         <bp-sym.h> and <bp-asm.h>.
15282         (memcpy): Don't use BP_SYM.
15283         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15284         <bp-asm.h>.
15285         (memcpy): Don't use BP_SYM.
15286         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15287         <bp-asm.h>.
15288         (memset): Don't use BP_SYM.
15289         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15290         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15291         (__bzero): Don't use BP_SYM.
15292         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15293         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15294         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15295         <bp-sym.h> and <bp-asm.h>.
15296         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15297         pointers.
15298         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15299         <bp-sym.h> and <bp-asm.h>.
15300         (memcpy): Don't use BP_SYM.
15301         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15302         <bp-sym.h> and <bp-asm.h>.
15303         (memset): Don't use BP_SYM.
15304         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15305         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15306         (__bzero): Don't use BP_SYM.
15307         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15308         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15309         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15310         <bp-sym.h> and <bp-asm.h>.
15311         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15312         pointers.
15313         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15314         <bp-sym.h> and <bp-asm.h>.
15315         (memcpy): Don't use BP_SYM.
15316         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15317         <bp-sym.h> and <bp-asm.h>.
15318         (memset): Don't use BP_SYM.
15319         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15320         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15321         (__bzero): Don't use BP_SYM.
15322         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15323         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15324         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15325         <bp-sym.h> and <bp-asm.h>.
15326         (__memchr): Don't use BP_SYM.
15327         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15328         <bp-sym.h> and <bp-asm.h>.
15329         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15330         pointers.
15331         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15332         <bp-sym.h> and <bp-asm.h>.
15333         (memcpy): Don't use BP_SYM.
15334         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15335         <bp-sym.h> and <bp-asm.h>.
15336         (__mempcpy): Don't use BP_SYM.
15337         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15338         <bp-sym.h> and <bp-asm.h>.
15339         (__memrchr): Don't use BP_SYM.
15340         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15341         <bp-sym.h> and <bp-asm.h>.
15342         (memset): Don't use BP_SYM.
15343         (__bzero): Likewise.
15344         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15345         <bp-sym.h> and <bp-asm.h>.
15346         (__rawmemchr): Don't use BP_SYM.
15347         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15348         <bp-sym.h> and <bp-asm.h>.
15349         (__STRCMP): Don't use BP_SYM.
15350         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15351         <bp-sym.h> and <bp-asm.h>.
15352         (strchr): Don't use BP_SYM.
15353         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15354         <bp-sym.h> and <bp-asm.h>.
15355         (__strchrnul): Don't use BP_SYM.
15356         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15357         <bp-sym.h> and <bp-asm.h>.
15358         (strlen): Don't use BP_SYM.
15359         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15360         <bp-sym.h> and <bp-asm.h>.
15361         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15362         pointers.
15363         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15364         <bp-sym.h> and <bp-asm.h>.
15365         (__strnlen): Don't use BP_SYM.
15366         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15367         <bp-sym.h> and <bp-asm.h>.
15368         (__GI__setjmp): Don't use BP_SYM.
15369         (_setjmp): Likewise.
15370         (__sigsetjmp): Likewise.
15371         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15372         (L(start_addresses)): Don't use BP_SYM.
15373         (_start): Likewise.
15374         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15375         <bp-asm.h>.
15376         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15377         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15378         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15379         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15380         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15381         <bp-asm.h>.
15382         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15383         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
15384         about bounded pointers.
15385         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15386         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15387         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15388         <bp-asm.h>.
15389         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15390         about bounded pointers.  Remove GKM FIXME comments.
15391         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15392         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15393         <bp-asm.h>.
15394         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15395         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
15396         Remove GKM FIXME comments.
15397         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15398         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15399         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15400         <bp-asm.h>.
15401         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15402         about bounded pointers.  Remove GKM FIXME comment.
15403         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15404         and <bp-asm.h>.
15405         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15406         pointers.
15407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15408         <bp-sym.h> and <bp-asm.h>.
15409         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15411         <bp-sym.h> and <bp-asm.h>.
15412         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15413         comment.
15415 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15417         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15418         call free(NULL).
15420 2013-03-05  David S. Miller  <davem@davemloft.net>
15422         * po/es.po: Update from translation team.
15424 2013-03-05  Andreas Jaeger  <aj@suse.de>
15426         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15427         <bits/mman-linux.h>.
15428         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15429         is fine.
15430         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15431         <bits/mman-linux.h> to end of file.
15432         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15433         is fine.
15434         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15435         <bits/mman-linux.h> to end of file.
15436         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15437         is fine.
15438         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15439         <bits/mman-linux.h> to end of file.
15441         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15442         (MCL_CURRENT, MCL_FUTURE): Define here.
15444 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15446         [BZ #15232]
15447         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15448         attribute_hidden.
15449         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15451 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15453         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15454         fourth parameter needed for rt_sigprocmask syscall.
15455         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15456         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15457         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15458         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15459         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15460         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15462 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
15464         [BZ #13550]
15465         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15466         comment about bounded pointers.
15467         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15468         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15470 2013-03-04  Andreas Jaeger  <aj@suse.de>
15472         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15473         common definitions.
15475         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15476         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15477         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15478         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15479         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15480         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15482 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15484         [BZ #15055]
15485         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15486         __ieee754_sqrl instead of __sqrl.
15488 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
15490         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15491         * sysdeps/powerpc/fpu_control.h: ... here.
15492         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15493         * sysdeps/powerpc/bits/fenvinline.h: ... here.
15494         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15495         * sysdeps/powerpc/bits/mathinline.h: ... here.
15497 2013-03-01  Roland McGrath  <roland@hack.frob.com>
15499         * elf/dl-hwcaps.c (_dl_important_hwcaps):
15500         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15501         to just [NEED_DL_SYSINFO_DSO].
15502         * elf/dl-support.c: Likewise.
15503         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15504         * elf/rtld.c (dl_main): Likewise.
15505         * elf/setup-vdso.h (setup_vdso): Likewise.
15506         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15507         * sysdeps/unix/sysv/linux/dl-sysdep.c
15508         (_dl_discover_osversion): Likewise.
15510 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
15512         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15513         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15515 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15517         * NEWS: Mention libm performance improvements and non-x86 PI
15518         futex support.
15520         * csu/libc-start.c (__pthread_initialize_minimal): Change
15521         function arguments.
15522         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15524 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
15526         [BZ #13550]
15527         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15528         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15529         <bp-sym.h> and <bp-asm.h>.
15530         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15531         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15532         and <bp-asm.h>.
15533         (memcpy): Don't use BP_SYM.
15534         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15535         <bp-asm.h>.
15536         (__mpn_add_n): Don't use BP_SYM.
15537         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15538         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15539         and <bp-asm.h>.
15540         (__mpn_addmul_1): Don't use BP_SYM.
15541         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15542         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15543         <bp-sym.h>.
15544         (_setjmp): Don't use BP_SYM.
15545         (__novmx_setjmp): Likewise.
15546         (__GI__setjmp): Likewise.
15547         (__vmx_setjmp): Likewise.
15548         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15549         <bp-sym.h>.
15550         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15551         (__bzero): Don't use BP_SYM.
15552         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15553         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15554         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15555         <bp-sym.h> and <bp-asm.h>.
15556         (memcpy): Don't use BP_SYM.
15557         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15558         <bp-sym.h> and <bp-asm.h>.
15559         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15560         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15561         <bp-sym.h> and <bp-asm.h>.
15562         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15563         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15564         <bp-asm.h>.
15565         (__mpn_lshift): Don't use BP_SYM.
15566         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15567         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15568         <bp-asm.h>.
15569         (memset): Don't use BP_SYM.
15570         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15571         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15572         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15573         <bp-asm.h>.
15574         (__mpn_mul_1): Don't use BP_SYM.
15575         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15576         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15577         <bp-sym.h> and <bp-asm.h>.
15578         (memcmp): Don't use BP_SYM.
15579         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15580         <bp-sym.h> and <bp-asm.h>.
15581         (memcpy): Don't use BP_SYM.
15582         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15583         <bp-sym.h> and <bp-asm.h>.
15584         (memset): Don't use BP_SYM.
15585         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15586         <bp-sym.h> and <bp-asm.h>.
15587         (strncmp): Don't use BP_SYM.
15588         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15589         <bp-sym.h> and <bp-asm.h>.
15590         (memcpy): Don't use BP_SYM.
15591         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15592         <bp-sym.h> and <bp-asm.h>.
15593         (memset): Don't use BP_SYM.
15594         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15595         <bp-sym.h> and <bp-asm.h>.
15596         (__memchr): Don't use BP_SYM.
15597         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15598         <bp-sym.h> and <bp-asm.h>.
15599         (memcmp): Don't use BP_SYM.
15600         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15601         <bp-sym.h> and <bp-asm.h>.
15602         (memcpy): Don't use BP_SYM.
15603         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15604         <bp-sym.h> and <bp-asm.h>.
15605         (__mempcpy): Don't use BP_SYM.
15606         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15607         <bp-sym.h> and <bp-asm.h>.
15608         (__memrchr): Don't use BP_SYM.
15609         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15610         <bp-sym.h> and <bp-asm.h>.
15611         (memset): Don't use BP_SYM.
15612         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15613         <bp-sym.h> and <bp-asm.h>.
15614         (__rawmemchr): Don't use BP_SYM.
15615         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15616         <bp-sym.h> and <bp-asm.h>.
15617         (__STRCMP): Don't use BP_SYM.
15618         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15619         <bp-sym.h> and <bp-asm.h>.
15620         (strchr): Don't use BP_SYM.
15621         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15622         <bp-sym.h> and <bp-asm.h>.
15623         (__strchrnul): Don't use BP_SYM.
15624         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15625         <bp-sym.h> and <bp-asm.h>.
15626         (strlen): Don't use BP_SYM.
15627         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15628         <bp-sym.h> and <bp-asm.h>.
15629         (strncmp): Don't use BP_SYM.
15630         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15631         <bp-sym.h> and <bp-asm.h>.
15632         (__strnlen): Don't use BP_SYM.
15633         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15634         <bp-asm.h>.
15635         (__mpn_rshift): Don't use BP_SYM.
15636         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15637         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15638         <bp-sym.h> and <bp-asm.h>.
15639         (__sigsetjmp): Don't use BP_SYM.
15640         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15641         (L(start_addresses)): Don't use BP_SYM.
15642         (_start): Likewise.
15643         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15644         <bp-asm.h>.
15645         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15646         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15647         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15648         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15649         <bp-asm.h>.
15650         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15651         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15652         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15653         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15654         <bp-asm.h>.
15655         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15656         comments.
15657         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15658         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15659         <bp-asm.h>.
15660         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
15661         FIXME comments.
15662         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15663         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15664         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15665         <bp-asm.h>.
15666         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15667         comment.
15668         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15669         and <bp-asm.h>.
15670         (strncmp): Don't use BP_SYM,
15671         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15672         <bp-asm.h>.
15673         (__mpn_sub_n): Don't use BP_SYM.
15674         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15675         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15676         and <bp-asm.h>.
15677         (__mpn_submul_1): Don't use BP_SYM.
15678         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15680         <bp-sym.h> and <bp-asm.h>.
15681         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15683         <bp-sym.h> and <bp-asm.h>.
15684         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15685         comment.
15687 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15690         Use ZK to minimize writes to Z.
15691         (sub_magnitudes): Simplify code a bit.
15692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15693         Use ZK to minimize writes to Z.
15694         (sub_magnitudes): Simplify code a bit.
15696 2013-02-27  Roland McGrath  <roland@hack.frob.com>
15698         * csu/gmon-start.c: Add special exception to license text.
15700 2013-02-27  Richard Henderson  <rth@redhat.com>
15702         * scripts/config.guess: Update from config.git.
15703         * scripts/config.sub: Likewise.
15705 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15707         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15709         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15711         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15713         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15715         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15717 2013-02-26  Roland McGrath  <roland@hack.frob.com>
15719         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15720         [$(build-shared = yes].
15722 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15724         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15725         (__mul): Reduce iterations for calculating mantissa.
15727         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15728         MPTWO.
15729         (__mpranred): Likewise.
15731         [BZ #15160]
15732         * malloc/memusagestat.c (main): Draw graphs for heap and stack
15733         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15735 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
15737         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15738         Define __attribute__.
15740 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15742         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15743         unused.
15744         * posix/regex_internal.h (__attribute): Remove.
15745         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15746         (re_string_context_at): Likewise.
15747         (bitset_not): Use __attribute__ and mark function as possibly
15748         unused.
15749         (bitset_merge): Likewise.
15750         (bitset_mask): Likewise.
15751         (re_string_char_size_at): Likewise.
15752         (re_string_wchar_at): Likewise.
15753         (re_string_elem_size_at): Likewise.
15755 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15757         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15758         code.
15759         (cc32): Likewise.
15761         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15762         (__acr): Likewise.
15763         (__cpy): Likewise.
15764         (norm): Likewise.
15765         (denorm): Likewise.
15766         (__dbl_mp): Likewise.
15767         (add_magnitudes): Likewise.
15768         (sub_magnitudes): Likewise.
15769         (__mul): Likewise.
15770         (__inv): Likewise.
15772         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15773         style.
15775         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15776         style.
15778         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15779         code.
15781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15782         up changes with default code.
15783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15784         Likewise.
15786 2013-02-24  Allan McRae  <allan@archlinux.org>
15788         * manual/socket.texi (The Internet Namespace): Order menu items
15789         to match that in the file.
15791         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15792         node listing of the info page menu.
15794 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
15796         [BZ #13550]
15797         * sysdeps/i386/bp-asm.h: Remove file.
15798         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15799         (PARMS): Do not use macros from bp-asm.h.
15800         (S1): Likewise.
15801         (S2): Likewise.
15802         (SIZE): Likewise.
15803         (__mpn_add_n): Do not use BP_SYM
15804         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15805         "bp-asm.h".
15806         (PARMS): Do not use macros from bp-asm.h.
15807         (S1): Likewise.
15808         (SIZE): Likewise.
15809         (__mpn_addmul_1): Do not use BP_SYM
15810         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15811         "bp-asm.h".
15812         (PARMS): Do not use macros from bp-asm.h.
15813         (SIGMSK): Likewise.
15814         (_setjmp): Likewise.  Do not use BP_SYM.
15815         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15816         "bp-asm.h".
15817         (PARMS): Do not use macros from bp-asm.h.
15818         (SIGMSK): Likewise.
15819         (setjmp): Likewise.  Do not use BP_SYM.
15820         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15821         "bp-asm.h".
15822         (PARMS): Do not use macros from bp-asm.h.
15823         (__frexp): Do not use BP_SYM.
15824         (frexp): Likewise.
15825         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15826         "bp-asm.h".
15827         (PARMS): Do not use macros from bp-asm.h.
15828         (__frexpf): Do not use BP_SYM.
15829         (frexpf): Likewise.
15830         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15831         "bp-asm.h".
15832         (PARMS): Do not use macros from bp-asm.h.
15833         (__frexpl): Do not use BP_SYM.
15834         (frexpl): Likewise.
15835         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15836         "bp-asm.h".
15837         (PARMS): Do not use macros from bp-asm.h.
15838         (__remquo): Do not use BP_SYM.
15839         (remquo): Likewise.
15840         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15841         "bp-asm.h".
15842         (PARMS): Do not use macros from bp-asm.h.
15843         (__remquof): Do not use BP_SYM.
15844         (remquof): Likewise.
15845         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15846         "bp-asm.h".
15847         (PARMS): Do not use macros from bp-asm.h.
15848         (__remquol): Do not use BP_SYM.
15849         (remquol): Likewise.
15850         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15851         "bp-asm.h".
15852         (PARMS): Do not use macros from bp-asm.h.
15853         (DEST): Likewise.
15854         (SRC): Likewise.
15855         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
15856         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15857         "bp-asm.h".
15858         (PARMS): Do not use macros from bp-asm.h.
15859         (strlen): Do not use BP_SYM.
15860         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15861         "bp-asm.h".
15862         (PARMS): Do not use macros from bp-asm.h.
15863         (S1): Likewise.
15864         (S2): Likewise.
15865         (SIZE): Likewise.
15866         (__mpn_add_n): Do not use BP_SYM.
15867         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15868         "bp-asm.h".
15869         (PARMS): Do not use macros from bp-asm.h.
15870         (S1): Likewise.
15871         (SIZE): Likewise.
15872         (__mpn_addmul_1): Do not use BP_SYM.
15873         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15874         weak_alias.
15875         (bzero): Likewise.
15876         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15877         "bp-asm.h".
15878         (PARMS): Do not use macros from bp-asm.h.
15879         (S): Likewise.
15880         (SIZE): Likewise.
15881         (__mpn_lshift): Do not use BP_SYM.
15882         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15883         "bp-asm.h".
15884         (PARMS): Do not use macros from bp-asm.h.
15885         (DEST): Likewise.
15886         (SRC): Likewise.
15887         (LEN): Likewise.
15888         (memcpy): Likewise.  Do not use BP_SYM.
15889         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15890         libc_hidden_def and weak_alias.
15891         (mempcpy): Do not use BP_SYM in weak_alias.
15892         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15893         "bp-asm.h".
15894         (PARMS): Do not use macros from bp-asm.h.
15895         (DEST): Likewise.
15896         (LEN): Likewise.
15897         [!BZERO_P] (CHR): Likewise.
15898         (memset): Likewise.  Do not use BP_SYM.
15899         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15900         "bp-asm.h".
15901         (PARMS): Do not use macros from bp-asm.h.
15902         (S1): Likewise.
15903         (SIZE): Likewise.
15904         (__mpn_mul_1): Do not use BP_SYM.
15905         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15906         "bp-asm.h".
15907         (PARMS): Do not use macros from bp-asm.h.
15908         (S): Likewise.
15909         (SIZE): Likewise.
15910         (__mpn_rshift): Do not use BP_SYM.
15911         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15912         "bp-asm.h".
15913         (PARMS): Do not use macros from bp-asm.h.
15914         (STR): Likewise.
15915         (CHR): Likewise.
15916         (strchr): Likewise.  Do not use BP_SYM.
15917         (index): Do not use BP_SYM in weak_alias.
15918         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15919         "bp-asm.h".
15920         (PARMS): Do not use macros from bp-asm.h.
15921         (DEST): Likewise.
15922         (SRC): Likewise.
15923         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
15924         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
15925         "bp-asm.h".
15926         (PARMS): Do not use macros from bp-asm.h.
15927         (strlen): Do not use BP_SYM.
15928         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
15929         "bp-asm.h".
15930         (PARMS): Do not use macros from bp-asm.h.
15931         (S1): Likewise.
15932         (S2): Likewise.
15933         (SIZE): Likewise.
15934         (__mpn_sub_n): Do not use BP_SYM.
15935         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
15936         "bp-asm.h".
15937         (PARMS): Do not use macros from bp-asm.h.
15938         (S1): Likewise.
15939         (SIZE): Likewise.
15940         (__mpn_submul_1): Do not use BP_SYM.
15941         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
15942         "bp-asm.h".
15943         (PARMS): Do not use macros from bp-asm.h.
15944         (S1): Likewise.
15945         (S2): Likewise.
15946         (SIZE): Likewise.
15947         (__mpn_add_n): Do not use BP_SYM.
15948         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
15949         weak_alias.
15950         (bzero): Likewise.
15951         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
15952         "bp-asm.h".
15953         (PARMS): Do not use macros from bp-asm.h.
15954         (BLK2): Likewise.
15955         (LEN): Likewise.
15956         (memcmp): Do not use BP_SYM.
15957         (bcmp): Do not use BP_SYM in weak_alias.
15958         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
15959         "bp-asm.h".
15960         (PARMS): Do not use macros from bp-asm.h.
15961         (DEST): Likewise.
15962         (SRC): Likewise.
15963         (LEN): Likewise.
15964         (memcpy): Likewise.  Do not use BP_SYM.
15965         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
15966         "bp-asm.h".
15967         (PARMS): Do not use macros from bp-asm.h.
15968         (DEST): Likewise.
15969         (SRC): Likewise.
15970         (LEN): Likewise.
15971         (memmove): Likewise.  Do not use BP_SYM.
15972         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
15973         "bp-asm.h".
15974         (PARMS): Do not use macros from bp-asm.h.
15975         (DEST): Likewise.
15976         (SRC): Likewise.
15977         (LEN): Likewise.
15978         (__mempcpy): Likewise.  Do not use BP_SYM.
15979         (mempcpy): Do not use BP_SYM in weak_alias.
15980         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
15981         "bp-asm.h".
15982         (PARMS): Do not use macros from bp-asm.h.
15983         (DEST): Likewise.
15984         (LEN): Likewise.
15985         [!BZERO_P] (CHR): Likewise.
15986         (memset): Likewise.  Do not use BP_SYM.
15987         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
15988         "bp-asm.h".
15989         (PARMS): Do not use macros from bp-asm.h.
15990         (STR2): Likewise.
15991         (strcmp): Do not use BP_SYM.
15992         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
15993         "bp-asm.h".
15994         (PARMS): Do not use macros from bp-asm.h.
15995         (STR): Likewise.
15996         (DELIM): Likewise.
15997         [USE_AS_STRTOK_R] (SAVE): Likewise.
15998         (FUNCTION): Likewise.  Do not use BP_SYM.
15999         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16000         aliases.
16001         (strtok_r): Likewise.
16002         (__GI___strtok_r): Likewise.
16003         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16004         (PARMS): Do not use macros from bp-asm.h.
16005         (S): Likewise.
16006         (SIZE): Likewise.
16007         (__mpn_lshift): Do not use BP_SYM.
16008         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16009         (PARMS): Do not use macros from bp-asm.h.
16010         (STR): Likewise.
16011         (CHR): Likewise.
16012         (__memchr): Do not use BP_SYM.
16013         (memchr): Do not use BP_SYM in weak_alias.
16014         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16015         (PARMS): Do not use macros from bp-asm.h.
16016         (BLK2): Likewise.
16017         (LEN): Likewise.
16018         (memcmp): Do not use BP_SYM.
16019         (bcmp): Do not use BP_SYM in weak_alias.
16020         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16021         (PARMS): Do not use macros from bp-asm.h.
16022         (S1): Likewise.
16023         (SIZE): Likewise.
16024         (__mpn_mul_1): Do not use BP_SYM.
16025         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16026         "bp-asm.h".
16027         (PARMS): Do not use macros from bp-asm.h.
16028         (STR): Likewise.
16029         (CHR): Likewise.
16030         (__rawmemchr): Do not use BP_SYM.
16031         (rawmemchr): Do not use BP_SYM in weak_alias.
16032         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16033         (PARMS): Do not use macros from bp-asm.h.
16034         (S): Likewise.
16035         (SIZE): Likewise.
16036         (__mpn_rshift): Do not use BP_SYM.
16037         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16038         (PARMS): Do not use macros from bp-asm.h.
16039         (SIGMSK): Likewise.
16040         (__sigsetjmp): Likewise.  Do not use BP_SYM.
16041         * sysdeps/i386/start.S: Do not include "bp-sym.h".
16042         (_start): Do not use BP_SYM.
16043         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16044         (PARMS): Do not use macros from bp-asm.h.
16045         (DEST): Likewise.
16046         (SRC): Likewise.
16047         (__stpcpy): Likewise.  Do not use BP_SYM.
16048         (stpcpy): Do not use BP_SYM in weak_alias.
16049         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16050         "bp-asm.h".
16051         (PARMS): Do not use macros from bp-asm.h.
16052         (DEST): Likewise.
16053         (SRC): Likewise.
16054         (LEN): Likewise.
16055         (__stpncpy): Likewise.  Do not use BP_SYM.
16056         (stpncpy): Do not use BP_SYM in weak_alias.
16057         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16058         (PARMS): Do not use macros from bp-asm.h.
16059         (STR): Likewise.
16060         (CHR): Likewise.
16061         (strchr): Likewise.  Do not use BP_SYM.
16062         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16063         "bp-asm.h".
16064         (PARMS): Do not use macros from bp-asm.h.
16065         (STR): Likewise.
16066         (CHR): Likewise.
16067         (__strchrnul): Likewise.  Do not use BP_SYM.
16068         (strchrnul): Do not use BP_SYM in weak_alias.
16069         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16070         "bp-asm.h".
16071         (PARMS): Do not use macros from bp-asm.h.
16072         (STOP): Likewise.
16073         (strcspn): Do not use BP_SYM.
16074         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16075         "bp-asm.h".
16076         (PARMS): Do not use macros from bp-asm.h.
16077         (STR): Likewise.
16078         (STOP): Likewise.
16079         (strpbrk): Likewise.  Do not use BP_SYM.
16080         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16081         "bp-asm.h".
16082         (PARMS): Do not use macros from bp-asm.h.
16083         (STR): Likewise.
16084         (CHR): Likewise.
16085         (strrchr): Likewise.  Do not use BP_SYM.
16086         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16087         (PARMS): Do not use macros from bp-asm.h.
16088         (SKIP): Likewise.
16089         (strspn): Do not use BP_SYM.
16090         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16091         (PARMS): Do not use macros from bp-asm.h.
16092         (STR): Likewise.
16093         (DELIM): Likewise.
16094         (SAVE): Likewise.
16095         (FUNCTION): Likewise.  Do not use BP_SYM.
16096         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16097         aliases.
16098         (strtok_r): Likewise.
16099         (__GI___strtok_r): Likewise.
16100         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16101         (PARMS): Do not use macros from bp-asm.h.
16102         (S1): Likewise.
16103         (S2): Likewise.
16104         (SIZE): Likewise.
16105         (__mpn_sub_n): Do not use BP_SYM.
16106         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16107         "bp-asm.h".
16108         (PARMS): Do not use macros from bp-asm.h.
16109         (S1): Likewise.
16110         (SIZE): Likewise.
16111         (__mpn_submul_1): Do not use BP_SYM.
16112         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16113         <bp-sym.h>.
16114         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16115         and <bp-asm.h>.
16116         (PARMS): Do not use macros from bp-asm.h.
16117         (FLAGS): Likewise.
16118         (PTID): Likewise.
16119         (TLS): Likewise.
16120         (CTID): Likewise.
16121         (__clone): Do not use BP_SYM.
16122         (clone): Do not use BP_SYM in weak_alias.
16123         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16124         and <bp-asm.h>.
16125         (PARMS): Do not use macros from bp-asm.h.
16126         (LEN): Likewise.
16127         (__mmap64): Do not use BP_SYM.
16128         (mmap64): Do not use BP_SYM in weak_alias.
16129         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16130         <bp-sym.h> and <bp-asm.h>.
16131         (PARMS): Do not use macros from bp-asm.h.
16132         (__posix_fadvise64_l64): Do not use BP_SYM.
16133         * sysdeps/unix/sysv/linux/i386/semtimedop.S
16134         (PARMS): Do not use macros from bp-asm.h.
16135         (NSOPS): Likewise.
16136         (semtimedop): Do not use BP_SYM.
16137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16138         and <bp-asm.h>.
16140 2013-02-21  Allan McRae  <allan@archlinux.org>
16142         * manual/message.texi (Charset conversion in gettext):
16143         Move @end statement to beginning of line.
16145 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16148         static.
16149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16150         Likewise.
16152         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16153         (denorm): Likewise.
16154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16157 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16159         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16160         tail-call to the resolved function if pltexit isn't needed.
16162 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16164         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16165         or Y being zero as being unlikely.
16166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16167         Likewise.
16169 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
16171         * manual/nss.texi (System Databases and Name Service Switch):
16172         Remove frobnicate @pxref.
16174 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16176         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16177         __attribute__ ((unused)) to __attribute__ ((__unused__)).
16179 2013-02-20  Petr Machata  <pmachata@redhat.com>
16181         * elf/elf.h (R_ARM_TARGET1): New macro.
16182         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16183         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16184         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16185         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16186         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16187         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16188         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16189         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16190         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16191         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16192         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16193         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16194         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16195         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16196         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16197         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16198         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16199         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16200         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16201         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16202         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16203         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16204         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16205         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16206         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16207         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16208         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16209         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16210         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16211         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16212         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16213         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16214         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16215         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16216         (R_ARM_THM_GOT_BREL12): Likewise.
16217         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16218         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16219         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16220         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16221         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16222         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16223         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16224         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16225         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16227 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16229         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16230         __attribute_used__ to __attribute__ ((unused)).
16232 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16234         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16235         powerpc mpa.c.
16236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16237         comment formatting.
16238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16240 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
16242         [BZ #13550]
16243         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16244         Remove macro.
16245         (ENTER): Remove both macro definitions.
16246         (LEAVE): Likewise.
16247         (CHECK_BOUNDS_LOW): Likewise.
16248         (CHECK_BOUNDS_HIGH): Likewise.
16249         (CHECK_BOUNDS_BOTH): Likewise.
16250         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16251         (RETURN_BOUNDED_POINTER): Likewise.
16252         (RETURN_NULL_BOUNDED_POINTER): Likewise.
16253         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16254         (POP_ERRNO_LOCATION_RETURN): Likewise.
16255         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16256         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16257         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16258         macros.
16259         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16260         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16261         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16262         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16263         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16264         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16265         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16266         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16267         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16268         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16269         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16270         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16271         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16272         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16273         removed macros.
16274         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16275         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16276         macros.
16277         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16278         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16279         * sysdeps/i386/i586/memset.S (memset): Likewise.
16280         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16281         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16282         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16283         macros.
16284         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16285         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16286         Change uses of L(2) to L(out).
16287         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16288         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16289         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16290         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16291         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16292         removed macros.
16293         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16294         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16295         macros.
16296         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16297         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16298         (RETURN): Do not use macro LEAVE.
16299         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16300         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16301         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16302         * sysdeps/i386/i686/memset.S (memset): Likewise.
16303         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16304         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16305         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16306         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16307         Likewise.
16308         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16309         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
16310         L(1_2) and L(1_3) into L(1).
16311         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16312         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16313         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16314         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16315         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16316         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16317         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16318         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16319         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16320         macros.
16321         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16322         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16323         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16324         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16325         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16326         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16327         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16328         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16329         * sysdeps/i386/strcspn.S (strcspn): Likewise.
16330         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16331         * sysdeps/i386/strrchr.S (strrchr): Likewise.
16332         * sysdeps/i386/strspn.S (strspn): Likewise.
16333         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16334         conditional code.
16335         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16336         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16337         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16338         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
16339         L(1_3) into L(1_1).
16340         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16341         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16342         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16343         macros.
16344         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16346 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
16348         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16349         macro.
16351 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16353         * math/atest-exp.c (exp_mpn): Remove ROUND.
16354         * math/atest-exp2.c (exp_mpn): Likewise.
16355         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16357         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16358         * stdlib/tst-tls-atexit-lib.c: Likewise.
16359         * stdlib/tst-tls-atexit.c: Likewise.
16361 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16363         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16364         and __attribute_alloc_size__.
16366 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16368         * include/programs/xmalloc.h: Change __attribute_alloc_size to
16369         __attribute_alloc_size__.
16370         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16371         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16373 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16375         * include/programs/xmalloc.h: New file.
16376         * catgets/gencat.c: Include it.
16377         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16378         * elf/pldd.c: Likewise.
16379         * iconv/iconv_charmap.c: Likewise.
16380         * iconv/iconvconfig.c: Likewise.
16381         * iconv/strtab.c: Likewise.
16382         * locale/programs/locale.c: Likewise.
16383         * locale/programs/localedef.h: Likewise.
16384         * locale/programs/simple-hash.c: Likewise.
16385         * nscd/nscd.h: Likewise.
16386         * nss/makedb.c: Likewise.
16387         * sysdeps/generic/ldconfig.h: Likewise.
16389 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16391         * Versions.def: Add GLIBC_2.18.
16392         * include/link.h (struct link_map): New member l_tls_dtor_count.
16393         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16394         (__call_tls_dtors): Likewise.
16395         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16396         __cxa_thread_atexit_impl.
16397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16398         Likewise.
16399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16400         Likewise.
16401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16402         Likewise.
16403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16404         Likewise.
16405         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16407         Likewise.
16408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16409         Likewise.
16410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16412         Likewise.
16413         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16414         (tests): Add test case tst-tls-atexit.
16415         (modules-names): Add shared library for tst-tls-atexit.
16416         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16417         (GLIBC_PRIVATE): Add __call_tls_dtors.
16418         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16419         for libstdc++.
16420         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16421         * stdlib/tst-tls-atexit.c: New test case.
16422         * stdlib/tst-tls-atexit-lib.c: New test case.
16424         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16426         * elf/Versions (ld): Add _dl_find_dso_for_object.
16427         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16428         * elf/dl-open.c (_dl_find_dso_for_object): New function.
16429         (dl_open_worker): Use _dl_find_dso_for_object.
16430         * elf/dl-sym.c (do_sym): Likewise.
16431         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16433 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16435         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16436         Syntactic changes only.
16437         (_dl_runtime_profile): Do a tail-call to the resolved function.
16439 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
16441         [BZ #13550]
16442         * sysdeps/x86_64/bp-asm.h: Remove file.
16443         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16444         <bp-sym.h> and <bp-asm.h>.
16445         (__clone): Do not use BP_SYM.
16446         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16447         <bp-sym.h> and <bp-asm.h>.
16448         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16449         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16450         "bp-asm.h".
16451         (_setjmp): Do not use BP_SYM.
16452         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16453         "bp-asm.h".
16454         (setjmp): Do not use BP_SYM.
16455         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16456         libc_hidden_def.
16457         (mempcpy): Do not use BP_SYM in weak_alias.
16458         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16459         "bp-asm.h".
16460         (strchr): Do not use BP_SYM.
16461         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16462         "bp-asm.h".
16463         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16464         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16465         (_start): Do not use BP_SYM.
16466         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16467         "bp-asm.h".
16468         (strcat): Do not use BP_SYM.
16469         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16470         "bp-asm.h".
16471         (STRCMP): Do not use BP_SYM.
16472         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16473         "bp-asm.h".
16474         (STRCPY): Do not use BP_SYM.
16475         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16476         "bp-asm.h".
16477         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16478         "bp-asm.h".
16479         (FUNCTION): Do not use BP_SYM.
16480         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16481         weak_alias.
16482         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16484 2013-02-17  Andreas Jaeger  <aj@suse.de>
16486         * time/Versions: Sort entries.
16487         * string/Versions: Likewise.
16488         * resolv/Versions: Likewise.
16489         * posix/Versions: Likewise.
16490         * iconv/Versions: Likewise.
16491         * elf/Versions: Likewise.
16492         * wcsmbs/Versions: Likewise.
16494 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16496         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16497         loop termination condition.
16499         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16500         variable to calculate EZ.
16501         (__sqr): Likewise.
16503         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16504         the lower precision input.
16506 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
16508         [BZ #13550]
16509         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16510         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16511         (run-via-rtld-prefix): Do not handle %-bp tests.
16512         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16513         (all-object-suffixes): Remove .ob.
16514         (bppfx): Remove variable.
16515         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16516         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16517         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16518         [$(build-bounded) = yes] (libtype.ob): Likewise.
16519         * Makerules (elide-routines.ob): Remove variable.
16520         (do-tests-clean): Do not handle *-bp.out.
16521         (common-mostlyclean): Do not handle *-bp and *-bp.out.
16522         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16523         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16524         (tests): Do not include $(tests-bp.out).
16525         (xtests): Do not include $(xtests-bp.out).
16526         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16527         [$(build-bounded) = yes] ($(addprefix
16528         $(objpfx),$(binaries-bounded))): Remove rule.
16529         ($(objpfx)%-bp.out): Remove rule.
16530         * config.make.in (build-bounded): Remove variable.
16531         * crypt/Makefile [$(build-bounded) = yes]
16532         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16533         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16534         append to variable.
16535         [$(build-bounded) = yes] (install-lib): Likewise.
16536         [$(build-bounded) = yes] (generated): Likewise.
16537         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16538         Remove rule.
16539         * intl/Makefile [$(build-bounded) = yes]
16540         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16541         * math/Makefile [$(build-bounded) = yes]
16542         ($(tests:%=$(objpfx)%-bp): Likewise.
16543         * misc/Makefile [$(build-bounded) = yes]
16544         ($(objpfx)tst-tsearch-bp): Likewise.
16545         * nptl/Makeconfig (bounded-thread-library): Remove variable.
16546         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16547         Remove dependency.
16548         * string/Makefile (o-objects.ob): Remove variable.
16549         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16550         (CFLAGS-.ob): Remove variable.
16551         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16552         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16553         both definitions of variable.
16554         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16555         (ASFLAGS-.ob): Remove variable.
16557 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
16559         [BZ #13550]
16560         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16561         Remove __BOUNDED_POINTERS__ from condition.
16562         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16563         * string/bits/string2.h [!__NO_STRING_INLINES &&
16564         !__BOUNDED_POINTERS__]: Likewise.
16565         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16566         Likewise.
16567         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16568         Remove conditional code.
16569         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16570         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16571         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16572         condition.
16574         [BZ #13550]
16575         * csu/libc-start.c: Do not include <bp-sym.h>.
16576         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16577         * elf/dl-open.c: Do not include <bp-sym.h>.
16578         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16579         * math/fegetenv.c: Do not include <bp-sym.h>.
16580         (fegetenv): Do not use BP_SYM in versioned symbols.
16581         * nptl/sysdeps/pthread/bits/libc-lockP.h
16582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16583         <bp-sym.h>.
16584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16585         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16587         (__pthread_mutex_destroy): Likewise.
16588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16589         (__pthread_mutex_lock): Likewise.
16590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16591         (__pthread_mutex_trylock): Likewise.
16592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16593         (__pthread_mutex_unlock): Likewise.
16594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16595         (__pthread_mutexattr_init): Likewise.
16596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16597         (__pthread_mutexattr_destroy): Likewise.
16598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16599         (__pthread_mutexattr_settype): Likewise.
16600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16601         (__pthread_rwlock_init): Likewise.
16602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16603         (__pthread_rwlock_destroy): Likewise.
16604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16605         (__pthread_rwlock_rdlock): Likewise.
16606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16607         (__pthread_rwlock_tryrdlock): Likewise.
16608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16609         (__pthread_rwlock_wrlock): Likewise.
16610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16611         (__pthread_rwlock_trywrlock): Likewise.
16612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16613         (__pthread_rwlock_unlock): Likewise.
16614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16615         (__pthread_key_create): Likewise.
16616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16617         (__pthread_setspecific): Likewise.
16618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16619         (__pthread_getspecific): Likewise.
16620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16621         Likewise.
16622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16623         (_pthread_cleanup_push_defer): Likewise.
16624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16625         (_pthread_cleanup_pop_restore): Likewise.
16626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16627         (pthread_setcancelstate): Likewise.
16628         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16629         <bp-sym.h>.
16630         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16631         (memchr): Do not use BP_SYM in weak_alias.
16632         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16633         (fegetenv): Do not use BP_SYM in versioned symbols.
16634         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16635         (fesetenv): Do not use BP_SYM in versioned symbols.
16636         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16637         (feupdateenv): Do not use BP_SYM in versioned symbols.
16638         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16639         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16640         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16641         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16642         (open64): Do not use BP_SYM in weak_alias.
16643         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16644         (fegetenv): Do not use BP_SYM in versioned symbols.
16645         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16646         (fesetenv): Do not use BP_SYM in versioned symbols.
16647         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16648         (feupdateenv): Do not use BP_SYM in versioned symbols.
16649         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16650         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16651         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16652         (feraiseexcept): Do not use BP_SYM in versioned symbols.
16653         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16654         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16655         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16656         <bp-sym.h>.
16657         (__libc_start_main): Do not use BP_SYM.
16659 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16661         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16662         redundant return line.
16663         (norm): Likewise.
16664         (denorm): Likewise.
16665         (dbl_mp): Likewise.
16666         (sub_magnitudes): Likewise.
16667         (__add): Likewise.
16668         (__sub): Likewise.
16669         (__mul): Likewise.
16670         (__inv): Likewise.
16671         (__dvd): Likewise.
16672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16673         (norm): Likewise.
16674         (denorm): Likewise.
16675         (dbl_mp): Likewise.
16676         (sub_magnitudes): Likewise.
16677         (__add): Likewise.
16678         (__sub): Likewise.
16679         (__mul): Likewise.
16680         (__inv): Likewise.
16681         (__dvd): Likewise.
16683         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16684         instead of __mul.
16685         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16686         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16687         (cc32): Likewise.
16689         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16690         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16691         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16692         of __mul for squares.
16693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16694         function
16695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16696         Likewise.
16697         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16698         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16700 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
16702         [BZ #13550]
16703         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16704         code.
16705         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16706         prototype or function definition.  Rename ubp_* variables and
16707         parameters.  Remove argv definitions conditional on
16708         [__BOUNDED_POINTERS__].
16709         * debug/backtrace.c (__backtrace): Do not use __unbounded.
16710         * elf/dl-runtime.c (_dl_fixup): Likewise.
16711         * include/set-hooks.h (RUN_HOOK): Likewise.
16712         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16713         definition.
16714         * string/strcpy.c (strcpy): Do not use __unbounded.
16715         * sysdeps/generic/frame.h (struct layout): Likewise.
16716         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16717         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16718         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16719         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16720         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16721         (__backtrace): Likewise.
16722         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16723         use __ptrvalue.
16724         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16725         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16726         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16727         Likewise.
16728         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16729         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16730         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16731         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16732         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16733         Do not use __unbounded.
16734         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16735         Rename __unboundedrlimits parameter to rlimits in prototype.
16736         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16737         Do not use __unbounded.
16738         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16739         not use __ptrvalue.
16740         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16741         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16742         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16743         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16744         __ptrvalue or __unbounded.
16745         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16746         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16747         use __unbounded.
16748         (__new_msgctl): Do not use __ptrvalue.
16749         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16750         __unbounded.
16751         (__libc_msgrcv): Do not use __ptrvalue.
16752         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16753         startup_info): Do not use __unbounded.
16754         (__libc_start_main): Likewise.  Rename ubp_* variables and
16755         parameters.  Remove argv definitions conditional on
16756         [__BOUNDED_POINTERS__].
16757         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16758         __ptrvalue.
16759         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16760         use __unbounded.
16761         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16762         or __ptrvalue.
16763         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16764         use __unbounded.
16765         (__new_shmctl): Do not use __ptrvalue.
16766         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16767         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16768         Likewise.
16769         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16770         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16771         (__libc_sigaction): Likewise.
16772         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16773         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16774         Likewise.
16775         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16777 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
16779         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16781         * string/mempcpy.c: Implement by calling memcpy.
16783 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16785         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16788         evaluation.
16790         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16791         values in the mantissa.
16793         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16794         minimize writes to Z.
16795         (sub_magnitudes): Simplify code a bit.
16797 2013-02-12  Roland McGrath  <roland@hack.frob.com>
16799         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16800         from the message.  The linker prefixes all warnings with that already.
16802 2013-02-12  Andreas Schwab  <schwab@suse.de>
16804         [BZ #15078]
16805         * posix/regexec.c (extend_buffers): Add parameter min_len.
16806         (check_matching): Pass minimum needed length.
16807         (clean_state_log_if_needed): Likewise.
16808         (get_subexp): Likewise.
16809         * posix/Makefile (tests): Add bug-regex34.
16810         (bug-regex34-ENV): Define.
16811         * posix/bug-regex34.c: New file.
16813         [BZ #11561]
16814         * posix/regcomp.c (parse_bracket_exp): When looking up collating
16815         elements compare against the byte sequence of it, not its name.
16816         * posix/Makefile (tests): Add bug-regex35.
16817         (bug-regex35-ENV): Define.
16818         * posix/bug-regex35.c: New file.
16820 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16822         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
16823         comment.
16824         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16825         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16826         (CHECK_EOL): Add undef.
16828 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
16830         * bits/stdlib-bsearch.h: New file.
16831         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16832         * stdlib/stdlib.h: Likewise.
16834 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16836         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16837         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16838         declaration.
16839         * manual/search.texi (Array Search Function): Add missing const in
16840         lfind prototype.
16841         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16842         declaration to use rlim_t.
16843         (Basic Scheduling Functions): Remove erroneous const from
16844         sched_getparam prototype.  Remove erroneous * from
16845         sched_get_priority_max and sched_get_priority_min prototypes.
16846         (Resource Usage): Fix summary @comment on vtimes to refer to
16847         sys/vtimes.h rather than vtimes.h.
16848         Add missing *s in vtimes prototype.
16849         (Limits on Resources): Fix ulimit prototype to return long int.
16850         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16851         prototypes to use long int rather than double.
16852         (BSD Random): Fix initstate and setstate to use char *, not void *.
16853         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16854         prototype to make second argument 'struct aiocb64 *const[]'.
16855         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16856         (Status of AIO Operations): Remove erroneous const in aio_return and
16857         aio_return64 prototypes.
16858         (Synchronizing I/O): Fix sync prototype to return void.
16859         * manual/startup.texi (Suboptions): Remove an erroneous const in
16860         getsubopt prototype.
16861         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16862         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16863         use size_t rather than int.
16864         (Scanning All Users): Likewise for getpwent_r.
16865         (Setting Groups): Add missing const to setgroups prototype.
16866         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16867         * manual/socket.texi (Host Names): Fix gethostbyaddr and
16868         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16869         'const void *' rather than 'const char *'.
16870         (Host Address Functions): Likewise for inet_ntop.
16871         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16872         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16873         ssize_t for return value.
16874         (Sending Data): Likewise for send, sendto, sendmsg.
16875         (Socket Option Functions): Add a missing const in setsockopt prototype.
16876         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16877         use wchar_t for the argument.
16878         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16879         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16880         take no arguments.
16881         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16882         double/float/long double for second argument.
16883         Fix return types of significand, significandf, significandl.
16884         * manual/filesys.texi (Setting Permissions): Use mode_t for second
16885         argument in fchmod prototype.
16886         (File Owner): Use uid_t and gid_t in fchown prototype.
16887         (File Times): Add const to utimes, futimes, and lutimes prototypes.
16888         (Making Special Files): Use mode_t and dev_t in mknod prototype.
16889         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16890         use 'const struct dirent **' as argument types to CMP function pointer
16891         argument.
16892         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16893         (File Times): Fix summary magic @comment for struct utimbuf and utime
16894         to refer to utime.h, not time.h.
16895         * manual/string.texi (Argz Functions): Add missing const in
16896         argz_extract and argz_next prototypes.
16897         (Finding Tokens in a String): Likewise for basename.
16898         (String/Array Comparison): Fix typo in wcscasecmp prototype.
16899         (Copying and Concatenation): Fix typo in wmemmove prototype.
16900         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16901         (Signal Stack): Remove erroneous const in sigstack prototype.
16902         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16903         prototype.
16904         (Simple Calendar Time): Likewise for stime.
16905         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16906         prototype.
16907         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16908         say sys/sysctl.h instead.
16909         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16910         and vsyslog prototypes.
16912 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16914         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16915         Remove.
16917 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16919         * misc/sys/mman.h: Fix typo in mremap comment.
16921 2013-02-08  Roland McGrath  <roland@hack.frob.com>
16923         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
16924         the '\0' terminator.
16926 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
16928         [BZ #13550]
16929         * debug/segfault.c: Don't include <bp-checks.h>.
16930         * sysdeps/generic/bp-checks.h: Remove file.
16931         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
16932         (__GETDENTS): Don't use CHECK_N.
16933         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
16934         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
16935         (__getgroups): Don't use CHECK_N.
16936         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
16937         (setgroups): Don't use CHECK_N.
16938         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
16939         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
16940         (__libc_msgrcv): Don't use CHECK_N.
16941         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
16942         (__libc_msgsnd): Don't use CHECK_N.
16943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
16944         <bp-checks.h>.
16945         (__libc_pread): Don't use CHECK_N.
16946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
16947         include <bp-checks.h>.
16948         (__libc_pread64): Don't use CHECK_N.
16949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
16950         include <bp-checks.h>.
16951         (__libc_pwrite): Don't use CHECK_N.
16952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
16953         include <bp-checks.h>.
16954         (__libc_pwrite64): Don't use CHECK_N.
16955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
16956         <bp-checks.h>.
16957         (__libc_pread): Don't use CHECK_N.
16958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
16959         include <bp-checks.h>.
16960         (__libc_pread64): Don't use CHECK_N.
16961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
16962         include <bp-checks.h>.
16963         (__libc_pwrite): Don't use CHECK_N.
16964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
16965         include <bp-checks.h>.
16966         (__libc_pwrite64): Don't use CHECK_N.
16967         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
16968         (do_pread): Don't use CHECK_N.
16969         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
16970         (do_pread64): Don't use CHECK_N.
16971         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
16972         (do_pwrite): Don't use CHECK_N.
16973         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
16974         (do_pwrite64): Don't use CHECK_N.
16975         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
16976         (__libc_readv): Don't use CHECK_N.
16977         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
16978         (semop): Don't use CHECK_N.
16979         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
16980         <bp-checks.h>.
16981         (semtimedop): Don't use CHECK_N.
16982         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
16983         (__libc_pread): Don't use CHECK_N.
16984         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
16985         <bp-checks.h>.
16986         (__libc_pread64): Don't use CHECK_N.
16987         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
16988         <bp-checks.h>.
16989         (__libc_pwrite): Don't use CHECK_N.
16990         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
16991         <bp-checks.h>.
16992         (__libc_pwrite64): Don't use CHECK_N.
16993         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
16994         <bp-checks.h>.
16995         (__libc_msgrcv): Don't use CHECK_N.
16996         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
16997         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
16998         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
16999         (__libc_writev): Don't use CHECK_N.
17001 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17003         * string/strcpy.c: Removed unused variable.
17005         * Makeconfig (+sysdep-includes): Define with := rather than =.
17006         Use an existing include/ subdir of each sysdeps dir before it.
17008 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17010         * nscd/connection.c (register_traced_file): Comment function.
17011         [HAVE_INOTIFY] (union __inev): Define.
17012         [HAVE_INOTIFY] (inotify_check_files): New function.
17013         [HAVE_INOTIFY] (clear_db_cache): Likewise.
17014         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17015         clear_db_cache.
17016         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17018 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17020         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17021         loaded if not already and that a failure is permanent.
17023 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17025         [BZ #15006]
17026         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17027         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17029 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17031         [BZ #13550]
17032         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17033         (CHECK_1_NULL_OK): Likewise.
17034         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17035         (__fxstat): Do not use CHECK_1.
17036         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17037         <bp-checks.h>.
17038         (___fxstat64): Do not use CHECK_1.
17039         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17040         <bp-checks.h>.
17041         (__fxstatat): Do not use CHECK_1.
17042         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17043         <bp-checks.h>.
17044         (__fxstatat64): Do not use CHECK_1.
17045         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17046         <bp-checks.h>.
17047         (__fxstat): Do not use CHECK_1.
17048         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17049         <bp-checks.h>.
17050         (__fxstatat): Do not use CHECK_1.
17051         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17052         <bp-checks.h>.
17053         (__getresgid): Do not use CHECK_1.
17054         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17055         <bp-checks.h>.
17056         (__getresuid): Do not use CHECK_1.
17057         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17058         <bp-checks.h>.
17059         (__lxstat): Do not use CHECK_1.
17060         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17061         <bp-checks.h>.
17062         (__old_msgctl): Do not use CHECK_1.
17063         (__new_msgctl): Likewise.
17064         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17065         <bp-checks.h>.
17066         (__new_setrlimit): Do not use CHECK_1.
17067         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17068         <bp-checks.h>.
17069         (__old_shmctl): Do not use CHECK_1.
17070         (__new_shmctl): Likewise.
17071         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17072         <bp-checks.h>.
17073         (__xstat): Do not use CHECK_1.
17074         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17075         (__lxstat): Do not use CHECK_1.
17076         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17077         <bp-checks.h>.
17078         (___lxstat64): Do not use CHECK_1.
17079         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17080         (__old_msgctl): Do not use CHECK_1.
17081         (__new_msgctl): Likewise.
17082         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17083         <bp-checks.h>.
17084         (__gettimeofday): Do not use CHECK_1.
17085         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17086         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17087         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17088         <bp-checks.h>.
17089         (__gettimeofday): Do not use CHECK_1.
17090         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17091         (__old_shmctl): Do not use CHECK_1_NULL_OK.
17092         (__new_shmctl): Do not use CHECK_1.
17093         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17094         <bp-checks.h>.
17095         (do_sigtimedwait): Do not use CHECK_1.
17096         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17097         <bp-checks.h>.
17098         (do_sigwaitinfo): Do not use CHECK_1.
17099         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17100         <bp-checks.h>.
17101         (msgctl): Do not use CHECK_1.
17102         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17103         <bp-checks.h>.
17104         (shmctl): Do not use CHECK_1.
17105         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17106         (ustat): Do not use CHECK_1.
17107         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17108         <bp-checks.h>.
17109         (__fxstat): Do not use CHECK_1.
17110         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17111         <bp-checks.h>.
17112         (__fxstatat): Do not use CHECK_1.
17113         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17114         <bp-checks.h>.
17115         (__lxstat): Do not use CHECK_1.
17116         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17117         <bp-checks.h>.
17118         (__xstat): Do not use CHECK_1.
17119         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17120         (__xstat): Do not use CHECK_1.
17121         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17122         (___xstat64): Do not use CHECK_1.
17124         [BZ #13550]
17125         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17126         definitions.
17127         (CHECK_BOUNDS_HIGH): Likewise.
17128         * string/strcpy.c: Do not include <bp-checks.h>.
17129         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17131 2013-02-07  Roland McGrath  <roland@hack.frob.com>
17133         * nscd/nscd-client.h (__nscd_drop_map_ref):
17134         Add __attribute__ ((unused)).
17135         * nis/nss-nisplus.h (niserr2nss): Likewise.
17137         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17138         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17140         * csu/libc-tls.c (init_static_tls, init_slotinfo):
17141         Remove inline keyword.
17142         * include/rounding-mode.h (round_away): Likewise.
17143         * libio/wfileops.c (adjust_wide_data): Likewise.
17144         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17145         (__m128i_strloadu_tolower): Likewise.
17146         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17147         (__m128i_strloadu_tolower): Likewise.
17148         * time/mktime.c (ydhms_diff): Likewise.
17149         * locale/elem-hash.h (elem_hash): Likewise.
17150         * locale/setlocale.c (setdata): Likewise.
17151         * posix/regex_internal.h (re_string_char_size_at): Likewise.
17152         (re_string_wchar_at): Likewise.
17153         (bitset_not, bitset_merge, bitset_mask): Likewise.
17154         [!(__GNUC__ > 3)] (inline): Remove macro.
17155         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17156         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17157         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17158         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17159         * string/memcmp.c (memcmp_bytes): Likewise.
17160         * locale/programs/locarchive.c (compute_hashval): Likewise.
17161         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17162         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17163         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17164         * nss/getent.c (print_rpc, print_protocols): Likewise.
17165         (print_passwd, print_group, print_aliases): Likewise.
17166         * nis/nss-nisplus.h (niserr2nss): Likewise.
17167         * nscd/connections.c (restart_p): Likewise.
17168         Change return type to bool.
17170 2013-02-05  Roland McGrath  <roland@hack.frob.com>
17172         * Makeconfig (all-Depend-files): Add existing
17173         $(sorted-subdirs:=/Depend) files.
17174         (all-subdirs): Remove nss.
17175         * sysdeps/unix/inet/Subdirs: Add it here instead.
17176         * hesiod/Depend: New file.
17178         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17179         instead of calling alloca.
17181         * io/lseek.c (__lseek): Rename to __libc_lseek.
17182         Define __lseek as an alias.
17184         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17186 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
17188         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17189         else clause and remove check for non-standard endianness.
17191 2013-02-04  David S. Miller  <davem@davemloft.net>
17193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17195 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
17197         [BZ #13550]
17198         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17199         (__ubp_memchr): Remove prototype.
17200         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17201         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17202         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17203         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17204         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17205         Remove alias.
17206         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17207         (__ubp_memchr): Likewise.
17208         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17209         (__ubp_memchr): Likewise.
17210         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17211         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17212         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17213         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17214         CHECK_STRING.
17215         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17216         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17217         (__getcwd): Do not use CHECK_STRING.
17218         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17219         <bp-checks.h>.
17220         (__real_chown): Do not use CHECK_STRING.
17221         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17222         <bp-checks.h>.
17223         (fchownat): Do not use CHECK_STRING.
17224         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17225         CHECK_STRING.
17226         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17227         <bp-checks.h>.
17228         (__lchown): Do not use CHECK_STRING.
17229         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17230         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17231         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17232         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17234         include <bp-checks.h>.
17235         (truncate64): Do not use CHECK_STRING.
17236         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17237         <bp-checks.h>.
17238         (__real_chown): Do not use CHECK_STRING.
17239         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17240         <bp-checks.h>.
17241         (__lchown): Do not use CHECK_STRING.
17242         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17243         <bp-checks.h>.
17244         (__chown): Do not use CHECK_STRING.
17245         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17246         <bp-checks.h>.
17247         (truncate64): Do not use CHECK_STRING.
17248         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17249         Likewise.
17250         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17251         (__xmknod): Do not use CHECK_STRING.
17252         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17253         <bp-checks.h>.
17254         (__xmknodat): Do not use CHECK_STRING.
17255         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17256         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17258 2013-02-04  Andreas Schwab  <schwab@suse.de>
17260         [BZ #14142]
17261         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17262         * include/netdb.h: Likewise for h_errno.
17263         * elf/tst-stackguard1.c: Include <tls.h>.
17265 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
17267         * elf/link.h (struct link_map): Extend the l_addr comment.
17268         * include/link.h (struct link_map): Likewise.
17270 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
17272         [BZ #13550]
17273         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17274         (BOUNDED_1): Remove macro.
17275         * debug/backtrace.c: Don't include <bp-checks.h>.
17276         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17277         (__backtrace): Likewise.
17278         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17279         <bp-checks.h>.
17280         (__backtrace): Don't use BOUNDED_1.
17281         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17282         <bp-checks.h>.
17283         (__backtrace): Don't use BOUNDED_1.
17284         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17285         (__backtrace): Don't use BOUNDED_1.
17286         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17287         (shmat): Don't use BOUNDED_N.
17289 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
17291         [BZ #13550]
17292         * sysdeps/generic/bp-start.h: Remove file.
17293         * csu/libc-start.c: Don't include <bp-start.h>.
17294         (LIBC_START_MAIN): Set up __environ directly instead of using
17295         INIT_ARGV_and_ENVIRON.
17296         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17297         <bp-start.h>.
17299         [BZ #13550]
17300         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17301         definitions.
17302         (CHECK_FCNTL): Likewise.
17303         (CHECK_N_PAGES): Likewise.
17305         [BZ #13550]
17306         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17307         definitions.
17308         (CHECK_SIGSET_NULL_OK): Likewise.
17309         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17310         <bp-checks.h>.
17311         (sigpending): Don't use CHECK_SIGSET.
17312         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17313         <bp-checks.h>.
17314         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17315         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17316         <bp-checks.h>.
17317         (do_sigsuspend): Don't use CHECK_SIGSET.
17318         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17319         use CHECK_SIGSET.
17320         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17321         (do_sigwait): Don't use CHECK_SIGSET.
17322         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17323         use CHECK_SIGSET.
17324         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17325         include <bp-checks.h>.
17326         (sigpending): Don't use CHECK_SIGSET.
17327         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17328         include <bp-checks.h>.
17329         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17330         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17331         <bp-checks.h>.
17332         (sigpending): Don't use CHECK_SIGSET.
17333         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17334         <bp-checks.h>.
17335         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17337         [BZ #13550]
17338         * sysdeps/generic/bp-semctl.h: Remove file.
17339         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17340         <bp-checks.h> and <bp-semctl.h>.
17341         (__old_semctl): Don't use CHECK_SEMCTL.
17342         (__new_semctl): Likewise.
17343         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17344         and <bp-semctl.h>.
17345         (__old_semctl): Don't use CHECK_SEMCTL.
17346         (__new_semctl): Likewise.
17347         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17348         <bp-checks.h> and <bp-semctl.h>.
17349         (__old_semctl): Don't use CHECK_SEMCTL.
17350         (__new_semctl): Likewise.
17351         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17352         <bp-checks.h> and <bp-semctl.h>.
17353         (semctl): Don't use CHECK_SEMCTL.
17355         [BZ #13550]
17356         * Makerules (elide-bp-thunks): Remove variable.
17357         (elide-routines.oS): Don't use $(elide-bp-thunks).
17358         (elide-routines.os): Likewise.
17359         (elide-routines.o): Likewise.
17360         (elide-routines.op): Likewise.
17361         (elide-routines.og): Likewise.
17362         (objects): Don't use $(bp-thunks).
17363         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17364         include.
17365         (common-generated): Do not add s-proto-bp.d.
17366         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17367         (int): Likewise.
17368         (typ): Likewise.
17369         Do not generate makefile rules for bounded-pointer thunks.
17370         * sysdeps/generic/bp-thunks.h: Remove file.
17371         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17372         * sysdeps/unix/s-proto-bp.S: Likewise.
17374         [BZ #15062]
17375         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17376         parts of result separately when argument is not close to line from
17377         -i to i and one part of argument is small.
17378         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17379         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17380         * math/libm-test.inc (cacos_test): Add more tests.
17381         (casin_test): Likewise.
17382         (casinh_test): Likewise.
17383         * sysdeps/i386/fpu/libm-test-ulps: Update.
17384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17386 2013-01-31  David S. Miller  <davem@davemloft.net>
17388         * po/de.po: Update from translation team.
17390 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
17392         * time/tzfile.c: Include stdint.h for SIZE_MAX.
17394 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
17396         * configure.in (_AC_PROG_CC_C89): New definition.
17397         * configure: Regenerate.
17399         * configure.in (AC_PROG_CPP): New definition.
17400         * configure: Regenerate.
17402 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17404         * debug/tst-backtrace.h: New file.
17405         * debug/tst-backtrace2.c: Include tst-backtrace.h.
17406         (ret): Remove variable.
17407         (x): Likewise.
17408         (FAIL): Remove macro.
17409         (NO_INLINE): Likewise.
17410         (fn1): Use match function instead of strstr.
17411         * debug/tst-backtrace3.c: Include tst-backtrace.h.
17412         (ret): Remove variable.
17413         (x): Likewise.
17414         (FAIL): Remove macro.
17415         (NO_INLINE): Likewise.
17416         (fn): Use match function instead of strstr.
17417         * debug/tst-backtrace4.c: Include tst-backtrace.h.
17418         (ret): Remove variable.
17419         (x): Likewise.
17420         (FAIL): Remove macro.
17421         (NO_INLINE): Likewise.
17422         (handle_signal): Use match function instead of strstr.
17423         * debug/tst-backtrace5.c: Include tst-backtrace.h.
17424         (ret): Remove variable.
17425         (x): Likewise.
17426         (FAIL): Remove macro.
17427         (NO_INLINE): Likewise.
17428         (handle_signal): Use match function instead of strstr.
17430 2013-01-23  Roland McGrath  <roland@hack.frob.com>
17432         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17434 2013-01-23  David S. Miller  <davem@davemloft.net>
17436         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17437         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17438         argument of CAS if possible.
17439         * sysdeps/sparc/sparc64/bits/atomic.h
17440         (__arch_compare_and_exchange_val_32_acq): Likewise.
17441         (__arch_compare_and_exchange_val_64_acq): Likewise.
17443 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
17445         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17446         * sysdeps/posix/ulimit.c: ... this.
17447         Include <limits.h>.
17448         * sysdeps/unix/bsd/ulimit.c: Remove file.
17450 2013-01-23  Adam Conrad  <adconrad@0c3.net>
17452         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17453         (LDFLAGS-tst-array5): Likewise.
17455 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17457         [BZ #15036]
17458         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17459         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17460         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17461         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17463 2013-01-21  David S. Miller  <davem@davemloft.net>
17465         * sysdeps/sparc/backtrace.c: New file.
17466         * sysdeps/sparc/sparc32/backtrace.h: New file.
17467         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17468         * sysdeps/sparc/sparc64/backtrace.h: New file.
17469         * sysdeps/sparc/sparc64/backtrace.c: Delete.
17470         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17471         -funwind-tables.
17473 2013-01-21  Andreas Schwab  <schwab@suse.de>
17475         [BZ #15020]
17476         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17477         closed its stdout.
17479 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
17481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17482         "mpa2.h".
17483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17485 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
17486             Mark Mitchell  <mark@codesourcery.com>
17487             Tom de Vries  <tom@codesourcery.com>
17488             Paul Pluzhnikov  <ppluzhnikov@google.com>
17490         * debug/tst-backtrace2.c: New file.
17491         * debug/tst-backtrace3.c: Likewise.
17492         * debug/tst-backtrace4.c: Likewise.
17493         * debug/tst-backtrace5.c: Likewise.
17494         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17495         (CFLAGS-tst-backtrace3.c): Likewise.
17496         (CFLAGS-tst-backtrace4.c): Likewise.
17497         (CFLAGS-tst-backtrace5.c): Likewise.
17498         (LDFLAGS-tst-backtrace2): Likewise.
17499         (LDFLAGS-tst-backtrace3): Likewise.
17500         (LDFLAGS-tst-backtrace4): Likewise.
17501         (LDFLAGS-tst-backtrace5): Likewise.
17502         (tests): Add new tests tst-backtrace2, tst-backtrace3,
17503         tst-backtrace4 and tst-backtrace5.
17505 2013-01-18  Anton Blanchard  <anton@samba.org>
17506             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17508         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17509         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17510         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17511         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17513         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17514         "+r" and remove output regs list as redundant.  Add explicit inline
17515         asm to specify register of return val to work around compiler codegen
17516         bug.  Remove (int) cast on return value.  Add return type parameter to
17517         use in macro so that this macro does not truncate return value for
17518         64-bit values.
17519         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17520         pass to INTERNAL_VSYSCALL_NCS.
17521         (INLINE_VSYSCALL): Add 'long int' as return type to
17522         INTERNAL_VSYSCALL_NCS macro invocation.
17523         (INTERNAL_VSYSCALL): Add 'long int' as return type to
17524         INTERNAL_VSYSCALL_NCS macro invocation.
17525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17527 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17529         [BZ #14496]
17530         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17531         Fix application of SIMD FP exception mask.
17533         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17534         mp_no from a power of two.
17535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17536         __mpexp_twomm1.  Use __pow_mp.
17538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17539         multiplication.
17541 2013-01-17  David S. Miller  <davem@davemloft.net>
17543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17545 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
17547         [BZ #15023]
17548         * include/complex.h: Condition contents on [!_COMPLEX_H].
17549         (__kernel_casinhf): New prototype.
17550         (__kernel_casinh): Likewise.
17551         (__kernel_casinhl): Likewise.
17552         * math/Makefile (libm_calls): Add k_casinh.
17553         * math/k_casinh.c: New file.
17554         * math/k_casinhf.c: Likewise.
17555         * math/k_casinhl.c: Likewise.
17556         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17557         finite nonzero arguments.
17558         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17559         finite nonzero arguments.
17560         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17561         finite nonzero arguments.
17562         * math/s_casinh.c: Do not include <float.h>.
17563         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17564         * math/s_casinhf.c: Do not include <float.h>.
17565         (__casinhf): Move code for finite nonzero arguments to
17566         k_casinhf.c.
17567         * math/s_casinhl.c: Do not include <float.h>.
17568         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17569         redefine.
17570         (__casinhl): Move code for finite nonzero arguments to
17571         k_casinhl.c.
17572         * math/libm-test.inc (cacos_test): Add more tests.
17573         * sysdeps/i386/fpu/libm-test-ulps: Update.
17574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17576 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
17578         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17579         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17580         [!HAVE_MREMAP]: Remove [defined linux] case.
17581         * malloc/arena.c: Do not include <malloc-sysdep.h>.
17583 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17585         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17587 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
17589         * elf/elf.h (R_386_SIZE32): New relocation.
17590         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17591         R_386_SIZE32.
17592         (elf_machine_rela): Likewise.
17593         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17594         R_X86_64_SIZE64 and R_X86_64_SIZE32.
17596 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
17598         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17599         (FP_FAST_FMA): Do not define.
17600         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17601         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17602         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17603         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17604         !_SOFT_FLOAT]: Likewise.
17605         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17606         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17607         value.
17608         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17609         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17610         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17611         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17612         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17613         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17614         file.
17616 2013-01-16  Andreas Schwab  <schwab@suse.de>
17618         [BZ #14327]
17619         * include/stdlib.h (__mktemp): Add declaration.
17620         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17621         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17623 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17625         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17626         definitions.
17627         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17628         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17629         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17630         definitions here.
17631         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17632         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17633         definitions.
17634         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17635         and ONE.
17636         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17637         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17638         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17639         definitions.
17640         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17641         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17642         definitions.
17643         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17645         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17647 2013-01-15  David S. Miller  <davem@davemloft.net>
17649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17650         trunc{,f} to libm-sysdep_routes.
17651         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17653         file.
17654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17656         file.
17657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17658         file.
17659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17661         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17662         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17663         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17664         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17665         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17666         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17669         nearbyint{,f} to libm-sysdep_routes.
17670         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17672         New file.
17673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17674         file.
17675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17676         New file.
17677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17678         file.
17679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17681         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17682         file.
17683         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17684         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17685         file.
17686         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17687         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17688         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17690         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17691         libc_feholdexcept and libc_fesetenv.
17693 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
17695         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17697 2013-01-14  David S. Miller  <davem@davemloft.net>
17699         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17700         (SPARC_ASM_VIS2_IFUNC): Likewise.
17701         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17703         use of 'siam' instruction.
17704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17705         Likewise.
17706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17707         Likewise.
17708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17709         Likewise.
17710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17711         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17715         file.
17716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17717         file.
17718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17719         file.
17720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17721         file.
17722         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17723         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17724         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17725         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17727         new VIS2 routines.
17728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17731         Likewise.
17732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17737         routines to libm-sysdep_routines.
17738         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17741         fdim/fdimf to libm-sysdep_routines.
17742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17743         file.
17744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17746         file.
17747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17750         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17751         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17752         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17753         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17755 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17757         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17758         to optimize copies.
17760         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17765         local variable MPTWO.
17766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17767         Likewise.
17769 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17771         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17772         GLOB_NOESCAPE.
17774 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17776         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17778 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17780         * manual/pattern.texi (glob_t): Document gl_flags.
17781         (glob64_t): Likewise.
17783 2013-01-11  David S. Miller  <davem@davemloft.net>
17785         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17786         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17787         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
17788         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17789         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17790         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17791         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17792         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17793         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17794         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17795         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17796         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17797         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17799         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17800         sparc V9 rather than using V8 code.
17801         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17802         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17804         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17805         Move to...
17806         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17807         Here.
17809 2013-01-11  Roland McGrath  <roland@hack.frob.com>
17811         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17812         not in the main loop.
17813         * configure: Regenerated.
17815 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
17817         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17818         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17819         to just #else.
17820         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
17821         [!__GLIBC_HAVE_LONG_LONG] case.
17822         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17823         condition to just #else.
17824         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17825         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17826         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17827         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17828         unconditional.
17829         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17830         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17831         #elif condition to just #else.
17832         * sysdeps/unix/sysv/linux/sys/sysmacros.h
17833         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17834         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17835         #elif condition to just #else.
17837 2013-01-11  Steve Ellcey  <sellcey@mips.com>
17839         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17840         (EF_MIPS_ARCH_64): Fix value.
17841         (EF_MIPS_ARCH_32R2): New.
17842         (EF_MIPS_ARCH_64R2): New.
17844 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
17846         * Makeconfig (+link-pie-before-libc): New.
17847         (+link-pie-after-libc): Likewise.
17848         (+link-pie-tests): Likewise.
17849         (+link-pie): Rewritten.
17850         (link-before-libc): Remove $(config-LDFLAGS).
17851         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17852         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17853         (config-LDFLAGS): Renamed to ...
17854         (rtld-LDFLAGS): This.
17855         (rtld-tests-LDFLAGS): New macro.
17856         (link-libc-rpath-link): Likewise.
17857         (link-libc-tests-rpath-link): Likewise.
17858         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17859         (link-libc): Prepand $(link-libc-rpath-link).
17860         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17861         (test-program-prefix): New macro.
17862         (test-via-rtld-prefix): Likewise.
17863         (test-program-cmd): Likewise.
17864         (host-test-program-cmd): Likewise.
17865         * Makefile ($(common-objpfx)testrun.sh): Replace
17866         $(run-program-prefix) with $(test-program-prefix).
17867         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17868         $(rtld-LDFLAGS).
17869         ($(common-objpfx)shlib.lds): Likewise.
17870         (build-module-helper): Likewise.
17871         ($(common-objpfx)format.lds): Likewise.
17872         * Rules (binaries-pie-tests): New.
17873         (binaries-pie-notests): Likewise.
17874         (binaries-pie): Rewritten.
17875         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17876         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17877         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17878         (make-test-out): Replace $(host-built-program-cmd) with
17879         $(host-test-program-cmd).
17880         * config.make.in (build-hardcoded-path-in-tests): New variable.
17881         * configure.in (--enable-hardcoded-path-in-tests): New configure
17882         option.
17883         (hardcoded_path_in_tests): New AC_SUBST.
17884         * configure: Regenerated.
17885         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17886         $(built-program-cmd) with $(test-program-cmd).
17887         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17888         (test_program_cmd): This.
17889         * elf/Makefile ($(objpfx)order.out): Run test with
17890         $(test-program-prefix).
17891         ($(objpfx)order2.out): Likewise.
17892         ($(objpfx)tst-initorder.out): Likewise.
17893         ($(objpfx)tst-initorder2.out): Likewise.
17894         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17895         $(test-program-cmd).
17896         ($(objpfx)tst-array1-static.out): Likewise.
17897         ($(objpfx)tst-array2.out): Likewise.
17898         ($(objpfx)tst-array3.out): Likewise.
17899         ($(objpfx)tst-array4.out): Likewise.
17900         ($(objpfx)tst-array5.out): Likewise.
17901         ($(objpfx)tst-array5-static.out): Likewise.
17902         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17903         $(test-program-cmd).
17904         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17905         $(run-program-prefix) with $(test-program-prefix).
17906         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17907         (test_program_prefix): This.
17908         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17909         $(run-program-prefix) with $(test-program-prefix).
17910         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17911         (test_program_prefix): This.
17912         * iconvdata/tst-tables.sh: Likewise.
17913         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17914         $(run-program-prefix) with $(test-program-prefix).
17915         ($(objpfx)tst-translit.out): Likewise.
17916         ($(objpfx)tst-gettext2.out): Likewise.
17917         ($(objpfx)tst-gettext4.out): Likewise.
17918         ($(objpfx)tst-gettext6.out): Likewise.
17919         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
17920         (test_program_prefix): This.
17921         * intl/tst-gettext2.sh: Likewise.
17922         * intl/tst-gettext4.sh  Likewise.
17923         * intl/tst-gettext6.sh: Likewise.
17924         * intl/tst-translit.sh: Likewise.
17925         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
17926         with $(test-program-cmd).
17927         * libio/Makefile ($(objpfx)test-freopen.out): Replace
17928         $(run-program-prefix) with $(test-program-prefix).
17929         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
17930         (test_program_prefix): This.
17931         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
17932         $(run-program-prefix) with $(test-program-prefix).
17933         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
17934         (test_program_prefix): This.
17935         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
17936         * posix/Makefile ($(objpfx)globtest.out): Replace
17937         $(run-via-rtld-prefix) and $(test-wrapper) with
17938         $(test-program-prefix) and $(test-via-rtld-prefix).
17939         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
17940         $(test-program-prefix).
17941         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
17942         $(host-test-program-cmd).
17943         (tst-spawn-ARGS): Likewise.
17944         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
17945         $(test-program-prefix).
17946         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
17947         (test_via_rtld_prefix): This.
17948         (test_wrapper): Renamed to ...
17949         (test_program_prefix): This.
17950         (run_program_prefix): Replaced by test_program_prefix.
17951         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
17952         (test_program_prefix): This.
17953         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
17954         with $(host-test-program-cmd).
17955         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
17956         $(run-program-prefix) with $(test-program-prefix).
17957         ($(objpfx)tst-printf.out): Likewise.
17958         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
17959         $(test-program-cmd).
17960         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
17961         (test_program_prefix): This.
17962         * stdio-common/tst-unbputc.sh: Likewise.
17963         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
17964         $(run-program-prefix) with $(test-program-prefix).
17965         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
17966         (test_program_prefix): This.
17967         * string/Makefile ($(objpfx)tst-svc.out):  Replace
17968         $(built-program-cmd) with $(test-program-cmd).
17970 2013-01-11  Andreas Jaeger  <aj@suse.de>
17972         [BZ #15003]
17973         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
17974         value. Sync with Linux 3.7.
17976 2013-01-10  David S. Miller  <davem@davemloft.net>
17978         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
17979         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17980         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17982 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17984         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
17985         never set.
17986         * configure: Regenerated.
17988 2013-01-10  David S. Miller  <davem@davemloft.net>
17990         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17991         sparc V9 rather than using V8 code.
17992         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17993         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17995 2013-01-10  Roland McGrath  <roland@hack.frob.com>
17997         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
17998         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
17999         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18000         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18001         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18002         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18003         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18004         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18005         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18006         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18007         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18008         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18009         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18010         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18011         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18012         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18013         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18014         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18015         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18016         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18017         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18018         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18019         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18020         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18021         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18022         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18023         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18025 2013-01-10  David S. Miller  <davem@davemloft.net>
18027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18029 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18031         * posix/Makefile (tests-static): New variable.
18032         (tests): Add $(tests-static).
18033         (tst-exec-static-ARGS): New variable.
18034         (tst-spawn-static-ARGS): Likewise.
18035         * posix/tst-exec-static.c: New file.
18036         * posix/tst-spawn-static.c: Likewise.
18037         * posix/tst-exec.c: Support run directly.
18038         * posix/tst-spawn.c: Likewise.
18040 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
18042         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18043         long.
18044         * math/bits/mathcalls.h (llrint): Likewise.
18045         (llround): Likewise.
18046         * stdlib/stdlib.h (struct drand48_data): Likewise.
18047         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18048         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18049         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18050         Likewise.
18051         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18052         Likewise.
18053         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18054         (elf_greg_t): Likewise.
18055         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18056         (__jmp_buf): Likewise.
18057         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18058         definitions.
18059         (llrint): Likewise, for all definitions.
18060         (llrintl): Likewise.
18062         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18063         Remove [__GNUC__] condition.
18064         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18065         condition to just [__USE_ISOC99].
18066         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18068 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18070         [BZ #14200]
18071         * sysdeps/unix/sysv/linux/x86/bits/environments.h
18072         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18073         defined.
18074         (_POSIX_V6_ILP32_OFF32): Likewise.
18075         (_XBS5_ILP32_OFF32): Likewise.
18076         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18077         (__ILP32_OFFBIG_LDFLAGS): Likewise.
18079 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18081         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18083         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18084         doubles __mpexp_twomm1.  Adjust usage.
18085         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18086         Remove.
18088 2013-01-10  Andreas Schwab  <schwab@suse.de>
18090         [BZ #14964]
18091         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18092         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18094 2013-01-09  David S. Miller  <davem@davemloft.net>
18096         [BZ #15003]
18097         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18098         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18099         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18100         TCP_FASTOPEN): Define.
18101         (tcp_repair_opt): New structure.
18102         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18103         enum values.
18104         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18105         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18106         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18107         (tcp_cookie_transactions): New structure.
18109 2013-01-09  Anton Blanchard  <anton@samba.org>
18111         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18112         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18113         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18114         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18116 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
18118         * include/features.h (__USE_ANSI): Remove.
18120 2013-01-09  Roland McGrath  <roland@hack.frob.com>
18122         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18124         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18126 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18128         * sysdeps/s390/fpu/libm-test-ulps: Update.
18130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18132         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18133         (__acr): Likewise.
18134         (__cpy): Likewise.
18135         (norm): Likewise.
18136         (denorm): Likewise.
18137         (__mp_dbl): Likewise.
18138         (__dbl_mp): Likewise.
18139         (add_magnitudes): Likewise.
18140         (sub_magnitudes): Likewise.
18141         (__add): Likewise.
18142         (__sub): Likewise.
18143         (__mul): Likewise.
18144         (__inv): Likewise.
18145         (__dvd): Likewise.
18146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18147         (__acr): Likewise.
18148         (__cpy): Likewise.
18149         (norm): Likewise.
18150         (denorm): Likewise.
18151         (__mp_dbl): Likewise.
18152         (__dbl_mp): Likewise.
18153         (add_magnitudes): Likewise.
18154         (sub_magnitudes): Likewise.
18155         (__add): Likewise.
18156         (__sub): Likewise.
18157         (__mul): Likewise.
18158         (__inv): Likewise.
18159         (__dvd): Likewise.
18160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18161         (__acr): Likewise.
18162         (__cpy): Likewise.
18163         (norm): Likewise.
18164         (denorm): Likewise.
18165         (__mp_dbl): Likewise.
18166         (__dbl_mp): Likewise.
18167         (add_magnitudes): Likewise.
18168         (sub_magnitudes): Likewise.
18169         (__add): Likewise.
18170         (__sub): Likewise.
18171         (__mul): Likewise.
18172         (__inv): Likewise.
18173         (__dvd): Likewise.
18175 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
18177         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18178         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18179         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18180         2 && __USE_EXTERN_INLINES]: Likewise.
18182 2013-01-08  Andreas Jaeger  <aj@suse.de>
18184         [BZ# 14985]
18185         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18186         Remove.
18187         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18188         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18190 2013-01-07  Anton Blanchard  <anton@samba.org>
18192         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18193         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18194         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18195         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18196         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18197         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18198         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18199         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18201         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18202         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18203         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18204         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18205         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18206         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18207         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18208         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18209         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18210         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18211         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18212         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18213         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18214         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18215         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18216         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18217         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18218         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18219         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18220         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18221         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18222         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18224         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18225         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18226         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18227         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18228         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18229         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18230         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18231         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18232         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18233         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18234         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18236 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
18238         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18239         (__MALLOC_PMT): Likewise.
18240         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18241         [__GNUC__], only on [_LIBC].
18242         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18243         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18244         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18245         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18246         forward declaration.
18247         (realloc_hook_ini): Likewise.
18248         (memalign_hook_ini): Likewise.
18249         (__libc_memalign): Do not use __MALLOC_PMT in variable
18250         declaration.
18251         (__libc_valloc): Likewise.
18252         (__libc_pvalloc): Likewise.
18253         (__libc_calloc): Likewise.
18254         (__posix_memalign): Likewise.
18256         [BZ #14996]
18257         * math/s_casinh.c: Include <float.h>.
18258         (__casinh): Do not do computation with squaring and square root
18259         for large arguments.
18260         * math/s_casinhf.c: Include <float.h>.
18261         (__casinhf): Do not do computation with squaring and square root
18262         for large arguments.
18263         * math/s_casinhl.c: Include <float.h>.
18264         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18265         (__casinhl): Do not do computation with squaring and square root
18266         for large arguments.
18267         * math/libm-test.inc (casin_test): Add more tests.
18268         (casinh_test): Likewise.
18269         * sysdeps/i386/fpu/libm-test-ulps: Update.
18270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18272 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
18274         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18275         (__x86_64_raw_data_cache_size): Likewise.
18276         (__x86_64_data_cache_size_half): Likewise.
18277         (__x86_64_raw_data_cache_size_half): Likewise.
18278         (__x86_64_shared_cache_size): Likewise.
18279         (__x86_64_raw_shared_cache_size): Likewise.
18280         (__x86_64_shared_cache_size_half): Likewise.
18281         (__x86_64_raw_shared_cache_size_half): Likewise.
18282         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18283         to ...
18284         (__x86_data_cache_size): This.
18285         (__x86_64_raw_data_cache_size): Renamed to ...
18286         (__x86_raw_data_cache_size): This.
18287         (__x86_64_data_cache_size_half): Renamed to ...
18288         (__x86_data_cache_size_half): This.
18289         (__x86_64_raw_data_cache_size_half): Renamed to ...
18290         (__x86_raw_data_cache_size_half): This.
18291         (__x86_64_shared_cache_size): Renamed to ...
18292         (__x86_shared_cache_size): This.
18293         (__x86_64_raw_shared_cache_size): Renamed to ...
18294         (__x86_raw_shared_cache_size): This.
18295         (__x86_64_shared_cache_size_half): Renamed to ...
18296         (__x86_shared_cache_size_half): This.
18297         (__x86_64_raw_shared_cache_size_half): Renamed to ...
18298         (__x86_raw_shared_cache_size_half): This.
18299         * sysdeps/x86_64/memcpy.S: Updated.
18300         * sysdeps/x86_64/memset.S: Likewise.
18301         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18302         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18303         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18305 2013-01-04  David S. Miller  <davem@davemloft.net>
18307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18309 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
18311         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18312         1 to avoid redefinition warning.
18313         (__USE_GNU): Don't define.
18314         (init_signaling_nan): Protoize.
18316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18318 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18320         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18322         (__cpymn): Likewise.
18323         (norm): Remove commented code.
18324         (denorm): Likewise.
18325         (__mp_dbl): Likewise.
18326         (__inv): Likewise.
18327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18328         (__cpymn): Likewise.
18329         (norm): Remove commented code.
18330         (denorm): Likewise.
18331         (__mp_dbl): Likewise.
18332         (__inv): Likewise.
18334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18335         mp_no value for 1.0 and 2.0.
18336         (norm): Use RADIXI instead of radixi.d.
18337         (denorm): Likewise.
18338         (__mul): Use 0.0 instead of zero.d.
18339         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18340         mp_no value for 1.0 and 2.0.
18341         (norm): Use RADIXI instead of radixi.d.
18342         (denorm): Likewise.
18343         (__mul): Use 0.0 instead of zero.d.
18345 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
18347         [BZ #14994]
18348         * math/s_casinh.c (__casinh): Reduce finite argument to first
18349         quadrant then set signs of results at the end.
18350         * math/s_casinhf.c (__casinhf): Likewise.
18351         * math/s_casinhl.c (__casinhl): Likewise.
18352         * math/libm-test.inc (casin_test): Add more tests.
18353         (casinh_test): Likewise.
18354         * sysdeps/i386/fpu/libm-test-ulps: Update.
18355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18357 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18359         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18361         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18363         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18364         declarations.
18365         (denorm): Likewise.
18366         (__mp_dbl): Likewise.
18367         (__inv): Likewise.
18369         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18370         and adjust the header comment.
18372         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18373         variable name from declaration.
18375 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
18377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18378         Initialize COMMON_CPUID_INDEX_7 element.
18379         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18380         (CPUID_RTM): Likewise.
18381         (HAS_RTM): Likewise.
18382         (COMMON_CPUID_INDEX_7): New enum.
18384 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
18386         [BZ #14981]
18387         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18388         size is zero, record memory as freed.
18390 2013-01-03  Andreas Jaeger  <aj@suse.de>
18392         * po/ia.po: Add new Interlingua translation.
18394 2012-01-03  Allan McRae  <allan@archlinux.org>
18396         * locale/programs/localedef.c: Fix description of '--posix' flag.
18398 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
18400         * NEWS: Update dates in second copyright notice.
18401         * README: Update copyright dates in example.
18402         * manual/libc.texinfo: Update copyright dates.
18403         * scripts/test-installation.pl: Update copyright date in --version
18404         output.
18406         * hurd/ctty-input.c: Fix copyright notice formatting.
18407         * hurd/ctty-output.c: Likewise.
18408         * hurd/dtable.c: Likewise.
18409         * hurd/hurd-raise.c: Likewise.
18410         * hurd/hurdprio.c: Likewise.
18411         * hurd/msgportdemux.c: Likewise.
18412         * misc/sys/file.h: Likewise.
18413         * misc/sys/ioctl.h: Likewise.
18414         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18415         * sysdeps/mach/hurd/chdir.c: Likewise.
18416         * sysdeps/mach/hurd/fchdir.c: Likewise.
18417         * sysdeps/mach/hurd/rename.c: Likewise.
18418         * sysdeps/mach/hurd/rmdir.c: Likewise.
18419         * sysdeps/mach/hurd/seekdir.c: Likewise.
18420         * sysdeps/mach/hurd/setsid.c: Likewise.
18421         * sysdeps/posix/wait3.c: Likewise.
18423         * All files with FSF copyright notices: Update copyright dates
18424         using scripts/update-copyrights.
18425         * intl/plural.c: Regenerated.
18426         * locale/programs/charmap-kw.h: Likewise.
18427         * locale/programs/locfile-kw.h: Likewise.
18429 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18431         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18432         four values.
18434         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18435         calculation loop and add branch prediction.
18437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18438         check access beyond bounds of m1np.
18440         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18441         MPTWO.
18442         (__inv): Remove local variable MPTWO to use the global
18443         constant.
18444         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18445         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18446         variable MPTWO.
18447         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18448         MP3HALFS static const.
18450 2013-01-01  David S. Miller  <davem@davemloft.net>
18452         * po/ca.po: Update from translation team.
18454 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
18456         * scripts/update-copyrights: New file.
18457         * Makeconfig: Reformat copyright notice.
18458         * ctype/ctype.h: Likewise.
18459         * debug/swprintf_chk.c: Likewise.
18460         * elf/dl-cache.c: Likewise.
18461         * elf/dl-debug.c: Likewise.
18462         * elf/dl-object.c: Likewise.
18463         * grp/initgroups.c: Likewise.
18464         * hurd/Makefile: Likewise.
18465         * hurd/hurd/signal.h: Likewise.
18466         * hurd/hurdfault.c: Likewise.
18467         * hurd/hurdioctl.c: Likewise.
18468         * hurd/hurdlookup.c: Likewise.
18469         * hurd/intr-msg.c: Likewise.
18470         * iconv/gconv_open.c: Likewise.
18471         * libio/swprintf.c: Likewise.
18472         * locale/lc-ctype.c: Likewise.
18473         * locale/nl_langinfo.c: Likewise.
18474         * mach/Machrules: Likewise.
18475         * mach/Makefile: Likewise.
18476         * malloc/obstack.h: Likewise.
18477         * manual/Makefile: Likewise.
18478         * manual/tsort.awk: Likewise.
18479         * misc/bits/stab.def: Likewise.
18480         * nis/nis_print_group_entry.c: Likewise.
18481         * nis/nis_table.c: Likewise.
18482         * nis/nss_compat/compat-pwd.c: Likewise.
18483         * nis/nss_compat/compat-spwd.c: Likewise.
18484         * po/Makefile: Likewise.
18485         * posix/fnmatch.c: Likewise.
18486         * posix/regex.h: Likewise.
18487         * resolv/Makefile: Likewise.
18488         * resolv/nss_dns/dns-network.c: Likewise.
18489         * resolv/res_hconf.c: Likewise.
18490         * scripts/gen-sorted.awk: Likewise.
18491         * soft-fp/soft-fp.h: Likewise.
18492         * stdio-common/printf.h: Likewise.
18493         * stdlib/monetary.h: Likewise.
18494         * stdlib/random.c: Likewise.
18495         * stdlib/random_r.c: Likewise.
18496         * sysdeps/generic/Makefile: Likewise.
18497         * sysdeps/gnu/Makefile: Likewise.
18498         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18499         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18500         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18501         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18502         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18503         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18504         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18505         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18506         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18507         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18508         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18509         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18510         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18511         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18512         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18513         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18514         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18515         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18516         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18517         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18518         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18519         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18520         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18521         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18522         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18523         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18524         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18525         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18526         * sysdeps/mach/hurd/errnos.awk: Likewise.
18527         * sysdeps/mach/hurd/fork.c: Likewise.
18528         * sysdeps/mach/hurd/getcwd.c: Likewise.
18529         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18530         * sysdeps/mach/hurd/mmap.c: Likewise.
18531         * sysdeps/mach/hurd/utimes.c: Likewise.
18532         * sysdeps/mach/hurd/xmknod.c: Likewise.
18533         * sysdeps/posix/profil.c: Likewise.
18534         * sysdeps/posix/readdir_r.c: Likewise.
18535         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18536         * sysdeps/powerpc/bits/setjmp.h: Likewise.
18537         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18538         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18540         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18541         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18542         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18544         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18545         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18546         * sysdeps/pthread/lio_listio.c: Likewise.
18547         * sysdeps/sparc/dl-procinfo.h: Likewise.
18548         * sysdeps/unix/i386/sysdep.S: Likewise.
18549         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18550         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18551         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18552         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18554         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18555         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18556         * sysdeps/unix/sysv/linux/speed.c: Likewise.
18557         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18558         * sysdeps/wordsize-32/divdi3.c: Likewise.
18559         * time/sys/time.h: Likewise.
18560         * wcsmbs/Makefile: Likewise.
18562 2013-01-01  David S. Miller  <davem@davemloft.net>
18564         * po/fr.po: Update from translation team.
18566         * catgets/gencat.c: Update copyright year.
18567         * csu/version.c: Likewise.
18568         * debug/catchsegv.sh: Likewise.
18569         * debug/pcprofiledump.c: Likewise.
18570         * debug/xtrace.sh: Likewise.
18571         * elf/ldconfig.c: Likewise.
18572         * elf/ldd.bash.in: Likewise.
18573         * elf/pldd.c: Likewise.
18574         * elf/sotruss.ksh: Likewise.
18575         * elf/sprof.c: Likewise.
18576         * iconv/iconv_prog.c: Likewise.
18577         * iconv/iconvconfig.c: Likewise.
18578         * locale/programs/locale.c: Likewise.
18579         * locale/programs/localedef.c: Likewise.
18580         * login/programs/pt_chown.c: Likewise.
18581         * malloc/memusage.sh: Likewise.
18582         * malloc/memusagestat.c: Likewise.
18583         * malloc/mtrace.pl: Likewise.
18584         * nscd/nscd.c: Likewise.
18585         * nss/getent.c: Likewise.
18586         * nss/makedb.c: Likewise.
18587         * posix/getconf.c: Likewise.
18589 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18591         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18592         numbers.
18594 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
18596         * math/bits/mathcalls.h (modf): Use __nonnull.
18598 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18600         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18601         (split): Use macro CN instead of the bare value.
18602         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18603         could be used.
18604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18605         instead of the bare value.
18606         (power1): Likewise.
18608 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18610         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18611         __ATAN_TWOM.
18612         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18614         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18615         their values.
18616         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18617         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18618         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18619         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18621 2012-12-28  Andreas Jaeger  <aj@suse.de>
18623         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
18624         values are from Linux 3.7.
18626         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18627         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
18629 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18631         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18632         TRUE case.
18634         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18635         (norm): Likewise.
18636         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18637         variables with preprocessor constants.
18638         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18639         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18640         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18642 2012-12-27  Bruno Haible  <bruno@clisp.org>
18644         [BZ #14317]
18645         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18646         only if needed.
18648 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18650         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18651         and use variable directly.
18652         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18654         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18655         MPONE.
18656         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18657         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18658         variable MPONE.
18659         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18660         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18661         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18662         include directive.  Remove local variable MPONE.
18663         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18664         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18665         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18667 2012-12-25  David S. Miller  <davem@davemloft.net>
18669         * version.h (RELEASE): Set to "development".
18670         (VERSION): Set to "2.17.90".
18671         * NEWS: Add 2.18 section.
18673 2012-12-21  David S. Miller  <davem@davemloft.net>
18675         * po/hr.po: Update from translation team.
18677 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18679         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18681 2012-12-19  Steve Ellcey  <sellcey@mips.com>
18683         * NEWS:  Mention new memcpy for MIPS.
18685 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18687         * manual/contrib.texi (Contributors): Spelling correction.
18689 2012-12-15  David S. Miller  <davem@davemloft.net>
18691         * po/ru.po: Update from translation team.
18693 2012-12-13  David S. Miller  <davem@davemloft.net>
18695         * NEWS: Mention IFUNC testsuite enhancements.
18697         * po/pl.po: Update from translation team.
18698         * po/bg.po: Likewise.
18700         * manual/contrib.texi (Contributors): Update entries for Hongjiu
18701         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
18703 2012-12-11  David S. Miller  <davem@davemloft.net>
18705         * po/sv.po: Update from translation team.
18707         * po/vi.po: Update from translation team.
18709         * po/cs.po: Update from translation team.
18711         * po/de.po: Update from translation team.
18712         * po/eo.po: Likewise.
18713         * po/nl.po: Likewise.
18715 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18717         [BZ #14246]
18718         * manual/argp.texi (Argp Helper Functions): Move node to follow
18719         Argp Parsing State.
18721         [BZ #14872]
18722         * manual/conf.texi (Limits on File System Capacity): Mention if
18723         terminating null is included in the max size.
18725 2012-12-10  Andreas Jaeger  <aj@suse.de>
18727         * po/cs.po: Update from translation team.
18729 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18731         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18732         void pointer and cast to uintptr_t.
18733         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18734         path.
18735         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18736         * sysdeps/s390/s390-64/memset.S: Likewise.
18738 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
18740         [BZ #14833]
18741         * menual/message.texi (Message Translation): Fix typos.
18742         (Helper programs for gettext): Likewise.
18744 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
18746         [BZ #14898]
18747         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18748         Change to -1.
18750 2012-12-07  David S. Miller  <davem@davemloft.net>
18752         * po/libc.pot: Update.
18754 2012-12-07  Richard Henderson  <rth@redhat.com>
18756         [BZ #10114]
18757         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18758         normal/normal case to before the switch.
18759         (_FP_DIV): Likewise.
18761 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
18762             Mike Frysinger  <vapier@gentoo.org>
18764         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18765         check for __NR_fadvise64_64.
18767 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
18769         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18770         0, not just to plain "0" as a statement.
18771         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18772         with cw.
18774 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
18776         * NEWS: Use sourceware.org in Bugzilla URL.
18778 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18781         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18783         * stdio-common/tst-put-error.c (do_test): Add newline to the
18784         padded test to ensure flush.
18786 2012-12-05  Jeff Law  <law@redhat.com>
18788         * sunrpc/etc.rpc (fedfs_admin): Add entry.
18790 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
18792         * README: Don't refer to ports add-on as distributed separately.
18793         Mention AArch64 in list of systems supported in the ports add-on.
18795         * LICENSES: Add more non-FSF copyright and license notices.
18797         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18798         ((unused)).
18800         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18802         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18803         10000 as width of padded output.
18805 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18807         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18809         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18810         variable LX with __attribute__ ((unused)).
18811         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18812         Likewise.
18813         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18815         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18816         with __attribute__ ((unused)).
18818 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
18820         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18822 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18824         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18825         (CFLAGS-nldbl-acos.c): New variable.
18826         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18827         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18828         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18829         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18830         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18831         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18832         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18833         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18834         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18835         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18836         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18837         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18838         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18839         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18840         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18841         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18842         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18843         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18844         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18845         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18846         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18847         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18848         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18849         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18850         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18851         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18852         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18853         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18854         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18855         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18856         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18857         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18858         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18859         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18860         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18861         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18862         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18863         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18864         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18865         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18866         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18867         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18868         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18869         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18870         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18871         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18872         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18873         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18874         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18875         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18876         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18877         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18878         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18879         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18880         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18881         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18882         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18883         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18884         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18885         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18886         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18887         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18888         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18889         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18890         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18891         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18892         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18893         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18894         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18895         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18896         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18897         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18898         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18899         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18900         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18901         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18902         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18903         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18904         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18905         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18906         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18907         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18908         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18909         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18910         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18911         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18912         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18913         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18914         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18915         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18916         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18917         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18918         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18919         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
18920         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
18921         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
18922         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
18924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18925         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18927         [BZ #14914]
18928         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
18929         whole low double instead of just low 47 bits when splitting values
18930         into two parts.
18932 2012-12-03  Allan McRae  <allan@archlinux.org>
18934         * manual/stdio.texi (Predefined Printf Handlers): Remove
18935         @hsep and @vsep usage.
18937 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
18939         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
18940         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
18942 2012-12-03  Jeff Law  <law@redhat.com>
18944         * time/sys/time.h (settimeofday): Do not mark TV argument
18945         as __nonnull.
18947 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
18949         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
18950         when currently writing and seek to current position when not.
18951         * libio/Makefile (tests): Remove bug-fclose1.
18952         * libio/bug-fclose1.c: Delete.
18954 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
18956         * manual/arith.texi (feenableexcept): Fix typo.
18957         (fedisableexcept): Likewise.
18959 2012-11-30  Roland McGrath  <roland@hack.frob.com>
18961         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
18962         second, differently-typed declaration, rather than a cast.
18964 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18966         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
18967         * include/rpc/svc.h: ... here.
18969 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
18971         [BZ #13013]
18972         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
18973         depending n and resplen2 to catch cases where answer
18974         equals answerp2.
18976 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
18978         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
18979         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
18981 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
18983         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
18985 2012-11-29  Roland McGrath  <roland@hack.frob.com>
18987         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
18989 2012-11-28  Jeff Law  <law@redhat.com>
18991         [BZ #13761]
18992         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
18993         dataset_temporary.  Track alloca usage into alloca_used.
18994         If dataset is large allocate and release it via malloc/free.
18996 2012-06-04  Florian Weimer  <fweimer@redhat.com>
18998         [BZ #14197]
18999         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19001 2012-11-28  David S. Miller  <davem@davemloft.net>
19003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19005 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19007         [BZ #14803]
19008         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19009         of pi/2 rounded to nearest to 64 bits.
19010         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19011         nearest to 64 bits.
19012         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19013         bits.
19015 2012-11-28  Jeff Law <law@redhat.com>
19016             Martin Osvald <mosvald@redhat.com>
19018         [BZ #14889]
19019         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19020         * sunrpc/svc.c: Include time.h.
19021         (__svc_accept_failed): New function.
19022         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19023         any reason other than EINTR, call __svc_accept_failed.
19024         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19025         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19027 2012-11-28  Andreas Schwab  <schwab@suse.de>
19029         * scripts/abilist.awk: Also handle indirect functions in .opd
19030         section.
19032 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19034         [BZ #13881]
19035         * sysdeps/x86/fpu/powl_helper.c: New file.
19036         * sysdeps/x86/fpu/Makefile: Likewise.
19037         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19038         (p3): New object.
19039         (__ieee754_powl): Use __powl_helper for finite arguments except
19040         integer exponents below 8.
19041         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19042         (p3): New object.
19043         (__ieee754_powl): Use __powl_helper for finite arguments except
19044         integer exponents below 8.
19045         * math/libm-test.inc (pow_test): Add more tests and enable some
19046         previously disabled tests.
19047         * sysdeps/i386/fpu/libm-test-ulps: Update.
19048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19050 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19051             Carlos O'Donell  <carlos_odonell@mentor.com>
19053         * nss/makedb.c (is_prime): Assert that input is odd and greater
19054         than 4.  Note that fact in a comment too.
19055         (next_prime): Add 4 to input.
19057 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19059         [BZ #11741]
19060         * libio/Makefile (tests): Add test case tst-fwrite-error.
19061         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19062         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19063         * libio/tst-fwrite-error.c: New test case.
19065 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
19067         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19068         before casting to void *.
19069         * include/libc-internal.h (__pointer_type): New macro.
19070         (__integer_if_pointer_type_sub): Likewise.
19071         (__integer_if_pointer_type): Likewise.
19072         (cast_to_integer): Likewise.
19073         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19074         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19075         before casting to atomic64_t.
19076         (atomic_exchange_acq): Likewise.
19077         (__arch_exchange_and_add_body): Likewise.
19078         (__arch_add_body): Likewise.
19079         (atomic_add_negative): Likewise.
19080         (atomic_add_zero): Likewise.
19082 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
19084         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19085         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19086         (add_fdes): Likewise.
19087         (linear_search_fdes): Likewise.
19088         (binary_search_unencoded_fdes): Likewise.
19090 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
19092         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19094 2012-11-24  Adam Conrad  <adconrad@0c3.net>
19096         * configure.in: Autodetect C++ header directories.
19097         * configure: Regenerated.
19099 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
19101         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19103 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
19105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19107 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
19109         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19110         LDBL_MANT_DIG == 106]: Disable some tests.
19111         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19112         Likewise.
19113         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19114         Likewise.
19116         [BZ #14871]
19117         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19118         input for small inputs.  Return +/- pi/2 for large inputs.
19119         * math/libm-test.inc (atan_test): Add more tests.
19121         * sysdeps/generic/unwind-dw2-fde-glibc.c
19122         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19123         __attribute__ ((unused)).
19125         [BZ #14645]
19126         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19127         x * y if x and y are nonzero and z is zero.
19129         [BZ #14811]
19130         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19131         nonzero exponents with absolute value below 0x1p-117 to +/-
19132         0x1p-117.
19134         [BZ #14869]
19135         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19136         up arguments below 2**-450, not just those below 2**-500.
19137         * math/libm-test.inc (hypot_test): Add another test.
19139         [BZ #14868]
19140         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19141         Return a+b for ratio over 2**120, not 2**60.
19142         * math/libm-test.inc (hypot_test): Add another test.
19144         * math/libm-test.inc (clog_test): Use
19145         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19146         (clog10_test): Likewise.
19148         [BZ #6778]
19149         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19151 2012-11-22  Andreas Schwab  <schwab@suse.de>
19153         * sysdeps/i386/fpu/libm-test-ulps: Update.
19155 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
19157         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19158         printf output with newline.
19160 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
19162         [BZ #14865]
19163         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19164         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19165         -z nodlopen, -z initfirst and -z execstack support.
19166         * configure: Regenerated.
19168         * elf/elf.h (DF_1_NODIRECT): New macro.
19169         (DF_1_IGNMULDEF): Likewise.
19170         (DF_1_NOKSYMS): Likewise.
19171         (DF_1_NOHDR): Likewise.
19172         (DF_1_EDITED): Likewise.
19173         (DF_1_NORELOC): Likewise.
19174         (DF_1_SYMINTPOSE): Likewise.
19175         (DF_1_GLOBAUDIT): Likewise.
19176         (DF_1_SINGLETON): Likewise.
19177         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19178         DT_1_SUPPORTED_MASK bits.
19179         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19181 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
19183         * sysdeps/unix/make-syscalls.sh: Document prefixes.
19185 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
19187         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19188         macro.
19190         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19191         (sendmmsg): Move declarations...
19192         * socket/sys/socket.h: ... here.
19193         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19194         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19195         include it from...
19196         * socket/recvmmsg.c: ... this new file.
19197         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19198         (sendmmsg): Rename to __sendmmsg, create weak alias and make
19199         definition of __sendmmsg hidden.
19200         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19201         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19202         Move ENOSYS stub into and include it from...
19203         * socket/sendmmsg.c: ... this new file.
19204         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19205         (sysdep_routines): Move recvmmsg and sendmmsg...
19206         * socket/Makefile (routines): ... here.
19207         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19208         (GLIBC_PRIVATE): Add __sendmmsg.
19209         * include/sys/socket.h (__sendmmsg): Add declarations.
19210         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19211         sendmmsg.
19213 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
19215         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19216         variable I1 with __attribute__ ((unused)).
19217         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19219 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19221         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19222         DUMMY variables with __attribute__ ((unused)).
19224         * bits/byteswap.h: Include <bits/types.h>.
19225         (__bswap_64): Use __uint64_t instead of unsigned long long int.
19227 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19229         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19230         string_t.  Do not manually set errno.
19231         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19232         length with __strnlen.  Make sure to both set errno and return it on
19233         failure.
19235 2012-11-19  David S. Miller  <davem@davemloft.net>
19237         With help from Joseph Myers.
19238         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19239         very large arguments properly.
19240         * math/libm-test.inc (atan_test): New tests.
19241         (atan2_test): New tests.
19242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19245 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19247         [BZ #14856]
19248         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19249         Define to 3.
19251         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19252         [POSIX] (EADDRNOTAVAIL): Likewise.
19253         [POSIX] (EAFNOSUPPORT): Likewise.
19254         [POSIX] (EALREADY): Likewise.
19255         [POSIX] (ECONNABORTED): Likewise.
19256         [POSIX] (ECONNREFUSED): Likewise.
19257         [POSIX] (ECONNRESET): Likewise.
19258         [POSIX] (EDESTADDRREQ): Likewise.
19259         [POSIX] (EDQUOT): Likewise.
19260         [POSIX] (EHOSTUNREACH): Likewise.
19261         [POSIX] (EIDRM): Likewise.
19262         [POSIX] (EISCONN): Likewise.
19263         [POSIX] (ELOOP): Likewise.
19264         [POSIX] (EMULTIHOP): Likewise.
19265         [POSIX] (ENETDOWN): Likewise.
19266         [POSIX] (ENETUNREACH): Likewise.
19267         [POSIX] (ENOBUFS): Likewise.
19268         [POSIX] (ENODATA): Likewise.
19269         [POSIX] (ENOLINK): Likewise.
19270         [POSIX] (ENOMSG): Likewise.
19271         [POSIX] (ENOPROTOOPT): Likewise.
19272         [POSIX] (ENOSR): Likewise.
19273         [POSIX] (ENOSTR): Likewise.
19274         [POSIX] (ENOTCONN): Likewise.
19275         [POSIX] (ENOTSOCK): Likewise.
19276         [POSIX] (EOPNOTSUPP): Likewise.
19277         [POSIX] (EOVERFLOW): Likewise.
19278         [POSIX] (EPROTO): Likewise.
19279         [POSIX] (EPROTONOSUPPORT): Likewise.
19280         [POSIX] (EPROTOTYPE): Likewise.
19281         [POSIX] (ESTALE): Likewise.
19282         [POSIX] (ETIME): Likewise.
19283         [POSIX] (ETXTBSY): Likewise.
19284         [POSIX] (EWOULDBLOCK): Likewise.
19285         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19286         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19287         [POSIX] (SEEK_CUR): Likewise.
19288         [POSIX] (SEEK_END): Likewise.
19289         [POSIX || UNIX98] (mode_t): Do not require.
19290         [POSIX] (off_t): Likewise.
19291         [POSIX] (pid_t): Likewise.
19292         [POSIX] (sys/stat.h): Do not allow header.
19293         [POSIX] (unistd.h): Likewise.
19294         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19295         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19296         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19297         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19298         require.
19299         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19300         sigevent): Specify elements.
19301         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19302         entry.
19303         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19304         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19306         * conform/data/cpio.h-data [POSIX]: Disable whole file.
19307         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19308         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19309         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19310         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19311         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19312         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19313         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19314         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19315         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19316         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19317         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19318         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19319         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19320         Likewise.
19321         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19322         Likewise.
19323         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19324         Likewise.
19325         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19326         Likewise.
19327         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19328         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19329         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19330         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19331         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19332         Specify lower bound on value.
19333         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19334         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19335         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19336         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19337         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19338         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19339         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19340         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19341         value.
19342         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19343         as optional.
19344         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19345         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19346         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19347         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19348         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19349         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19350         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19351         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19352         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19353         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19354         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19355         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19356         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19357         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19358         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19359         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19360         entry.
19361         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19362         optional.
19363         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19364         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19365         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19366         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19367         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19368         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19369         Likewise.
19370         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19371         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19372         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19373         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19374         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
19375         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19376         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19377         as optional.
19378         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19379         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19380         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19381         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19382         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19383         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19384         specify as optional.
19385         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19386         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19387         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19388         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19389         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19390         [XPG3] (NL_LANGMAX): Likewise.
19391         [POSIX || XPG3] (NL_MSGMAX): Likewise.
19392         [POSIX || XPG3] (NL_NMAX): Likewise.
19393         [POSIX || XPG3] (NL_SETMAX): Likewise.
19394         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19395         [XPG3] (NZERO): Likewise.
19396         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19397         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19398         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19399         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19400         (REG_ERANGE): Expect.
19401         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19402         optional-constant.
19403         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19404         Use (void) in prototype.
19405         [POSIX] (*_t): Allow.
19406         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19407         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19408         (WRDE_BADVAL): Expect.
19410         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19411         expect.
19412         [XPG3 || XPG4] (O_RSYNC): Likewise.
19413         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19414         Likewise.
19415         [XPG3 || XPG4] (pthread_sigmask): Likewise.
19416         [XPG3 || XPG4] (sigqueue): Likewise.
19417         [XPG3 || XPG4] (sigtimedwait): Likewise.
19418         [XPG3 || XPG4] (sigwaitinfo): Likewise.
19419         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19420         [XPG3 || XPG4] (vsnprintf): Likewise.
19421         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19422         Likewise.
19423         [XPG3 || XPG4] (blksize_t): Likewise.
19424         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19425         Likewise.
19426         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19427         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19428         [XPG3 || XPG4] (struct itimerspec): Likewise.
19429         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19430         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19431         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19432         [XPG3 || XPG4] (clockid_t): Likewise.
19433         [XPG3 || XPG4] (timer_t): Likewise.
19434         [XPG3 || XPG4] (clock_getres): Likewise.
19435         [XPG3 || XPG4] (clock_gettime): Likewise.
19436         [XPG3 || XPG4] (clock_settime): Likewise.
19437         [XPG3 || XPG4] (nanosleep): Likewise.
19438         [XPG3 || XPG4] (timer_create): Likewise.
19439         [XPG3 || XPG4] (timer_delete): Likewise.
19440         [XPG3 || XPG4] (timer_gettime): Likewise.
19441         [XPG3 || XPG4] (timer_getoverrun): Likewise.
19442         [XPG3 || XPG4] (timer_settime): Likewise.
19443         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19444         [XPG3 || XPG4] (getlogin_r): Likewise.
19445         [XPG3 || XPG4] (pread): Likewise.
19446         [XPG3 || XPG4] (pthread_atfork): Likewise.
19447         [XPG3 || XPG4] (pwrite): Likewise.
19449         [BZ #14835]
19450         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19451         <bits/siginfo.h>.
19453 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19455         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19456         finalizing MALLSTREAM.
19458         * sysdeps/mach/hurd/syncfs.c: New file.
19460 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19462         [BZ #14719]
19463         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19464         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19465         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19466         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19467         (_nss_dns_gethostbyname4_r): Likewise.
19468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19469         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19471 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
19473         [BZ #13763]
19474         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19476 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
19478         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19479         * elf/cache.c (print_entry): Print ",AArch64" for
19480         FLAG_AARCH64_LIB64
19482         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19483         * elf/cache.c (print_entry): Print ",hard-float" for
19484         FLAG_ARM_LIBHF.
19486 2012-11-18  David S. Miller  <davem@davemloft.net>
19488         With help from Joseph Myers.
19489         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19490         cutoff to 2**-13.
19491         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19492         cutoff to 2**-25.
19493         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19494         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19495         small.
19496         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19497         * math/libm-test.inc (y0_test): New tests.
19498         (y1_test): New tests.
19499         * sysdeps/i386/fpu/libm-test-ulps: Update.
19500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19503 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
19505         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19506         64-bit targets.
19507         * configure: Regenerated.
19509 2012-11-17  David S. Miller  <davem@davemloft.net>
19511         [BZ #14811]
19512         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19513         nonzero exponents with absolute value below 0x1p-128 to +/-
19514         0x1p-128.
19516 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
19518         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19520         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19522         * posix/getconf-speclist.c: New file.
19523         * posix/posix-envs.def: Likewise.
19524         * posix/confstr.c (START_ENV_GROUP): New macro.
19525         (END_ENV_GROUP): Likewise.
19526         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19527         (KNOWN_PRESENT_ENV_STRING): Likewise.
19528         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19529         (UNKNOWN_ENVIRONMENT): Likewise.
19530         (confstr): Include posix-envs.def instead of handling
19531         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19532         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19533         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19534         (END_ENV_GROUP): Likewise.
19535         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19536         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19537         (UNKNOWN_ENVIRONMENT): Likewise.
19538         (__sysconf): Include posix-envs.def instead of handling associated
19539         cases directly here.
19540         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19541         preprocessing getconf-speclist.c rather than running getconf or
19542         generating empty file.
19544 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
19546         * scripts/check-local-headers.sh: Ignore 'mach' headers.
19548 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
19550         [BZ #14672]
19551         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19553 2012-11-16  David S. Miller  <davem@davemloft.net>
19555         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19556         smaller than LDBL_EPSILON/2.0L, just return xm1.
19558 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
19560         * elf/tst-array1.c (init): Set constructor priority to 1000.
19561         (fini): Set destructor priority to 1000.
19562         * elf/tst-array2dep.c: Likewise.
19564 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19566         [BZ #11741]
19567         * libio/fileops.c (_IO_new_file_write): Correctly return error.
19568         (_IO_new_file_xsputn): Also return EOF if none of the input
19569         data was written when overflow failed.
19570         * libio/iopadn.c (_IO_padn): Likewise.
19571         * libio/iowpadn.c (_IO_wpadn): Likewise.
19572         * stdio-common/tst-put-error.c: Add copyright notice.
19573         (do_test): Add case for printing padded string.
19574         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19575         _IO_padn returned error.
19576         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19577         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19578         return EOF.
19580 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19582         * libio/libioP.h: Add comment note that the references to C++
19583         bits are now obsolete.
19585 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19587         * math/libm-test.inc (check_complex): Use asprintf.
19589 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
19591         * debug/pcprofiledump.c (print_version): Update copyright year.
19592         * malloc/memusagestat.c (print_version): Likewise.
19594 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19596         [BZ #14831]
19597         * elf/Makefile (tests): Add tst-audit8.
19598         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19599         ($(objpfx)tst-audit8.out): New target.
19600         (tst-audit8-ENV): New variable.
19601         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19602         audit if l_reloc_result is NULL.
19603         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19604         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19605         * elf/tst-audit8.c: New file.
19607 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19609         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19610         * misc/Makefile (CFLAGS-select.c): Define.
19611         * posix/Makefile (CFLAGS-pause.c): Define.
19613 2012-11-13  David S. Miller  <davem@davemloft.net>
19615         * crypt/Makefile: Move test targets after toplevel Rules
19616         inclusion.  Grab any necessary sysdep routines when linking.
19617         * crypt/md5.c (md5_process_block): Remove define, we will always
19618         name it __md5_process_block.
19619         (md5_finish_ctx): Update md5_process_block call.
19620         (md5_stream): Likewise.
19621         (md5_process_bytes): Likewise.
19622         (md5_process_block): Rename to __md5_process_block and move to ...
19623         * crypt/md5-block.c: ... here.
19624         * crypt/sha256.c (sha256_process_block): Move to ...
19625         * crypt/sha256-block.c: ... here.
19626         * crypt/sha512.c (sha512_process_block): Move to ...
19627         * crypt/sha512-block.c: ... here.
19628         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19629         path.
19630         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19631         * sysdeps/sparc/sparc64/multiarch/Makefile
19632         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19633         crypt subdir.
19634         (localedef-aux): Add md5 crypto assembler when in locale subdir.
19635         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19636         multiarch changes.
19637         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19638         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19639         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19640         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19641         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19642         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19643         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19644         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19645         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19646         file.
19647         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19648         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19649         file.
19650         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19652 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
19654         * timezone/tzselect.ksh: Update from tzcode git revision
19655         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19656         * timezone/zdump.c: Likewise.
19657         * timezone/zic.c: Likewise.
19658         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19659         in TZVERSION setting, not $(PKGVERSION).
19660         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
19661         REPORT_BUGS_TO settings.
19663         [BZ #14838]
19664         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19665         macro.
19667 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19669         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19670         detection to immediately after _FP_ROUND().
19671         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19672         bits are 0.
19674 2012-11-11  David S. Miller  <davem@davemloft.net>
19676         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19677         inttypes.h
19678         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19679         __close rather than their public counterparts.
19681 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
19683         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19684         file.
19685         [UNIX98] (sem_timedwait): Do not expect.
19686         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19687         [XPG4 || UNIX98] (sockatmark): Do not expect.
19688         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19689         (clock_getcpuclockid): Do not expect.
19690         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19691         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19692         Do not expect.
19693         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19694         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19695         [UNIX98] (vwscanf): Likewise.
19696         [UNIX98] (vswscanf): Likewise.
19698 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
19700         * timezone/version.h: Remove file.
19701         * timezone/README: Do not refer to version.h.
19702         * timezone/Makefile ($(objpfx)zic.o): New dependency on
19703         $(objpfx)version.h.
19704         ($(objpfx)zdump.o): Likewise.
19705         ($(objpfx)version.h): New target.
19707         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19708         2012i.
19709         * timezone/README: Don't mention modification to tzselect.ksh.
19710         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19711         work on unmodified tzselect.ksh.  Substitute version numbers in
19712         tzselect.ksh.
19714         * Makefile (format-me): Remove.
19715         (INSTALL): Adjust indentation.  Use commands directly instead of
19716         using $(format-me).
19718         * aclocal.m4 (ACX_PKGVERSION): New macro.
19719         (ACX_BUGURL): Likewise.
19720         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19721         (PKGVERSION): New AC_DEFINE_UNQUOTED.
19722         (REPORT_BUGS_TO): Likewise.
19723         * configure: Regenerated.
19724         * config.h.in (PKGVERSION): New macro.
19725         (REPORT_BUGS_TO): Likewise.
19726         * config.make.in (PKGVERSION): New variable.
19727         (PKGVERSION_TEXI): Likewise.
19728         (REPORT_BUGS_TO): Likewise.
19729         (REPORT_BUGS_TEXI): Likewise.
19730         * Makefile (format-me): Use -I$(common-objpfx)manual.
19731         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19732         ($(common-objpfx)manual/%): New target.
19733         (manual/%): Remove target.
19734         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19735         (print_version): Use PKGVERSION.
19736         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19737         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19738         and REPORT_BUGS_TO.
19739         ($(objpfx)xtrace): Likewise.
19740         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19741         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19742         (print_version): Use PKGVERSION.
19743         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19744         (do_version): Use PKGVERSION.
19745         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19746         REPORT_BUGS_TO.
19747         (common-ldd-rewrite): Likewise.
19748         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19749         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19750         (print_version): Use PKGVERSION.
19751         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19752         * elf/pldd.c (argp_program_bug_address): Remove variable.
19753         (more_help): New function.
19754         (argp): Use more_help.
19755         (print_version): Use PKGVERSION.
19756         * elf/sln.c (main): Use PKGVERSION.
19757         (usage): Use REPORT_BUGS_TO.
19758         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19759         (top level): Use PKGVERSION.
19760         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19761         (print_version): Use PKGVERSION.
19762         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19763         (print_version): Use PKGVERSION.
19764         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19765         (print_version): Use PKGVERSION.
19766         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19767         (print_version): Use PKGVERSION.
19768         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19769         (print_version): Use PKGVERSION.
19770         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19771         (print_version): Use PKGVERSION.
19772         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19773         and BUGURL.
19774         ($(objpfx)memusage): Likewise.
19775         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19776         (do_version): Use PKGVERSION.
19777         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19778         (print_version): Use PKGVERSION.
19779         * malloc/mtrace.pl ($PACKAGE): Remove variable.
19780         ($PKGVERSION): New variable.
19781         ($REPORT_BUGS_TO): Likewise.
19782         (usage): Use $REPORT_BUGS_TO.
19783         (top level): Use $PKGVERSION.
19784         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19785         ($(objpfx)pkgvers.texi): New rule.
19786         ($(objpfx)stamp-pkgvers): Likewise.
19787         * manual/install.texi: Include pkgvers.texi.
19788         (--with-pkgversion): Document new configure option.
19789         (--with-bugurl): Likewise.
19790         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19791         than necessarily for this particular distribution.  Use
19792         REPORT_BUGS_TO for where to report bugs.
19793         * INSTALL: Regenerated.
19794         * manual/libc.texinfo: Include pkgvers.texi.
19795         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19796         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19797         (print_version): Use PKGVERSION.
19798         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19799         (print_version): Use PKGVERSION.
19800         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19801         (print_version): Use PKGVERSION.
19802         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19803         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19804         macro.
19805         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19806         (print_version): Use PKGVERSION.
19807         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19808         (print_version): Use PKGVERSION.
19809         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19810         and PKGVERSION.
19812         * timezone/checktab.awk: Update from tzcode 2012i.
19813         * timezone/ialloc.c: Likewise.
19814         * timezone/private.h: Likewise.
19815         * timezone/scheck.c: Likewise.
19816         * timezone/tzfile.h: Likewise.
19817         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19818         (TZVERSION): Hardcode tzcode version number.
19819         * timezone/zdump.c: Update from tzcode 2012i.
19820         * timezone/zic.c: Likewise.
19821         * timezone/version.h: New file.
19822         * timezone/README: Describe version.h.  Update upstream location.
19824         [BZ #14824]
19825         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19826         (mktemp): Enable declaration.
19827         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19828         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19829         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19830         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19831         Likewise.
19832         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19833         Likewise.
19834         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19835         Likewise.
19836         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19837         Likewise.
19838         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19839         Likewise.
19840         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19841         Likewise.
19843         [BZ #14821]
19844         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19845         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
19846         for copies of such integer values.
19847         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19848         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19850 2012-11-09  Andreas Jaeger  <aj@suse.de>
19852         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19853         definitions and declarations that are provided by
19854         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19856 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19858         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19859         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19860         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19861         definition.
19863 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19865         * elf/elf.h: Update comment before AArch64 relocations.
19867 2012-11-07  David S. Miller  <davem@davemloft.net>
19869         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19870         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19871         (__start_context): Declare.
19872         (__makecontext_ret): Delete.
19873         (__makecontext): Hook up __start_context instead of
19874         __makecontext_ret.
19875         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19876         (sysdep_routines): Add __start_context when in stdlib.
19878 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19880         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19881         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19882         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
19883         hardcoded "nm".
19884         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
19885         (READELF): New variable.  Use it instead of hardcoded "readelf".
19887 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19889         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19890         * sysdeps/x86/Makefile: Here.
19891         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19892         * sysdeps/x86/tst-xmmymm.sh: This.
19894 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19896         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19897         expectations.
19898         [UNIX98] (pthread_barrier_t): Do not expect.
19899         [UNIX98] (pthread_barrierattr_t): Likewise.
19900         [UNIX98] (pthread_spinlock_t): Likewise.
19901         [UNIX98] (pthread_barrier_destroy): Likewise.
19902         [UNIX98] (pthread_barrier_init): Likewise.
19903         [UNIX98] (pthread_barrier_wait): Likewise.
19904         [UNIX98] (pthread_barrierattr_destroy): Likewise.
19905         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19906         [UNIX98] (pthread_barrierattr_init): Likewise.
19907         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19908         [UNIX98] (pthread_getcpuclockid): Likewise.
19909         [UNIX98] (pthread_mutex_timedlock): Likewise.
19910         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19911         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19912         [UNIX98] (pthread_sigmask): Likewise.
19913         [UNIX98] (pthread_spin_destroy): Likewise.
19914         [UNIX98] (pthread_spin_init): Likewise.
19915         [UNIX98] (pthread_spin_lock): Likewise.
19916         [UNIX98] (pthread_spin_trylock): Likewise.
19917         [UNIX98] (pthread_spin_unlock): Likewise.
19918         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19919         Do not expect.
19920         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
19921         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
19922         [XPG3 || XPG4] (pthread_cond_t): Likewise.
19923         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
19924         [XPG3 || XPG4] (pthread_key_t): Likewise.
19925         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
19926         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
19927         [XPG3 || XPG4] (pthread_once_t): Likewise.
19928         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
19929         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
19930         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
19931         [XPG3 || XPG4] (pthread_t): Likewise.
19933         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
19934         not expect.
19935         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
19937         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
19938         Change function return type to int.
19940         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
19941         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
19942         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
19943         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
19944         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
19945         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
19946         [!POSIX] (posix_madvise): Likewise.
19947         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
19948         && !UNIX98].
19949         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
19950         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
19951         (mode_t): Likewise.
19952         (posix_mem_offset): Likewise.
19953         (posix_typed_mem_get_info): Likewise.
19954         (posix_typed_mem_open): Likewise.
19956         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
19957         Change condition to [XOPEN2K8].
19959         * conform/conformtest.pl: Preprocess allow-header data with -x c
19960         instead of from stdin.
19961         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
19962         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
19963         [C99-based standards] (cerfc): Likewise.
19964         [C99-based standards] (cexp2): Likewise.
19965         [C99-based standards] (cexpm1): Likewise.
19966         [C99-based standards] (clog10): Likewise.
19967         [C99-based standards] (clog1p): Likewise.
19968         [C99-based standards] (clog2): Likewise.
19969         [C99-based standards] (clgamma): Likewise.
19970         [C99-based standards] (ctgamma): Likewise.
19971         [C99-based standards] (cerff): Likewise.
19972         [C99-based standards] (cerfcf): Likewise.
19973         [C99-based standards] (cexp2f): Likewise.
19974         [C99-based standards] (cexpm1f): Likewise.
19975         [C99-based standards] (clog10f): Likewise.
19976         [C99-based standards] (clog1pf): Likewise.
19977         [C99-based standards] (clog2f): Likewise.
19978         [C99-based standards] (clgammaf): Likewise.
19979         [C99-based standards] (ctgammaf): Likewise.
19980         [C99-based standards] (cerfl): Likewise.
19981         [C99-based standards] (cerfcl): Likewise.
19982         [C99-based standards] (cexp2l): Likewise.
19983         [C99-based standards] (cexpm1l): Likewise.
19984         [C99-based standards] (clog10l): Likewise.
19985         [C99-based standards] (clog1pl): Likewise.
19986         [C99-based standards] (clog2l): Likewise.
19987         [C99-based standards] (clgammal): Likewise.
19988         [C99-based standards] (ctgammal): Likewise.
19989         * conform/data/inttypes.h-data [C99-based standards]: Include
19990         stdint.h-data.  Remove all expectations for stdint.h contents.
19991         [C99-based standards] (PRI*): Do not allow.
19992         [C99-based standards] (SCN*): Likewise.
19993         [C99-based standards] (*_t): Likewise.
19994         [C99-based-standards] (PRId8): Expect macro.
19995         [C99-based-standards] (PRIi8): Likewise.
19996         [C99-based-standards] (PRIo8): Likewise.
19997         [C99-based-standards] (PRIu8): Likewise.
19998         [C99-based-standards] (PRIx8): Likewise.
19999         [C99-based-standards] (PRIX8): Likewise.
20000         [C99-based-standards] (SCNd8): Likewise.
20001         [C99-based-standards] (SCNi8): Likewise.
20002         [C99-based-standards] (SCNo8): Likewise.
20003         [C99-based-standards] (SCNu8): Likewise.
20004         [C99-based-standards] (SCNx8): Likewise.
20005         [C99-based-standards] (PRIdLEAST8): Likewise.
20006         [C99-based-standards] (PRIiLEAST8): Likewise.
20007         [C99-based-standards] (PRIoLEAST8): Likewise.
20008         [C99-based-standards] (PRIuLEAST8): Likewise.
20009         [C99-based-standards] (PRIxLEAST8): Likewise.
20010         [C99-based-standards] (PRIXLEAST8): Likewise.
20011         [C99-based-standards] (SCNdLEAST8): Likewise.
20012         [C99-based-standards] (SCNiLEAST8): Likewise.
20013         [C99-based-standards] (SCNoLEAST8): Likewise.
20014         [C99-based-standards] (SCNuLEAST8): Likewise.
20015         [C99-based-standards] (SCNxLEAST8): Likewise.
20016         [C99-based-standards] (PRIdFAST8): Likewise.
20017         [C99-based-standards] (PRIiFAST8): Likewise.
20018         [C99-based-standards] (PRIoFAST8): Likewise.
20019         [C99-based-standards] (PRIuFAST8): Likewise.
20020         [C99-based-standards] (PRIxFAST8): Likewise.
20021         [C99-based-standards] (PRIXFAST8): Likewise.
20022         [C99-based-standards] (SCNdFAST8): Likewise.
20023         [C99-based-standards] (SCNiFAST8): Likewise.
20024         [C99-based-standards] (SCNoFAST8): Likewise.
20025         [C99-based-standards] (SCNuFAST8): Likewise.
20026         [C99-based-standards] (SCNxFAST8): Likewise.
20027         [C99-based-standards] (PRId16): Likewise.
20028         [C99-based-standards] (PRIi16): Likewise.
20029         [C99-based-standards] (PRIo16): Likewise.
20030         [C99-based-standards] (PRIu16): Likewise.
20031         [C99-based-standards] (PRIx16): Likewise.
20032         [C99-based-standards] (PRIX16): Likewise.
20033         [C99-based-standards] (SCNd16): Likewise.
20034         [C99-based-standards] (SCNi16): Likewise.
20035         [C99-based-standards] (SCNo16): Likewise.
20036         [C99-based-standards] (SCNu16): Likewise.
20037         [C99-based-standards] (SCNx16): Likewise.
20038         [C99-based-standards] (PRIdLEAST16): Likewise.
20039         [C99-based-standards] (PRIiLEAST16): Likewise.
20040         [C99-based-standards] (PRIoLEAST16): Likewise.
20041         [C99-based-standards] (PRIuLEAST16): Likewise.
20042         [C99-based-standards] (PRIxLEAST16): Likewise.
20043         [C99-based-standards] (PRIXLEAST16): Likewise.
20044         [C99-based-standards] (SCNdLEAST16): Likewise.
20045         [C99-based-standards] (SCNiLEAST16): Likewise.
20046         [C99-based-standards] (SCNoLEAST16): Likewise.
20047         [C99-based-standards] (SCNuLEAST16): Likewise.
20048         [C99-based-standards] (SCNxLEAST16): Likewise.
20049         [C99-based-standards] (PRIdFAST16): Likewise.
20050         [C99-based-standards] (PRIiFAST16): Likewise.
20051         [C99-based-standards] (PRIoFAST16): Likewise.
20052         [C99-based-standards] (PRIuFAST16): Likewise.
20053         [C99-based-standards] (PRIxFAST16): Likewise.
20054         [C99-based-standards] (PRIXFAST16): Likewise.
20055         [C99-based-standards] (SCNdFAST16): Likewise.
20056         [C99-based-standards] (SCNiFAST16): Likewise.
20057         [C99-based-standards] (SCNoFAST16): Likewise.
20058         [C99-based-standards] (SCNuFAST16): Likewise.
20059         [C99-based-standards] (SCNxFAST16): Likewise.
20060         [C99-based-standards] (PRId32): Likewise.
20061         [C99-based-standards] (PRIi32): Likewise.
20062         [C99-based-standards] (PRIo32): Likewise.
20063         [C99-based-standards] (PRIu32): Likewise.
20064         [C99-based-standards] (PRIx32): Likewise.
20065         [C99-based-standards] (PRIX32): Likewise.
20066         [C99-based-standards] (SCNd32): Likewise.
20067         [C99-based-standards] (SCNi32): Likewise.
20068         [C99-based-standards] (SCNo32): Likewise.
20069         [C99-based-standards] (SCNu32): Likewise.
20070         [C99-based-standards] (SCNx32): Likewise.
20071         [C99-based-standards] (PRIdLEAST32): Likewise.
20072         [C99-based-standards] (PRIiLEAST32): Likewise.
20073         [C99-based-standards] (PRIoLEAST32): Likewise.
20074         [C99-based-standards] (PRIuLEAST32): Likewise.
20075         [C99-based-standards] (PRIxLEAST32): Likewise.
20076         [C99-based-standards] (PRIXLEAST32): Likewise.
20077         [C99-based-standards] (SCNdLEAST32): Likewise.
20078         [C99-based-standards] (SCNiLEAST32): Likewise.
20079         [C99-based-standards] (SCNoLEAST32): Likewise.
20080         [C99-based-standards] (SCNuLEAST32): Likewise.
20081         [C99-based-standards] (SCNxLEAST32): Likewise.
20082         [C99-based-standards] (PRIdFAST32): Likewise.
20083         [C99-based-standards] (PRIiFAST32): Likewise.
20084         [C99-based-standards] (PRIoFAST32): Likewise.
20085         [C99-based-standards] (PRIuFAST32): Likewise.
20086         [C99-based-standards] (PRIxFAST32): Likewise.
20087         [C99-based-standards] (PRIXFAST32): Likewise.
20088         [C99-based-standards] (SCNdFAST32): Likewise.
20089         [C99-based-standards] (SCNiFAST32): Likewise.
20090         [C99-based-standards] (SCNoFAST32): Likewise.
20091         [C99-based-standards] (SCNuFAST32): Likewise.
20092         [C99-based-standards] (SCNxFAST32): Likewise.
20093         [C99-based-standards] (PRId64): Likewise.
20094         [C99-based-standards] (PRIi64): Likewise.
20095         [C99-based-standards] (PRIo64): Likewise.
20096         [C99-based-standards] (PRIu64): Likewise.
20097         [C99-based-standards] (PRIx64): Likewise.
20098         [C99-based-standards] (PRIX64): Likewise.
20099         [C99-based-standards] (SCNd64): Likewise.
20100         [C99-based-standards] (SCNi64): Likewise.
20101         [C99-based-standards] (SCNo64): Likewise.
20102         [C99-based-standards] (SCNu64): Likewise.
20103         [C99-based-standards] (SCNx64): Likewise.
20104         [C99-based-standards] (PRIdLEAST64): Likewise.
20105         [C99-based-standards] (PRIiLEAST64): Likewise.
20106         [C99-based-standards] (PRIoLEAST64): Likewise.
20107         [C99-based-standards] (PRIuLEAST64): Likewise.
20108         [C99-based-standards] (PRIxLEAST64): Likewise.
20109         [C99-based-standards] (PRIXLEAST64): Likewise.
20110         [C99-based-standards] (SCNdLEAST64): Likewise.
20111         [C99-based-standards] (SCNiLEAST64): Likewise.
20112         [C99-based-standards] (SCNoLEAST64): Likewise.
20113         [C99-based-standards] (SCNuLEAST64): Likewise.
20114         [C99-based-standards] (SCNxLEAST64): Likewise.
20115         [C99-based-standards] (PRIdFAST64): Likewise.
20116         [C99-based-standards] (PRIiFAST64): Likewise.
20117         [C99-based-standards] (PRIoFAST64): Likewise.
20118         [C99-based-standards] (PRIuFAST64): Likewise.
20119         [C99-based-standards] (PRIxFAST64): Likewise.
20120         [C99-based-standards] (PRIXFAST64): Likewise.
20121         [C99-based-standards] (SCNdFAST64): Likewise.
20122         [C99-based-standards] (SCNiFAST64): Likewise.
20123         [C99-based-standards] (SCNoFAST64): Likewise.
20124         [C99-based-standards] (SCNuFAST64): Likewise.
20125         [C99-based-standards] (SCNxFAST64): Likewise.
20126         [C99-based-standards] (PRIdMAX): Likewise.
20127         [C99-based-standards] (PRIiMAX): Likewise.
20128         [C99-based-standards] (PRIoMAX): Likewise.
20129         [C99-based-standards] (PRIuMAX): Likewise.
20130         [C99-based-standards] (PRIxMAX): Likewise.
20131         [C99-based-standards] (PRIXMAX): Likewise.
20132         [C99-based-standards] (SCNdMAX): Likewise.
20133         [C99-based-standards] (SCNiMAX): Likewise.
20134         [C99-based-standards] (SCNoMAX): Likewise.
20135         [C99-based-standards] (SCNuMAX): Likewise.
20136         [C99-based-standards] (SCNxMAX): Likewise.
20137         [C99-based-standards] (PRIdPTR): Likewise.
20138         [C99-based-standards] (PRIiPTR): Likewise.
20139         [C99-based-standards] (PRIoPTR): Likewise.
20140         [C99-based-standards] (PRIuPTR): Likewise.
20141         [C99-based-standards] (PRIxPTR): Likewise.
20142         [C99-based-standards] (PRIXPTR): Likewise.
20143         [C99-based-standards] (SCNdPTR): Likewise.
20144         [C99-based-standards] (SCNiPTR): Likewise.
20145         [C99-based-standards] (SCNoPTR): Likewise.
20146         [C99-based-standards] (SCNuPTR): Likewise.
20147         [C99-based-standards] (SCNxPTR): Likewise.
20148         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20149         allow.
20150         * conform/data/stdint.h-data: Update comments to clarify
20151         requirements.
20152         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
20153         type.
20154         [C99-based standards] (INT8_MAX): Likewise.
20155         [C99-based standards] (INT16_MIN): Likewise.
20156         [C99-based standards] (INT16_MAX): Likewise.
20157         [C99-based standards] (INT32_MIN): Likewise.
20158         [C99-based standards] (INT32_MAX): Likewise.
20159         [C99-based standards] (INT64_MIN): Likewise.
20160         [C99-based standards] (INT64_MAX): Likewise.
20161         [C99-based standards] (UINT8_MAX): Likewise.
20162         [C99-based standards] (UINT16_MAX): Likewise.
20163         [C99-based standards] (UINT32_MAX): Likewise.
20164         [C99-based standards] (UINT64_MAX): Likewise.
20165         [C99-based standards] (INT_LEAST8_MIN): Likewise.
20166         [C99-based standards] (INT_LEAST8_MAX): Likewise.
20167         [C99-based standards] (INT_LEAST16_MIN): Likewise.
20168         [C99-based standards] (INT_LEAST16_MAX): Likewise.
20169         [C99-based standards] (INT_LEAST32_MIN): Likewise.
20170         [C99-based standards] (INT_LEAST32_MAX): Likewise.
20171         [C99-based standards] (INT_LEAST64_MIN): Likewise.
20172         [C99-based standards] (INT_LEAST64_MAX): Likewise.
20173         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20174         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20175         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20176         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20177         [C99-based standards] (INT_FAST8_MIN): Likewise.
20178         [C99-based standards] (INT_FAST8_MAX): Likewise.
20179         [C99-based standards] (INT_FAST16_MIN): Likewise.
20180         [C99-based standards] (INT_FAST16_MAX): Likewise.
20181         [C99-based standards] (INT_FAST32_MIN): Likewise.
20182         [C99-based standards] (INT_FAST32_MAX): Likewise.
20183         [C99-based standards] (INT_FAST64_MIN): Likewise.
20184         [C99-based standards] (INT_FAST64_MAX): Likewise.
20185         [C99-based standards] (UINT_FAST8_MAX): Likewise.
20186         [C99-based standards] (UINT_FAST16_MAX): Likewise.
20187         [C99-based standards] (UINT_FAST32_MAX): Likewise.
20188         [C99-based standards] (UINT_FAST64_MAX): Likewise.
20189         [C99-based standards] (INTPTR_MIN): Likewise.
20190         [C99-based standards] (INTPTR_MAX): Likewise.
20191         [C99-based standards] (UINTPTR_MAX): Likewise.
20192         [C99-based standards] (INTMAX_MIN): Likewise.
20193         [C99-based standards] (INTMAX_MAX): Likewise.
20194         [C99-based standards] (UINTMAX_MAX): Likewise.
20195         [C99-based standards] (PTRDIFF_MIN): Likewise.
20196         [C99-based standards] (PTRDIFF_MAX): Likewise.
20197         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20198         [C99-based standards] (SIZE_MAX): Likewise.
20199         [C99-based standards] (WCHAR_MAX): Likewise.
20200         [C99-based standards] (WINT_MAX): Likewise.
20201         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
20202         constraint on value.
20203         [C99-based standards] (WCHAR_MIN): Likewise.
20204         [C99-based standards] (WINT_MIN): Likewise.
20205         [C99-based standards] (*_t): Allow.
20206         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20207         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20208         Include math.h-data and complex.h-data.  Remove all expectations
20209         of math.h and complex.h contents.
20210         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20211         at end of line.
20212         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20213         (struct tm): Expect tag.
20214         [C99-based-standards] (wcstof): Expect function.
20215         [C99-based-standards] (wcstold): Likewise.
20216         [C99-based-standards] (wcstoll): Likewise.
20217         [C99-based-standards] (wcstoull): Likewise.
20218         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20219         macro-int-constant.  Specify type.
20220         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
20221         constraint on value.
20222         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20223         Specify type.
20224         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20225         Specify value.
20226         [ISO C standards]: Do not allow headers.
20227         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20228         wcs[abcdefghijklmnopqrstuvwxyz]*.
20229         [ISO C standards] (*_t): Do not allow.
20230         * conform/data/wctype.h-data [C99-based standards] (iswblank):
20231         Expect function.
20232         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20233         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20234         Specify type.
20235         [ISO C standards]: Do not allow headers.
20236         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20237         is[abcdefghijklmnopqrstuvwxyz]*.
20238         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20239         to[abcdefghijklmnopqrstuvwxyz]*.
20240         [ISO C standards] (*_t): Do not allow.
20241         * conform/data/stdalign.h-data: New file.
20242         * conform/data/stdbool.h-data: Likewise.
20243         * conform/data/stdnoreturn.h-data: Likewise.
20245 2012-11-07  Roland McGrath  <roland@hack.frob.com>
20247         [BZ #14815]
20248         * manual/filesys.texi (Directory Entries): Typo fix.
20249         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20251 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20253         * elf/elf.h (EM_AARCH64): New macro.
20254         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20255         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20256         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20257         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20258         (R_AARCH64_TLSDESC): Likewise.
20259         (NT_ARM_TLS): Likewise.
20260         (NT_ARM_HW_BREAK): Likewise.
20261         (NT_ARM_HW_WATCH): Likewise.
20263 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20265         [BZ #14811]
20266         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20267         (__ieee754_powl): Saturate nonzero exponents with absolute value
20268         below 0x1p-79 to +/- 0x1p-79.
20269         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20270         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20271         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20272         nonzero exponents with absolute value below 0x1p-32 to +/-
20273         0x1p-32.
20274         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20275         (__ieee754_powl): Saturate nonzero exponents with absolute value
20276         below 0x1p-79 to +/- 0x1p-79.
20277         * math/libm-test.inc (pow_test): Add more tests.
20279 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20281         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20282         _dl_s390_cap_flags with kernel. Increase string length.
20283         (_dl_s390_platforms): Add z196 and zEC12.
20285 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20287         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20288         Change XOPEN21K to XOPEN2K.
20290 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
20292         * string/memmove.c: Use memcpy when possible.
20294 2012-11-06  Andreas Jaeger  <aj@suse.de>
20296         * po/eo.po: Update from translation team.
20298 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
20300         [BZ #14793]
20301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20302         exponent and small x and y exponents, scale x or y up.  Increase
20303         by 2 the exponent used in scaling up.
20304         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20305         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20306         * math/libm-test.inc (fma_test): Add more tests.
20307         (fma_test_towardzero): Likewise.
20308         (fma_test_downward): Likewise.
20309         (fma_test_upward): Likewise.
20311 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
20313         [BZ #14805]
20314         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20315         fenv_t *.
20317         [BZ #14801]
20318         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20319         namespace for names of struct fields.
20320         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20321         fenv_t fields.
20322         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20323         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20325 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20327         [BZ #3665]
20328         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20330 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20332         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20333         PTR_DEMANGLE.
20335         [BZ #5246]
20336         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20337         PTR_DEMANGLE.
20339 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
20341         [BZ #14797]
20342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20343         definitely overflow as x * y not x * y + z.
20344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20345         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20346         * math/libm-test.inc (fma_test): Add more tests.
20347         (fma_test_towardzero): Likewise.
20348         (fma_test_downward): Likewise.
20349         (fma_test_upward): Likewise.
20351 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20353         [BZ #157]
20355         * include/stub-tag.h: Remove file.
20356         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20357         '#include' of it.
20358         * manual/maint.texi (Porting): Don't reference it.
20359         * Makerules ($(objpfx)stubs): Likewise.
20360         * dirent/closedir.c: Don't include <stub-tag.h>.
20361         * dirent/dirfd.c: Likewise.
20362         * dirent/fdopendir.c: Likewise.
20363         * dirent/getdents.c: Likewise.
20364         * dirent/getdents64.c: Likewise.
20365         * dirent/opendir.c: Likewise.
20366         * dirent/readdir.c: Likewise.
20367         * dirent/readdir64.c: Likewise.
20368         * dirent/readdir64_r.c: Likewise.
20369         * dirent/readdir_r.c: Likewise.
20370         * dirent/rewinddir.c: Likewise.
20371         * dirent/seekdir.c: Likewise.
20372         * dirent/telldir.c: Likewise.
20373         * gmon/profil.c: Likewise.
20374         * grp/setgroups.c: Likewise.
20375         * inet/if_index.c: Likewise.
20376         * io/access.c: Likewise.
20377         * io/chdir.c: Likewise.
20378         * io/chmod.c: Likewise.
20379         * io/chown.c: Likewise.
20380         * io/close.c: Likewise.
20381         * io/dup.c: Likewise.
20382         * io/dup2.c: Likewise.
20383         * io/dup3.c: Likewise.
20384         * io/euidaccess.c: Likewise.
20385         * io/faccessat.c: Likewise.
20386         * io/fchdir.c: Likewise.
20387         * io/fchmod.c: Likewise.
20388         * io/fchmodat.c: Likewise.
20389         * io/fchown.c: Likewise.
20390         * io/fchownat.c: Likewise.
20391         * io/fcntl.c: Likewise.
20392         * io/flock.c: Likewise.
20393         * io/fstatfs.c: Likewise.
20394         * io/fstatfs64.c: Likewise.
20395         * io/fstatvfs.c: Likewise.
20396         * io/fstatvfs64.c: Likewise.
20397         * io/futimens.c: Likewise.
20398         * io/fxstat.c: Likewise.
20399         * io/fxstat64.c: Likewise.
20400         * io/fxstatat.c: Likewise.
20401         * io/fxstatat64.c: Likewise.
20402         * io/getcwd.c: Likewise.
20403         * io/isatty.c: Likewise.
20404         * io/lchmod.c: Likewise.
20405         * io/lchown.c: Likewise.
20406         * io/link.c: Likewise.
20407         * io/linkat.c: Likewise.
20408         * io/lseek.c: Likewise.
20409         * io/lseek64.c: Likewise.
20410         * io/lxstat64.c: Likewise.
20411         * io/mkdir.c: Likewise.
20412         * io/mkdirat.c: Likewise.
20413         * io/mkfifo.c: Likewise.
20414         * io/mkfifoat.c: Likewise.
20415         * io/open.c: Likewise.
20416         * io/open64.c: Likewise.
20417         * io/openat.c: Likewise.
20418         * io/openat64.c: Likewise.
20419         * io/pipe.c: Likewise.
20420         * io/pipe2.c: Likewise.
20421         * io/poll.c: Likewise.
20422         * io/posix_fadvise.c: Likewise.
20423         * io/posix_fadvise64.c: Likewise.
20424         * io/posix_fallocate.c: Likewise.
20425         * io/posix_fallocate64.c: Likewise.
20426         * io/read.c: Likewise.
20427         * io/readlink.c: Likewise.
20428         * io/readlinkat.c: Likewise.
20429         * io/rmdir.c: Likewise.
20430         * io/sendfile.c: Likewise.
20431         * io/sendfile64.c: Likewise.
20432         * io/statfs.c: Likewise.
20433         * io/statfs64.c: Likewise.
20434         * io/statvfs.c: Likewise.
20435         * io/statvfs64.c: Likewise.
20436         * io/symlink.c: Likewise.
20437         * io/symlinkat.c: Likewise.
20438         * io/ttyname.c: Likewise.
20439         * io/ttyname_r.c: Likewise.
20440         * io/umask.c: Likewise.
20441         * io/unlink.c: Likewise.
20442         * io/unlinkat.c: Likewise.
20443         * io/utime.c: Likewise.
20444         * io/utimensat.c: Likewise.
20445         * io/write.c: Likewise.
20446         * io/xmknod.c: Likewise.
20447         * io/xmknodat.c: Likewise.
20448         * io/xstat.c: Likewise.
20449         * io/xstat64.c: Likewise.
20450         * login/getpt.c: Likewise.
20451         * login/grantpt.c: Likewise.
20452         * login/unlockpt.c: Likewise.
20453         * math/e_acoshl.c: Likewise.
20454         * math/e_acosl.c: Likewise.
20455         * math/e_asinl.c: Likewise.
20456         * math/e_atan2l.c: Likewise.
20457         * math/e_atanhl.c: Likewise.
20458         * math/e_coshl.c: Likewise.
20459         * math/e_expl.c: Likewise.
20460         * math/e_fmodl.c: Likewise.
20461         * math/e_gammal_r.c: Likewise.
20462         * math/e_hypotl.c: Likewise.
20463         * math/e_j0l.c: Likewise.
20464         * math/e_j1l.c: Likewise.
20465         * math/e_jnl.c: Likewise.
20466         * math/e_lgammal_r.c: Likewise.
20467         * math/e_log10l.c: Likewise.
20468         * math/e_log2l.c: Likewise.
20469         * math/e_logl.c: Likewise.
20470         * math/e_powl.c: Likewise.
20471         * math/e_rem_pio2l.c: Likewise.
20472         * math/e_sinhl.c: Likewise.
20473         * math/e_sqrtl.c: Likewise.
20474         * math/fclrexcpt.c: Likewise.
20475         * math/fedisblxcpt.c: Likewise.
20476         * math/feenablxcpt.c: Likewise.
20477         * math/fegetenv.c: Likewise.
20478         * math/fegetexcept.c: Likewise.
20479         * math/fegetround.c: Likewise.
20480         * math/feholdexcpt.c: Likewise.
20481         * math/fesetenv.c: Likewise.
20482         * math/fesetround.c: Likewise.
20483         * math/feupdateenv.c: Likewise.
20484         * math/fgetexcptflg.c: Likewise.
20485         * math/fraiseexcpt.c: Likewise.
20486         * math/fsetexcptflg.c: Likewise.
20487         * math/ftestexcept.c: Likewise.
20488         * math/k_cosl.c: Likewise.
20489         * math/k_rem_pio2l.c: Likewise.
20490         * math/k_sinl.c: Likewise.
20491         * math/k_tanl.c: Likewise.
20492         * math/s_asinhl.c: Likewise.
20493         * math/s_atanl.c: Likewise.
20494         * math/s_cbrtl.c: Likewise.
20495         * math/s_erfl.c: Likewise.
20496         * math/s_expm1l.c: Likewise.
20497         * math/s_log1pl.c: Likewise.
20498         * math/s_tanhl.c: Likewise.
20499         * misc/acct.c: Likewise.
20500         * misc/brk.c: Likewise.
20501         * misc/chflags.c: Likewise.
20502         * misc/chroot.c: Likewise.
20503         * misc/fchflags.c: Likewise.
20504         * misc/fgetxattr.c: Likewise.
20505         * misc/flistxattr.c: Likewise.
20506         * misc/fremovexattr.c: Likewise.
20507         * misc/fsetxattr.c: Likewise.
20508         * misc/fsync.c: Likewise.
20509         * misc/ftruncate.c: Likewise.
20510         * misc/futimes.c: Likewise.
20511         * misc/futimesat.c: Likewise.
20512         * misc/getdomain.c: Likewise.
20513         * misc/getdtsz.c: Likewise.
20514         * misc/gethostid.c: Likewise.
20515         * misc/gethostname.c: Likewise.
20516         * misc/getloadavg.c: Likewise.
20517         * misc/getpagesize.c: Likewise.
20518         * misc/getsysstats.c: Likewise.
20519         * misc/getxattr.c: Likewise.
20520         * misc/gtty.c: Likewise.
20521         * misc/ioctl.c: Likewise.
20522         * misc/lgetxattr.c: Likewise.
20523         * misc/listxattr.c: Likewise.
20524         * misc/llistxattr.c: Likewise.
20525         * misc/lremovexattr.c: Likewise.
20526         * misc/lsetxattr.c: Likewise.
20527         * misc/lutimes.c: Likewise.
20528         * misc/madvise.c: Likewise.
20529         * misc/mincore.c: Likewise.
20530         * misc/mlock.c: Likewise.
20531         * misc/mlockall.c: Likewise.
20532         * misc/mmap.c: Likewise.
20533         * misc/mprotect.c: Likewise.
20534         * misc/msync.c: Likewise.
20535         * misc/munlock.c: Likewise.
20536         * misc/munlockall.c: Likewise.
20537         * misc/munmap.c: Likewise.
20538         * misc/preadv.c: Likewise.
20539         * misc/preadv64.c: Likewise.
20540         * misc/ptrace.c: Likewise.
20541         * misc/pwritev.c: Likewise.
20542         * misc/pwritev64.c: Likewise.
20543         * misc/readv.c: Likewise.
20544         * misc/reboot.c: Likewise.
20545         * misc/remap_file_pages.c: Likewise.
20546         * misc/removexattr.c: Likewise.
20547         * misc/revoke.c: Likewise.
20548         * misc/select.c: Likewise.
20549         * misc/setdomain.c: Likewise.
20550         * misc/setegid.c: Likewise.
20551         * misc/seteuid.c: Likewise.
20552         * misc/sethostid.c: Likewise.
20553         * misc/sethostname.c: Likewise.
20554         * misc/setregid.c: Likewise.
20555         * misc/setreuid.c: Likewise.
20556         * misc/setxattr.c: Likewise.
20557         * misc/sstk.c: Likewise.
20558         * misc/stty.c: Likewise.
20559         * misc/swapoff.c: Likewise.
20560         * misc/swapon.c: Likewise.
20561         * misc/sync.c: Likewise.
20562         * misc/syncfs.c: Likewise.
20563         * misc/syscall.c: Likewise.
20564         * misc/truncate.c: Likewise.
20565         * misc/ualarm.c: Likewise.
20566         * misc/usleep.c: Likewise.
20567         * misc/ustat.c: Likewise.
20568         * misc/utimes.c: Likewise.
20569         * misc/vhangup.c: Likewise.
20570         * misc/writev.c: Likewise.
20571         * posix/_exit.c: Likewise.
20572         * posix/alarm.c: Likewise.
20573         * posix/execve.c: Likewise.
20574         * posix/fexecve.c: Likewise.
20575         * posix/fork.c: Likewise.
20576         * posix/fpathconf.c: Likewise.
20577         * posix/getaddrinfo.c: Likewise.
20578         * posix/getegid.c: Likewise.
20579         * posix/geteuid.c: Likewise.
20580         * posix/getgid.c: Likewise.
20581         * posix/getgroups.c: Likewise.
20582         * posix/getlogin.c: Likewise.
20583         * posix/getlogin_r.c: Likewise.
20584         * posix/getpgid.c: Likewise.
20585         * posix/getpid.c: Likewise.
20586         * posix/getppid.c: Likewise.
20587         * posix/getresgid.c: Likewise.
20588         * posix/getresuid.c: Likewise.
20589         * posix/getsid.c: Likewise.
20590         * posix/getuid.c: Likewise.
20591         * posix/glob64.c: Likewise.
20592         * posix/nanosleep.c: Likewise.
20593         * posix/pathconf.c: Likewise.
20594         * posix/pause.c: Likewise.
20595         * posix/posix_madvise.c: Likewise.
20596         * posix/pread.c: Likewise.
20597         * posix/pread64.c: Likewise.
20598         * posix/pwrite.c: Likewise.
20599         * posix/pwrite64.c: Likewise.
20600         * posix/sched_getaffinity.c: Likewise.
20601         * posix/sched_getp.c: Likewise.
20602         * posix/sched_gets.c: Likewise.
20603         * posix/sched_primax.c: Likewise.
20604         * posix/sched_primin.c: Likewise.
20605         * posix/sched_rr_gi.c: Likewise.
20606         * posix/sched_setaffinity.c: Likewise.
20607         * posix/sched_setp.c: Likewise.
20608         * posix/sched_sets.c: Likewise.
20609         * posix/sched_yield.c: Likewise.
20610         * posix/setgid.c: Likewise.
20611         * posix/setlogin.c: Likewise.
20612         * posix/setpgid.c: Likewise.
20613         * posix/setresgid.c: Likewise.
20614         * posix/setresuid.c: Likewise.
20615         * posix/setsid.c: Likewise.
20616         * posix/setuid.c: Likewise.
20617         * posix/sleep.c: Likewise.
20618         * posix/spawni.c: Likewise.
20619         * posix/sysconf.c: Likewise.
20620         * posix/times.c: Likewise.
20621         * posix/wait.c: Likewise.
20622         * posix/wait3.c: Likewise.
20623         * posix/wait4.c: Likewise.
20624         * posix/waitpid.c: Likewise.
20625         * resolv/gai_sigqueue.c: Likewise.
20626         * resource/getpriority.c: Likewise.
20627         * resource/getrlimit.c: Likewise.
20628         * resource/getrusage.c: Likewise.
20629         * resource/nice.c: Likewise.
20630         * resource/setpriority.c: Likewise.
20631         * resource/setrlimit.c: Likewise.
20632         * resource/ulimit.c: Likewise.
20633         * rt/aio_cancel.c: Likewise.
20634         * rt/aio_fsync.c: Likewise.
20635         * rt/aio_read.c: Likewise.
20636         * rt/aio_sigqueue.c: Likewise.
20637         * rt/aio_suspend.c: Likewise.
20638         * rt/aio_write.c: Likewise.
20639         * rt/clock_getres.c: Likewise.
20640         * rt/clock_gettime.c: Likewise.
20641         * rt/clock_nanosleep.c: Likewise.
20642         * rt/clock_settime.c: Likewise.
20643         * rt/lio_listio.c: Likewise.
20644         * rt/mq_close.c: Likewise.
20645         * rt/mq_getattr.c: Likewise.
20646         * rt/mq_notify.c: Likewise.
20647         * rt/mq_open.c: Likewise.
20648         * rt/mq_receive.c: Likewise.
20649         * rt/mq_send.c: Likewise.
20650         * rt/mq_setattr.c: Likewise.
20651         * rt/mq_timedreceive.c: Likewise.
20652         * rt/mq_timedsend.c: Likewise.
20653         * rt/mq_unlink.c: Likewise.
20654         * rt/shm_open.c: Likewise.
20655         * rt/shm_unlink.c: Likewise.
20656         * rt/timer_create.c: Likewise.
20657         * rt/timer_delete.c: Likewise.
20658         * rt/timer_getoverr.c: Likewise.
20659         * rt/timer_gettime.c: Likewise.
20660         * rt/timer_settime.c: Likewise.
20661         * setjmp/__longjmp.c: Likewise.
20662         * setjmp/setjmp.c: Likewise.
20663         * signal/kill.c: Likewise.
20664         * signal/killpg.c: Likewise.
20665         * signal/raise.c: Likewise.
20666         * signal/sigaction.c: Likewise.
20667         * signal/sigaltstack.c: Likewise.
20668         * signal/sigblock.c: Likewise.
20669         * signal/sigignore.c: Likewise.
20670         * signal/sigintr.c: Likewise.
20671         * signal/signal.c: Likewise.
20672         * signal/sigpause.c: Likewise.
20673         * signal/sigpending.c: Likewise.
20674         * signal/sigqueue.c: Likewise.
20675         * signal/sigreturn.c: Likewise.
20676         * signal/sigset.c: Likewise.
20677         * signal/sigsetmask.c: Likewise.
20678         * signal/sigstack.c: Likewise.
20679         * signal/sigsuspend.c: Likewise.
20680         * signal/sigtimedwait.c: Likewise.
20681         * signal/sigvec.c: Likewise.
20682         * signal/sigwait.c: Likewise.
20683         * signal/sigwaitinfo.c: Likewise.
20684         * signal/sysv_signal.c: Likewise.
20685         * socket/accept.c: Likewise.
20686         * socket/accept4.c: Likewise.
20687         * socket/bind.c: Likewise.
20688         * socket/connect.c: Likewise.
20689         * socket/getpeername.c: Likewise.
20690         * socket/getsockname.c: Likewise.
20691         * socket/getsockopt.c: Likewise.
20692         * socket/isfdtype.c: Likewise.
20693         * socket/listen.c: Likewise.
20694         * socket/recv.c: Likewise.
20695         * socket/recvfrom.c: Likewise.
20696         * socket/recvmsg.c: Likewise.
20697         * socket/send.c: Likewise.
20698         * socket/sendmsg.c: Likewise.
20699         * socket/sendto.c: Likewise.
20700         * socket/setsockopt.c: Likewise.
20701         * socket/shutdown.c: Likewise.
20702         * socket/sockatmark.c: Likewise.
20703         * socket/socket.c: Likewise.
20704         * socket/socketpair.c: Likewise.
20705         * stdio-common/ctermid.c: Likewise.
20706         * stdio-common/cuserid.c: Likewise.
20707         * stdio-common/remove.c: Likewise.
20708         * stdio-common/rename.c: Likewise.
20709         * stdio-common/renameat.c: Likewise.
20710         * stdio-common/tempname.c: Likewise.
20711         * stdlib/getcontext.c: Likewise.
20712         * stdlib/makecontext.c: Likewise.
20713         * stdlib/setcontext.c: Likewise.
20714         * stdlib/swapcontext.c: Likewise.
20715         * stdlib/system.c: Likewise.
20716         * streams/fattach.c: Likewise.
20717         * streams/fdetach.c: Likewise.
20718         * streams/getmsg.c: Likewise.
20719         * streams/getpmsg.c: Likewise.
20720         * streams/putmsg.c: Likewise.
20721         * streams/putpmsg.c: Likewise.
20722         * sysdeps/unix/bsd/getpt.c: Likewise.
20723         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20724         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20725         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20727         Likewise.
20728         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20729         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20730         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20731         * sysvipc/msgctl.c: Likewise.
20732         * sysvipc/msgget.c: Likewise.
20733         * sysvipc/msgrcv.c: Likewise.
20734         * sysvipc/msgsnd.c: Likewise.
20735         * sysvipc/semctl.c: Likewise.
20736         * sysvipc/semget.c: Likewise.
20737         * sysvipc/semop.c: Likewise.
20738         * sysvipc/semtimedop.c: Likewise.
20739         * sysvipc/shmat.c: Likewise.
20740         * sysvipc/shmctl.c: Likewise.
20741         * sysvipc/shmdt.c: Likewise.
20742         * sysvipc/shmget.c: Likewise.
20743         * termios/tcdrain.c: Likewise.
20744         * termios/tcflow.c: Likewise.
20745         * termios/tcflush.c: Likewise.
20746         * termios/tcgetattr.c: Likewise.
20747         * termios/tcgetpgrp.c: Likewise.
20748         * termios/tcsendbrk.c: Likewise.
20749         * termios/tcsetattr.c: Likewise.
20750         * termios/tcsetpgrp.c: Likewise.
20751         * time/adjtime.c: Likewise.
20752         * time/clock.c: Likewise.
20753         * time/getitimer.c: Likewise.
20754         * time/gettimeofday.c: Likewise.
20755         * time/setitimer.c: Likewise.
20756         * time/settimeofday.c: Likewise.
20757         * time/stime.c: Likewise.
20758         * time/time.c: Likewise.
20760 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
20762         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20763         /usr/old/bin.
20765         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20766         instead of spaces.
20767         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20769 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
20771         [BZ #14796]
20772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20773         FE_TONEAREST before applying Dekker multiplication and Knuth
20774         addition.  Clear inexact exceptions and check for exact zero
20775         results afterwards.
20776         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20777         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20778         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20779         * math/libm-test.inc (fma_test): Add more tests.
20780         (fma_test_towardzero): Likewise.
20781         (fma_test_downward): Likewise.
20782         (fma_test_upward): Likewise.
20783         * sysdeps/generic/math_private.h (default_libc_fesetround): New
20784         function.
20785         (libc_fesetround): New macro.
20786         (libc_fesetroundf): Likewise.
20787         (libc_fesetroundl): Likewise.
20788         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20789         function.
20790         (libc_fesetround_387): Likewise.
20791         (libc_fesetroundf): New macro.
20792         (libc_fesetround): Likewise.
20793         (libc_fesetroundl): Likewise.
20794         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20795         function.
20796         (libc_fesetroundf): New macro.
20797         (libc_fesetround): Likewise.
20798         (libc_fesetroundl): Likewise.
20799         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20800         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20801         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20802         libm_hidden_ver.
20803         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20804         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20805         libm_hidden_def.
20806         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20807         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20808         libm_hidden_ver.
20809         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20810         libm_hidden_def.
20812         [BZ #3439]
20813         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20814         integer constant usable in #if and use that to give value to enum
20815         constant.
20816         (FE_DIVBYZERO): Likewise.
20817         (FE_UNDERFLOW): Likewise.
20818         (FE_OVERFLOW): Likewise.
20819         (FE_INVALID): Likewise.
20820         (FE_INVALID_SNAN): Likewise.
20821         (FE_INVALID_ISI): Likewise.
20822         (FE_INVALID_IDI): Likewise.
20823         (FE_INVALID_ZDZ): Likewise.
20824         (FE_INVALID_IMZ): Likewise.
20825         (FE_INVALID_COMPARE): Likewise.
20826         (FE_INVALID_SOFTWARE): Likewise.
20827         (FE_INVALID_SQRT): Likewise.
20828         (FE_INVALID_INTEGER_CONVERSION): Likewise.
20829         (FE_TONEAREST): Likewise.
20830         (FE_TOWARDZERO): Likewise.
20831         (FE_UPWARD): Likewise.
20832         (FE_DOWNWARD): Likewise.
20833         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20834         (FE_DIVBYZERO): Likewise.
20835         (FE_OVERFLOW): Likewise.
20836         (FE_UNDERFLOW): Likewise.
20837         (FE_INEXACT): Likewise.
20838         (FE_TONEAREST): Likewise.
20839         (FE_DOWNWARD): Likewise.
20840         (FE_UPWARD): Likewise.
20841         (FE_TOWARDZERO): Likewise.
20842         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20843         (FE_UNDERFLOW): Likewise.
20844         (FE_OVERFLOW): Likewise.
20845         (FE_DIVBYZERO): Likewise.
20846         (FE_INVALID): Likewise.
20847         (FE_TONEAREST): Likewise.
20848         (FE_TOWARDZERO): Likewise.
20849         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20850         (FE_OVERFLOW): Likewise.
20851         (FE_UNDERFLOW): Likewise.
20852         (FE_DIVBYZERO): Likewise.
20853         (FE_INEXACT): Likewise.
20854         (FE_TONEAREST): Likewise.
20855         (FE_TOWARDZERO): Likewise.
20856         (FE_UPWARD): Likewise.
20857         (FE_DOWNWARD): Likewise.
20858         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20859         (FE_DIVBYZERO): Likewise.
20860         (FE_OVERFLOW): Likewise.
20861         (FE_UNDERFLOW): Likewise.
20862         (FE_INEXACT): Likewise.
20863         (FE_TONEAREST): Likewise.
20864         (FE_DOWNWARD): Likewise.
20865         (FE_UPWARD): Likewise.
20866         (FE_TOWARDZERO): Likewise.
20868 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
20870         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20872 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
20874         * scripts/cross-test-ssh.sh (command): Use newlines to separate
20875         commands.  Quote $PWD.
20876         (blacklist_exports): Don't use remove_newlines.  Replace "declare
20877         -x" by "export".
20878         (remove_newlines): Remove.
20880 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
20882         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20883         * stdlib/stdlib.h (atof): Moved to ...
20884         * include/bits/stdlib-float.h: Here.  New file.
20885         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20886         * stdlib/bits/stdlib-float.h: New file.
20887         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20888         -mno-sse -mno-mmx.
20889         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20890         <xmmintrin.h>.
20892 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20894         * conform/conformtest.pl (@headers): Add fenv.h.
20895         * conform/data/fenv.h-data: New file.
20896         * include/fenv.h [_ISOMAC]: Disable all contents of file except
20897         include of <math/fenv.h>.
20899         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20900         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20901         && !UNIX98].  Enables tests for XOPEN2K8.
20902         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20903         POSIX2008]: Likewise.
20905         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20906         (struct rusage): Do not expect type or its members.
20908         [BZ #3439]
20909         * math/math.h (FP_NAN): Define macro to integer constant usable in
20910         #if and use that to give value to enum constant.
20911         (FP_INFINITE): Likewise.
20912         (FP_ZERO): Likewise.
20913         (FP_SUBNORMAL): Likewise.
20914         (FP_NORMAL): Likewise.
20916 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
20918         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20919         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
20920         arguments.
20922 2012-11-02  Roland McGrath  <roland@hack.frob.com>
20924         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
20925         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
20926         autoconf-time if not.
20927         * configure.in: Remove AC_PREREQ.
20929 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20931         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
20932         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
20933         of the internal implementation.
20935 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20937         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
20938         except include of <misc/sys/syslog.h>.
20940 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
20943         function returns with a NULL context exit with zero.
20945 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20947         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
20949 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
20951         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
20952         (run_program_cmd): This.
20953         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
20954         (tst_langinfo): New variable.  Use it.
20956 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
20958         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
20959         floating point opcodes.
20961 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20963         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
20964         variable.
20966         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
20968         * sysdeps/mach/hurd/powerpc: Remove directory.
20969         * sysdeps/mach/powerpc: Likewise.
20971 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
20973         * scripts/check-local-headers.sh: Ignore c++ headers.
20975 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20977         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
20978         __libc_cleanup_region_start argument.
20980 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
20982         [BZ #14784]
20983         [BZ #14785]
20984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
20985         x * y using scaling, not as x * y + z.
20986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20987         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20988         * math/libm-test.inc (fma_test): Add more tests.
20989         (fma_test_towardzero): Likewise.
20990         (fma_test_downward): Likewise.
20991         (fma_test_upward): Likewise.
20993 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
20995         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
20997 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
20999         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21000         New variable.
21002 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
21004         * rt/tst-shm.c (worker): Correct checking for mmap failure.
21006 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21009         Fix sort order.
21010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21011         Likewise.
21013 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21016         Fix the order of the list for glibc 2.17.
21017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21018         Likewise.
21020 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21024 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21026         [BZ #14610]
21027         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21028         for low part of x being zero before using __atanl (y).
21029         * math/libm-test.inc (atan2_test): Add another test.
21031         * manual/install.texi (Configuring and compiling): Document
21032         general use of test-wrapper and test-wrapper-env.
21033         * INSTALL: Regenerated.
21035         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21036         (__fma): Do not extract and scale down low bits on after-rounding
21037         systems when result rounded to normal precision would have normal
21038         exponent.
21039         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21040         (__fmal): Do not extract and scale down low bits on after-rounding
21041         systems when result rounded to normal precision would have normal
21042         exponent.
21043         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21044         (__fmal): Do not extract and scale down low bits on after-rounding
21045         systems when result rounded to normal precision would have normal
21046         exponent.
21047         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21048         macro.
21049         (fma_test): Add more tests.
21050         (fma_test_towardzero): Likewise.
21051         (fma_test_downward): Likewise.
21052         (fma_test_upward): Likewise.
21054 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
21056         * sysdeps/i386/tininess.h: Renamed to ...
21057         * sysdeps/x86/tininess.h: This.
21058         * sysdeps/x86_64/tininess.h: Removed.
21060 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21062         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21063         input.  Use $(build-program-cmd).
21064         ($(objpfx)tst-array1-static.out): Likewise.
21065         ($(objpfx)tst-array2.out): Likewise.
21066         ($(objpfx)tst-array3.out): Likewise.
21067         ($(objpfx)tst-array4.out): Likewise.
21068         ($(objpfx)tst-array5.out): Likewise.
21069         ($(objpfx)tst-array5-static.out): Likewise.
21071 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
21073         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21074         if defined.
21076         * nss/nsswitch.h (nss_interface_function): Provide new
21077         macro for use with NSS functions.
21078         * grp/initgroups.c: Use new macro.
21079         * nss/getXXbyYY.c: Likewise.
21080         * nss/getXXbyYY_r.c: Likewise.
21081         * nss/getXXent.c: Likewise.
21082         * nss/getXXent_r.c: Likewise.
21083         * sysdeps/posix/getaddrinfo.c: Likewise.
21085 2012-10-30  Andreas Jaeger  <aj@suse.de>
21087         * po/ru.po: Update Russion translation from translation project.
21089 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21091         [BZ #14152]
21092         [BZ #14783]
21093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21094         result and shift together with sticky bit instead of replicating
21095         round-to-nearest rounding.
21096         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21097         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21098         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
21099         missing underflow exceptions.
21100         (fma_test_towardzero): Add more tests.
21101         (fma_test_downward): Likewise.
21102         (fma_test_upward): Likewise.
21104         [BZ #14047]
21105         * sysdeps/generic/tininess.h: New file.
21106         * sysdeps/i386/tininess.h: Likewise.
21107         * sysdeps/sh/tininess.h: Likewise.
21108         * sysdeps/x86_64/tininess.h: Likewise.
21109         * stdlib/tst-strtod-underflow.c: Likewise.
21110         * stdlib/tst-tininess.c: Likewise.
21111         * stdlib/strtod_l.c: Include <tininess.h>.
21112         (round_and_return): Do not set errno for exact underflow cases.
21113         Force an underflow exception when setting errno for underflow.
21114         Determine underflow based on rounding to normal precision if
21115         TININESS_AFTER_ROUNDING.
21116         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21117         ERANGE for exact underflow cases.
21118         * stdlib/Makefile (tests): Add tst-tininess and
21119         tst-strtod-underflow.
21120         ($(objpfx)tst-tininess): Use $(link-libm).
21121         ($(objpfx)tst-strtod-underflow): Likewise.
21123 2012-10-30  Andreas Jaeger  <aj@suse.de>
21125         [BZ#14767]
21126         * elf/Makefile (tests): Remove conditional for have-initfini-array
21127         since this is now always required and the variable does not exist
21128         anymore.
21129         (tests-static): Likewise.
21130         (modules-names): Likewise.
21132         * po/eo.po: Add Esperanto translation from translation project.
21134         * elf/tst-array1.c (fini_array): Make writeable so that it can be
21135         merged with constructor/destructor.
21136         (init_array): Likewise.
21137         * elf/tst-array2dep.c (fini_array): Likewise.
21138         (init_array): Likewise.
21140 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
21142         * manual/message.texi: Delete @cartouche tags.
21144 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
21146         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21147         EOPNOTSUPP.
21148         * sysdeps/mach/hurd/fsync.c: Likewise.
21150         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21151         [_POSIX_REALTIME_SIGNALS]: Change condition to
21152         [_POSIX_REALTIME_SIGNALS > 0].
21154 2012-10-27  Andreas Jaeger  <aj@suse.de>
21156         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21157         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21158         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21159         [__WORDSIZE != 64]: Likewise.
21161 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
21163         *  iconvdata/tst-table.sh: Remove ${SHELL}.
21164         *  iconvdata/tst-tables.sh: Likewise.
21166 2012-10-25  David S. Miller  <davem@davemloft.net>
21168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21169         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21170         of strtoull.
21172         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21173         ifunc-impl-list.c
21174         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21175         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21176         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21177         file.
21179 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21181         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21182         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21183         __getdirentries.
21185 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21186             Jim Blandy  <jimb@codesourcery.com>
21188         * scripts/cross-test-ssh.sh: New file.
21189         * manual/install.texi (Configuring and compiling): Document use of
21190         cross-test-ssh.sh.
21191         * INSTALL: Regenerated.
21193 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
21195         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21196         EOPNOTSUPP.
21198 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21200         * Makeconfig (run-program-prefix): Fix comment.
21202 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21203             Jim Blandy  <jimb@codesourcery.com>
21205         * Makeconfig (test-wrapper): New variable,
21206         (test-wrapper-env): Likewise.
21207         [$(cross-compiling) = yes && $(test-wrapper) != ""]
21208         (run-built-tests): Define to yes.
21209         (run-program-prefix): Use $(test-wrapper).
21210         (built-program-cmd): Likewise.
21211         * Rules (make-test-out): Use $(test-wrapper-env) and
21212         $(host-built-program-cmd).
21213         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21214         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21215         tst-pathopt.sh.
21216         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21217         $(test-wrapper-env) to tst-rtld-load-self.sh.
21218         ($(objpfx)order2.out): Use $(test-wrapper).
21219         ($(objpfx)tst-initorder.out): Likewise.
21220         ($(objpfx)tst-initorder2.out): Likewise.
21221         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21222         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21223         (test_wrapper_env): New variable.  Use it to run ld.so.
21224         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21225         Use it to run ld.so.
21226         (test_wrapper_env): Likewise.
21227         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21228         $(test-wrapper) to run-iconv-test.sh.
21229         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21230         (ICONV): Use $test_wrapper.
21231         * posix/Makefile ($(objpfx)globtest.out): Pass
21232         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21233         globtest.sh, not $(run-program-prefix).
21234         * posix/globtest.sh (run_via_rtld_prefix): New variable.
21235         (test_wrapper): Likewise.
21236         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
21237         set together with run_via_rtld_prefix.
21238         (run_program_prefix): Define in terms of test_wrapper and
21239         run_via_rtld_prefix.
21241 2012-10-24  Roland McGrath  <roland@hack.frob.com>
21243         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21244         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21245         Targets removed.
21247         [BZ #14743]
21248         * include/time.h: Remove librt_hidden_proto (clock_gettime).
21249         Declare __clock_getres, __clock_gettime, __clock_settime,
21250         __clock_nanosleep, and __clock_getcpuclockid.
21251         * rt/clock_gettime.c: Define __clock_gettime as an alias.
21252         Remove librt_hidden_def (clock_gettime).
21253         * sysdeps/unix/clock_gettime.c: Likewise.
21254         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21255         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21256         * rt/clock_getres.c: Define __clock_getres as an alias.
21257         * sysdeps/posix/clock_getres.c: Likewise.
21258         * rt/clock_settime.c: Define __clock_settime as an alias.
21259         * sysdeps/unix/clock_settime.c: Likewise.
21260         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21261         * sysdeps/unix/clock_nanosleep.c: Likewise.
21262         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21263         * rt/clock-compat.c: New file.
21264         * rt/Makefile (librt-routines): Add clock-compat and move
21265         $(clock-routines) to ...
21266         (routines): ... here, new variable.
21267         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21268         Don't add get_clockfreq here.
21269         * rt/Versions (libc: GLIBC_2.17): New version set.
21270         Add clock_* symbols here.
21271         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
21272         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21273         (GLIBC_2.17): Add clock_* symbols.
21274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21276         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21278         Likewise.
21279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21280         Likewise.
21281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21285         * NEWS: Mention the move.
21287         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21288         Use __open, __read, __close rather than their public counterparts.
21289         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21290         (__get_clockfreq_via_cpuinfo): Likewise.
21291         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21292         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21294         * config.h.in (HAVE_IFUNC): New #undef.
21295         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21296         was successful.
21297         * configure: Regenerated.
21299 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21301         * configure.in: Move READELF check to start of file.
21302         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21303         libc_cv_asm_gnu_indirect_function in the process.
21304         * configure: Regenerated.
21306 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21308         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21309         send the output to /dev/null.
21310         (libc_cv_cc_with_libunwind): Likewise.
21311         (libc_cv_as_noexecstack): Likewise.
21312         * configure: Regenerate.
21314 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21316         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21318         * posix/globtest.sh (TMPDIR): Do not set.
21319         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21320         (testout): Likewise.
21322 2012-10-24  Andreas Jaeger  <aj@suse.de>
21324         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21325         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21326         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21327         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21328         posix_fadvise64, posix_fallocate64.
21330         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21331         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21332         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21333         Likewise.
21334         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21335         Likewise.
21336         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21338         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21339         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21340         <bits/fcntl-linux.h>.
21341         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21344         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21345         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21346         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21347         [__WORDSIZE != 64]: Likewise.
21349 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21351         * Makeconfig (run-built-tests): New variable.
21352         * Rules [$(cross-compiling) = yes]: Change condition to
21353         [$(run-built-tests) = no].
21354         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21355         to [$(run-built-tests) = yes].
21356         * elf/Makefile [$(cross-compiling) = no]: Likewise
21357         * grp/Makefile [$(cross-compiling) = no]: Likewise.
21358         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21359         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21360         * intl/Makefile [$(cross-compiling) = no]: Likewise.
21361         * io/Makefile [$(cross-compiling) = no]: Likewise.
21362         * libio/Makefile [$(cross-compiling) = no]: Likewise.
21363         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21364         * misc/Makefile [$(cross-compiling) = no]: Likewise.
21365         * posix/Makefile [$(cross-compiling) = no]: Likewise.
21366         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21367         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21368         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21369         * string/Makefile [$(cross-compiling) = no]: Likewise.
21371         * posix/Makefile ($(objpfx)globtest.out): Pass
21372         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21373         $(rtld-installed-name).
21374         * posix/globtest.sh (elf_objpfx): Remove variable.
21375         (rtld_installed_name): Likewise.
21376         (library_path): Likewise.
21377         (run_program_prefix): New variable.  Use for running globtest
21378         binary.
21380 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
21381             Joseph Myers  <joseph@codesourcery.com>
21383         * Makeconfig (host-built-program-cmd): New variable.
21384         * elf/Makefile (tst-stackguard1-ARGS): Use
21385         $(host-built-program-cmd).
21386         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21387         (tst-spawn-ARGS): Likewise.
21388         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21390 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21391             Jim Blandy  <jimb@codesourcery.com>
21393         * Makeconfig (run-via-rtld-prefix): New variable.
21394         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21395         (built-program-cmd): Likewise.
21397 2012-10-22  Andreas Jaeger  <aj@suse.de>
21399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21400         __O_RSYNC if it exists, otherwise to O_SYNC.
21402 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
21403             Joseph Myers  <joseph@codesourcery.com>
21405         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21406         /dev/null.
21407         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21408         from /dev/null
21409         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21410         /dev/null.
21412 2012-10-22  Andreas Jaeger  <aj@suse.de>
21414         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21415         Define always.
21416         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21419         bits/fcntl-linux.h.
21421         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21422         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21425         to __O_LARGEFILE.
21426         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21427         to __O_LARGEFILE.
21429 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
21430             Joseph Myers  <joseph@codesourcery.com>
21432         * config.make.in (NM): New variable.
21434 2012-10-21  Andreas Jaeger  <aj@suse.de>
21436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21437         definitions and declarations that are provided by
21438         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21440 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21442         [BZ #14683]
21443         * elf/Makefile (tests-static): Add tst-leaks1-static.
21444         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21445         ($(objpfx)tst-leaks1-static): New rule.
21446         ($(objpfx)tst-leaks1-static-mem): Likewise.
21447         (tst-leaks1-static-ENV): New macro.
21448         * elf/dl-open.c (dl_open_worker): Check the main application
21449         only if SHARED is defined.
21450         * elf/tst-leaks1-static.c: New file.
21452 2012-10-20  Andreas Jaeger  <aj@suse.de>
21454         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21455         generic values for Linux.
21456         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21457         and declarations that are provided by <bits/fcntl-linux.h> and
21458         include <bits/fcntl-linux.h>.
21459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21460         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21462 2012-10-20  Roland McGrath  <roland@hack.frob.com>
21464         * io/fcntl.h: Move include of <bits/types.h> to the top and
21465         include it unconditionally.
21467 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21469         * wcsmbs/Makefile (tests-ifunc): New variable.
21470         (tests): Add $(tests-ifunc).
21471         * wcsmbs/test-wcschr-ifunc.c: New file.
21472         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21473         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21474         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21475         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21476         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21478         * string/Makefile (tests-ifunc): New variable.
21479         (tests): Add $(tests-ifunc).
21480         * string/test-memccpy.c (TEST_NAME): New macro.
21481         * string/test-memchr.c (TEST_NAME): Likewise.
21482         * string/test-memcmp.c (TEST_NAME): Likewise.
21483         * string/test-memcpy.c (TEST_NAME): Likewise.
21484         * string/test-memmem.c (TEST_NAME): Likewise.
21485         * string/test-memmove.c (TEST_NAME): Likewise.
21486         * string/test-memset.c (TEST_NAME): Likewise.
21487         * string/test-rawmemchr.c (TEST_NAME): Likewise.
21488         * string/test-stpcpy.c (TEST_NAME): Likewise.
21489         * string/test-stpncpy.c (TEST_NAME): Likewise.
21490         * string/test-strcasecmp.c (TEST_NAME): Likewise.
21491         * string/test-strcasestr.c (TEST_NAME): Likewise.
21492         * string/test-strcat.c (TEST_NAME): Likewise.
21493         * string/test-strchr.c (TEST_NAME): Likewise.
21494         * string/test-strcmp.c(TEST_NAME): Likewise.
21495         * string/test-strcpy.c (TEST_NAME): Likewise.
21496         * string/test-strcspn.c (TEST_NAME): Likewise.
21497         * string/test-strlen.c (TEST_NAME): Likewise.
21498         * string/test-strncasecmp.c (TEST_NAME): Likewise.
21499         * string/test-strncmp.c (TEST_NAME): Likewise.
21500         * string/test-strncpy.c (TEST_NAME): Likewise.
21501         * string/test-strnlen.c (TEST_NAME): Likewise.
21502         * string/test-strpbrk.c (TEST_NAME): Likewise.
21503         * string/test-strrchr.c (TEST_NAME): Likewise.
21504         * string/test-strspn.c (TEST_NAME): Likewise.
21505         * string/test-strstr.c (TEST_NAME): Likewise.
21506         * string/test-bcopy-ifunc.c: New file.
21507         * string/test-bzero-ifunc.c: Likewise.
21508         * string/test-memccpy-ifunc.c: Likewise.
21509         * string/test-memchr-ifunc.c: Likewise.
21510         * string/test-memcmp-ifunc.c: Likewise.
21511         * string/test-memcpy-ifunc.c: Likewise.
21512         * string/test-memmem-ifunc.c: Likewise.
21513         * string/test-memmove-ifunc.c: Likewise.
21514         * string/test-mempcpy-ifunc.c: Likewise.
21515         * string/test-memset-ifunc.c: Likewise.
21516         * string/test-rawmemchr-ifunc.c: Likewise.
21517         * string/test-stpcpy-ifunc.c: Likewise.
21518         * string/test-stpncpy-ifunc.c: Likewise.
21519         * string/test-strcasecmp-ifunc.c: Likewise.
21520         * string/test-strcasestr-ifunc.c: Likewise.
21521         * string/test-strcat-ifunc.c: Likewise.
21522         * string/test-strchr-ifunc.c: Likewise.
21523         * string/test-strchrnul-ifunc.c: Likewise.
21524         * string/test-strcmp-ifunc.c: Likewise.
21525         * string/test-strcpy-ifunc.c: Likewise.
21526         * string/test-strcspn-ifunc.c: Likewise.
21527         * string/test-strlen-ifunc.c: Likewise.
21528         * string/test-strncasecmp-ifunc.c: Likewise.
21529         * string/test-strncat-ifunc.c: Likewise.
21530         * string/test-strncmp-ifunc.c: Likewise.
21531         * string/test-strncpy-ifunc.c: Likewise.
21532         * string/test-strnlen-ifunc.c: Likewise.
21533         * string/test-strpbrk-ifunc.c: Likewise.
21534         * string/test-strrchr-ifunc.c: Likewise.
21535         * string/test-strspn-ifunc.c: Likewise.
21536         * string/test-strstr-ifunc.c: Likewise.
21538         * debug/Makefile (tests-ifunc): New variable.
21539         (tests): Add $(tests-ifunc).
21540         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21541         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21542         * debug/test-stpcpy_chk-ifunc.c: New file.
21543         * debug/test-strcpy_chk-ifunc.c: Likewise.
21545 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21547         [BZ #13601]
21548         * elf/dl-load.c (open_verify): Retry read if the entire ELF
21549         header is not read in.
21551 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
21553         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
21554         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
21555         directly.  Pass built executable to script as
21556         $(built-program-cmd).
21557         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
21558         $testprogram without using LD_LIBRARY_PATH and $ldso.
21560         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21561         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21562         $(rtld-installed-name).
21563         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21564         (rtld_installed_name): Likewise.
21565         (library_path): Likewise.
21566         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
21567         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21568         $(run-program-prefix) to tst-tables.sh.
21569         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
21570         it to run tst-table-from and tst-table-to.
21571         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21572         Pass it to tst-table.sh.
21573         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21574         $(run-program-prefix) to tst-gettext.sh.
21575         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21576         tst-translit.sh.
21577         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21578         tst-gettext2.sh.
21579         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
21580         to run tst-gettext.
21581         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
21582         to run tst-gettext2.
21583         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
21584         to run tst-translit.
21585         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21586         $(run-program-prefix) to tst-mtrace.sh.
21587         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
21588         to run tst-mtrace.
21589         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21590         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21591         $(rtld-installed-name).
21592         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21593         (rtld_installed_name): Likewise.
21594         (run_program_prefix): New variable.  Use it to run wordexp-test.
21596         * Makeconfig (ARCH): Remove all definitions.
21597         (machine): Likewise.
21598         [ARCH]: Remove conditional code.
21599         [!objdir]: Give error.
21600         [!objdir] (objpfx): Remove.
21601         [!objdir] (common-objpfx): Likewise.
21602         [!objdir] (common-objdir): Likewise.
21603         * configure.in (config_makefile): Remove.  Hardcode Makefile in
21604         AC_CONFIG_FILES call.
21605         * configure: Regenerated.
21607         [BZ #13888]
21608         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21609         or TMPDIR.
21610         (testout): Likewise.
21612         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21613         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21614         $(rtld-installed-name).
21615         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21616         (rtld_installed_name): Likwise.
21617         (runit): Remove function.
21618         (run_getconf): New variable,  Use it for running getconf binary.
21620 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
21622         [BZ #14716]
21623         * string/test-memmem.c (check_result): New function.
21624         (do_one_test): Use it.
21625         (check1): New function.
21626         (test_main): Use it.
21628 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
21630         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21632 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
21634         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21635         (_G_LSEEK64): Likewise.
21636         (_G_MMAP64): Likewise.
21637         (_G_FSTAT64): Likewise.
21638         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21639         (_G_LSEEK64): Likewise.
21640         (_G_MMAP64): Likewise.
21641         (_G_FSTAT64): Likewise.
21642         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21643         unconditional.  Call __mmap64 directly.
21644         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21645         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
21646         __lseek64 directly.
21647         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21648         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
21649         __mmap64 directly.
21650         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21651         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21652         __lseek64 directly.
21653         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21654         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21655         __lseek64 directly.
21656         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21657         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
21658         __lseek64 directly.
21659         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21660         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
21661         __fxstat64 directly.
21662         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21663         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21664         unconditional.
21665         (freopen64) [!_G_OPEN64]: Remove conditional code.
21666         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21667         unconditional.
21668         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21669         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21670         unconditional.
21671         (ftello64) [!_G_LSEEK64]: Remove conditional code.
21672         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21673         unconditional.
21674         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21675         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21676         unconditional.
21677         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21678         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21679         unconditional.
21680         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21681         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21682         unconditional.
21683         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21684         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21685         unconditional.
21686         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21688 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21690         [BZ #12140]
21691         * manual/memory.texi (Malloc Tunable Parameters): Add note
21692         about free list pointers overwriting some perturb bytes.
21693         Wording suggested by Roland McGrath.
21695 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
21697         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21698         (lgamma_test): Likewise.
21699         (tgamma_test): Likewise.
21701 2012-10-16  Florian Weimer  <fweimer@redhat.com>
21703         [BZ #14700]
21704         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21705         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21707 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
21709         * NEWS: Mention BZ #14716.
21710         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21711         when removing AVAILABLE1_USES_J macro.
21713 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
21715         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21716         (__bswap_64): __uint64_t for unsigned 64-bit int.
21718 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
21720         * include/string.h (memmem): Declare libc hidden alias.
21721         * string/memmem.c (memmem): Define libc hidden alias.
21722         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21723         __read, __close instead of open, read, close.
21725 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
21727         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21728         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21729         global and hidden.
21730         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21731         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21732         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21733         Likewise.
21734         (__rawmemchr_sse2): Likewise.
21735         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21736         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21737         (__strchr_sse2): Likewise.
21738         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21739         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21740         (__strcasecmp_sse2): Likewise.
21741         (__strncasecmp_sse2): Likewise.
21742         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21743         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21744         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21745         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21746         (__strrchr_sse2): Likewise.
21747         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21748         ifunc-impl-list.c.
21749         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21750         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21751         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21752         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21753         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21754         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21755         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21756         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21757         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21758         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21759         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21760         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21761         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21762         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21763         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21764         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21765         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21766         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21767         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21768         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21769         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21770         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21771         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21772         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21773         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21774         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21775         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21776         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21777         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21778         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21780         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21781         global and hidden.
21782         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21783         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21784         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21785         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21786         Likewise.
21787         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21788         Likewise.
21789         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21790         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21791         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21792         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21793         ifunc-impl-list.c.
21794         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21795         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21796         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21797         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21798         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21799         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21800         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21801         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21802         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21803         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21804         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21805         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21806         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21807         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21808         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21809         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21810         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21811         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21812         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21813         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21814         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21815         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21816         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21817         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21818         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21819         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21820         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21821         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21822         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21823         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21824         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21825         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21826         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21827         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21828         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21829         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21830         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21831         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21832         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21833         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21834         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21836         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21837         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21838         * include/ifunc-impl-list.h: New file.
21839         * misc/ifunc-impl-list.c: Likewise.
21840         * misc/Makefile (routines): Add ifunc-impl-list.
21841         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21842         * string/test-string.h: Include <ifunc-impl-list.h>.
21843         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21844         impl_array): New variables.
21845         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21846         are defined.
21847         (test_init): Call __libc_ifunc_impl_list to initialize
21848         func_list if TEST_IFUNC and TEST_NAME are defined.
21850         * string/Makefile (strop-tests): Add bcopy and bzero.
21851         * string/test-bcopy.c: New file.
21852         * string/test-bzero.c: Likewise.
21853         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21854         defined.
21855         * string/test-memset.c: Support bzero test if TEST_BZERO is
21856         defined.
21857         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21858         __libc_memmove.
21859         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21860         __libc_memset.
21861         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21862         of memset.
21864 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
21866         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21867         * configure: Regenerated.
21869         * Makeconfig (+link-static-before-libc): Don't include
21870         $(link-static-libc).
21872         * libio/libio.h (_IO_pos_t): Remove.
21874 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21876         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
21877         McGrath.
21879 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21881         * crypt/crypt-entry.c: Include fips-private.h.
21882         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21883         * crypt/md5c-test.c (main): Tolerate disabled MD5.
21884         * sysdeps/unix/sysv/linux/fips-private.h: New file.
21885         * sysdeps/generic/fips-private.h: New file, dummy fallback.
21887 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21889         * crypt/crypt-private.h: Include stdbool.h.
21890         (_ufc_setup_salt_r): Return bool.
21891         * crypt/crypt-entry.c: Include errno.h.
21892         (__crypt_r): Return NULL with EINVAL for bad salt.
21893         * crypt/crypt_util.c (bad_for_salt): New.
21894         (_ufc_setup_salt_r): Check that salt is long enough and within
21895         the specified alphabet.
21896         * crypt/badsalttest.c: New file.
21897         * crypt/Makefile (tests): Add it.
21898         ($(objpfx)badsalttest): New.
21900 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
21902         * NEWS: Add entry for BZ #14602.
21904 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21906         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21907         type-generic.
21908         * math/libm-test.inc: Update comment listing what functions and
21909         macros are tested.
21910         (isgreater_test): New function.
21911         (isgreaterequal_test): Likewise.
21912         (isless_test): Likewise.
21913         (islessequal_test): Likewise.
21914         (islessgreater_test): Likewise.
21915         (isunordered_test): Likewise.
21916         (main): Call the new functions.
21918 2012-10-09  Roland McGrath  <roland@hack.frob.com>
21920         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
21921         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
21922         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
21923         * sysdeps/i386/configure: Regenerated.
21924         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
21925         * sysdeps/mach/configure: Regenerated.
21926         * sysdeps/mach/hurd/configure: Regenerated.
21927         * sysdeps/powerpc/configure: Regenerated.
21928         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21929         * sysdeps/powerpc/powerpc64/configure: Regenerated.
21930         * sysdeps/s390/s390-32/configure: Regenerated.
21931         * sysdeps/s390/s390-64/configure: Regenerated.
21932         * sysdeps/sh/configure: Regenerated.
21933         * sysdeps/sparc/configure: Regenerated.
21934         * sysdeps/unix/sysv/linux/configure: Regenerated.
21935         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
21936         * sysdeps/x86_64/configure: Regenerated.
21938         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
21939         defined.  Don't check if MAP is NULL.
21941 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21943         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
21944         (_G_stat64): Likewise.
21945         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
21946         (_G_stat64): Likewise.
21947         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
21948         instead of struct _G_stat64.
21949         * libio/fileops.c (mmap_remap_check): Likewise.
21950         (decide_maybe_mmap): Likewise.
21951         (_IO_new_file_seekoff): Likewise.
21952         (_IO_file_stat): Likewise.
21953         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
21954         _G_off64_t.
21955         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
21956         instead of struct _G_stat64.
21957         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21959 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
21961         [BZ #14602]
21962         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21963         Replace with ...
21964         (CHECK_EOL): New macro.
21965         (two_way_short_needle): Check beginning of haystack for EOL.  Use
21966         CHECK_EOL.
21967         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21968         Replace with CHECK_EOL.
21969         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
21970         Replace with CHECK_EOL.
21972 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
21974         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
21975         type-generic.
21976         * math/libm-test.inc: Update comment listing what functions and
21977         macros are tested.
21978         (finite_test): New function.
21979         (isinf_test): Likewise.
21980         (isnan_test): Likewise.
21981         (fpclassify_test): Test subnormal input.
21982         (isfinite_test): Likewise.
21983         (isnormal_test): Likewise.
21984         (main): Call the new functions.
21986 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
21988         [BZ #14660]
21989         * Makerules (%.dynsym): Force C locale when running
21990         $(OBJDUMP) --dynamic-syms.
21992 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
21994         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
21995         <stdint.h>.
21997 2012-10-06  David S. Miller  <davem@davemloft.net>
21999         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22000         upper 32-bits of the length value in %o2 since we use branch-on-register
22001         tests which consider the entire 64-bit register.
22003 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
22005         * string/test-strstr.c (check2): Add a test for page boundary.
22007 2012-10-05  David S. Miller  <davem@davemloft.net>
22009         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22010         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22011         file.
22012         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22013         sysdep_routines.
22014         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22015         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22016         and bzero when HWCAP_SPARC_CRYPTO is present.
22018 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
22020         [BZ #14602]
22021         * string/test-strstr.c (check2): New function.
22022         (test_main): Call check2.
22024         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22025         and bug-strchr1.
22026         * string/bug-strcasestr1.c (do_test): Moved to ...
22027         * string/test-strcasestr.c (check1): Here.  New function.
22028         (do_one_test): Break out result checking code into ...
22029         (check_result): This.  New function.
22030         (do_one_test): Call check_result.
22031         (test_main): Call check1.
22032         * string/bug-strchr1.c (do_test): Moved to ...
22033         * string/test-strchr.c (check1): Here.  New function.
22034         (do_one_test): Break out result checking code into ...
22035         (check_result): This.  New function.
22036         (do_one_test): Call check_result.
22037         (test_main): Call check1.
22038         * string/bug-strstr1.c (main): Moved to ...
22039         * string/test-strstr.c (check1): Here.  New function.
22040         (do_one_test): Break out result checking code into ...
22041         (check_result): This.  New function.
22042         (do_one_test): Call check_result.
22043         (test_main): Call check1.
22044         * string/bug-strcasestr1.c: Removed.
22045         * string/bug-strchr1.c: Likewise.
22046         * string/bug-strstr1.c: Likewise.
22048         * elf/Makefile (dl-routines): Add hwcaps.
22049         * elf/dl-support.c (_dl_important_hwcaps): Removed.
22050         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22051         (_dl_important_hwcaps): Moved to ...
22052         * elf/dl-hwcaps.c: Here.  New file.
22053         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22055         [BZ #14557]
22056         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22057         if IS_IN_rtld isn't defined.
22059         * elf/dl-support.c (_dl_sysinfo_map): New.
22060         Include "get-dynamic-info.h" and "setup-vdso.h".
22061         (_dl_non_dynamic_init): Call setup_vdso.
22062         * elf/dynamic-link.h: Don't include <assert.h>.
22063         (elf_get_dynamic_info): Moved to ...
22064         * elf/get-dynamic-info.h: Here.  New file.
22065         * elf/dynamic-link.h: Include "get-dynamic-info.h".
22066         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22067         * elf/setup-vdso.h: Here.  New file.
22068         * elf/rtld.c: Include "setup-vdso.h".
22069         (dl_main): Call setup_vdso.
22071 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
22073         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22074         creal in comment listing functions tested.  List finite, isinf,
22075         isnan, isless, islessequal, isgreater, isgreaterequal,
22076         islessgreater, isunordered, lgamma_r and pow10 as functions and
22077         macros not tested.  Mention which functions not tested are aliases
22078         for other functions.  Fix typo.  Note that signs of NaNs are not
22079         tested.
22081         * scripts/config.guess: Update from config.git.
22082         * scripts/config.sub: Likewise.
22084 2012-10-04  Roland McGrath  <roland@hack.frob.com>
22086         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22087         * misc/madvise.c (madvise): Renamed to __madvise.
22088         Make madvise a weak alias.
22089         * include/sys/mman.h: Declare __madvise.
22090         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22091         * sysdeps/unix/syscalls.list
22092         (madvise): Make __madvise the strong name, and madvise a weak alias.
22093         * sysdeps/unix/sysv/linux/syscalls.list
22094         (madvise, mmap): Remove redundant entries.
22095         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22096         * malloc/malloc.c (mtrim): Likewise.
22097         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22099 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22101         * sysdeps/mach/hurd/dl-cache.c: File removed.
22102         * config.h.in (USE_LDCONFIG): New #undef.
22103         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22104         * configure: Regenerated.
22105         * elf/Makefile (dl-routines): Add dl-cache only under
22106         [$(use-ldconfig) = yes].
22107         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22108         cache on [USE_LDCONFIG].
22109         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22110         [USE_LDCONFIG].
22111         * elf/rtld.c (dl_main): Likewise.
22113 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
22115         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22116         _SC_LEVEL4_CACHE_LINESIZE.
22118 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22120         * sysdeps/unix/bsd/confstr.h: File removed.
22122 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
22124         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22125         sys/sdt-config.h.
22127 2012-10-02  Roland McGrath  <roland@hack.frob.com>
22129         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22130         Make 'mapoff' field ElfW(Off) rather than off_t.
22132 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
22134         * nscd/Makefile: Remove nscd-cflags and all its users.
22135         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22136         (CFLAGS-nonlib): Add compiler flags for nscd modules.
22138         [BZ #10631]
22139         * malloc.c (malloc_printerr): Clarify error message.
22141 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
22143         [BZ #14648]
22144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22145         Set bit_FMA_Usable if FMA is supported.
22146         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22147         macro.
22148         (bit_FMA4_Usable): Updated.
22149         (index_FMA_Usable): New macro.
22150         (CPUID_FMA): Likewise
22151         (HAS_FMA): Defined with bit_FMA_Usable.
22153 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22155         * bits/types.h (__swblk_t): Type removed.
22156         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22157         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22158         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22159         (__SWBLK_T_TYPE): Likewise.
22160         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22161         (__SWBLK_T_TYPE): Likewise.
22162         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22163         (__SWBLK_T_TYPE): Likewise.
22164         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22165         (__SWBLK_T_TYPE): Likewise.
22167 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
22168             Honza Horak <hhorak@redhat.com>
22170         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22171         (xdr_mapname): Use YPMAXMAP as maxsize.
22172         (xdr_peername): Use YPMAXPEER as maxsize.
22173         (xdr_keydat): Use YPAXRECORD as maxsize.
22174         (xdr_valdat): Use YPMAXRECORD as maxsize.
22176 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22178         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22180         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22181         * csu/init-first.c: ... here.
22182         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22183         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22184         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22185         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22186         * sysdeps/i386/init-first.c: File removed.
22187         * sysdeps/sh/init-first.c: File removed.
22189 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
22191         [BZ #14645]
22192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22193         if x * y might underflow to zero and z is zero.
22194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22196         * math/libm-test.inc (min_subnorm_value): New variable.
22197         (fma_test): Add more tests.
22198         (fma_test_towardzero): Likewise.
22199         (fma_test_downward): Likewise
22200         (fma_test_upward): Likewise.
22201         (initialize): Set min_subnorm_value.
22203 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
22205         [BZ #14638]
22206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22207         0 + 0.
22208         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22209         mode for addition resulting in exact zero.
22210         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22211         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22212         exact 0 + 0.
22213         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22215         * math/libm-test.inc (fma_test): Add more tests.
22216         (fma_test_towardzero): New function.
22217         (fma_test_downward): Likewise.
22218         (fma_test_upward): Likewise.
22219         (main): Call the new functions.
22221 2012-09-28  David S. Miller  <davem@davemloft.net>
22223         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22225 2012-09-28  Roland McGrath  <roland@hack.frob.com>
22227         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22228         instead of SIGALRM.
22230         * sysdeps/gnu/_G_config.h: Moved to ...
22231         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22232         * sysdeps/mach/hurd/_G_config.h: Moved to ...
22233         * sysdeps/generic/_G_config.h: ... here.
22235         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
22237         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22239         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22240         Conditionalize target on [libnss_test1.so-version].
22242         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22244         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22245         (elfobjdir): Move out of conditionals.
22247         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22248         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22249         (__nss_lookup_function): Conditionalize label remove_from_tree on
22250         [!DO_STATIC_NSS || SHARED], matching its only use.
22252 2012-09-28  David S. Miller  <davem@davemloft.net>
22254         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22255         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22256         file.
22257         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22258         sysdep_routines.
22259         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22260         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22261         when HWCAP_SPARC_CRYPTO is present.
22263 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22265         * io/tst-mknodat.c: Create a FIFO instead of a socket.
22267 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
22269         [BZ #6530]
22270         * stdio-common/vfprintf.c (process_string_arg): Revert
22271         2000-07-22 change.
22273 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
22275         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22276         for testcase.
22277         * stdio-common/tst-sprintf.c: Include <locale.h>
22278         (main): Test sprintf's handling of incomplete multibyte
22279         characters.
22281 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
22283         * elf/dl-runtime.c (VERSYMIDX): Removed.
22284         * elf/dl-version.c (VERSYMIDX): Likewise.
22285         * elf/do-rel.h (VERSYMIDX): Likewise.
22286         (VALIDX): Likewise.
22287         * elf/dynamic-link.h (VERSYMIDX): Likewise.
22288         * elf/rtld.c (VALIDX): Likewise.
22289         (ADDRIDX): Likewise.
22290         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22291         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22292         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22293         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22294         (VALIDX): Likewise.
22295         (ADDRIDX): Likewise.
22297 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22299         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22301 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
22303         [BZ #11438]
22304         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22305         to global scope.
22306         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22307         addresses are in the same scope as 192.0.2/24.
22308         * posix/gai.conf: Document new scope table defaults.
22310 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22312         [BZ #5298]
22313         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22314         for ftell.  Compute offsets from write pointers instead.
22315         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22317 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22319         [BZ #14543]
22320         * libio/Makefile (tests): New test case tst-fseek.
22321         * libio/tst-fseek.c: New test case to verify that fseek/ftell
22322         combination works in wide mode.
22323         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22324         state when the external buffer state changes.
22326 2012-09-27  David S. Miller  <davem@davemloft.net>
22328         [BZ #14376]
22329         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22330         pass reloc->r_addend in as the 'high' argument to
22331         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22335 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22337         * rt/tst-aio2.c: Include <pthread.h>.
22338         * rt/tst-aio3.c: Likewise.
22340 2012-09-27  Steve Ellcey  <sellcey@mips.com>
22342         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22344 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
22346         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22347         contents on [SHARED].
22349 2012-09-26  Marek Polacek  <polacek@redhat.com>
22351         [BZ #14530]
22352         [BZ #13741]
22353         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22354         for C++ and GCC <4.3 as well as for non GCC compilers.
22356 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22360 2012-09-25  Roland McGrath  <roland@hack.frob.com>
22362         * Makefile.in (all, install): Declare with .PHONY.
22363         Reported by Michael Hope <michael.hope@linaro.org>.
22365 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22367         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22368         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22369         system header.
22370         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22371         Likewise.
22372         (sydep_routines): Add the new and the internal functions.
22373         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22374         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22376         (GLIBC_2.17): Add the new function.
22377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22378         (GLIBC_2.17): Likewise.
22379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22380         (GLIBC_2.17): Likewise.
22381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22382         (GLIBC_2.17): Likewise.
22383         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22385 2012-09-25  Alan Modra  <amodra@gmail.com>
22387         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22388         Add release barrier before setting once_control to say
22389         initialisation is done.  Add hints on lwarx.  Use macro in
22390         place of isync.
22391         (clear_once_control): Add release barrier.
22393 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22395         [BZ #13629]
22396         * math/s_clog.c (__clog): Handle more values close to |z| = 1
22397         specially.
22398         * math/s_clog10.c (__clog10): Likewise.
22399         * math/s_clog10f.c (__clog10f): Likewise.
22400         * math/s_clog10l.c (__clog10l): Likewise.
22401         * math/s_clogf.c (__clogf): Likewise.
22402         * math/s_clogl.c (__clogl): Likewise.
22403         * math/Makefile (libm-calls): Add x2y2m1.
22404         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22405         (__x2y2m1): Likewise.
22406         (__x2y2m1l): Likewise.
22407         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22408         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22409         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22410         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22411         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22412         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22413         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22414         * sysdeps/i386/fpu/libm-test-ulps: Update.
22415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22417         [BZ #14621]
22418         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22419         int as type of variable DEPTH.
22420         (glob): Use size_t instead of int as type of variables NEWCOUNT
22421         and OLD_PATHC.
22423 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22425         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22426         Add s_sincosf-sse2.
22427         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22428         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22429         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22430         macros for using routine as __sincosf_ia32.
22431         Use macro for function declaration and weak_alias.
22432         * sysdeps/i386/fpu/libm-test-ulps: Update.
22434         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22437         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22438         subnormal argument.
22439         * math/s_cexpf.c (__cexpf): Likewise.
22440         * math/s_csinf.c (__csinf): Likewise.
22441         * math/s_csinhf.c (__csinhf): Likewise.
22442         * math/s_ctanf.c (__ctanf): Likewise.
22443         * math/s_ctanhf.c (__ctanhf): Likewise.
22444         * math/s_ccosh.c (__ccoshf): Likewise.
22445         * math/s_cexp.c (__cexpl): Likewise.
22446         * math/s_csin.c (__csin): Likewise.
22447         * math/s_csinh.c (__csinh): Likewise.
22448         * math/s_ctan.c (__ctan): Likewise.
22449         * math/s_ctanh.c (ctanh): Likewise.
22450         * math/s_ccoshl.c (__ccoshl): Likewise.
22451         * math/s_cexpl.c (__cexpl): Likewise.
22452         * math/s_csinl.c (__csinl): Likewise.
22453         * math/s_csinhl.c (__csinhl): Likewise.
22454         * math/s_ctanl.c (__ctanl): Likewise.
22455         * math/s_ctanhl.c (__ctanhl): Likewise.
22457 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22459         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22460         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22461         (_IO_off_t): Define to __off_t, not _G_off_t.
22462         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22463         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22464         (_IO_wint_t): Define to wint_t, not _G_wint_t.
22465         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22466         type of __dummy and __dummy2 fields.
22467         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22468         (_G_ssize_t): Likewise.
22469         (_G_off_t): Likewise.
22470         (_G_pid_t): Likewise.
22471         (_G_uid_t): Likewise.
22472         (_G_wchar_t): Likewise.
22473         (_G_wint_t): Likewise.
22474         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22475         (_G_ssize_t): Likewise.
22476         (_G_off_t): Likewise.
22477         (_G_pid_t): Likewise.
22478         (_G_uid_t): Likewise.
22479         (_G_wchar_t): Likewise.
22480         (_G_wint_t): Likewise.
22481         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22482         (_G_ssize_t): Likewise.
22483         (_G_off_t): Likewise.
22484         (_G_pid_t): Likewise.
22485         (_G_uid_t): Likewise.
22486         (_G_wchar_t): Likewise.
22487         (_G_wint_t): Likewise.
22489 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22491         * malloc/arena.c: Include malloc-sysdep.h.
22492         (shrink_heap): Use check_may_shrink_heap to decide if madvise
22493         is sufficient to shrink the heap or an unmap is needed.
22494         * sysdeps/generic/malloc-sysdep.h: New file.  Define
22495         new function check_may_shrink_heap.
22496         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
22497         new function check_may_shrink_heap.
22499 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22501         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22502         comments.
22504 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
22506         * catgets/test-gencat.sh: Add "set -e".
22507         * elf/tst-pathopt.sh: Likewise.
22508         * grp/tst_fgetgrent.sh: Likewise.
22509         * iconvdata/run-iconv-test.sh: Likewise.
22510         * intl/tst-gettext.sh: Likewise.
22511         * intl/tst-gettext2.sh: Likewise.
22512         * intl/tst-gettext4.sh: Likewise.
22513         * intl/tst-gettext6.sh: Likewise.
22514         * intl/tst-translit.sh: Likewise.
22515         * io/ftwtest-sh: Likewise.
22516         * libio/test-freopen.sh: Likewise.
22517         * malloc/tst-mtrace.sh: Likewise.
22518         * posix/globtest.sh: Likewise.
22519         * posix/tst-getconf.sh: Likewise.
22520         * posix/wordexp-tst.sh: Likewise.
22521         * stdio-common/tst-printf.sh: Likewise.
22522         * stdio-common/tst-unbputc.sh: Likewise.
22523         * stdlib/tst-fmtmsg.sh: Likewise.
22524         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22525         * catgets/Makefile: Do not specify -e option when running
22526         testsuite shell scripts.
22527         * elf/Makefile: Likewise.
22528         * grp/Makefile: Likewise.
22529         * iconvdata/Makefile: Likewise.
22530         * intl/Makefile: Likewise.
22531         * io/Makefile: Likewise.
22532         * libio/Makefile: Likewise.
22533         * malloc/Makefile: Likewise.
22534         * posix/Makefile: Likewise.
22535         * stdio-common/Makefile: Likewise.
22536         * stdlib/Makefile: Likewise.
22537         * sysdeps/x86_64/Makefile: Likewise.
22539         * io/ftwtest-sh: Add copyright header.
22540         * posix/globtest.sh: Likewise.
22541         * posix/tst-getconf.sh: Likewise.
22542         * posix/wordexp-tst.sh: Likewise.
22543         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22545 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
22547         [BZ #13679]
22548         * Makeconfig (+link): Defined as $(+link-static) if
22549         $(build-shared) isn't yes.
22550         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22551         isn't yes.
22552         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22554         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22556         [BZ #14562]
22557         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22558         new chunk size with MALLOC_ALIGN_MASK.
22560 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
22562         [BZ #5044]
22563         * stdio-common/printf_fphex.c: Include <stdbool.h> and
22564         <rounding-mode.h>.
22565         (__printf_fphex): Determine rounding using get_rounding_mode and
22566         round_away.
22567         * stdio-common/tst-printf-round.c (struct hex_test): New
22568         structure.
22569         (hex_tests): New variable.
22570         (test_hex_in_one_mode): New function.
22571         (do_test): Also run tests for hex float output.
22573 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
22575         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22576         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22577         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22578         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22579         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22580         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22581         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22582         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22584 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
22586         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22587         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22588         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22589         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22591 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
22593         [BZ #14579]
22594         * elf/rtld.c (dl_main): Limit the check for self loading to normal
22595         mode only.
22596         * elf/tst-rtld-load-self.sh: New test.
22597         * elf/Makefile: Run it.
22599 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
22601         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22602         (tst-writev-ENV): Remove.
22603         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22605 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
22607         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22609 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
22611         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22612         unconditional.
22613         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22614         Likewise.
22615         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22616         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22617         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22618         Likewise.
22620 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
22622         [BZ #14587]
22623         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22624         * config.make.in (have-cpp-asm-debuginfo): Removed.
22625         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22626         * configure: Regenerated.
22628 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
22630         [BZ #5044]
22631         * stdio-common/printf_fp.c: Include <stdbool.h> and
22632         <rounding-mode.h>.
22633         (___printf_fp): Determine rounding using get_rounding_mode and
22634         round_away.
22635         * stdio-common/tst-printf-round.c: New file.
22636         * stdio-common/Makefile (tests): Add tst-printf-round.
22637         (link-libm): New variable.
22638         ($(objpfx)tst-printf-round): Depend in $(link-libm).
22640 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
22642         [BZ #14576]
22643         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22644         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22645         Likewise.
22646         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22647         Likewise.
22649 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
22651         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22652         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22653         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22654         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22656 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
22658         [BZ #14518]
22659         * include/rounding-mode.h: New file.
22660         * sysdeps/generic/get-rounding-mode.h: Likewise.
22661         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22662         * stdlib/strtod_l.c: Include <rounding-mode.h>.
22663         (MAX_VALUE): New macro.
22664         (MIN_VALUE): Likewise.
22665         (overflow_value): New function.
22666         (underflow_value): Likewise.
22667         (round_and_return): Use overflow_value and underflow_value to
22668         determine return values in overflow and underflow cases.  Use
22669         round_away to determine rounding depending on rounding mode.
22670         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22671         determine return values in overflow and underflow cases.
22672         * stdlib/tst-strtod-round.c: Include <fenv.h>.
22673         (struct test_results): New structure.
22674         (struct test): Use struct test_results to store expected results
22675         for all rounding modes.
22676         (TEST): Include expected results for all rounding modes.
22677         (test_in_one_mode): New function.
22678         (do_test): Use test_in_one_mode to compute and check results.
22679         Check results for all rounding modes.
22680         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22681         $(link-libm).
22683 2012-12-09  Allan McRae  <allan@archlinux.org>
22685         * sysdeps/i386/fpu/libm-test-ulps: Update
22687 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
22689         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22690         (_G_int32_t): Likewise.
22691         (_G_uint16_t): Likewise.
22692         (_G_uint32_t): Likewise.
22693         (_G_HAVE_BOOL): Likewise.
22694         (_G_HAVE_ATEXIT): Likewise.
22695         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22696         (_G_HAVE_IO_FILE_OPEN): Likewise.
22697         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22698         (_G_int32_t): Likewise.
22699         (_G_uint16_t): Likewise.
22700         (_G_uint32_t): Likewise.
22701         (_G_HAVE_BOOL): Likewise.
22702         (_G_HAVE_ATEXIT): Likewise.
22703         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22704         (_G_HAVE_IO_FILE_OPEN): Likewise.
22705         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22706         (_G_int32_t): Likewise.
22707         (_G_uint16_t): Likewise.
22708         (_G_uint32_t): Likewise.
22709         (_G_HAVE_BOOL): Likewise.
22710         (_G_HAVE_ATEXIT): Likewise.
22711         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22712         (_G_HAVE_IO_FILE_OPEN): Likewise.
22714 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
22716         * csu/libc-tls.c: Update copyright years.
22718 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
22720         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22721         [!_G_USING_THUNKS]: Remove conditional code.
22722         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22723         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22725         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22726         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22727         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22728         (_G_VTABLE_LABEL_PREFIX): Likewise.
22729         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22730         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22731         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22732         (_G_VTABLE_LABEL_PREFIX): Likewise.
22733         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22734         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22735         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22736         (_G_VTABLE_LABEL_PREFIX): Likewise.
22737         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22739 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
22741         * libio/Makefile: Include ../Makeconfig before tests.
22742         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22743         only if $(build-shared) is yes.
22745         * iconv/gconv_db.c: Update copyright years.
22747 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22749         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22750         unwind info if defined PIC. Fix special cases description.
22751         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22753         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22754         DP_HI_MASK entry.
22755         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22757 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
22759         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22761         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22762         is NULL.
22764         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22765         (LDLIBS-tst-chk4): This.
22766         (LDFLAGS-tst-chk5): Renamed to ...
22767         (LDLIBS-tst-chk5): This.
22768         (LDFLAGS-tst-chk6): Renamed to ...
22769         (LDLIBS-tst-chk6): This.
22770         (LDFLAGS-tst-lfschk4): Renamed to ...
22771         (LDLIBS-tst-lfschk4): This.
22772         (LDFLAGS-tst-lfschk5): Renamed to ...
22773         (LDLIBS-tst-lfschk5): This.
22774         (LDFLAGS-tst-lfschk6): Renamed to ...
22775         (LDLIBS-tst-lfschk6): This.
22777         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22778         on $(common-objpfx)soversions.mk.
22780 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
22782         [BZ #10014]
22783         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22784         example host name.
22786 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22788         * malloc/arena.c (arena_get_retry): New function that gets
22789         another arena for the caller to try its request on.
22790         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22791         current arena cannot fulfill the request.
22792         (__libc_memalign): Likewise.
22793         (__libc_memalign): Likewise.
22794         (__libc_pvalloc): Likewise.
22795         (__libc_calloc): Likewise.
22797 2012-09-05  John Tobey  <john.tobey@gmail.com>
22799         [BZ #13542]
22800         * manual/arith.texi (Operations on Complex): Fix description
22801         of carg branch cut.
22803 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22805         [BZ #10014]
22806         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22807         host name.
22809         [BZ #10038]
22810         * manual/memory.texi (Memory): Make order of menu items match
22811         order of sections.
22813 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22815         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22816         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
22817         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22819 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22821         * csu/libc-tls.c (static_dtv): Renamed to ...
22822         (_dl_static_dtv): This.  Make it global.
22823         (_dl_initial_dtv): Removed.
22824         (__libc_setup_tls): Updated.
22825         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22826         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22827         DL_INITIAL_DTV.
22829 2012-09-06  Petr Machata  <pmachata@redhat.com>
22831         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22832         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22833         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22834         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22836 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22838         [BZ #14545]
22839         * csu/libc-tls.c (_dl_initial_dtv): New variable.
22840         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22841         freeing dtv[-1].
22843 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22845         [BZ #14544]
22846         * Makeconfig (link-static-before-libc): Replace $(+prector)
22847         with $(+prectorT).
22848         (link-static-after-libc): Replace $(+postctor) with
22849         $(+postctorT).
22850         (link-bounded): Replace $(+prector)/$(+postctor) with
22851         $(+prectorT)/$(+postctorT).
22852         (+prectorT): New macro.
22853         (+postctorT): Likewise.
22855 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22857         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22858         (round_str): Handle values above the maximum for IBM long double
22859         as inexact.
22860         * stdlib/tst-strtod-round.c (tests): Regenerated.
22862 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22864         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22865         assembler flag.
22866         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22867         zarch_nohighgprs around the zarch optimized routines.
22868         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22869         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22870         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22871         for zarch.
22873 2012-09-05  David S. Miller  <davem@davemloft.net>
22875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22877         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22878         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22879         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22880         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22881         entries.
22883 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22885         * malloc/arena.c: Fold copyright years.
22886         * malloc/mcheck.c, malloc/memusage.c: Likewise.
22888 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22890         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22892 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22894         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
22896 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22898         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22899         change internal state upon failure.
22901 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22903         * malloc/mcheck.c (mcheck_check_all): Fix typo.
22904         * malloc/memusage.c (mmap): Likewise.
22905         (mmap64, mremap): Likewise.  Adjust name in comment.
22907 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22909         * libio/fileops.c: Fix typos in comments.
22910         * libio/oldfileops.c: Likewise.
22911         * libio/wfileops.c: Likewise.
22913 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22915         [BZ #1349]
22916         * malloc/Makefile (tests): Add tst-malloc-usable test case.
22917         (tst-malloc-usable-ENV): Set environment for test case.
22918         * malloc/hooks.c (malloc_check_get_size): New function to get
22919         requested size.
22920         * malloc/malloc.c (musable): Use malloc_check_get_size.
22921         * malloc/tst-malloc-usable.c: New test case.
22923 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22925         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
22927 2012-09-05  Allan McRae  <allan@archlinux.org>
22929         [BZ #13966]
22930         * configure.in (CXX_SYSINCLUDES): Use compiler output to
22931         determine header location.
22932         * configure: Regenerated.
22934 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22936         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
22937         float format.
22938         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
22939         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
22940         format.
22941         (test): Regenerate.
22943 2012-09-04  David S. Miller  <davem@davemloft.net>
22945         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
22946         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
22947         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
22949 2012-09-04  Florian Weimer  <fweimer@redhat.com>
22951         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
22952         failures.
22954         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
22956 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
22958         [BZ #9914]
22959         * libio/iogetdelim.c: Include <limits.h>.
22960         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
22961         + len + 1 would overflow.
22963 2012-09-03  Andreas Jaeger  <aj@suse.de>
22965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22966         * sysdeps/i386/fpu/libm-test-ulps: Update.
22968 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22970         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22971         Add s_sinf-sse2, s_conf-sse2.
22973         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
22974         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
22975         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
22976         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
22978         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
22979         for using routine as __sinf_ia32.
22980         Use macro for function declaration and weak_alias.
22981         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
22982         for using routine as __cosf_ia32.
22983         Use macro for function declaration and weak_alias.
22985         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
22986         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
22988         * sysdeps/x86_64/fpu/s_sinf.S: New file.
22989         * sysdeps/x86_64/fpu/s_cosf.S: New file.
22990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22992         * math/libm-test.inc (cos_test): Add more test cases.
22993         (sin_test): Likewise.
22994         (sincos_test): Likewise.
22996 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22998         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22999         (IFUNC_RESOLVE): Make pointers to the specialized implementations
23000         hidden.
23001         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23003 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
23005         [BZ #14538]
23006         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23007         first element of the GOT.
23008         (elf_machine_load_address): Return the difference between
23009         the runtime address of _DYNAMIC and elf_machine_dynamic ().
23011 2012-09-01  Allan McRae  <allan@archlinux.org>
23013         [BZ #13412]
23014         * configure.in (AWK): Require gawk version 3.0 or later.
23015         * configure: Regenerated.
23017 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
23019         * sysdeps/unix/sysv/linux/kernel-features.h
23020         (__ASSUME_POSIX_CPU_TIMERS): Remove.
23021         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23022         [__NR_clock_getres]: Make code unconditional.
23023         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23024         (clock_getcpuclockid): Remove code left unreachable by removal of
23025         conditionals.
23026         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23027         code unconditional.
23028         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23029         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23030         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23031         Make code unconditional.
23032         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23033         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23034         * sysdeps/unix/sysv/linux/clock_settime.c
23035         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23036         conditional code.
23037         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23038         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23040 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
23042         [BZ #14476]
23043         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23044         scripts/test-installation.pl.
23046         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23047         and $ld_so_version if it is set.
23049 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23051         [BZ #14516]
23052         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23053         failure if reading from procfs failed.
23054         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23056 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23058         * sysdeps/unix/sysv/linux/kernel-features.h
23059         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23060         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23061         Remove conditional code.
23062         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23063         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23064         Remove conditional code.
23065         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23066         * sysdeps/unix/sysv/linux/i386/fxstat.c
23067         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23068         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23069         * sysdeps/unix/sysv/linux/i386/fxstatat.c
23070         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23071         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23072         * sysdeps/unix/sysv/linux/i386/lxstat.c
23073         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23074         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23075         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23076         Remove conditional code.
23077         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23078         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23079         Remove conditional code.
23080         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23081         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23082         <kernel-features.h>.
23083         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23084         Remove.
23085         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23086         Remove conditional code.
23087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23088         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23089         Remove conditional.
23091 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
23093         [BZ #5400]
23094         * NEWS: Add fixed bug number.
23096 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23098         [BZ #14519]
23099         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23100         underflowing exponent in case of negative sign.
23101         * stdlib/tst-strtod-round-data: Add more tests.
23102         * stdlib/tst-strtod-round.c (tests): Regenerated.
23104         [BZ #3479]
23105         * stdlib/strtod_l.c (NDIG): Remove.
23106         (HEXNDIG): Likewise.
23107         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23108         smallest representable value.
23109         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23110         lie within an exact representation of 1/2 ulp of the result.
23111         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23112         unconditionally.
23113         (TENS_P9_IDX): Define unconditionally.
23114         (TENS_P9_SIZE): Likewise.
23115         (TENS_P10_IDX): Likewise.
23116         (TENS_P10_SIZE): Likewise.
23117         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23118         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23119         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23120         entries for 10^2^13 and 10^2^14.
23121         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23122         (TENS_P13_IDX): Define.
23123         (TENS_P13_SIZE): Likewise.
23124         (TENS_P14_IDX): Likewise.
23125         (TENS_P14_SIZE): Likewise.
23126         (_fpioconst_pow10): Change array size to
23127         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
23128         unconditional.
23129         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23130         1024]: Add entries for 10^2^13 and 10^2^14.
23131         [LAST_POW10 > _LAST_POW10]: Remove #error.
23132         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23133         (_fpioconst_pow10): Change array size to
23134         FPIOCONST_POW10_ARRAY_SIZE.
23135         * stdlib/gen-fpioconst.c: New file.
23136         * stdlib/gen-tst-strtod-round.c: Likewise.
23137         * stdlib/tst-strtod-round-data: Likewise.
23138         * stdlib/tst-strtod-round.c: Likewise.
23139         * stdlib/Makefile (tests): Add tst-strtod-round.
23141         [BZ #14459]
23142         * stdlib/strtod_l.c: Include <stdint.h>.
23143         (NDEBUG): Do not define.
23144         (round_and_return): Change EXPONENT parameter to type intmax_t.
23145         Rearrange calculations to avoid internal overflow possibilities.
23146         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23147         Rearrange calculations to avoid internal overflow possibilities.
23148         Assert that number fits inside MPNSIZE limbs.
23149         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23150         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
23151         calculations and add assertions to avoid internal overflow
23152         possibilities.  Add casts to avoid signed/unsigned operations.
23153         * stdlib/tst-strtod-overflow.c: New file.
23154         * stdlib/Makefile (tests): Add tst-strtod-overflow.
23156 2012-08-25  Marek Polacek  <polacek@redhat.com>
23158         * time/time.h: Fix some typos in comments.
23160 2012-08-23  Roland McGrath  <roland@hack.frob.com>
23162         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23163         * posix/tst-rfc3484-2.c: Likewise.
23164         * posix/tst-rfc3484-3.c: Likewise.
23166 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
23168         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23169         (EF_ARM_ABI_FLOAT_HARD): Likewise.
23171 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
23173         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23174         #include of fxstatat64.c.
23176 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23178         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23179         * shadow/getspent_r.c: Likewise.
23180         * shadow/getspnam.c: Likewise.
23181         * shadow/getspnam_r.c: Likewise.
23182         * gshadow/getsgent.c: Likewise.
23183         * gshadow/getsgent_r.c: Likewise.
23184         * gshadow/getsgnam.c: Likewise.
23185         * gshadow/getsgnam_r.c: Likewise.
23186         * inet/getnetbyad.c: Likewise.
23187         * inet/getnetbyad_r.c: Likewise.
23188         * inet/getnetbynm.c: Likewise.
23189         * inet/getnetbynm_r.c: Likewise.
23190         * inet/getnetent.c: Likewise.
23191         * inet/getnetent_r.c: Likewise.
23192         * inet/getproto.c: Likewise.
23193         * inet/getproto_r.c: Likewise.
23194         * inet/getprtent.c: Likewise.
23195         * inet/getprtent_r.c: Likewise.
23196         * inet/getprtname.c: Likewise.
23197         * inet/getprtname_r.c: Likewise.
23198         * inet/getrpcbyname.c: Likewise.
23199         * inet/getrpcbyname_r.c: Likewise.
23200         * inet/getrpcbynumber.c: Likewise.
23201         * inet/getrpcbynumber_r.c: Likewise.
23202         * inet/getrpcent.c: Likewise.
23203         * inet/getrpcent_r.c: Likewise.
23204         * inet/getaliasent.c: Likewise.
23205         * inet/getaliasent_r.c: Likewise.
23206         * inet/getaliasname.c: Likewise.
23207         * inet/getaliasname_r.c: Likewise.
23208         * nscd/getgrgid_r.c: Likewise.
23209         * nscd/getgrnam_r.c: Likewise.
23210         * nscd/gethstbyad_r.c: Likewise.
23211         * nscd/gethstbynm3_r.c: Likewise.
23212         * nscd/getpwnam_r.c: Likewise.
23213         * nscd/getpwuid_r.c: Likewise.
23214         * nscd/getsrvbynm_r.c: Likewise.
23215         * nscd/getsrvbypt_r.c: Likewise.
23216         * nscd/gai.c: Likewise.
23218         * configure.in (build_nscd): New substituted variable, set
23219         by --disable-build-nscd and defaults to $use_nscd.
23220         * configure: Regenerated.
23221         * config.make.in (build-nscd): New substituted variable.
23222         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23223         Change conditional to require [$(build-nscd) = yes] as well.
23224         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23226         [BZ# 13696]
23227         * configure.in (use_nscd): New substituted variable, set by
23228         --disable-nscd.  If enabled, define USE_NSCD.
23229         * configure: Regenerated.
23230         * config.h.in: Add USE_NSCD.
23231         * config.make.in (use-nscd): New substituted variable.
23232         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23233         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23234         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23235         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23236         (CFLAGS-getgrnam_r.c): Likewise.
23237         (CFLAGS-initgroups.c): Likewise.
23238         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23239         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23240         Variables removed.
23241         * inet/getnetgrent_r.c
23242         (nscd_setnetgrent): New function, broken out of ...
23243         (setnetgrent): ... here.  Call it.
23244         (innetgr): Conditionalize nscd bits on [USE_NSCD].
23245         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23246         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23247         * nscd/Makefile (routines, aux): Move definitions after include of
23248         Makeconfig.  Conditionalize on [$(use-nscd) != no].
23249         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23250         Conditionalize on [USE_NSCD].
23251         (is_nscd, nscd_init_cb): Likewise.
23252         (nss_load_library): Conditionalize init callback on [USE_NSCD].
23253         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23254         * nss/nss_db/db-init.c: Likewise.
23255         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23256         [USE_NSCD].
23257         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23258         (make_request): Use it.
23259         (cache_valid_p): New function.
23260         (__check_pf): Use it.
23261         * NEWS: Add item for --disable-nscd.
23263 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
23265         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23266         to support sed >= 4.2.1-20-ga9bf076.
23267         * configure: Regenerated.
23269 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23271         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23272         Conditionalize whole body on [IREL].
23274 2012-08-22  Jeff Law <law@redhat.com>
23276         [BZ #14505]
23277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23278         if the family is PF_UNSPEC.
23280 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
23282         * Makerules (lib-version): Rename from V.
23283         (install-lib-nosubdir): Change V to lib-version.
23285 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
23287         [BZ #14252]
23288         * powerpc32/power6/wcschr.c: New file.
23289         * powerpc32/power6/wcscpy.c: New file.
23290         * powerpc32/power6/wcsrchr.c: New file.
23291         * powerpc64/power6/wcschr.c: New file.
23292         * powerpc64/power6/wcscpy.c: New file.
23293         * powerpc64/power6/wcsrchr.c: New file.
23295 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23297         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23298         (two_way_short_needle): Use it.
23299         * string/strstr.c (AVAILABLE1_USES_J): Define.
23300         * string/strcasestr.c: Likewise.
23302         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23303         array references.
23304         * string/strcasestr.c (TOLOWER): Make side-effect safe.
23306         [BZ #11607]
23307         * NEWS: Add an entry.
23308         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23309         define their defaults.
23310         (two_way_short_needle): Detect end-of-string on-the-fly.
23311         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23312         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23313         * string/bug-strcasestr1.c: New test.
23314         * string/Makefile: Run it.
23316 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23318         [BZ #11607]
23319         * string/str-two-way.h (two_way_short_needle): Optimize matching of
23320         the first character.
23322 2012-08-21  Roland McGrath  <roland@hack.frob.com>
23324         * csu/elf-init.c (__libc_csu_irel): Function removed.
23325         * csu/libc-start.c (apply_irel): New function.
23326         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23328 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
23330         * sysdeps/unix/sysv/linux/kernel-features.h
23331         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23332         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23333         <kernel-features.h>.
23334         [__NR_fadvise64_64]: Make code unconditional.
23335         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23336         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23337         !__NR_fadvise64_64)]: Likewise.
23338         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23339         !__NR_fadvise64_64))]: Likewise.
23340         [__NR_fadvise64]: Make code unconditional.
23341         [!__NR_fadvise64]: Remove conditional code.
23342         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23343         <kernel-features.h>.
23344         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23345         unconditional.
23346         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23347         conditional code.
23348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23349         not include <kernel-features.h>.
23350         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23351         unconditional.
23352         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23353         conditional code.
23354         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23355         include <kernel-features.h>.
23356         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23357         unconditional.
23358         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23359         conditional code.
23361 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
23363         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23364         slight instruction rearrangements per scrollpipe analysis.
23365         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23367 2012-08-20  Roland McGrath  <roland@hack.frob.com>
23369         * manual/syslog.texi (syslog; vsyslog, closelog):
23370         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23371         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23373         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23374         DSOCAPS to match condition on defining it.
23376 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
23378         * sysdeps/unix/sysv/linux/kernel-features.h
23379         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23381         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23382         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23384         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23385         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23387         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23388         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23390         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23391         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23393         * sysdeps/unix/sysv/linux/kernel-features.h
23394         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23395         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23396         unconditional.
23397         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23398         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23399         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23400         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23401         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23402         Make code unconditional.
23403         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23404         (__mmap64) [!__NR_mmap2]: Likewise.
23405         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23406         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23407         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23408         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23409         [__NR_mmap2]: Make code unconditional.
23410         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23411         (__mmap64) [!__NR_mmap2]: Likewise.
23413 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23415         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23417 2012-08-18  Andreas Jaeger  <aj@suse.de>
23419         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23421 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23423         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23424         * include/unistd.h (__have_sock_cloexec): Likewise.
23425         (__have_pipe2): Likewise.
23426         (__have_dup3): Likewise.
23428 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23430         [BZ #9685]
23431         * include/unistd.h (__have_pipe2): Change define into an extern int.
23432         (__have_dup3): Likewise.
23433         * socket/have_sock_cloexec.c: Include fcntl.h.
23434         (__have_pipe2): New variable.
23435         (__have_dup3): Likewise.
23437 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
23439         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23441 2012-08-17  Marek Polacek  <polacek@redhat.com>
23443         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23444         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23446 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23448         * configure.in: Add AC_SUBST for sysheaders.
23449         * configure: Regenerated.
23450         * config.make.in (sysheaders): New substituted variable.
23452         * sysdeps/unix/mkfifo.c: Moved ...
23453         * sysdeps/posix/mkfifo.c: ... here.
23454         * sysdeps/unix/mkfifoat.c: Moved ...
23455         * sysdeps/posix/mkfifoat.c: ... here.
23457         * sysdeps/unix/utime.c: Moved ...
23458         * sysdeps/posix/utime.c: ... here.
23460         * sysdeps/unix/time.c: Moved ...
23461         * sysdeps/posix/time.c: ... here.
23462         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23463         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23465         * sysdeps/unix/nice.c: Moved ...
23466         * sysdeps/posix/nice.c: ... here.
23468         * sysdeps/unix/alarm.c: Moved ...
23469         * sysdeps/posix/alarm.c: ... here.
23471         * intl/Makefile ($(codeset_mo)): Depend on the input file.
23473 2012-08-17  Jeff Law <law@redhat.com>
23475         * intl/Makefile (codeset_mo): New variable.
23476         ($(codeset_mo)): New target.
23477         (tst-codeset.out): Depend on that.  Remove explicit rule.
23478         (tst-gettext3.out, tst-gettext5.out): Likewise.
23479         (LOCPATH-ENV, tst-codeset-ENV): New variables.
23480         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23481         * intl/tst-codeset.sh: Remove.
23482         * intl/tst-gettext3.sh: Likewise.
23483         * intl/tst-gettext5.sh: Likewise.
23485 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23487         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
23488         * sysdeps/unix/syscalls.list: ... here.
23490         * sysdeps/posix/getaddrinfo.c
23491         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23492         (gaiconf_init, gaiconf_reload): Use them.
23493         [!_STATBUF_ST_NSEC]
23494         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23495         Define using time_t rather than struct timespec.
23497         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23498         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23499         Macros removed.
23500         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23501         [!NO_THREADS].
23502         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23503         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23504         Likewise.
23506         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23507         __libc_cleanup_push argument.
23509         * bits/param.h: New file.
23510         * misc/sys/param.h: New file.
23511         * include/sys/param.h: New file.
23512         * misc/Makefile (headers): Add bits/param.h.
23513         * sysdeps/generic/sys/param.h: File removed.
23514         * sysdeps/unix/sysv/linux/bits/param.h: New file.
23515         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23516         * sysdeps/mach/hurd/bits/param.h: New file.
23517         * sysdeps/mach/hurd/sys/param.h: File removed.
23519         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23520         last change.
23522         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23523         [_IO_MTSAFE_IO].
23524         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23525         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23526         New macros.
23528         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23529         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23530         rather than -D_IO_MTSAFE_IO conditionally.
23531         * stdio-common/Makefile (CPPFLAGS): Likewise.
23532         * wcsmbs/Makefile (CPPFLAGS): Likewise.
23533         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23534         Use $(libio-mtsafe).
23535         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23536         of -D_IO_MTSAFE_IO.
23537         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23538         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23539         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23540         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23541         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23542         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23543         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23544         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23545         (CFLAGS-fread_u_chk.c): Likewise.
23546         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23547         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23548         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23549         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23550         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23551         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23552         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23553         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23554         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23556         * libio/Makefile: Test [$(libc-reentrant) = yes]
23557         instead of [$(filter %REENTRANT, $(defines)) nonempty].
23559         * Makeconfig
23560         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23561         * sysdeps/pthread/configure: File removed.
23562         * sysdeps/pthread/Makeconfig: New file.
23563         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23564         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23566 2012-08-16  Gary Benson  <gbenson@redhat.com>
23568         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23569         unmapping the first object in a namespace.
23571 2012-08-16  Roland McGrath  <roland@hack.frob.com>
23573         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23574         (__internal_setnetgrent): ... this.  Add internal_function to
23575         definition.  Add libc_hidden_def.
23576         (setnetgrent): Update caller.
23577         (internal_endnetgrent): Renamed to ...
23578         (__internal_endnetgrent): ... this.  Add internal_function to
23579         definition.  Add libc_hidden_def.
23580         (endnetgrent): Update caller.
23581         (internal_getnetgrent_r): Renamed to ...
23582         (__internal_getnetgrent_r): ... this.  Add internal_function to
23583         definition.  Add libc_hidden_def.
23584         (__getnetgrent_r): Update caller.
23585         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
23587 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23589         * stdlib/longlong.h: Update from GCC.
23591 2012-08-16  Roland McGrath  <roland@hack.frob.com>
23593         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23594         on _QL, which is set by umul_ppmm but never used.
23595         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23596         variables, which are set by GMP macros but never used.
23597         * stdio-common/_itowa.c (_itowa): Likewise.
23598         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23599         * stdlib/mod_1.c (mpn_mod_1): Likewise.
23601 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
23603         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23604         struct La_sh_regs is not constant.
23605         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23606         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23607         and struct La_sparc64_regs are not constant.
23609 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23611         * sysdeps/unix/sysv/linux/kernel-features.h
23612         (__ASSUME_POSIX_TIMERS): Remove.
23613         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23614         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23615         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23616         Make code unconditional.
23617         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23618         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23619         Make code unconditional.
23620         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23621         * sysdeps/unix/sysv/linux/clock_nanosleep.c
23622         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23623         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23624         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23625         Make code unconditional.
23626         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23627         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23628         (__libc_missing_posix_timers): Remove.
23630 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23632         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23633         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23635         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23637         * elf/dl-sym.c: Include <stdlib.h>.
23639         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23640         constants, which avoids warnings in 32-bit builds.
23642         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23643         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23645         * misc/lseek.c: File moved to ...
23646         * io/lseek.c: ... here.
23648         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23650         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23651         shifting LEN more than 31 bits at once.
23653 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23655         [BZ #14195]
23656         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23657         segmentation fault for a case of two empty input strings.
23658         * string/test-strncasecmp.c (check1): Renamed to...
23659         (bz12205): ...this.
23660         (bz14195): Add new testcase for two empty input strings and N > 0.
23661         (test_main): Call new testcase, adapt for renamed function.
23663 2012-08-15  Andreas Jaeger  <aj@suse.de>
23665         [BZ #14090]
23666         * crypt/md5test2.c: New test, based on test supplied by Serge
23667         Belyshev <belyshev@depni.sinp.msu.ru>.
23668         * crypt/Makefile (xtests): Add md5test-giant..
23669         * crypt/Makefile ($(objpfx)md5test-giant): Add.
23671 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
23673         [BZ #14090]
23674         * crypt/md5.c (md5_process_block): Don't assume the buffer
23675         length is less than 2**32.
23676         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23677         length is less than 2**64.
23679 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23681         * string/str-two-way.h: Include <sys/param.h>.
23682         (MAX): Macro removed.
23684         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23685         Move #define and #undef of memmove to just before and after
23686         including <string.h>.
23688         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23689         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23690         and after including <string.h>.  Move declarations of
23691         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23692         to before #include "string/memmove.c".
23694         * include/dirent.h: Declare __getdirentries.
23696         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23697         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23699 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
23701         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23702         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23703         * sysdeps/i386/configure: Regenerated.
23704         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23705         STABS_CURRENT_FILE, and STABS_FUN.
23706         (END): Remove call to STABS_FUN_END.
23707         (STABS_CURRENT_FILE1): Delete.
23708         (STABS_CURRENT_FILE): Likewise.
23709         (STABS_FUN): Likewise.
23710         (STABS_FUN_END): Likewise.
23711         (STABS_FUN2): Likewise.
23712         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23713         * sysdeps/x86_64/configure: Regenerated.
23715 2012-08-14  Roland McGrath  <roland@hack.frob.com>
23717         * elf/dl-open.c: Include <atomic.h>.
23718         * elf/dl-lookup.c: Likewise.
23720 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
23722         * sysdeps/unix/sysv/linux/kernel-features.h
23723         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23724         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23725         unconditionally.
23726         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23727         unconditionally.
23728         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23729         condition on __ASSUME_CLONE_THREAD_FLAGS.
23731 2012-08-14  Andreas Jaeger  <aj@suse.de>
23733         * sysdeps/i386/fpu/libm-test-ulps: Update.
23735 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
23737         * include/atomic.h (atomic_exchange_and_add): Split into ...
23738         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23739         New atomic macros.
23741 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
23743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23745 2012-08-13  Jeff Law <law@redhat.com>
23747         * manual/stdio.texi (snprintf): Clarify handling of the trailing
23748         null byte in the output string.
23750 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
23752         * sysdeps/unix/sysv/linux/kernel-features.h
23753         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23754         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23755         (__ASSUME_ARG_MAX_STACK_BASED): Define.
23756         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23757         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23758         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
23759         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23761 2012-08-09  Jeff Law <law@redhat.com>
23763         [BZ #13939]
23764         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23765         When avoid_arena is set, don't retry in the that arena.  Pick the
23766         next one, whatever it might be.
23767         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23768         (arena_lock): Pass in new parameter to arena_get2.
23769         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23770         arena_get2.
23771         (__libc_malloc): Unify retrying after main arena failure with
23772         __libc_memalign version.
23773         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23775 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
23777         [BZ #14166]
23778         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23779         to __redirect_strstr.
23780         (__strstr_sse42): Use typeof __redirect_strstr.
23781         (__strstr_ia32): Likewise.
23782         (__libc_strstr): New prototype.
23783         (strstr): Renamed to ...
23784         (__libc_strstr): This.
23785         (strstr): New strong alias of __libc_strstr.
23786         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23787         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23788         __redirect_time.
23789         Include <time.h>.
23790         (__libc_time): New prototype.
23791         (time_ifunc): Replace time with __libc_time.
23792         (time): New strong alias and hidden definition of __libc_time.
23793         (__GI_time): Remove strong alias.
23794         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23795         Include <stddef.h>.
23796         (memmove): Redefined to __redirect_memmove.
23797         (__memmove_sse2): Use typeof __redirect_memmove.
23798         (__memmove_ssse3): Likewise.
23799         (__memmove_ssse3_back): Likewise.
23800         (__libc_memmove): New prototype.
23801         (memmove): Renamed to ...
23802         (__libc_memmove): This.
23803         (memmove): New strong alias of __libc_memmove.
23805 2012-08-08  Mark Salter  <msalter@redhat.com>
23807         * elf/elf.h
23808         (R_MN10300_TLS_GD): Define.
23809         (R_MN10300_TLS_LD): Likewise.
23810         (R_MN10300_TLS_LDO): Likewise.
23811         (R_MN10300_TLS_GOTIE): Likewise.
23812         (R_MN10300_TLS_IE): Likewise.
23813         (R_MN10300_TLS_LE): Likewise.
23814         (R_MN10300_TLS_DTPMOD): Likewise.
23815         (R_MN10300_TLS_DTPOFF): Likewise.
23816         (R_MN10300_TLS_TPOFF): Likewise.
23817         (R_MN10300_SYM_DIFF): Likewise.
23818         (R_MN10300_ALIGN): Likewise.
23819         (R_MN10300_NUM): Update.
23821 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
23823         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23824         Remove.
23826 2012-08-08  Roland McGrath  <roland@hack.frob.com>
23828         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23830         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23831         sysdeps/unix -> sysdeps/posix move.
23832         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23834 2012-08-07      Allan McRae     <allan@archlinux.org>
23836         [BZ #14303]
23837         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23838         (SUNOS_CPP): Likewise.
23839         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23840         not found.
23841         (open_input): Call CPP using execvp.
23843 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23845         * sysdeps/unix/sysv/linux/kernel-features.h
23846         (__ASSUME_PROT_GROWSUPDOWN): Remove.
23847         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23848         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23849         (__ASSUME_WAITID_SYSCALL): Likewise.
23850         * sysdeps/unix/sysv/linux/dl-execstack.c
23851         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23852         code unconditional.
23853         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23854         conditional code.
23855         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23856         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23857         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23858         code.
23859         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23860         unconditional.
23861         [__ASSUME_WAITID_SYSCALL]: Likewise.
23862         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23864 2012-08-07  Roland McGrath  <roland@hack.frob.com>
23866         * sysdeps/unix/closedir.c: Renamed to ...
23867         * sysdeps/posix/closedir.c: ... here.
23868         * sysdeps/unix/dirfd.c: Renamed to ...
23869         * sysdeps/posix/dirfd.c: ... here.
23870         * sysdeps/unix/dirstream.h: Renamed to ...
23871         * sysdeps/posix/dirstream.h: ... here.
23872         * sysdeps/unix/fdopendir.c: Renamed to ...
23873         * sysdeps/posix/fdopendir.c: ... here.
23874         * sysdeps/unix/opendir.c: Renamed to ...
23875         * sysdeps/posix/opendir.c: ... here.
23876         * sysdeps/unix/readdir.c: Renamed to ...
23877         * sysdeps/posix/readdir.c: ... here.
23878         * sysdeps/unix/readdir_r.c: Renamed to ...
23879         * sysdeps/posix/readdir_r.c: ... here.
23880         * sysdeps/unix/rewinddir.c: Renamed to ...
23881         * sysdeps/posix/rewinddir.c: ... here.
23882         * sysdeps/unix/seekdir.c: Renamed to ...
23883         * sysdeps/posix/seekdir.c: ... here.
23884         * sysdeps/unix/telldir.c: Renamed to ...
23885         * sysdeps/posix/telldir.c: ... here.
23886         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23887         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23888         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23889         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23891         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23892         * bits/fcntl.h: ... here.
23894         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23895         not 0.
23896         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23897         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23898         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23899         (struct flock): Move l_start, l_len to the beginning.
23900         Use __pid_t for l_pid.
23901         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23902         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23903         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23904         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23905         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23906         [__USE_LARGEFILE64] (struct flock64): New type.
23907         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23909         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23910         * bits/dirent.h: ... here.
23912         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23913         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23915 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23917         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23918         Change from 2.6.0 to 2.6.16.
23919         * sysdeps/unix/sysv/linux/configure: Regenerated.
23920         * sysdeps/unix/sysv/linux/kernel-features.h
23921         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
23922         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
23923         version.
23924         (__ASSUME_UTIMES): Likewise.
23925         (__ASSUME_CLONE_STOPPED): Remove.
23926         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
23927         architectures, not kernel version.
23928         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
23929         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23930         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23931         (__ASSUME_WAITID_SYSCALL): Likewise.
23932         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
23933         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
23934         * README: State 2.6.16 as minimum Linux kernel version.  Do not
23935         refer to older versions.
23937 2012-08-06  Roland McGrath  <roland@hack.frob.com>
23939         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
23940         Define alphasort64 as an alias.
23941         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
23942         Define versionsort64 as an alias.
23943         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
23944         Define scandir64 as an alias.
23945         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
23946         Define scandirat64 as an alias.
23947         * dirent/alphasort64.c (alphasort64):
23948         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
23949         * dirent/versionsort64.c: Likewise.
23950         * dirent/scandir64.c: Likewise.
23951         * dirent/scandirat64.c: Likewise.
23952         * sysdeps/wordsize-64/alphasort.c: File removed.
23953         * sysdeps/wordsize-64/alphasort64.c: File removed.
23954         * sysdeps/wordsize-64/scandir.c: File removed.
23955         * sysdeps/wordsize-64/scandir64.c: File removed.
23956         * sysdeps/wordsize-64/scandirat.c: File removed.
23957         * sysdeps/wordsize-64/scandirat64.c: File removed.
23958         * sysdeps/wordsize-64/versionsort.c: File removed.
23959         * sysdeps/wordsize-64/versionsort64.c: File removed.
23960         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
23961         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
23962         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
23963         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
23964         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
23965         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
23966         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
23967         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
23969         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
23970         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
23971         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
23972         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23973         [defined __arch64__ || defined __sparcv9]
23974         (__INO_T_MATCHES_INO64_T): New macro.
23975         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23976         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
23977         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
23978         * sysdeps/unix/sysv/linux/bits/dirent.h
23979         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
23980         (_DIRENT_MATCHES_DIRENT64): New macro.
23982         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
23983         Define lockf64 as an alias.
23984         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
23985         Define fseeko64 as an alias.
23986         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
23987         Define ftello64 as an alias.
23988         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
23989         Define _IO_fgetpos64 and fgetpos64 as aliases.
23990         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
23991         Define _IO_fsetpos64 and fsetpos64 as aliases.
23992         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
23993         Conditionalize body on this.
23994         * libio/fseeko64.c: Likewise.
23995         * libio/ftello64.c: Likewise.
23996         * libio/iofgetpos64.c: Likewise.
23997         * libio/iofsetpos64.c: Likewise.
23998         * sysdeps/wordsize-64/lockf.c: File removed.
23999         * sysdeps/wordsize-64/lockf64.c: File removed.
24000         * sysdeps/wordsize-64/fseeko.c: File removed.
24001         * sysdeps/wordsize-64/fseeko64.c: File removed.
24002         * sysdeps/wordsize-64/ftello.c: File removed.
24003         * sysdeps/wordsize-64/ftello64.c: File removed.
24004         * sysdeps/wordsize-64/iofgetpos.c: File removed.
24005         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24006         * sysdeps/wordsize-64/iofsetpos.c: File removed.
24007         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24008         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24009         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24010         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24011         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24012         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24013         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24014         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24015         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24016         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24017         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24019         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24020         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24021         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24022         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24023         [defined __arch64__ || defined __sparcv9]
24024         (__OFF_T_MATCHES_OFF64_T): New macro.
24025         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24026         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24027         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24028         (__OFF_T_MATCHES_OFF64_T): New macro.
24030 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24032         * stdlib/secure-getenv.c (__secure_getenv): Replace
24033         GLIBC_2_16 with GLIBC_2_17.
24035 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24037         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24038         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24040 2012-08-03  David S. Miller  <davem@davemloft.net>
24042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24044 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24046         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24047         Remove.
24048         (__ASSUME_CORRECT_SI_PID): Likewise.
24049         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24050         (__ASSUME_TMPFS_NAME): Likewise.
24051         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24052         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24053         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24054         (HAVE_AUX_SECURE): Make definition unconditional.
24055         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24056         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24058 2012-08-03  Roland McGrath  <roland@hack.frob.com>
24060         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24061         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24062         * sysdeps/mach/hurd/eloop-threshold.h: New file.
24063         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24064         __eloop_threshold instead of SYMLOOP_MAX.
24066         * sysdeps/generic/eloop-threshold.h: New file.
24067         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24068         of MAXSYMLINKS.
24069         * elf/chroot_canon.c (chroot_canon): Likewise.
24071 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24073         [BZ #13717]
24074         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24075         Change to 2.6.0 everywhere.
24076         * sysdeps/unix/sysv/linux/configure: Regenerated.
24077         * sysdeps/unix/sysv/linux/kernel-features.h
24078         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24079         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24080         kernel versions.
24081         (__ASSUME_POSIX_TIMERS): Define unconditionally.
24082         (__ASSUME_FUTEX_REQUEUE): Remove.
24083         (__ASSUME_STATFS64): Define unconditionally.
24084         (__ASSUME_AT_SECURE): Likewise.
24085         (__ASSUME_CORRECT_SI_PID): Likewise.
24086         (__ASSUME_TGKILL): Define without depending on kernel version for
24087         i386.
24088         (__ASSUME_UTIMES): Likewise.
24089         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24090         kernel version.
24091         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24092         (__ASSUME_TMPFS_NAME): Likewise.
24093         * README: Update reference to Linux kernel versions.
24095 2012-08-02  Marek Polacek  <polacek@redhat.com>
24097         [BZ# 14150]
24098         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
24099         libc_cv_asm_type_prefix with %.
24100         * configure: Regenerated.
24101         * include/libc-symbols.h: Remove comment about
24102         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24103         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24104         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24105         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24106         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24107         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24108         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24109         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24110         * elf/tst-unique2mod1.c: Likewise.
24111         * elf/tst-unique1mod2.c: Likewise.
24112         * elf/tst-unique1mod1.c: Likewise.
24113         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24114         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24115         Replace ASM_TYPE_DIRECTIVE with .type.
24116         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24117         * sysdeps/i386/sysdep.h: Likewise.
24118         * sysdeps/x86_64/sysdep.h: Likewise.
24119         * sysdeps/sh/sysdep.h: Likewise.
24120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24121         Do not define ASM_TYPE_DIRECTIVE.
24122         * sysdeps/powerpc/sysdep.h: Likewise.
24123         * sysdeps/powerpc/powerpc32/sysdep.h:
24124         Replace ASM_TYPE_DIRECTIVE with .type.
24125         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24126         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24127         * sysdeps/i386/fpu/e_powf.S: Likewise.
24128         * sysdeps/i386/fpu/e_expl.S: Likewise.
24129         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24130         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24131         * sysdeps/i386/fpu/e_pow.S: Likewise.
24132         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24133         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24134         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24135         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24136         * sysdeps/i386/fpu/e_log2.S: Likewise.
24137         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24138         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24139         * sysdeps/i386/fpu/e_powl.S: Likewise.
24140         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24141         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24142         * sysdeps/i386/fpu/e_logl.S: Likewise.
24143         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24144         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24145         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24146         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24147         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24148         * sysdeps/i386/fpu/e_log.S: Likewise.
24149         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24150         * sysdeps/i386/fpu/e_logf.S: Likewise.
24151         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24152         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24153         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24154         * sysdeps/i386/fpu/e_log10.S: Likewise.
24155         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24156         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24157         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24158         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24159         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24160         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24161         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24162         * sysdeps/i386/i686/strtok.S: Likewise.
24163         * sysdeps/i386/i386-mcount.S: Likewise.
24164         * sysdeps/i386/strtok.S: Likewise.
24165         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24166         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24167         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24168         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24169         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24170         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24171         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24172         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24173         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24174         * sysdeps/x86_64/_mcount.S: Likewise.
24175         * sysdeps/x86_64/strtok.S: Likewise.
24176         * sysdeps/sh/_mcount.S: Likewise.
24178 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24180         * libio/iofopen.c: Include <fcntl.h>.
24181         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24182         (_IO_fopen64, fopen64): Define as aliases.
24183         * libio/iofopen64.c: Include <fcntl.h>.
24184         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24185         Conditionalize body on this.
24186         * sysdeps/wordsize-64/iofopen.c: File removed.
24187         * sysdeps/wordsize-64/iofopen64.c: File removed.
24189 2012-08-01  Marek Polacek  <polacek@redhat.com>
24191         * libc/Makeconfig: Use elf in place of binfmt-subdir.
24192         Use dlfcn directly instead of a variable.
24193         (binfmt-subdir): Do not define.
24194         (dlfcn): Likewise.
24196 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
24198         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24199         Remove all definitions.
24200         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24201         <kernel-features.h>.
24202         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24203         (miss_F_GETOWN_EX): Remove all definitions.
24204         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24205         macro definition.
24206         [!__ASSUME_FCNTL64]: Remove conditional code.
24207         [__ASSUME_FCNTL64]: Make code unconditional.
24208         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24209         <kernel-features.h>.
24210         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24211         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24212         (lockf64) [__NR_fcntl64]: Make code unconditional.
24213         (lockf64) [__ASSUME_FCNTL64]: Likewise.
24215         * sysdeps/unix/sysv/linux/kernel-features.h
24216         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24217         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24218         Make code unconditional.
24219         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24220         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24222         [__NR_vfork]: Make code unconditional.
24223         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24224         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24226         [__NR_vfork]: Make code unconditional.
24227         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24228         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24230 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24232         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24233         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24235         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24236         Define mkstemp64 as an alias.
24237         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24238         Define mkstemps64 as an alias.
24239         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24240         Define mkostemp64 as an alias.
24241         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24242         Define mkostemps64 as an alias.
24243         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24244         Conditionalize body on this.
24245         * misc/mkostemp64.c: Likewise.
24246         * misc/mkostemps64.c: Likewise.
24247         * misc/mkstemps64.c: Likewise.
24248         * sysdeps/wordsize-64/mkstemp64.c: File removed.
24249         * sysdeps/wordsize-64/mkostemp64.c: File removed.
24250         * sysdeps/wordsize-64/mkostemp.c: File removed.
24251         * sysdeps/wordsize-64/mkstemp.c: File removed.
24252         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24253         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24254         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24255         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24257         [BZ #14138]
24258         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24259         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24260         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24261         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24263         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24264         compat_symbol macros from <shlib-compat.h> rather than the underlying
24265         default_symbol_version and symbol_version macros, so that DEFAULT
24266         lines in shlib-versions are respected.
24267         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24269 2012-08-01  Florian Weimer  <fweimer@redhat.com>
24271         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24272         Declare with warn_unused_result.
24273         (setgid, setregid, setegid, setresgid): Likewise.
24274         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24275         Likewise.
24276         * WUR-REPORT: Remove set*id functions.
24278 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
24280         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24282 2012-07-31  Roland McGrath  <roland@hack.frob.com>
24284         [BZ #10191]
24285         * include/sys/socket.h (__libc_accept, __libc_accept4):
24286         Add attribute_hidden.
24287         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24289         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24290         use of PTR_MANGLE.
24291         * inet/getnetgrent_r.c (setup): Likewise.
24293         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24295 2012-07-31  David S. Miller  <davem@davemloft.net>
24297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24299 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
24301         [BZ #13629]
24302         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24303         value between 1.0 and 2.0 and smaller part has absolute value less
24304         than 1.0.
24305         * math/s_clog10.c (__clog10): Likewise.
24306         * math/s_clog10f.c (__clog10f): Likewise.
24307         * math/s_clog10l.c (__clog10l): Likewise.
24308         * math/s_clogf.c (__clogf): Likewise.
24309         * math/s_clogl.c (__clogl): Likewise.
24310         * math/libm-test.inc (clog_test): Add more tests.
24311         (clog10_test): Likewise.
24312         * sysdeps/i386/fpu/libm-test-ulps: Update.
24313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24315 2012-07-31  Florian Weimer  <fweimer@redhat.com>
24317         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24318         Exit with zero in case no suitable GID is found, and write a
24319         message to standard error.
24321 2012-07-30  Roland McGrath  <roland@hack.frob.com>
24323         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24324         rather than to 1.
24325         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24326         (MAXPATHLEN): Removed.
24327         (NOGROUP, NODEV): New macros.
24328         (setbit, clrbit, isset, isclr): New macros.
24329         (howmany, roundup, powerof2): New macros.
24330         (DEV_BSIZE): New macro.
24332         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24333         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24335         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24336         definition on [!__NO_LONG_DOUBLE_MATH].
24338         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24339         PTR_MANGLE and PTR_DEMANGLE.
24341         * socket/accept4.c (accept4): Rename to __libc_accept4.
24342         Define accept4 as a weak alias.
24344         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24345         on [_DIRENT_HAVE_D_TYPE].
24346         * io/ftw.c (ftw_dir): Likewise.
24348         * io/xmknod.c (__xmknod): Don't check PATH for being null.
24350         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24352         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24353         Use the BSD numbers rather than the arbitrary ones we had.
24354         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24355         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24356         (SIGXCPU, SIGXFSZ): New macros.
24357         (_NSIG): Now 32.
24359         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24360         initializer on [_LIBC_REENTRANT].
24362         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24363         definitions inside [_POSIX_MAPPED_FILES].
24365         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24367         * dirent/opendir.c: Include <fcntl.h>.
24369         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24370         (__libc_getspecific): Likewise.
24371         (__libc_key_create): Likewise.
24373         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24374         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24375         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24376         (tmpfile64): Define as alias.
24377         * sysdeps/wordsize-64/tmpfile.c: File removed.
24378         * sysdeps/wordsize-64/tmpfile64.c: File removed.
24379         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24380         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24382         * stdio-common/vfscanf.c: Include <stdbool.h>.
24383         * nss/makedb.c: Likewise.
24384         * stdio-common/_i18n_number.h: Likewise.
24385         * argp/argp-help.c: Likewise.
24386         * posix/wordexp.c: Likewise.
24387         * sysdeps/posix/spawni.c: Likewise.
24388         * nss/nss_files/files-initgroups.c: Likewise.
24389         * stdio-common/reg-modifier.c: Include <stdlib.h>.
24390         * nss/nss_files/files-initgroups.c: Likewise.
24391         * nss/nss_db/db-netgrp.c: Likewise.
24392         * nss/nss_db/db-initgroups.c: Likewise.
24393         * io/fchmodat.c: Include <sys/stat.h>.
24395         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24396         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24398         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24399         [HAVE_MMAP].
24401         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24402         Add multiple inclusion protection.
24404 2012-07-27  David S. Miller  <davem@davemloft.net>
24406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24408 2012-07-27  Gary Benson  <gbenson@redhat.com>
24410         [BZ #14298]
24411         * elf/rtld.c: Include <stap-probe.h>.
24412         (dl_main): Added static probes "init_start" and "init_complete".
24413         * elf/dl-load.c: Include <stap-probe.h>.
24414         (lose): Take new parameter "nsid".
24415         Added static probe "map_failed".
24416         (_dl_map_object_from_fd): Pass namespace id to lose.
24417         Added static probe "map_start".
24418         (open_verify): Pass namespace id to lose.
24419         * elf/dl-open.c: Include <stap-probe.h>.
24420         (dl_open_worker) Added static probes "map_complete", "reloc_start"
24421         and "reloc_complete".
24422         * elf/dl-close.c: Include <stap-probe.h>.
24423         (_dl_close_worker): Added static probes "unmap_start" and
24424         "unmap_complete".
24425         * elf/rtld-debugger-interface.txt: New file documenting the above.
24427 2012-07-26  Roland McGrath  <roland@hack.frob.com>
24429         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24430         rather than a string variable.
24431         * sunrpc/rpc_main.c (h_output): Likewise.
24432         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24434 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
24436         * inet/check_native.c: New file.
24438 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
24440         [BZ #13629]
24441         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24442         if larger part has absolute value 1.0.
24443         * math/s_clog10.c (__clog10): Likewise.
24444         * math/s_clog10f.c (__clog10f): Likewise.
24445         * math/s_clog10l.c (__clog10l): Likewise.
24446         * math/s_clogf.c (__clogf): Likewise.
24447         * math/s_clogl.c (__clogl): Likewise.
24448         * math/libm-test.inc (clog_test): Add more tests.
24449         (clog10_test): Likewise.
24450         * sysdeps/i386/fpu/libm-test-ulps: Update.
24451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24453         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24454         (pltexit): Likewise.
24455         (La_regs): Likewise.
24456         (La_retval): Likewise.
24457         (int_retval): Likewise.
24458         Update #error for removed macros to refer only to definitions in
24459         tst-audit.h.
24460         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24461         macro.
24462         (pltexit): Likewise.
24463         (La_regs): Likewise.
24464         (La_retval): Likewise.
24465         (int_retval): Likewise.
24466         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24467         macro.
24468         (pltexit): Likewise.
24469         (La_regs): Likewise.
24470         (La_retval): Likewise.
24471         (int_retval): Likewise.
24472         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24473         macro.
24474         (pltexit): Likewise.
24475         (La_regs): Likewise.
24476         (La_retval): Likewise.
24477         (int_retval): Likewise.
24478         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24479         macro.
24480         (pltexit): Likewise.
24481         (La_regs): Likewise.
24482         (La_retval): Likewise.
24483         (int_retval): Likewise.
24484         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24485         macro.
24486         (pltexit): Likewise.
24487         (La_regs): Likewise.
24488         (La_retval): Likewise.
24489         (int_retval): Likewise.
24490         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24491         macro.
24492         (pltexit): Likewise.
24493         (La_regs): Likewise.
24494         (La_retval): Likewise.
24495         (int_retval): Likewise.
24496         * sysdeps/generic/tst-audit.h: Update comment to refer only to
24497         macro definitions in tst-audit.h.
24498         * sysdeps/i386/tst-audit.h: New file.
24499         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24500         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24501         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24502         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24503         * sysdeps/sh/tst-audit.h: Likewise.
24504         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24505         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24506         * sysdeps/x86_64/tst-audit.h: Likewise.
24508 2012-07-26  Andreas Jaeger  <aj@suse.de>
24510         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24511         ptrace.
24513         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24514         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24515         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24516         PTRACE_O_MASK.
24517         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24518         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24519         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24521         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24522         value.
24524         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24525         _sigsys.
24526         (si_call_addr, si_syscall, si_arch): Define new macro.
24527         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24528         _sigsys.
24529         (si_call_addr, si_syscall, si_arch): Define new marcro.
24530         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24531         _sigsys.
24532         (si_call_addr, si_syscall, si_arch): Define new macro.
24533         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24534         _sigsys.
24535         (si_call_addr, si_syscall, si_arch): Define new macro.
24537 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24539         [BZ #13717]
24540         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24541         Change to 2.4.21 where previously 2.4.1.
24542         * sysdeps/unix/sysv/linux/configure: Regenerated.
24543         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24544         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24545         Linux kernel version.
24546         (__ASSUME_STD_AUXV): Remove.
24547         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24548         kernel version.
24549         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24550         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24551         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24552         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24553         (__ASSUME_NETLINK_SUPPORT): Likewise.
24554         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24555         (__no_netlink_support): Remove conditional definition.
24556         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24557         Remove.
24558         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24559         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24560         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24561         (if_nameindex_ioctl): Remove.
24562         (if_nameindex_netlink): Do not handle __no_netlink_support.
24563         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24564         code.
24565         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24566         Remove conditional code.
24567         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24568         code.
24569         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24570         unconditional.
24571         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24572         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24573         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24574         Remove.
24575         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24576         [!__ASSUME_STD_AUXV]: Remove conditional code.
24577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24578         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24579         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24581         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24582         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24583         code.
24584         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24586         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24587         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24588         conditional code.
24589         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24591         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24592         code.
24593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24594         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24595         conditional code.
24596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24597         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24598         code unconditional.
24599         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24600         conditional code.
24601         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24602         unconditional.
24603         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24604         conditional code.
24605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24606         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24607         unconditional.
24608         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24609         conditional code.
24610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24611         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24612         code unconditional.
24613         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24614         conditional code.
24615         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24616         unconditional.
24617         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24618         conditional code.
24619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24620         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24621         code unconditional.
24622         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24623         conditional code.
24624         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24625         unconditional.
24626         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24627         conditional code.
24629 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
24631         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24632         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24633         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24634         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24635         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24636         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24637         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24638         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24639         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24640         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24641         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24642         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24643         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24644         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24645         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24646         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24647         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24648         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24649         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24651         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24652         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24653         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24655 2012-07-25  Florian Weimer  <fweimer@redhat.com>
24657         * Versions.def: Add GLIBC_2.17.
24658         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24659         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24660         Introduce __libc_secure_getenv.
24661         * stdlib/Versions (2.17): Add secure_getenv
24662         (GLIBC_PRIVATE): Add __libc_secure_getenv.
24663         * stdlib/secure-getenv.c: Rename __secure_getenv to
24664         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
24665         symbol __secure_getenv for GLIBC_2.0.
24666         * stdlib/tst-secure-getenv.c: New.
24667         * stdlib/Makefile (tests): Add testcase.
24668         * manual/startup.texi (Environment Access): Document
24669         secure_getenv.
24670         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24671         __libc_secure_getenv.
24672         * inet/ruserpass.c (ruserpass): Likewise.
24673         * malloc/mtrace.c (mtrace): Likewise.
24674         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24675         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24676         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24677         * sysdeps/posix/tempname.c: Likewise.  Evaluate
24678         HAVE_SECURE_GETENV.
24679         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24680         __secure_getenv to __libc_secure_getenv.
24681         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24683         Likewise.
24684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24685         Likewise.
24686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24688         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24694 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24696         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24697         (struct La_i86_retval): Likewise.
24698         (struct La_x86_64_regs): Likewise.
24699         (struct La_x86_64_retval): Likewise.
24700         (struct La_x32_regs): Likewise.
24701         (struct La_x32_retval): Likewise.
24702         (struct La_ppc32_regs): Likewise.
24703         (struct La_ppc32_retval): Likewise.
24704         (struct La_ppc64_regs): Likewise.
24705         (struct La_ppc64_retval): Likewise.
24706         (struct La_sh_regs): Likewise.
24707         (struct La_sh_retval): Likewise.
24708         (struct La_s390_32_regs): Likewise.
24709         (struct La_s390_32_retval): Likewise.
24710         (struct La_s390_64_regs): Likewise.
24711         (struct La_s390_64_retval): Likewise.
24712         (struct La_sparc32_regs): Likewise.
24713         (struct La_sparc32_retval): Likewise.
24714         (struct La_sparc64_regs): Likewise.
24715         (struct La_sparc64_retval): Likewise.
24716         (struct audit_ifaces): Remove architecture-specific pltenter and
24717         pltexit members.
24718         * sysdeps/i386/ldsodefs.h: New file.
24719         * sysdeps/powerpc/ldsodefs.h: Likewise.
24720         * sysdeps/s390/ldsodefs.h: Likewise.
24721         * sysdeps/sh/ldsodefs.h: Likewise.
24722         * sysdeps/sparc/ldsodefs.h: Likewise.
24723         * sysdeps/x86_64/ldsodefs.h: Likewise.
24725 2012-07-25  Marek Polacek  <polacek@redhat.com>
24727         [BZ #6808]
24728         * math/libm-test.inc (yn_test): Add another test.
24729         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24730         to ERANGE when the result is +-Inf.
24731         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24732         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24733         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24734         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24736 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
24738         * conform/data/time.h-data (NULL): Use macro-constant.  Require
24739         equal to 0.
24740         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
24741         clock_t.
24742         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
24744 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
24746         * configure.in <sysdeps resolving>: Correct printing
24747         Implies_before.
24748         * configure: Regenerate.
24750 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
24752         * math/w_ilogb.c: Include <limits.h>.
24753         * math/w_ilogbl.c: Likewise.
24755 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24757         * manual/lang.texi (__va_copy): Document primarily as ISO C99
24758         va_copy.  Document allowing for unavailable va_copy only as
24759         pre-C99 compatibility.
24760         * manual/string.texi (Copying and Concatenation): Use va_copy
24761         instead of __va_copy in concat example.
24763 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
24765         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24766         (__sendto): Use create_address_port.  Initialize APORT and deallocate
24767         it if not null.
24769         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24770         with O_NOLINK passed to __file_name_lookup.
24772         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24773         with O_NOLINK passed to __file_name_lookup.
24775         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24776         negative N or less than NGIDS.
24778         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24779         type to string_t.  Set ERANGE as errno and return it if NAME is not big
24780         enough.  Use memcpy instead of strncpy.
24782 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24784         * elf/Makefile (check-data): Remove.
24785         (localplt.data): New vpath directive.
24786         ($(objpfx)check-localplt.out): Use localplt.data from vpath
24787         instead of $(check-data).
24788         * scripts/data/localplt-generic.data: Move to ...
24789         * sysdeps/generic/localplt.data: ... here.
24790         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24791         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24792         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24794         ... here.
24795         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24797         ... here.
24798         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24800         ... here.
24801         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24803         ... here.
24804         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24806         ... here.
24807         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24809         ... here.
24811 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24813         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24814         PPC32 and PPC64 files.
24815         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24816         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24818 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24820         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24821         __makecontext_ret to ...
24822         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24823         ... here and call exit if uc_link is NULL.  New file.
24824         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24825         __makecontext_ret.S.
24826         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24827         __makecontext_ret to ...
24828         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24829         ... here and call exit if uc_link is NULL.  New file.
24830         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24831         __makecontext_ret.S.
24833 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24835         * elf/elf.h (R_390_IRELATIVE): New definition.
24836         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24837         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
24838         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24839         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24840         (elf_machine_lazy_rel): Likewise.
24841         * sysdeps/s390/dl-irel.h: New file.
24842         * sysdeps/s390/s390-64/memcpy.S: New asm code.
24843         * sysdeps/s390/s390-64/memset.S: New asm code.
24844         * sysdeps/s390/s390-64/memcmp.S: New asm code.
24845         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24846         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24847         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24848         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24849         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24850         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24851         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24852         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24853         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24854         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24855         * sysdeps/s390/s390-32/memcpy.S: New asm code.
24856         * sysdeps/s390/s390-32/memset.S: New asm code.
24857         * sysdeps/s390/s390-32/memcmp.S: New asm code.
24859 2012-07-17  Marek Polacek  <polacek@redhat.com>
24861         [BZ #14349]
24862         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24863         * sysdeps/s390/s390-64/configure.in: Likewise.
24864         * sysdeps/sparc/configure.in: Likewise.
24865         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24866         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24867         * sysdeps/i386/configure.in: Likewise.
24868         * sysdeps/x86_64/configure.in: Likewise.
24869         * sysdeps/sh/configure.in: Likewise.
24870         * sysdeps/s390/s390-32/configure: Regenerated.
24871         * sysdeps/s390/s390-64/configure: Likewise.
24872         * sysdeps/x86_64/configure: Likewise.
24873         * sysdeps/sh/configure: Likewise.
24874         * sysdeps/powerpc/powerpc64/configure: Likewise.
24875         * sysdeps/powerpc/powerpc32/configure: Likewise.
24876         * sysdeps/sparc/configure: Likwise.
24877         * sysdeps/i386/configure: Likewise.
24879         * elf/dl-open.c: Comment fixes.
24881 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
24883         * Makefile [CXX] (check-data): Remove.
24884         [CXX] (c++-types.data): New vpath directive.
24885         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24886         vpath.  Do not allow for C++ type data being missing.
24887         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24888         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24889         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24890         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24891         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24892         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24893         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24895         ... here.
24896         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24898         ... here.
24899         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24901         ... here.
24902         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24904         ... here.
24905         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24907         ... here.
24908         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24910         ... here.
24911         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24913         ... here.
24914         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24917         * elf/tls-macros.h (TLS_LE): Move architecture-specific
24918         definitions to architecture-specific files.
24919         (TLS_IE): Likewise.
24920         (TLS_LD): Likewise.
24921         (TLS_GD): Likewise.
24922         * sysdeps/i386/tls-macros.h: New file.
24923         * sysdeps/powerpc/tls-macros.h: Likewise.
24924         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24925         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24926         * sysdeps/sh/tls-macros.h: Likewise.
24927         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
24928         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
24929         * sysdeps/x86_64/tls-macros.h: Likewise.
24931 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24933         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
24934         zero value for regular exit case.
24936         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24937         (__start_context): Preserve zero value for regular exit case.
24939 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
24940             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24942         * manual/setjmp.texi (setcontext): Clarify normal process
24943         termination when uc_link is the null pointer.
24944         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
24945         exit call.
24947 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
24949         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
24950         preprocessor.  Test for each exception mask separately.
24952 2012-07-16  Andreas Jaeger  <aj@suse.de>
24954         * po/ru.po: Update from translation team.
24956 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
24958         * conform/data/string.h-data (NULL): Use macro-constant.  Require
24959         equal to 0.
24960         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24961         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24962         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
24963         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
24964         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24966 2012-07-13  Andreas Jaeger  <aj@suse.de>
24968         * po/fr.po: Update from translation team.
24970 2012-07-12  Marek Polacek  <polacek@redhat.com>
24972         [BZ #14173]
24973         * math/libm-test.inc (yn_test): Add test for BZ #14173.
24974         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
24975         loop condition.
24977 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
24979         [BZ #13717]
24980         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24981         Change to 2.4.1 where previously 2.4.0.
24982         * sysdeps/unix/sysv/linux/configure: Regenerated.
24983         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
24984         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
24985         version.
24986         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
24987         (__ASSUME_AT_CLKTCK): Remove.
24988         (__ASSUME_AT_PAGESIZE): Likewise.
24989         (__ASSUME_AT_XID): Likewise.
24990         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
24991         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
24992         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
24993         unconditionally.
24994         (HAVE_AUX_PAGESIZE): Likewise.
24995         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
24996         [__ASSUME_AT_CLKTCK]: Make code unconditional.
24997         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
24999 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
25001         [BZ #14307]
25002         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25003         the temporary buffer used to invoke __gethostbyname2_r,
25004         __gethostbyaddr_r and gethostbyname4_r to make room for struct
25005         host_data / struct gaih_addrtuple.
25006         * resolv/nss_dns/dns-host.c (global scope): Move definition of
25007         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25008         header file nss/nsswitch.h.
25009         * nss/nsswitch.h (global scope): Add definition of implementation
25010         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25011         resolv/nss_dns/dns-host.c).
25013 2012-07-11  Andreas Jaeger  <aj@suse.de>
25015         * po/fr.po: Update from translation team.
25017         * po/sv.po: Update from translation team
25018         * po/fr.po: Another update from translation team.
25020 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25022         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25023         for subnormals or multiply small sinh result by itself.
25024         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25027 2012-07-11  David S. Miller  <davem@davemloft.net>
25029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25031 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
25033         [BZ #14347]
25034         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25035         (INTERNAL_MARK): Shift it here.
25037 2012-07-10  Marek Polacek  <polacek@redhat.com>
25039         [BZ #14151]
25040         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
25041         libc_cv_asm_global_directive with .globl.
25042         * configure: Regenerated.
25043         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25044         with .globl.
25045         * sysdeps/i386/configure: Regenerated.
25046         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25047         with .globl.
25048         * sysdeps/x86_64/configure: Regenerated.
25049         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25050         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25051         * elf/tst-unique2mod2.c: Likewise.
25052         * elf/tst-unique2mod1.c: Likewise.
25053         * elf/tst-unique1mod2.c: Likewise.
25054         * elf/tst-unique1mod1.c: Likewise.
25055         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25056         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25057         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25058         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25059         * sysdeps/mach/sysdep.h: Likewise.
25060         * sysdeps/i386/sysdep.h: Likewise.
25061         * sysdeps/i386/i386-mcount.S: Likewise.
25062         * sysdeps/x86_64/_mcount.S: Likewise.
25063         * sysdeps/x86_64/sysdep.h: Likewise.
25064         * sysdeps/sh/_mcount.S: Likewise.
25065         * sysdeps/sh/sysdep.h: Likewise.
25066         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25067         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25068         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25069         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25070         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25071         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25072         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25073         * locale/localeinfo.h: Likewise.
25074         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25075         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25077 2012-07-09  Roland McGrath  <roland@hack.frob.com>
25079         [BZ #14336]
25080         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25081         system".
25082         * manual/message.texi (The Uniforum approach): Likewise.
25083         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25084         (glibc iconv Implementation): Likewise.
25086 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
25088         [BZ #14337]
25089         * math/s_clog.c (__clog): Avoid scaling a value down where that
25090         could result in underflow.
25091         * math/s_clog10.c (__clog10): Likewise.
25092         * math/s_clog10f.c (__clog10f): Likewise.
25093         * math/s_clog10l.c (__clog10l): Likewise.
25094         * math/s_clogf.c (__clogf): Likewise.
25095         * math/s_clogl.c (__clogl): Likewise.
25096         * math/libm-test.inc (clog_test): Add more tests.
25097         (clog10_test): Likewise.
25098         * sysdeps/i386/fpu/libm-test-ulps: Update.
25099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25101 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
25103         [BZ #14283]
25104         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25105         by 7 not 8 to examine high bit of fractional part.
25107         [BZ #14042]
25108         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25109         for call to __mcount_internal.
25110         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25111         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25112         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25114 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
25116         [BZ #14154]
25117         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25118         approximation for values within 0x1p-13f of an odd multiple of
25119         pi/4.
25120         * math/libm-test.inc (tan_test): Do not allow spurious underflow
25121         exception.  Add more tests.
25122         * sysdeps/i386/fpu/libm-test-ulps: Update.
25124         [BZ #6778]
25125         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25126         inputs and return -1 for them.  Do not check for +Inf in case not
25127         reachable for +Inf.
25128         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25129         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25130         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25131         and return -1 for them.  Do not check for +Inf in case not
25132         reachable for +Inf.
25133         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25134         define.
25135         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25136         and return -1 for them.  Do not check for +Inf in case not
25137         reachable for +Inf.
25138         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
25139         spurious underflow.
25140         * sysdeps/i386/fpu/libm-test-ulps: Update.
25141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25143 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
25145         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25147 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
25149         [BZ #14157]
25150         [BZ #14331]
25151         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25152         could result in spurious underflow.  Scale down values above
25153         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25154         * math/s_csqrtf.c (__csqrtf): Likewise.
25155         * math/s_csqrtl.c (__csqrtl): Likewise.
25156         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
25157         spurious underflow.
25158         * sysdeps/i386/fpu/libm-test-ulps: Update.
25159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25161 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
25163         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25164         xopen-msg.sed.
25165         * catgets/xopen-msg.awk: New file.
25166         * catgets/xopen-msg.sed: Removed.
25168         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25169         po2text.sed.
25170         * intl/po2test.awk: New file.
25171         * intl/po2test.sed: Removed.
25173 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
25175         [BZ #14328]
25176         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25177         or multiply small sinh result by itself.
25178         * math/s_ctanf.c (__ctanf): Likewise.
25179         * math/s_ctanh.c (__ctanh): Likewise.
25180         * math/s_ctanhf.c (__ctanhf): Likewise.
25181         * math/s_ctanhl.c (__ctanhl): Likewise.
25182         * math/s_ctanl.c (__ctanl): Likewise.
25183         * math/libm-test.inc (ctan_test_tonearest): New function.
25184         (ctan_test_towardzero): Likewise.
25185         (ctan_test_downward): Likewise.
25186         (ctan_test_upward): Likewise.
25187         (ctanh_test_tonearest): Likewise.
25188         (ctanh_test_towardzero): Likewise.
25189         (ctanh_test_downward): Likewise.
25190         (ctanh_test_upward): Likewise.
25191         (main): Call these new functions.
25192         * sysdeps/i386/fpu/libm-test-ulps: Update.
25193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25195 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
25197         * .gitignore: Delete /ports entry.
25199 2012-07-03  Andreas Jaeger  <aj@suse.de>
25201         * po/bg.po: Update from translation team.
25202         * po/cs.po: Likewise.
25203         * po/de.po: Likewise.
25204         * po/hr.po: Likewise.
25205         * po/nl.pl: Likewise.
25206         * po/pl.po: Likewise.
25207         * po/vi.po: Likewise.
25209 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
25211         * Makeconfig [!+link] (+link-before-libc): New variable.
25212         [!+link] (+link-after-libc): Likewise.
25213         [!+link] (+link-tests): Likewise.
25214         [!+link] (+link): Define in terms of $(+link-before-libc) and
25215         $(+link-after-libc).
25216         [!+link-static] (+link-static-before-libc): New variable.
25217         [!+link-static] (+link-static-after-libc): Likewise.
25218         [!+link-static] (+link-static-tests): Likewise.
25219         [!+link-static] (+link-static): Define in terms of
25220         $(+link-static-before-libc) and $(+link-static-after-libc).
25221         [build-shared] (link-libc-before-gnulib): New variable.
25222         [build-shared] (link-libc-tests): Likewise.
25223         [build-shared] (link-libc): Define in terms of
25224         $(link-libc-before-gnulib).
25225         [!build-shared] (link-libc-tests): New variable.
25226         (link-libc-static-tests): New variable.
25227         [!gnulib] (gnulib-arch): New variable.
25228         [!gnulib] (gnulib-tests): Likewise.
25229         [!gnulib] (static-gnulib-arch): Likewise.
25230         [!gnulib] (static-gnulib-tests): Likewise.
25231         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
25232         Define with "=" instead of ":=".
25233         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
25234         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
25235         * Rules (binaries-all-notests): New variable.
25236         (binaries-all-tests): Likewise.
25237         (binaries-static-notests): Likewise.
25238         (binaries-static-tests): Likewise.
25239         (binaries-all): Define using $(binaries-all-notests) and
25240         $(binaries-all-tests).
25241         (binaries-static): Define using $(binaries-static-notests) and
25242         $(binaries-static-tests).
25243         (binaries-shared-tests): New variable.
25244         (binaries-shared-notests): Likewise.
25245         (binaries-shared): Remove variable.
25246         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25247         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25248         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25249         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25250         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25251         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25252         * elf/Makefile (sln-modules): New variable.
25253         (extra-objs): Add $(sln-modules:=.o).
25254         (ldconfig-modules): Add static-stubs.
25255         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25256         * elf/static-stubs.c: New file.
25258         [BZ #14283]
25259         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25260         by 7 not 8 to examine high bit of fractional part.  Use volatile
25261         variables when splitting into final array of floats if
25262         __FLT_EVAL_METHOD__ != 0.
25263         * math/libm-test.inc (cos_test): Add another test.
25264         (sin_test): Likewise.
25265         * sysdeps/i386/fpu/libm-test-ulps: Update.
25267         [BZ #14273]
25268         * math/libm-test.inc (cosh_test): Add more tests.
25270         * version.h (RELEASE): Set to "development".
25271         (VERSION): Set to "2.16.90".
25273 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
25275         * NEWS: Update copyright. Remove last-updated date.
25276         Mention math library bug fixes and timezone data changes.
25277         * README: Mention GNU/Hurd, x32, and HPPA support status.
25279 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
25281         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25283 2012-06-27  Andreas Jaeger  <aj@suse.de>
25285         * manual/contrib.texi (Contributors): Add Samuel Thibault.
25287 2012-06-25  Andreas Jaeger  <aj@suse.de>
25289         * sysdeps/s390/fpu/libm-test-ulps: Update.
25291 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
25292             Thomas Schwinge  <thomas@codesourcery.com>
25294         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25295         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25296         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25297         fanotify_mark.
25299 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
25301         * sysdeps/mach/start.c: Remove file.
25302         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25303         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25304         * sysdeps/sh/init-first.c: Likewise.
25306         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25307         registers for frame unwinding purposes, add CFI directives.
25308         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25309         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25310         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25311         Likewise.
25313         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25314         __fortify_fail returning.
25315         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25317         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25318         sysdeps/sh/____longjmp_chk.S.
25319         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25320         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25321         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25322         (gen-as-const-headers): Append sigaltstack-offsets.sym.
25324         * sysdeps/sh/abort-instr.h: New file.
25325         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25326         process in case exit returns.
25328         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25329         initialize the GOT register before use.
25331         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25332         calculation of ARGC > 4.
25334         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25335         meaningful names to some local labels.
25337 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25338             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25340         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25341         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25342         (__arch_compare_and_exchange_val_16_acq): Likewise.
25343         (__arch_compare_and_exchange_val_32_acq): Likewise.
25344         (atomic_exchange_and_add): Fix gUSA sequence.
25345         (atomic_add): Likewise.
25346         (atomic_add_negative): Likewise.
25347         (atomic_add_zero): Likewise.
25348         (atomic_bit_test_set): Likewise.
25350 2012-06-22  Andreas Schwab  <schwab@redhat.com>
25352         [BZ #13579]
25353         * include/link.h (struct link_map): Add l_free_initfini.
25354         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25355         l_initfini.
25356         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25357         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25358         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25359         set.
25361 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
25363         * configure.in: Use AC_LANG_SOURCE.
25364         * configure: Regenerate.
25366 2012-06-22  Roland McGrath  <roland@hack.frob.com>
25368         * configure.in (libc_cv_localstatedir): New substituted variable.
25369         * configure: Regenerated.
25370         * config.make.in (localstatedir): New variable, substituted from
25371         libc_cv_localstatedir.
25372         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25373         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25374         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25375         * sysdeps/gnu/configure: Regenerated.
25377 2012-06-21  Jeff Law  <law@redhat.com>
25379         [BZ #14277]
25380         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25381         free.  Simplify list management for _LIBC case.
25383 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
25385         [BZ #14273]
25386         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25387         Clear sign bit of 64-bit integer value before comparing against
25388         overflow value.
25390         * sysdeps/mach/configure: Regenerated.
25392 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
25394         [BZ #14278]
25395         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25397 2012-06-21  Jeff Law  <law@redhat.com>
25399         [BZ #13882]
25400         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
25401         uint16_t for elements in the "seen" array to avoid char overflows.
25402         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25403         * elf/dl-open.c (dl_open_worker): Likewise.
25405 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
25407         * scripts/list-sources.sh: Scan PORTS for translations.
25408         * po/libc.pot: Regenerated.
25410 2012-06-21  Andreas Jaeger  <aj@suse.de>
25412         [BZ #12194]
25413         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25414         warning.
25415         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25416         * bits/byteswap-16.h (__bswap_16): Likewise.
25417         * bits/byteswap.h (__bswap_constant_16): Likewise.
25419 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
25421         [BZ #14117]
25422         * sysdeps/i386/fpu_control.h: Removed.
25423         * sysdeps/x86_64/fpu_control.h: Moved to ...
25424         * sysdeps/x86/fpu_control.h: Here.
25426         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25427         (_FPU_SETCW): Likewise.
25429 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
25431         [BZ #14117]
25432         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25433         * sysdeps/x86/fpu/bits/mathinline.h: This.
25434         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25436         [BZ #14050]
25437         [BZ #14117]
25438         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25439         functions if __x86_64__ is defined.
25441 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
25443         * string/endian.h: Add !__ASSEMBLER__ condition for including
25444         conversion interfaces.
25446 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
25448         [BZ #14241]
25449         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25450         of ABS(x) in calculating zero to negative powers other than odd
25451         integers.
25452         * math/libm-test.inc (pow_test): Add more tests.
25454 2012-06-15  Andreas Jaeger  <aj@suse.de>
25456         * manual/contrib.texi (Contributors): Update entry of Liubov
25457         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25458         Machado Filho.
25460 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
25462         * string/string.h: Add __wur to GNU version of strerror_r.
25464 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
25466         [BZ #14229]
25467         * string/Makefile (tests): Add tst-strtok_r.
25468         * string/tst-strtok_r.c: New file.
25469         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25470         RAX_LP/RDX_LP on SAVE_PTR.
25472 2012-06-14  Roland McGrath  <roland@hack.frob.com>
25474         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25476 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
25478         * libm_test.inc (csqrt_test): Allow more spurious underflow
25479         exceptions.
25480         (j0_test): Likewise.
25481         (j1_test): Likewise.
25482         (y0_test): Likewise.
25483         (y1_test): Likewise.
25485 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
25487         * po/Makefile (libc.pot): Use UTF-8 charset.
25489 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
25491         [BZ #14210]
25492         Suppress sign-conversion warning from FD_SET.
25493         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25494         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25495         not unsigned long int.
25496         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25498 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
25500         [BZ #14050]
25501         [BZ #14117]
25502         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25503         __extern_always_inline instead of __extern_inline.
25504         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25505         (__signbit): Likewise.
25506         (__signbitl): Support C++ namespace.
25507         (lrintf): New inline function.
25508         (lrint): Likewise.
25509         (llrintf): Likewise.
25510         (llrint): Likewise.
25511         (fmaxf): Likewise.
25512         (fmax): Likewise.
25513         (fminf): Likewise.
25514         (fmin): Likewise.
25515         (rint): Likewise.
25516         (rintf): Likewise.
25517         (ceil): Likewise.
25518         (ceilf): Likewise.
25519         (floor): Likewise.
25520         (floorf): Likewise.
25521         (nearbyint): Likewise.
25522         (nearbyintf): Likewise.
25524 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
25526         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25527         non-default versions.
25529 2012-06-11  Roland McGrath  <roland@hack.frob.com>
25531         [BZ #14218]
25532         * manual/argp.texi (Argp): Reword argp_parse description slightly.
25534 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
25536         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25537         (FE_UPWARD, FE_DOWNWARD): Don't define.
25538         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25539         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25541         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25542         reading it.
25543         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25544         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25546 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25548         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25549         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25550         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25551         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25553 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
25555         [BZ #14117]
25556         * sysdeps/i386/fpu/bits/fenv.h: Removed.
25557         * sysdeps/i386/fpu/Implies: New file.
25558         * sysdeps/x86_64/fpu/Implies: Likewise.
25559         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25560         * sysdeps/x86/fpu/bits/fenv.h: This.
25562         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25563         __SSE_MATH__.
25565 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25567         [BZ #14134]
25568         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25569         character 0xffff that matches the last element of the
25570         conversion table.
25572 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25574         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25575         fmodl commit.
25577 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25579         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25580         values higher than 25.6283.
25582 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25584         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25585         subnormal exponent extraction and add some __builtin_expect.
25586         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25587         Fix for subnormal mantissa calculation.
25589 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
25591         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25592         cpu2 is -1 and errno is not ENOSYS.
25594 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
25596         [BZ #14117]
25597         * sysdeps/i386/i486/bits/string.h: Renamed to ...
25598         * sysdeps/x86/bits/string.h: This.
25599         * sysdeps/x86_64/bits/string.h: Removed.
25601         * sysdeps/i386/i486/bits/string.h: Define inline functions only
25602         if not compiling for x86-64, but compiling for >= i486.
25604         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25605         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25607         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25608         New macro from Linux kernel 3.4.0.
25609         (FP_XSTATE_MAGIC2): Likewise.
25610         (FP_XSTATE_MAGIC2_SIZE): Likewise.
25611         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25612         (struct _fpx_sw_bytes): New struct.
25613         (struct _xsave_hdr): Likewise.
25614         (struct _ymmh_state): Likewise.
25615         (struct _xstate): Likewise.
25617         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25618         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25619         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25620         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25621         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25622         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25624         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25625         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25626         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25627         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25628         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25629         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25631 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25633         [BZ #13743]
25634         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25635         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25636         (sysdep_headers): Include sys/platform/ppc.h.
25637         * sysdeps/powerpc/test-gettimebase.c: Test for
25638         __ppc_get_timebase() to catch future ISA opcode/insn changes.
25639         * manual/Makefile (appendices): Include platform.texi.
25640         * manual/contrib.texi (Contributors): Update @node pointers.
25641         * manual/maint.texi (Maintenance): Likewise.
25642         (Platform): New node.
25643         * manual/platform.texi: New file.  Document the new features.
25645 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25646             Jakub Jelinek  <jakub@redhat.com>
25648         [BZ #14188]
25649         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25650         where __builtin_expect is unavailable.
25652 2012-06-03  David S. Miller  <davem@davemloft.net>
25654         * stdlib/longlong.h: Updated from GCC.
25656 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
25658         [BZ #14042]
25659         * sysdeps/powerpc/powerpc32/mcount.c: New file.
25660         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25661         __mcount_internal.
25662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25663         (GLIBC_2.16): Likewise.
25665 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25667         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25669 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25672         (default-abi): New variable.
25673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25674         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25675         variable.
25676         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25677         Likewise.
25678         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25679         Likewise.
25680         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25681         Likewise.
25683         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25684         definition.  Document in comment.
25686 2012-06-01  David S. Miller  <davem@davemloft.net>
25688         * stdlib/longlong.h: Updated from GCC.
25690 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25692         [BZ #14117]
25693         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25694         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25695         sys/debugreg.h sys/io.h here.
25696         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25697         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25698         sys/io.h.
25699         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25700         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25701         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25702         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25703         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25704         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25706         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25707         Define only if __x86_64__ is defined.
25709 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25711         [BZ #14048]
25712         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25713         Use int64_t for variable i.
25714         * math/libm-test.inc (fmod_test): Add more tests.
25716         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25717         z computation is not scheduled after fetestexcept.
25718         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25719         Use math_force_eval instead of asm to ensure calculation scheduled
25720         before exception test.
25721         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25722         Ensure a1 + u.d computation is not scheduled after fetestexcept.
25724 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
25726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25727         computation is not scheduled after fetestexcept.
25729 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25731         [BZ #14117]
25732         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25733         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25735 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25737         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25738         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25740 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25742         [BZ #14117]
25743         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25744         <bits/wordsize.h>.
25745         (__WCHAR_MIN): Support __WORDSIZE == 64.
25746         (__WCHAR_MAX): Likewise.
25748         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25749         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25751         [BZ #14183]
25752         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25753         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25755         [BZ #14117]
25756         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25757         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25759         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25760         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25762         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25763         Defined to 1 if __x86_64__ isn't defined.
25764         (_STAT_VER_LINUX_OLD): New.
25765         (st_atime): Remove duplicate.
25766         (st_mtime): Likewise.
25767         (st_ctime): Likewise.
25769 2012-05-31  David S. Miller  <davem@davemloft.net>
25771         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25772         entries.
25774 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
25776         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25777         gen-libm-test.pl.
25779         [BZ #14132]
25780         * elf/dl-reloc.c: Include <_itoa.h>.
25781         (_dl_reloc_bad_type): Remove use of INTUSE.
25782         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25783         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25784         * stdio-common/psiginfo.c (psiginfo): Likewise.
25785         * stdio-common/psignal.c (psignal): Likewise.
25786         * string/strsignal.c (strsignal): Likewise.
25787         * include/signal.h (_sys_siglist): Declare hidden proto.
25788         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
25789         INTVARDEF with libc_hidden_data_def.
25790         * stdio-common/itoa-udigits.c: Likewise.
25791         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25792         (_itoa_lower_digits_internal): Remove declaration.
25793         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25794         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25795         (_sys_sigabbrev_internal): Remove aliases.
25796         (_sys_siglist): Define hidden alias.
25798 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
25800         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25801         bits/sysctl.h.
25803 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25805         [BZ #14117]
25806         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25807         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25809         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25810         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25811         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25812         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25813         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25814         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25816         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25817         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25818         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25820         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25821         with __addr.
25822         (insw): Likewise.
25823         (insl): Likewise.
25824         (outsb): Likewise.
25825         (outsw): Likewise.
25826         (outsl): Likewise.
25828         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25829         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25830         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25832         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25833         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25834         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25835         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25836         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25837         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25839         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25840         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25842         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25843         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25845         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25846         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25847         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25849         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25850         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25851         to ...
25852         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25854         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25855         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25856         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25858         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25859         for x86-64.
25860         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25862 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
25864         * math/math.h (M_El): Use two more decimal places.
25865         (M_LOG2El): Likewise.
25866         (M_LOG10El): Likewise.
25867         (M_LN2l): Likewise.
25868         (M_LN10l): Likewise.
25869         (M_PIl): Likewise.
25870         (M_PI_2l): Likewise.
25871         (M_PI_4l): Likewise.
25872         (M_1_PIl): Likewise.
25873         (M_2_PIl): Likewise.
25874         (M_2_SQRTPIl): Likewise.
25875         (M_SQRT2l): Likewise.
25876         (M_SQRT1_2l): Likewise.
25878 2012-05-31  David S. Miller  <davem@davemloft.net>
25880         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25881         values between float registers.
25882         * sysdeps/sparc/sparc64/memset.S: Likewise.
25883         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25885 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
25887         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25888         -D_FORTIFY_SOURCE=1.
25889         (CPPFLAGS-tst-longjmp_chk.c): Define.
25890         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25891         (CPPFLAGS-tst-longjmp_chk2.c): Define.
25892         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25893         CFLAGS-tst-wchar-h.c.
25895 2012-05-31  Marek Polacek  <polacek@redhat.com>
25897         [BZ #14132]
25898         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25899         __endmntent_internal): Remove declaration.
25900         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25901         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25902         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25904 2012-05-30  David S. Miller  <davem@davemloft.net>
25906         * sysdeps/sparc/sparc32/soft-fp/q_util.c
25907         (___Q_simulate_exceptions): Use real FP ops rather than writing
25908         into the %fsr.
25909         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25910         Likewise.
25912 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25914         [BZ #14117]
25915         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25916         * sysdeps/x86/bits/xtitypes.h: This.
25918         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25919         * sysdeps/x86/bits/wordsize.h: This.
25921         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
25922         * sysdeps/x86/bits/huge_vall.h: This.
25924         * sysdeps/i386/bits/select.h: Removed.
25925         * sysdeps/x86_64/bits/select.h: Renamed to ...
25926         * sysdeps/x86/bits/select.h: This.
25928         * sysdeps/i386/bits/setjmp.h: Removed.
25929         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
25930         * sysdeps/x86/bits/setjmp.h: This.
25932         * sysdeps/i386/bits/mathdef.h: Removed.
25933         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
25934         * sysdeps/x86/bits/mathdef.h: This.
25936 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
25938         [BZ #14132]
25939         * include/sys/socket.h (__connect_internal)
25940         (__libc_sa_len_internal): Remove declaration.
25941         (__connect, __libc_sa_len): Declare hidden_proto.
25942         (SA_LEN): Remove use of INTUSE.
25943         * socket/connect.c: Add libc_hidden_def.
25944         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25945         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
25946         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
25947         alias.
25948         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25949         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
25950         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
25951         of adding _internal alias.
25953 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25955         [BZ #14117]
25956         * sysdeps/i386/bits/link.h: Removed.
25957         * sysdeps/i386/bits/linkmap.h: Likewise.
25958         * sysdeps/x86_64/bits/link.h: Renamed to ...
25959         * sysdeps/x86/bits/link.h: This.
25960         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
25961         * sysdeps/x86/bits/linkmap.h: This.
25963         * sysdeps/i386/bits/endian.h: Removed.
25964         * sysdeps/x86_64/bits/endian.h: Renamed to ...
25965         * sysdeps/x86/bits/endian.h: This.
25967         * sysdeps/i386/bits/byteswap.h: Removed.
25968         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25969         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
25970         * sysdeps/x86/bits/byteswap.h: This.
25971         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
25972         * sysdeps/x86/bits/byteswap-16.h: This.
25973         * sysdeps/i386/Implies: Add x86.
25974         * sysdeps/x86_64/Implies: Likewise.
25976 2012-05-30  David S. Miller  <davem@davemloft.net>
25978         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
25979         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
25980         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25981         (FP_TRAPPING_EXCEPTIONS): Define.
25982         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25983         (FP_TRAPPING_EXCEPTIONS): Define.
25984         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
25985         subnormals only when inexact has been signalled or underflow
25986         exceptions are enabled.
25987         (_FP_PACK_CANONICAL): Likewise.
25989 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25991         [BZ #14183]
25992         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
25993         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
25995 2012-05-30  Richard Henderson  <rth@twiddle.net>
25997         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
25998         with #ifndef NOT_IN_libc.
26000         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
26001         marked to avoid plt entry.
26003 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26005         [BZ #14112]
26006         * Makeconfig (default-abi): New macro.
26007         (abi-includes): Likewise.
26008         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
26009         $(abi-$(default-abi)-lib-soname) for soname if defined.
26010         ($(common-objpfx)gnu/lib-names.stmp): Generate from
26011         abi-variants.
26012         * Makefile (installed-stubs): Likewise.
26013         * include/stubs-biarch.h: Removed.
26014         * scripts/lib-names.awk: Only handle one library at a time.
26015         * scripts/soversions.awk: Remove WORDSIZE support.
26016         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26017         entries.
26018         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26019         Removed.
26020         (syscall-list-default-condition): Likewise.
26021         (syscall-list-default-condition): Likewise.
26022         (syscall-list-includes): Likewise.
26023         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26024         syscall-list-* with abi-*.  Handle undefined abi-variants.
26025         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26026         * sysdeps/unix/sysv/linux/i386/Implies: New file.
26027         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26028         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26029         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26030         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26031         Removed.
26032         (syscall-list-32-options): Likewise.
26033         (syscall-list-32-condition): Likewise.
26034         (syscall-list-64-options): Likewise.
26035         (syscall-list-64-condition): Likewise.
26036         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26037         macro.
26038         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26039         Renamed to ...
26040         (abi-*): This.
26041         (abi-64-ld-soname): New macro.
26042         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26043         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26044         Renamed to ...
26045         (abi-*): This.
26046         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26047         * sysdeps/x86_64/x32/shlib-versions: Likewise.
26049 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
26051         * sysdeps/unix/sysv/linux/kernel-features.h
26052         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26053         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26054         include <kernel-features.h>.
26055         [!__NR_ftruncate64]: Remove conditional code.
26056         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26057         [__NR_ftruncate64]: Make code unconditional.
26058         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26059         * sysdeps/unix/sysv/linux/truncate64.c: Do not
26060         include <kernel-features.h>.
26061         [!__NR_ftruncate64]: Remove conditional code.
26062         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26063         [__NR_ftruncate64]: Make code unconditional.
26064         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26066         include <kernel-features.h>.
26067         [!__NR_ftruncate64]: Remove conditional code.
26068         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26069         [__NR_ftruncate64]: Make code unconditional.
26070         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26072         include <kernel-features.h>.
26073         [!__NR_ftruncate64]: Remove conditional code.
26074         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26075         [__NR_ftruncate64]: Make code unconditional.
26076         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26078         * configure.in (libc_cv_fpie): Weaken to a compile test using
26079         LIBC_TRY_CC_OPTION.
26080         * configure: Regenerated.
26082 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26088         Refreshed.
26089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26095         Refreshed.
26097 2012-05-27  David S. Miller  <davem@davemloft.net>
26099         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26100         (___Q_zero): New.
26101         (__Q_simulate_exceptions): Return void.  Change to simulate
26102         exceptions by writing into the %fsr.
26103         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26104         (__Qp_handle_exceptions): Likewise.
26105         (numbers): Delete.
26106         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26107         __Qp_handle_exceptions.
26108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26109         __Qp_handle_exceptions.
26110         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26111         as unused and give dummy FP_RND_NEAREST initializer.
26112         (FP_INHIBIT_RESULTS): Define.
26113         (___Q_simulate_exceptions): Update declaration.
26114         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26115         formatting.
26116         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26117         as unused and give dummy FP_RND_NEAREST initializer.
26118         (__Qp_handle_exceptions): Update declaration.
26119         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26120         formatting.
26122 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
26124         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26125         the temporary FPU control word.
26126         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26127         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26128         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26129         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26130         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26131         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26132         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26133         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26134         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26135         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26136         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26138 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26140         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26141         fields.
26143 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
26145         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26146         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26147         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26148         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26149         Likewise.
26150         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26151         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26152         Likewise.
26154 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
26156         * po/h.po: Update from translation team.
26158 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
26160         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26162         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26163         handling of denormals.
26164         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26165         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26166         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26167         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26168         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26169         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26170         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26171         Likewise.
26173 2012-05-26  Marek Polacek  <polacek@redhat.com>
26175         [BZ #14152]
26176         * math/libm-test.inc (fma_test): Don't always expect underflow
26177         exception.
26179 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26181         [BZ #12416]
26182         * elf/tst-execstack.c: Include stackinfo.h.
26183         (do_test): Adjust test case to ensure that pthread_getattr_np
26184         behaviour remains the same after marking stack executable.
26186 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26188         * sysdeps/unix/sysv/linux/kernel-features.h
26189         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26190         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26191         kernel-features.h.
26192         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26193         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26194         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26195         kernel-features.h.
26196         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26197         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26199 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
26201         * configure.in: Define the default includes to being none.
26202         * configure: Regenerated.
26204 2012-05-25  Roland McGrath  <roland@hack.frob.com>
26206         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26207         * sysdeps/x86_64/setjmp.S: Likewise.
26208         * sysdeps/i386/bsd-setjmp.S: Likewise.
26209         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26210         * sysdeps/i386/setjmp.S: Likewise.
26211         * sysdeps/i386/__longjmp.S: Likewise.
26212         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26213         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26215         * include/stap-probe.h: New file.
26216         * configure.in: Handle --enable-systemtap.
26217         * configure: Regenerated.
26218         * config.h.in (USE_STAP_PROBE): New #undef.
26219         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26220         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26221         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26223 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26225         [BZ #13717]
26226         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26227         to 2.4.0 where earlier.
26228         * sysdeps/unix/sysv/linux/configure: Regenerated.
26229         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
26238         [__ASSUME_32BITUIDS]: Make code unconditional.
26239         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26240         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26241         <kernel-features.h>.
26242         [__ASSUME_32BITUIDS]: Make code unconditional.
26243         [!__ASSUME_32BITUIDS]: Remove conditional code.
26244         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26245         <kernel-features.h>.
26246         [__ASSUME_32BITUIDS]: Make code unconditional.
26247         [!__ASSUME_32BITUIDS]: Remove conditional code.
26248         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26249         <kernel-features.h>.
26250         [__ASSUME_32BITUIDS]: Make code unconditional.
26251         [!__ASSUME_32BITUIDS]: Remove conditional code.
26252         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26253         <kernel-features.h>.
26254         [__ASSUME_32BITUIDS]: Make code unconditional.
26255         [!__ASSUME_32BITUIDS]: Remove conditional code.
26256         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26257         <kernel-features.h>.
26258         [__ASSUME_32BITUIDS]: Make code unconditional.
26259         [!__ASSUME_32BITUIDS]: Remove conditional code.
26260         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26261         <kernel-features.h>.
26262         [__ASSUME_32BITUIDS]: Make code unconditional.
26263         [!__ASSUME_32BITUIDS]: Remove conditional code.
26264         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26265         <kernel-features.h>.
26266         [__ASSUME_32BITUIDS]: Make code unconditional.
26267         [!__ASSUME_32BITUIDS]: Remove conditional code.
26268         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26269         <kernel-features.h>.
26270         [__ASSUME_32BITUIDS]: Make code unconditional.
26271         [!__ASSUME_32BITUIDS]: Remove conditional code.
26272         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26273         <kernel-features.h>.
26274         [__ASSUME_32BITUIDS]: Make code unconditional.
26275         [!__ASSUME_32BITUIDS]: Remove conditional code.
26276         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26277         <kernel-features.h>.
26278         [__ASSUME_32BITUIDS]: Make code unconditional.
26279         [!__ASSUME_32BITUIDS]: Remove conditional code.
26280         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26281         <kernel-features.h>.
26282         [__NR_setresgid] (__setresgid): Do not declare.
26283         [__ASSUME_32BITUIDS]: Make code unconditional.
26284         [!__ASSUME_32BITUIDS]: Remove conditional code.
26285         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26286         <kernel-features.h>.
26287         [__NR_setresuid] (__setresuid): Do not declare.
26288         [__ASSUME_32BITUIDS]: Make code unconditional.
26289         [!__ASSUME_32BITUIDS]: Remove conditional code.
26290         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26291         <kernel-features.h>.
26292         [__ASSUME_32BITUIDS]: Make code unconditional.
26293         [!__ASSUME_32BITUIDS]: Remove conditional code.
26294         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26295         <kernel-features.h>.
26296         [__ASSUME_32BITUIDS]: Make code unconditional.
26297         [!__ASSUME_32BITUIDS]: Remove conditional code.
26298         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26299         <kernel-features.h>.
26300         [__ASSUME_32BITUIDS]: Make code unconditional.
26301         [!__ASSUME_32BITUIDS]: Remove conditional code.
26302         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26303         <kernel-features.h>.
26304         [__ASSUME_32BITUIDS]: Make code unconditional.
26305         [!__ASSUME_32BITUIDS]: Remove conditional code.
26306         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26307         <kernel-features.h>.
26308         [__ASSUME_32BITUIDS]: Make code unconditional.
26309         [!__ASSUME_32BITUIDS]: Remove conditional code.
26310         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26311         <kernel-features.h>.
26312         [__ASSUME_32BITUIDS]: Make code unconditional.
26313         [!__ASSUME_32BITUIDS]: Remove conditional code.
26314         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26315         <kernel-features.h>.
26316         [__ASSUME_32BITUIDS]: Make code unconditional.
26317         [!__ASSUME_32BITUIDS]: Remove conditional code.
26318         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26319         <kernel-features.h>.
26320         [__ASSUME_32BITUIDS]: Make code unconditional.
26321         [!__ASSUME_32BITUIDS]: Remove conditional code.
26322         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26323         <kernel-features.h>.
26324         [__ASSUME_32BITUIDS]: Make code unconditional.
26325         [!__ASSUME_32BITUIDS]: Remove conditional code.
26326         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26327         <kernel-features.h>.
26328         [__ASSUME_32BITUIDS]: Make code unconditional.
26329         [!__ASSUME_32BITUIDS]: Remove conditional code.
26330         * sysdeps/unix/sysv/linux/kernel-features.h
26331         (__ASSUME_SETRESUID_SYSCALL): Remove.
26332         (__ASSUME_SETRESGID_SYSCALL): Likewise.
26333         (__ASSUME_32BITUIDS): Likewise.
26334         (__ASSUME_LDT_WORKS): Likewise.
26335         (__ASSUME_O_DIRECTORY): Likewise.
26336         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26337         architecture but not kernel version.
26338         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26339         (__ASSUME_MMAP2_SYSCALL): Likewise.
26340         (__ASSUME_STAT64_SYSCALL): Likewise.
26341         (__ASSUME_IPC64): Likewise.
26342         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26343         <kernel-features.h>.
26344         [__ASSUME_32BITUIDS]: Make code unconditional.
26345         [!__ASSUME_32BITUIDS]: Remove conditional code.
26346         * sysdeps/unix/sysv/linux/opendir.c: Do not include
26347         <kernel-features.h>.
26348         [__ASSUME_O_DIRECTORY]: Make code unconditional.
26349         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26350         132096]: Remove conditional code.
26351         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26352         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26353         <kernel-features.h>.
26354         [__ASSUME_32BITUIDS]: Make code unconditional.
26355         [!__ASSUME_32BITUIDS]: Remove conditional code.
26356         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26357         <kernel-features.h>.
26358         [__ASSUME_32BITUIDS]: Make code unconditional.
26359         [!__ASSUME_32BITUIDS]: Remove conditional code.
26360         * sysdeps/unix/sysv/linux/setegid.c: Do not include
26361         <kernel-features.h>.
26362         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26363         unconditional.
26364         (__setresgid): Do not declare.
26365         [__ASSUME_32BITUIDS]: Make code unconditional.
26366         [!__ASSUME_32BITUIDS]: Remove conditional code.
26367         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26368         <kernel-features.h>.
26369         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26370         unconditional.
26371         (__setresuid): Do not declare.
26372         [__ASSUME_32BITUIDS]: Make code unconditional.
26373         [!__ASSUME_32BITUIDS]: Remove conditional code.
26374         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26375         <kernel-features.h>.
26376         [__ASSUME_32BITUIDS]: Make code unconditional.
26377         [!__ASSUME_32BITUIDS]: Remove conditional code.
26378         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26379         <kernel-features.h>.
26380         [__ASSUME_32BITUIDS]: Make code unconditional.
26381         [!__ASSUME_32BITUIDS]: Remove conditional code.
26383 2012-05-25  Richard Henderson  <rth@twiddle.net>
26385         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26386         dl_hwcap to ifunc resolver.
26387         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26388         elf_ifunc_invoke.
26389         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26390         dl_hwcap to ifunc resolver.
26391         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26393 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26395         [BZ #14153]
26396         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26397         for |x| <= 2**-26, not 2**-57.
26398         * math/libm-test.inc (acos_test): Do not allow spurious underflow
26399         exception.
26401 2012-05-24  Jeff Law  <law@redhat.com>
26403         * stdio-common/Makefile (tests): Add bug25.
26404         * stdio-common/bug25.c: New test.
26406 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26408         [BZ #13576]
26409         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26410         multiple of MALLOC_ALIGNMENT in size.
26411         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26413 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26415         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26416         Require >= 256.
26417         (FILENAME_MAX): Use macro-int-constant.
26418         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
26419         (_IOFBF): Use macro-int-constant.
26420         (_IOLBF): Likewise.
26421         (_IONBF): Likewise.
26422         (SEEK_CUR): Likewise.
26423         (SEEK_END): Likewise.
26424         (SEEK_SET): Likewise.
26425         (TMP_MAX): Likewise.
26426         (EOF): Use macro-int-constant.  Require < 0.
26427         (NULL): Use macro-constant.  Require == 0.
26428         (stdin): Require type to be FILE *.
26429         (stdout): Likewise.
26430         (stderr): Likewise.
26431         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26432         macro-int-constant.
26433         (EXIT_SUCCESS): Likewise.
26434         (NULL): Use macro-constant.  Require == 0.
26435         (RAND_MAX): Use macro-int-constant.
26436         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26437         [C99-based standards] (strtof): Require function.
26438         [C99-based standards] (strtold): Likewise.
26439         [C99-based standards] (strtoll): Likewise.
26440         [C99-based standards] (strtoull): Likewise.
26441         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26442         [ISO || ISO99 || ISO11] (limits.h): Likewise.
26443         [ISO || ISO99 || ISO11] (math.h): Likewise.
26444         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26445         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26446         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26448 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
26450         [BZ #14132]
26451         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26452         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26453         * intl/dgettext.c (DCGETTEXT): Likewise.
26454         * intl/gettext.c (DCGETTEXT): Likewise.
26455         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26456         * posix/regex_internal.h (gettext): Likewise.
26457         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26458         Remove declaration.
26459         * include/argz.h (__argz_count_internal)
26460         (__argz_stringify_internal): Remove declaration.
26461         (__argz_count, __argz_stringify): Declare hidden proto.
26462         * intl/dcgettext.c: Remove use of INTDEF.
26463         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26464         * string/argz-stringify.c: Likewise.
26465         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26466         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26467         Declare hidden proto.
26468         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26469         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26470         Declare hidden proto.
26471         * include/stdio.h (__asprintf_internal): Don't declare.
26472         (__asprintf): Don't define as macro.  Declare hidden proto.
26473         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26474         (__fsetlocking): Declare hidden proto.
26475         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26476         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26477         hidden proto.
26478         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26479         (_IO_setlinebuf): Remove use of INTUSE.
26480         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26481         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26482         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26483         Remove declaration.
26484         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26485         (_IO_do_flush): Remove use of INTUSE.
26486         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26487         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26488         (_IO_adjust_column, _IO_least_wmarker)
26489         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26490         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26491         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26492         (_IO_default_doallocate, _IO_wdefault_doallocate)
26493         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26494         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26495         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26496         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26497         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26498         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26499         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26500         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26501         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26502         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26503         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26504         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26505         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26506         proto.
26507         (_IO_flush_all_internal, _IO_adjust_column_internal)
26508         (_IO_default_uflow_internal, _IO_default_finish_internal)
26509         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26510         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26511         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26512         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26513         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26514         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26515         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26516         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26517         (_IO_file_close_internal, _IO_file_close_it_internal)
26518         (_IO_file_underflow_internal, _IO_file_overflow_internal)
26519         (_IO_file_init_internal, _IO_file_attach_internal)
26520         (_IO_file_fopen_internal, _IO_file_read_internal)
26521         (_IO_file_sync_internal, _IO_file_seek_internal)
26522         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26523         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26524         (_IO_str_underflow_internal, _IO_str_overflow_internal)
26525         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26526         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26527         (_IO_list_all_internal, _IO_link_in_internal)
26528         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26529         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26530         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26531         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26532         (_IO_do_write_internal, _IO_padn_internal)
26533         (_IO_getline_info_internal, _IO_getline_internal)
26534         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26535         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26536         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26537         (_IO_vfscanf_internal, _IO_vfprintf_internal)
26538         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26539         (_IO_init_internal, _IO_un_link_internal): Don't declare.
26540         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26541         with libc_hidden_ver, remove use of INTUSE.
26542         * libio/genops.c: Likewise.
26543         * libio/freopen.c: Likewise.
26544         * libio/freopen64.c: Likewise.
26545         * libio/iofclose.c: Likewise.
26546         * libio/iofdopen.c: Likewise.
26547         * libio/iofflush.c: Likewise.
26548         * libio/iofflush_u.c: Likewise.
26549         * libio/iofgets.c: Likewise.
26550         * libio/iofgets_u.c: Likewise.
26551         * libio/iofopen.c: Likewise.
26552         * libio/iofopncook.c: Likewise.
26553         * libio/iofread.c: Likewise.
26554         * libio/iofread_u.c: Likewise.
26555         * libio/ioftell.c: Likewise.
26556         * libio/iofwrite.c: Likewise.
26557         * libio/iogetline.c: Likewise.
26558         * libio/iogets.c: Likewise.
26559         * libio/iogetwline.c: Likewise.
26560         * libio/iopadn.c: Likewise.
26561         * libio/iopopen.c: Likewise.
26562         * libio/ioseekoff.c: Likewise.
26563         * libio/ioseekpos.c: Likewise.
26564         * libio/iosetbuffer.c: Likewise.
26565         * libio/iosetvbuf.c: Likewise.
26566         * libio/ioungetc.c: Likewise.
26567         * libio/ioungetwc.c: Likewise.
26568         * libio/iovdprintf.c: Likewise.
26569         * libio/iovsprintf.c: Likewise.
26570         * libio/iovsscanf.c: Likewise.
26571         * libio/memstream.c: Likewise.
26572         * libio/obprintf.c: Likewise.
26573         * libio/oldfileops.c: Likewise.
26574         * libio/oldiofclose.c: Likewise.
26575         * libio/oldiofdopen.c: Likewise.
26576         * libio/oldiofopen.c: Likewise.
26577         * libio/oldiopopen.c: Likewise.
26578         * libio/oldstdfiles.c: Likewise.
26579         * libio/putc.c: Likewise.
26580         * libio/setbuf.c: Likewise.
26581         * libio/setlinebuf.c: Likewise.
26582         * libio/stdfiles.c: Likewise.
26583         * libio/strops.c: Likewise.
26584         * libio/vasprintf.c: Likewise.
26585         * libio/vscanf.c: Likewise.
26586         * libio/vsnprintf.c: Likewise.
26587         * libio/vswprintf.c: Likewise.
26588         * libio/wfiledoalloc.c: Likewise.
26589         * libio/wfileops.c: Likewise.
26590         * libio/wgenops.c: Likewise.
26591         * libio/wmemstream.c: Likewise.
26592         * libio/wstrops.c: Likewise.
26593         * libio/__fpurge.c: Likewise.
26594         * libio/__fsetlocking.c: Likewise.
26595         * assert/assert.c: Likewise.
26596         * debug/fgets_chk.c: Likewise.
26597         * debug/fgets_u_chk.c: Likewise.
26598         * debug/fread_chk.c: Likewise.
26599         * debug/fread_u_chk.c: Likewise.
26600         * debug/gets_chk.c: Likewise.
26601         * debug/obprintf_chk.c: Likewise.
26602         * debug/vasprintf_chk.c: Likewise.
26603         * debug/vdprintf_chk.c: Likewise.
26604         * debug/vsnprintf_chk.c: Likewise.
26605         * debug/vsprintf_chk.c: Likewise.
26606         * malloc/mtrace.c: Likewise.
26607         * misc/error.c: Likewise.
26608         * misc/syslog.c: Likewise.
26609         * stdio-common/asprintf.c: Likewise.
26610         * stdio-common/fxprintf.c: Likewise.
26611         * stdio-common/getw.c: Likewise.
26612         * stdio-common/isoc99_fscanf.c: Likewise.
26613         * stdio-common/isoc99_scanf.c: Likewise.
26614         * stdio-common/isoc99_vfscanf.c: Likewise.
26615         * stdio-common/isoc99_vscanf.c: Likewise.
26616         * stdio-common/isoc99_vsscanf.c: Likewise.
26617         * stdio-common/printf-prs.c: Likewise.
26618         * stdio-common/printf_fp.c: Likewise.
26619         * stdio-common/printf_fphex.c: Likewise.
26620         * stdio-common/printf_size.c: Likewise.
26621         * stdio-common/putw.c: Likewise.
26622         * stdio-common/scanf.c: Likewise.
26623         * stdio-common/sprintf.c: Likewise.
26624         * stdio-common/tmpfile.c: Likewise.
26625         * stdio-common/vfprintf.c: Likewise.
26626         * stdio-common/vfscanf.c: Likewise.
26627         * stdlib/strfmon_l.c: Likewise.
26628         * sunrpc/openchild.c: Likewise.
26629         * sunrpc/xdr_stdio.c: Likewise.
26630         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26631         * sysdeps/mach/hurd/tmpfile.c: Likewise.
26633 2012-05-24  Roland McGrath  <roland@hack.frob.com>
26635         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26637         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26638         in the third column, to generate for the shared library an IFUNC
26639         that uses _dl_vdso_vsym.
26640         * Makerules (COMPILE.c, compile-stdin.c): New variables.
26641         * Makeconfig (object-suffixes-noshared): New variable.
26643         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26644         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26645         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26646         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26648         [BZ #14132]
26649         * include/sys/time.h (__gettimeofday): Remove macro.
26650         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26651         * time/gettimeofday.c (__gettimeofday): Remove #undef.
26652         Remove INTDEF.
26653         (__gettimeofday): Add libc_hidden_def.
26654         (gettimeofday): Add libc_hidden_weak.
26655         * sysdeps/mach/gettimeofday.c: Likewise.
26656         * sysdeps/posix/gettimeofday.c: Likewise.
26657         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26658         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26660         (__gettimeofday_internal): Remove strong_alias.
26661         (__gettimeofday): Add libc_hidden_def.
26662         (gettimeofday): Add libc_hidden_weak.
26663         * sysdeps/unix/syscalls.list (gettimeofday):
26664         Remove __gettimeofday_internal alias.
26666 2012-05-24  Daniel Jacobowitz  <drow@false.org>
26667             H.J. Lu  <hongjiu.lu@intel.com>
26669         [BZ #12495]
26670         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26671         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26672         (largebin_index_32_big): New.
26673         (largebin_index): Use it for 16-byte alignment.
26674         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
26675         correction with front_misalign.
26677 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26681         Likewise.
26682         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26683         Likewise.
26684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26685         Likewise.
26686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26687         Likewise.
26688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26689         Likewise.
26690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26691         Likewise.
26692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26693         Likewise.
26694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26695         Likewise.
26696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26697         Likewise.
26698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26699         Likewise.
26700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26701         Likewise.
26702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26703         Likewise.
26705         * scripts/data/c++-types-x32-linux-gnu.data: New file.
26706         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26708 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26710         [BZ #10846]
26711         [BZ #14036]
26712         * math/libm-test.inc (exp_test): Add test from bug 14036.
26713         (pow_test): Add test from bug 10846.
26715         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26716         and other flags.
26717         (special_function): Do not include flags in test name.
26718         (parse_args): Likewise.
26719         * sysdeps/i386/fpu/libm-test-ulps: Update.
26720         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26721         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26722         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26725         * math/gen-libm-test.pl (%beautify): Add entries for underflow
26726         exceptions.
26727         * math/libm-test.inc ("Philosophy"): Update comment about
26728         exception testing.
26729         (UNDERFLOW_EXCEPTION): New macro.
26730         (UNDERFLOW_EXCEPTION_OK): Likewise.
26731         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26732         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26733         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26734         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26735         (INVALID_EXCEPTION_OK): Update value.
26736         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26737         (OVERFLOW_EXCEPTION_OK): Likewise.
26738         (IGNORE_ZERO_INF_SIGN): Likewise.
26739         (test_exceptions): Handle underflow exceptions.
26740         (acos_test): Update for underflow exception expectations.
26741         (cexp_test): Likewise.
26742         (clog_test): Likewise.
26743         (clog10_test): Likewise.
26744         (csqrt_test): Likewise.
26745         (ctan_test): Likewise.
26746         (ctanh_test): Likewise.
26747         (exp_test): Likewise.
26748         (exp10_test): Likewise.
26749         (exp2_test): Likewise.
26750         (expm1_test): Likewise.
26751         (fma_test): Likewise.
26752         (j0_test): Likewise.
26753         (jn_test): Likewise.
26754         (nexttoward_test): Likewise.
26755         (pow_test): Likewise.
26756         (scalbn_test): Likewise.
26757         (scalbln_test): Likewise.
26758         (tan_test): Likewise.
26759         (y1_test): Likewise.
26760         * sysdeps/i386/fpu/libm-test-ulps: Update.
26761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26763 2012-05-23  David S. Miller  <davem@davemloft.net>
26765         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26766         (__libc_sigaction): Remove unused local variables.
26768 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26770         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26772 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
26774         mktime: avoid signed integer overflow
26775         * time/mktime.c (__mktime_internal): Do not mishandle the case
26776         where diff == INT_MIN.
26778         mktime: simplify computation of average
26779         * time/mktime.c (ranged_convert): Use new time_t_avg function
26780         instead of rolling our own (probably-slower) code.
26782         mktime: do not assume signed right shift propagates sign bit
26783         * time/mktime.c (isdst_differ): New static function.
26784         (__mktime_internal): No need to normalize tm_isdst now.
26785         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26786         tm_isdst values.
26788         mktime: merge another wrapv change from gnulib
26789         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26790         from some compilers.
26792         mktime: remove incorrect attempt at unusual arithmetics
26793         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26794         The code didn't really work on such machines anyway.
26795         (TYPE_MINIMUM): Assume two's complement.
26796         (twos_complement_arithmetic): Verify that long_int and time_t
26797         are two's complement (or unsigned, in the latter case).
26799         mktime: check signed shifts on long_int and time_t, too
26800         * time/mktime.c (SHR): Check that shifts work as desired
26801         on the types long_int and time_t too, as SHR is used on
26802         such types.
26804         mktime: do not assume 'long' is wide enough
26805         * time/mktime.c (verify): Move decl up.
26806         (long_int): New type.
26807         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26808         to remove assumption in the code that 'long' is wide enough to
26809         store year values.  This assumption is not true on x32 and on
26810         some non-glibc platforms.
26812         mktime: merge wrapv change from gnulib
26813         * time/mktime.c (WRAPV): New macro.
26814         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26815         (guess_time_tm, __mktime_internal): Do not assume that signed
26816         integer overflow wraps around; modern compilers generate code
26817         where this assumption is no longer valid.
26819 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26821         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26822         Replace "jmp L(pseudo_end)" with "ret".
26823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26824         Likewise.
26826 2012-05-23  Andreas Jaeger  <aj@suse.de>
26828         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26829         * sysdeps/unix/sysv/linux/poll.c: Remove file.
26831 2012-05-23  Andreas Jaeger  <aj@suse.de>
26832             Maximilian Attems  <max@stro.at>
26834         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26835         New macros.
26837 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26839         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26840         code so that pseudo_end is just ret and the stack pointer is
26841         correct also for static library in error case.
26843 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
26845         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26846         move to syscalls.list.
26847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26852         * manual/install.texi (Running make install): Do not mention Linux
26853         kernel version for which pt_chown is not needed.
26854         (Linux): Do not mention problems with nscd with 2.0 kernels.
26855         * INSTALL: Regenerated.
26857 2012-05-23  Andreas Jaeger  <aj@suse.de>
26859         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26860         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26861         macro.
26862         * sysdeps/unix/sysv/linux/s390/bits/mman.h
26863         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26864         * sysdeps/unix/sysv/linux/sh/bits/mman.h
26865         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26866         * sysdeps/unix/sysv/linux/i386/bits/mman.h
26867         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26868         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26869         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26870         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26871         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26872         * sysdeps/unix/sysv/linux/bits/in.h
26873         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26875 2012-05-22  Roland McGrath  <roland@hack.frob.com>
26877         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26878         (PREPARE_VERSION): Just use assert instead, it will be elided
26879         under [NDEBUG] anyway.
26881 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26883         * sysdeps/unix/sysv/linux/Makefile: Include
26884         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26885         (sysdep_routines): Remove sysctl.
26886         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26887         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26888         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26889         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26890         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26892 2012-05-22  Andreas Jaeger  <aj@suse.de>
26894         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26895         that pseudo_end is just ret and the stack pointer is correct also
26896         for static library in error case.
26898 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26900         [BZ #14122]
26901         * nss/nsswitch.c (defconfig_entries): New variable.
26902         (__nss_database_lookup): Don't leak defconfig entries.
26903         (nss_parse_service_list): Don't leak on error paths.
26904         (free_database_entries): New function.
26905         (free_defconfig): New function.
26906         (free_mem): Move common code to free_database_entries.
26908 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26910         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26911         Add arch_prctl.
26912         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26914         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26915         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26917         New macro.
26918         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26919         (INTERNAL_SYSCALL_TYPES): Likewise.
26920         (LOAD_ARGS_TYPES_[1-6]): Likewise.
26921         (LOAD_REGS_TYPES_[1-6]): Likewise.
26922         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
26923         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
26925 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26927         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
26928         copysignl for GLIBC_2_0.
26929         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
26930         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
26931         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
26932         logbl for GLIBC_2_0.
26933         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26934         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26936 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26938         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
26939         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
26941         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26942         Use "neg %eax".
26944         * time/mktime.c: Update copyright years.
26946 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26948         mktime: merge comment-quoting-style change from gnulib
26949         * time/mktime.c: Quote 'like this' in comments.
26950         The GNU coding standards suggest that we no longer quote `like this',
26951         as "`" and "'" are typically rendered asymmetrically nowadays.
26952         The typical gnulib style is to quote 'like this' when quoting
26953         code, and "like this" when quoting English.
26955         * time/mktime.c (compile-command): Add "-I.".
26957         mktime: merge mktime-internal.h change from gnulib
26958         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
26960         mktime: merge time_r change from gnulib
26961         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
26963         mktime: merge DEBUG change from gnulib
26964         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
26965         case system <time.h> has a #define.
26967         mktime: merge <sys/types.h> change from gnulib
26968         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
26969         since <time.t> is now guaranteed to define time_t.
26971         mktime: merge HAVE_CONFIG_H change from gnulib
26972         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
26974 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26976         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
26977         Use "neg %eax".
26979         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
26980         __rlim_t cast.
26981         (struct rusage): Use anonymous union to pad each field to
26982         __syscall_slong_t.
26984 2012-05-21  David S. Miller  <davem@davemloft.net>
26986         * Makefules (o-iterator): Remove .s cases.
26987         (compile-command.s): Delete.
26988         (COMPILE.s): Delete.
26989         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
26991 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
26993         * configure.in (libc_cv_predef_stack_protector): Only consider
26994         "foobar" and "__stack_chk_fail" lines in libc_undefs.
26995         * configure: Regenerated.
26997 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
26999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27000         New macro.  Use R*LP on int and pointer.
27001         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27002         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27003         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27004         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27006         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27007         [__WORDSIZE_TIME64_COMPAT32] instead of
27008         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27009         (struct utmp): Likewise.
27010         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27011         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27012         Renamed to ...
27013         (__WORDSIZE_TIME64_COMPAT32): This.
27014         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27015         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27016         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27017         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27018         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27019         (__WORDSIZE_TIME64_COMPAT32): New macro.
27021 2012-05-21  Andreas Jaeger  <aj@suse.de>
27023         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27024         only if [SHARED]. Add prototype for __wcschr_ia32.
27026 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27028         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27029         of %rbp unmolested in the jmp_buf while mangling the low bits.
27030         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27031         unmolested high bits of %rbp while demangling the low bits.
27032         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27034 2012-05-21  Andreas Jaeger  <aj@suse.de>
27036         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27037         * sunrpc/svc_simple.c: Use it for registerrpc.
27038         * sunrpc/xcrypt.c: Use it for passwd2des.
27040         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27042 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27044         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27045         Don't define if [__SYSCALL_WORDSIZE != 32].
27046         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27047         New macro.
27049 2012-05-21  Bruno Haible  <bruno@clisp.org>
27050             Andreas Jaeger  <aj@suse.de>
27052         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27053         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27054         inptr and inend for must_buffer_ch.
27055         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27056         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27057         * stdio-common/Makefile (tests): Remove bug15.
27058         (bug15-ENV): Remove macro.
27059         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27060         anymore.
27062 2012-05-19  Andreas Jaeger  <aj@suse.de>
27063             Roland McGrath  <roland@hack.frob.com>
27065         * manual/contrib.texi: Completely rewritten. It contains now an
27066         alphabetical list of contributors and their contributions.
27068 2012-05-21  Richard Henderson  <rth@twiddle.net>
27070         * misc/getauxval.c (__getauxval): Use unsigned long int.
27071         * misc/sys/auxv.h: Include <sys/cdefs.h>.
27072         (getauxval): Use unsigned long int.
27074 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27076         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27078 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27080         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27081         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27082         __alignof__ (long double).
27084 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27088 2012-05-20  Richard Henderson  <rth@twiddle.net>
27090         * misc/getauxval.c: New file.
27091         * misc/sys/auxv.h: New file.
27092         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27093         (routines): Add getauxval.
27094         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27095         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27096         * elf/dl-sysdep.c (_dl_auxv): Remove.
27097         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27098         * elf/dl-support.c (_dl_auxv): New variable.
27099         (_dl_aux_init): Initialize it.
27100         * manual/startup.texi (Auxiliary Vector): New node.
27101         * sysdeps/generic/bits/hwcap.h: New file.
27102         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27103         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
27104         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27105         * sysdeps/sparc/sysdep.h: ... here.  Include it.
27106         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27107         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27109         Update.
27110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27113         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27119 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27123 2012-05-19  David S. Miller  <davem@davemloft.net>
27125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27127 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27129         [BZ #14123]
27130         * math/s_ccosh.c: Include <float.h>
27131         (__ccosh): Avoid internal overflow calculating sinh and cosh
27132         values before multiplying by sin and cos values.
27133         * math/s_ccoshf.c: Likewise.
27134         * math/s_ccoshl.c: Likewise.
27135         * math/s_csin.c: Likewise.
27136         * math/s_csinf.c: Likewise.
27137         * math/s_csinl.c: Likewise.
27138         * math/s_csinh.c: Likewise.
27139         * math/s_csinhf.c: Likewise.
27140         * math/s_csinhl.c: Likewise.
27141         * math/libm-test.inc (ccos_test): Add more tests.
27142         (ccosh_test): Likewise.
27143         (csin_test): Likewise.
27144         (csinh_test): Likewise.
27145         * sysdeps/i386/fpu/libm-test-ulps: Update.
27146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27148 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
27150         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27151         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27153         * sysdeps/x86_64/x32/_itoa.h: Add comment.
27155 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27157         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27158         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27159         * sysdeps/powerpc/soft-fp/Versions: Likewise.
27160         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27161         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27162         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27163         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27164         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27165         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27166         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27167         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27168         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27169         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27170         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27171         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27172         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27173         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27174         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27175         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27176         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27177         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27178         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27179         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27180         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27181         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27182         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27183         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27184         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27185         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27186         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27187         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27189 2012-05-18  Andreas Jaeger  <aj@suse.de>
27191         * csu/.gitignore: Delete.
27193 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27195         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27196         (timex): Use __syscall_slong_t.
27198 2012-05-18  Andreas Jaeger  <aj@suse.de>
27199             Carlos O'Donell  <carlos_odonell@mentor.com>
27201         * manual/install.texi (Configuring and compiling): Update
27202         description about files modified in the source directory.
27203         * INSTALL: Regenerated.
27205 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27207         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27208         value.  Use "or" to set return value to -1.
27209         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27210         negate return value.
27212 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27214         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27215         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27216         failure if the compiler has Graphite support disabled.
27217         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27218         Likewise.
27219         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27220         CFLAGS-memmove.c): Likewise.
27221         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27222         Likewise.
27224 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27226         * sysdeps/x86_64/x32/_itoa.h: New file.
27228         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27229         getdents system call only if kernel and user dirents have the
27230         same d_ino and d_off.
27232         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27233         LLONG_MAX != LONG_MAX.
27234         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27235         (_fitoa_word): Likewise.
27237         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27238         years.
27239         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27240         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27241         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27243         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27244         include <bits/wordsize.h>.  Check __x86_64__ instead of
27245         __WORDSIZE.
27246         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27247         if __x86_64__ is defined.  Use anonymous union on fpstate.
27249         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27250         anonymous union.
27252 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
27254         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27255         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27256         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27257         Refer to _rtld_local_ro instead of _rtld_global_ro.
27258         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27259         Likewise.
27260         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27261         Likewise.
27262         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27263         Likewise.
27264         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27265         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27266         of _rtld_global, and rtld_progname instead of _dl_argv[0].
27268         * sysdeps/powerpc/powerpc32/dl-machine.c
27269         (__elf_machine_runtime_setup) [PROF]: Don't reference
27270         _dl_prof_resolve.
27272 2012-05-18  Andreas Jaeger  <aj@suse.de>
27274         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27275         function only available for GCCs before 3.4 since GCC 3.4
27276         introduced a builtin.
27277         (lrint): Likewise.
27278         (llrintf): Likewise.
27279         (llrint): Likewise.
27280         (fmaxf): Likewise.
27281         (fmax): Likewise.
27282         (fminf): Likewise.
27283         (fmin): Likewise.
27284         (rint): Likewise.
27285         (rintf): Likewise.
27286         (nearbyint): Likewise.
27287         (nearbyintf): Likewise.
27288         (ceil): Likewise.
27289         (ceilf): Likewise.
27290         (floor): Likewise.
27291         (floorf): Likewise.
27293 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27295         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27296         on both fields and cast pointer to __syscall_ulong_t.
27298         * bits/types.h (__fsword_t): New type.
27299         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27300         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27301         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27302         (__FSWORD_T_TYPE): Likewise.
27303         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27304         (__FSWORD_T_TYPE): Likewise.
27305         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27306         (__FSWORD_T_TYPE): Likewise.
27307         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27308         (__FSWORD_T_TYPE): Likewise.
27309         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27310         __SWORD_TYPE with __fsword_t.
27311         (statfs64): Likewise.
27313 2012-05-17  David S. Miller  <davem@davemloft.net>
27315         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27317 2012-05-17  Andreas Jaeger  <aj@suse.de>
27319         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27320         warning.
27322 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27324         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27326 2012-05-17  Andreas Jaeger  <aj@suse.de>
27328         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27329         when it is used.
27331 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27333         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27335 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27337         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27338         * sysdeps/x86_64/tst-mallocalign1.c: New file.
27340 2012-05-17  Andreas Jaeger  <aj@suse.de>
27341             Carlos O'Donell  <carlos_odonell@mentor.com>
27343         [BZ #14059]
27344         * sysdeps/x86_64/multiarch/init-arch.h
27345         (bit_YMM_Usable): Rename to...
27346         (bit_AVX_Usable): ... this.
27347         (bit_FMA4_Usable): New macro.
27348         (bit_XMM_state): New macro.
27349         (bit_YMM_state): New macro.
27350         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27351         [__ASSEMBLER__] (index_AVX_Usable): ... this.
27352         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27353         (CPUID_OSXSAVE): New macro.
27354         (CPUID_AVX): New macro.
27355         (CPUID_FMA4): New macro.
27356         (index_YMM_Usable): Rename to...
27357         (index_AVX_Usable): ... this.
27358         (HAS_AVX): Use HAS_ARCH_FEATURE.
27359         (HAS_FMA4): Likewise.
27360         (HAS_YMM_USABLE): Remove.
27361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27362         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27363         are present.
27364         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27365         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27366         * sysdeps/x86_64/multiarch/Makefile: Likewise.
27367         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27368         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27370 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27372         * math/libm-test.c: Support platforms without multiple rounding modes.
27373         * math/bug-nextafter.c: Support platforms without FP exceptions.
27374         * math/bug-nexttoward.c: Likewise.
27375         * math/test-fenv.c: Likewise.
27376         * math/test-misc.c: Likewise.
27377         * stdlib/bug-getcontext.c: Likewise.
27379 2012-05-17  Andreas Jaeger  <aj@suse.de>
27381         * manual/examples/search.c (critter_cmp): Change signature to
27382         avoid warnings.
27383         * manual/string.texi (Collation Functions): Likewise.
27385 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27387         * bits/types.h: Fold copyright years.
27388         * bits/typesizes.h: Likewise.
27389         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27390         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27391         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27392         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27393         * time/time.h: Likewise.
27395 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
27397         [BZ #208]
27398         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27399         in instead of returning them.  Return void.
27400         (__libc_mallinfo): Accumulate over all arenas.
27401         (__malloc_stats): Adjust for change in int_mallinfo interface.
27403 2012-05-16  Roland McGrath  <roland@hack.frob.com>
27405         [BZ #10375]
27406         * configure.in (NM): Add AC_CHECK_TOOL for it.
27407         (libc_extra_cflags): New substituted variable.
27408         Check for -fstack-protector being used implicitly.
27409         * configure: Regenerated.
27410         * config.make.in (config-extra-cflags): New variable,
27411         gets @libc_extra_cflags@.
27412         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27414         [BZ #10375]
27415         * configure.in: Check for _FORTIFY_SOURCE being predefined.
27416         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27417         * configure: Regenerated.
27418         * config.make.in (CPPUNDEFS): New substituted variable.
27419         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27420         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27421         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27423 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27425         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27426         (mq_attr): Use __syscall_slong_t.
27428 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27430         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27431         Check __x86_64__ instead of __WORDSIZE.
27432         (_STAT_VER_LINUX): Likewise.
27433         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
27434         __syscall_ulong_t and __syscall_slong_t.
27435         (stat64): Likewise.
27437 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27439         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27441 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27443         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27447         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27448         __syscall_ulong_t.
27450         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27451         include <bits/wordsize.h>.  Check __x86_64__ instead of
27452         __WORDSIZE.
27453         (greg_t): Use "__extension__ long long int" if __x86_64__ is
27454         defined.
27455         (mcontext_t): Replace "unsigned long" with "unsigned long long".
27457         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27458         include <bits/wordsize.h>.  Check __x86_64__ instead of
27459         __WORDSIZE.
27460         (user_regs_struct): Use "__extension__ unsigned long long"
27461         instead of "unsigned long" if __x86_64__ is defined.
27462         (user): Likewise.  Pad after pointer field if __ILP32__ is
27463         defined.
27465 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
27467         * configure.in (makeinfo): Require version 4.5 or later.  Allow
27468         versions 5 to 9.
27469         * configure: Regenerated.
27470         * manual/install.texi (texinfo): Increase version requirement to
27471         4.5 or later.
27472         * INSTALL: Regenerated.
27474         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27476 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27478         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27480         * sysdeps/x86_64/x32/ffs.c: New file.
27482         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27483         __syscall_ulong_t.
27484         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27485         defined.  Use __syscall_ulong_t.
27486         (shminfo): Use __syscall_ulong_t.
27487         (shm_info): Likewise.
27489         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27490         __syscall_ulong_t.
27492         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27493         <bits/wordsize.h>.
27494         (msgqnum_t): Use __syscall_ulong_t.
27495         (msglen_t): Likewise.
27496         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
27497         __syscall_ulong_t.
27499         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27500         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27502         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27504         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27505         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27507         * sysvipc/sys/msg.h (msgbuf): Replace long int with
27508         __syscall_slong_t.
27510         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27511         include <bits/wordsize.h>.  Check __x86_64__ instead of
27512         __WORDSIZE.
27514         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27515         "unsigned long long int" if __x86_64__ is defined.
27516         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27518         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27519         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27520         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27522         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27523         <stdint.h>.
27524         (GET_PC): Cast to uintptr_t first.
27525         (GET_FRAME): Likewise.
27526         (GET_STACK): Likewise.
27528         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27529         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27530         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27531         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27532         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27533         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27534         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27535         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27536         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27537         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27538         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27539         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27540         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27541         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27542         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27543         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27544         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27545         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27546         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27547         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27548         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27549         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27550         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27551         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27552         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27553         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27554         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27555         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27556         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27558 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
27560         * Makerules (+depfiles): Also collect depfiles from .oS in
27561         $(extra-objs).
27562         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27563         .oS, $(libnldbl-routines)).
27565         * Makerules (native-compile-mkdep-flags): Define.
27566         * sunrpc/Makefile (extra-objs): Add $(addprefix
27567         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27568         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27569         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
27570         calling $(make-target-directory).
27572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27574         * bits/types.h (__snseconds_t): Removed.
27575         * time/time.h (struct timespec): Replace __snseconds_t with
27576         __syscall_slong_t.
27577         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27578         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27579         Likewise.
27580         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27581         (__SNSECONDS_T_TYPE): Likewise.
27582         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27583         (__SNSECONDS_T_TYPE): Likewise.
27584         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27585         (__SNSECONDS_T_TYPE): Likewise.
27587 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27589         * sysdeps/mach/hurd/bits/typesizes.h
27590         (__SYSCALL_SLONG_TYPE): New macro.
27591         (__SYSCALL_ULONG_TYPE): Likewise.
27593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27595         * bits/types.h (__syscall_slong_t): New type.
27596         (__syscall_ulong_t): Likewise.
27598         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27599         (__SYSCALL_ULONG_TYPE): Likewise.
27600         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27601         (__SYSCALL_SLONG_TYPE): Likewise.
27602         (__SYSCALL_ULONG_TYPE): Likewise.
27603         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27604         (__SYSCALL_SLONG_TYPE): Likewise.
27605         (__SYSCALL_ULONG_TYPE): Likewise.
27606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27607         (__SYSCALL_SLONG_TYPE): Likewise.
27608         (__SYSCALL_ULONG_TYPE): Likewise.
27610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27612         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27613         Add sigaltstack-offsets.sym.
27614         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27615         <sigaltstack-offsets.h>.
27616         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
27617         longjmp_msg pointer.
27618         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
27619         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27620         signal stack.
27621         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27623 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27625         * elf/stackguard-macros.h: Remove file.
27626         * sysdeps/generic/stackguard-macros.h: New file.
27627         * sysdeps/i386/stackguard-macros.h: Likewise.
27628         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27629         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27630         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27631         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27632         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27633         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27634         * sysdeps/x86_64/stackguard-macros.h: Likewise.
27635         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27636         <elf/stackguard-macros.h>.
27638         [BZ #14109]
27639         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27640         __aligned__ in attribute.
27641         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27642         (gregset_t): Likewise.
27644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27646         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27647         * sysdeps/x86_64/64/Implies-after: Here.  New file.
27648         * sysdeps/x86_64/x32/Implies-after: New file.
27650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27652         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27653         and access return value for _dl_profile_fixup.  Use R10_LP to
27654         load frame size.
27656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27658         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27662         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27663         * sysdeps/x86_64/x32/sysdep.h: New file.
27665 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27667         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27668         * sysdeps/x86_64/setjmp.S: Likewise.
27670 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27672         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27673         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27674         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27675         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27676         remove unused global constant.
27678 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
27680         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27681         include of <not-cancel.h>.
27683 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27685         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27687 2012-05-15  Jeff Law  <law@redhat.com>
27688             Andreas Jaeger  <aj@suse.de>
27690         [BZ #13594]
27691         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27692         out from...
27693         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27694         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27695         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27696         code changing __hst_map_handle.map.
27698 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27700         * configure.in (sysnames): Look for Implies-before and Implies-after
27701         files.
27702         * configure: Regenerated.
27704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27706         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27707         8-byte data alignment with LP_SIZE alignment.
27709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27711         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27712         into R10_LP.
27714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27716         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27720         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27721         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27722         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27723         Likewise.
27724         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27728         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27729         (stackinfo_sub_sp): Likewise.
27731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27733         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27734         RAX_LP.
27736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27738         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27739         into R*_LP.
27741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27743         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27744         sizes into R*_LP.
27746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27748         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27752         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27753         into R11_LP and load __x86_64_shared_cache_size_half into
27754         R8_LP.
27756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27758         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27759         R8_LP.
27761 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27763         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27764         logb for POWER7.
27765         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27766         logbf for POWER7.
27767         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27768         logbl for POWER7.
27769         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27770         powerpc32/power7/fpu/s_logb.c via #include.
27771         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27772         powerpc32/power7/fpu/s_logbf.c via #include.
27773         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27774         powerpc32/power7/fpu/s_logbl.c via #include.
27776 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27778         * README.libm: Remove file.
27780 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27782         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27783         count for x32.  Use R*_LP and omit operand-size suffix.
27785 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27787         * shlib-versions: Move x86_64-.*-linux.* entries to ...
27788         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
27789         * sysdeps/x86_64/x32/shlib-versions: New file.
27791 2012-05-14  Roland McGrath  <roland@hack.frob.com>
27793         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27794         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27795         Use _dl_fatal_printf instead.
27797 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27799         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27800         set if not set by the user.  Do not allow for being unset.
27801         * sysdeps/unix/sysv/linux/configure: Regenerated.
27803 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27805         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27806         the `q' suffix from lea and replace .quad with ASM_ADDR.
27808 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27811         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
27812         instead of $17.
27813         (PTR_DEMANGLE): Likewise.
27815 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27817         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27818         (LP_OP): Likewise.
27819         (ASM_ADDR): Likewise.
27820         (RAX_LP): Likewise.
27821         (RBP_LP): Likewise.
27822         (RBX_LP): Likewise.
27823         (RCX_LP): Likewise.
27824         (RDI_LP): Likewise.
27825         (RSI_LP): Likewise.
27826         (RSP_LP): Likewise.
27827         (R8_LP): Likewise.
27828         (R9_LP): Likewise.
27829         (R10_LP): Likewise.
27830         (R10_LP): Likewise.
27831         (R11_LP): Likewise.
27832         (R12_LP): Likewise.
27833         (R13_LP): Likewise.
27834         (R14_LP): Likewise.
27835         (R15_LP): Likewise.
27837 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27839         * sysdeps/x86_64/x32/dl-machine.h: New file.
27841 2012-05-14  Andreas Jaeger  <aj@suse.de>
27843         * manual/Makefile (subdir): Remove export of subdir.
27844         (all): Remove target.
27845         (.PHONY): Remove all from list.
27846         (mkinstalldirs): Remove.
27847         (.PHONY): Remove installdirs from list.
27848         ($(inst_infodir)/libc.info): Use make-target-directory.
27849         (installdirs): Remove.
27850         (subdir_%): Remove.
27851         (glibc-targets): Remove.
27852         (lib): Remove.
27853         (stubs): Remove.
27854         ($(objpfx)stubs ../po/manual.pot): Remove.
27855         ($(objpfx)stamp%): Remove.
27856         (make-target-directory): Remove.
27857         (subdir_install): Remove.
27858         (routines): Remove.
27859         (aux): Remove.
27860         (sources): Remove.
27861         (objects): Remove.
27862         (headers): Remove.
27864         [BZ #13750]
27865         * manual/.gitignore: Remove, it's not needed anymore.
27866         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27867         all files in it.
27868         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27869         directory.
27870         (texis): Renamed to $(objpfx)texis.
27871         (texis-path): New, contains path to generated files.
27872         (chapters.%): Use texis-path for complete path, add extra argument
27873         libc-texinfo.sh.
27874         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27875         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27876         (summary,texi, stamp-summary): Use complete path of
27877         files. Generate files in build dir.
27878         (dir-add.texi): Build in build dir.
27879         (libm-err.texi,stamp-libm-err): Likewise.
27880         (version.texi, stamp-version): Likewise.
27881         (.%c.texi): Likewise.
27882         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27883         (mostlyclean): Remove target.
27884         (realclean): Remove target.
27885         (generated): Add new variable with contents from mostlyclean and
27886         realclean, remove entries duplicated in common-mostlyclean, add
27887         stamp-libm-err and stamp-version.
27888         (generated-dirs): Add libc directory.
27889         ($(inst_infodir)/libc.info): Install files from build dir.
27891         * manual/install.texi (Configuring and compiling): Adjust since
27892         the info files are not part of the tar ball anymore.
27894 2012-05-14  Andreas Jaeger  <aj@suse.de>
27896         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27897         variable.
27899 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27901         [BZ #13717]
27902         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27903         to 2.2.0 where earlier.
27904         * sysdeps/unix/sysv/linux/configure: Regenerated.
27905         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27906         Remove conditional code.
27907         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27908         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27909         Remove conditional code.
27910         [!__NR_lchown]: Likewise.
27911         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27912         [__NR_lchown]: Likewise.
27913         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27914         comment referencing __ASSUME_LCHOWN_SYSCALL.
27915         * sysdeps/unix/sysv/linux/i386/sigaction.c
27916         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27917         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27918         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27919         Remove conditional code.
27920         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
27921         (__protocol_available): Remove #if 0 code.
27922         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
27923         conditional code.
27924         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
27925         * sysdeps/unix/sysv/linux/kernel-features.h
27926         (__ASSUME_GETCWD_SYSCALL): Don't define.
27927         (__ASSUME_REALTIME_SIGNALS): Likewise.
27928         (__ASSUME_PREAD_SYSCALL): Likewise.
27929         (__ASSUME_PWRITE_SYSCALL): Likewise.
27930         (__ASSUME_POLL_SYSCALL): Likewise.
27931         (__ASSUME_LCHOWN_SYSCALL): Likewise.
27932         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
27933         non-SPARC.
27934         (__ASSUME_SIOCGIFNAME): Don't define.
27935         (__ASSUME_MSG_NOSIGNAL): Likewise.
27936         (__ASSUME_SENDFILE): Define unconditionally.
27937         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
27938         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
27939         conditional code.
27940         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
27941         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
27942         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27943         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27944         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
27945         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
27946         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
27948         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27949         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27951         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27952         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
27954         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27955         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27957         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27958         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
27960         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27961         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
27963         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
27964         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
27966         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27967         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
27969         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27970         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27971         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
27972         Remove conditional code.
27973         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27974         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27975         Remove conditional code.
27976         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27977         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
27978         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
27979         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27980         Remove conditional code.
27981         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27982         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
27983         Remove conditional code.
27984         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27985         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
27986         Remove conditional code.
27987         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27988         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
27989         Remove conditional code.
27990         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
27991         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
27992         Remove conditional code.
27993         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27994         * sysdeps/unix/sysv/linux/sh/pwrite64.c
27995         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
27996         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
27997         * sysdeps/unix/sysv/linux/sigaction.c
27998         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27999         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28000         * sysdeps/unix/sysv/linux/sigpending.c
28001         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28002         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28003         * sysdeps/unix/sysv/linux/sigprocmask.c
28004         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28005         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28006         * sysdeps/unix/sysv/linux/sigsuspend.c
28007         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28008         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28009         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28010         (__libc_missing_rt_sigs): Remove.
28011         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28012         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28013         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28014         Remove conditional code.
28015         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28016         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28017         return 1.
28018         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28019         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28020         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28021         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28023 2012-05-14  Andreas Jaeger  <aj@suse.de>
28025         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28026         it's not used in glibc.
28027         (__coshm1): Likewise.
28028         (__acosh1p): Likewise.
28029         (__sgn): Likewise.
28031         * manual/string.texi (Copying and Concatenation): Add missing
28032         variable in concat example.
28033         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28035 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28037         [BZ #14103]
28038         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28039         __builtin_clzl with __builtin_clzll.
28041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28043         [BZ #14104]
28044         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28045         libc_freeres_ptr.
28047 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28049         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28050         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28051         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28052         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28054 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
28056         * NEWS: Update ia64 info.
28058 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
28060         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28061         used as bcopy.
28063 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
28065         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28066         * sysdeps/unix/syscalls.list (dup3): Likewise.
28067         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28068         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28070 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28072         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28073         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28075 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28077         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28078         thread pointer.
28079         (TLS_IE): Use mov/add instead of movq/addq to load thread
28080         pointer.
28081         (TLS_GD_PREFIX): New.
28082         (TLS_GD): Use it.
28084 2012-05-11  David S. Miller  <davem@davemloft.net>
28086         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28087         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28088         (_FPU_SETCW): Likewise.
28090 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28092         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28093         is 32-byte aligned.
28095 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
28097         [BZ #11837]
28098         * iconvdata/gb18030.c: Update tables.
28099         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
28100         characters specially.
28101         (BODY for TO_LOOP): Add encoding of missing ranges.
28103 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
28105         [BZ #13673]
28106         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28107         * sysdeps/mach/hurd/dup3.c: Likewise.
28108         * sysdeps/mach/hurd/readlinkat.c: Likewise.
28109         * sysdeps/powerpc/memmove.c:: Likewise.
28111 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28113         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28114         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28116 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28118         * elf/elf.h (R_X86_64_RELATIVE64): New.
28119         (R_X86_64_NUM): Updated.
28120         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28121         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
28122         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28123         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28124         tst-quad1pie tst-quad2pie
28125         (modules-names): Add tst-quadmod1 tst-quadmod2.
28126         ($(objpfx)tst-quad1): New dependency.
28127         ($(objpfx)tst-quad2): Likewise.
28128         ($(objpfx)tst-quad1pie): Likewise.
28129         ($(objpfx)tst-quad2pie): Likewise.
28130         * sysdeps/x86_64/tst-quad1.c: New file.
28131         * sysdeps/x86_64/tst-quad1pie.c: New file.
28132         * sysdeps/x86_64/tst-quad2.c: Likewise.
28133         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28134         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28135         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28136         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28137         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28139 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28141         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28142         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28143         * streams/stropts.h (t_scalar_t): Define type.
28145         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28146         (_PATH_PRESERVE): Set to "/var/lib".
28147         (_PATH_RWHODIR): Set to "/var/spool/rwho".
28149         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28150         instead of int.
28152         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28153         if __dir_mkfile succeeded.
28155         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28156         checking for _hurd_dtablesize.  Unlock it right after having
28157         finished _hurd_dtable allocation.
28159 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28161         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28162         * sysdeps/mach/hurd/configure: Regenerated.
28163         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28164         special-casing to...
28165         * sysdeps/gnu/configure.in: ... this new file.
28166         * sysdeps/unix/sysv/linux/configure: Regenerated.
28167         * sysdeps/gnu/configure: New generated file.
28169         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28170         for Linux: use nsec instead of usec, as well as:
28171         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28172         members of type struct timespec.
28173         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28174         New macros.
28175         (struct stat64): Likewise.
28176         (_STATBUF_ST_NSEC): New macro.
28177         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28179         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28180         __strtoul_internal rather than strtoul.
28182 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28184         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28185         and reject them.
28187 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28189         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28190         which preserves existing values.
28191         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28193 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28195         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28196         TIMEOUT values.  Return EINVAL for NFDS values either negative or
28197         greater than FD_SETSIZE.
28199 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28201         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28202         allocated, call __vm_protect to finish enabling the existing space, and
28203         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28204         allocate the remainder.
28206 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28208         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28209         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
28211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28213         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28214         sysdeps/mach/hurd/readlink.c.
28216         * posix/tst-sysconf.c (posix_options): Only use
28217         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28218         _POSIX_SYNCHRONIZED_IO when they are defined
28219         * sysdeps/mach/hurd/bits/posix_opt.h:
28220         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28221         (_XOPEN_REALTIME): Undefine macro.
28222         (_XOPEN_REALTIME_THREADS): Undefine macro.
28223         (_XOPEN_SHM): Undefine macro.
28224         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28225         macro to -1.
28226         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28227         macro to -1.
28228         (_POSIX_ASYNC_IO): Undefine macro.
28229         (_POSIX_PRIORITIZED_IO): Undefine macro.
28230         (_POSIX_SPIN_LOCKS): Define macro to -1.
28232         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28233         SA_NODEFER, SA_RESETHAND.
28234         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28235         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28236         F_DUPFD_CLOEXEC.
28238 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28240         * elf/Makefile (pldd-modules): Define unconditionally.
28242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28244         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28248         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28249         Return ENOENT when name is empty.
28250         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28252 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28254         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28256         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28258 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28260         Fix mlock in all cases except non-readable pages.
28261         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28262         instead of VM_PROT_ALL as parameter to __vm_wire function.
28264         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28265         (__mkdir): When path is `/', just fail with EEXIST.
28266         * sysdeps/mach/hurd/mkdirat.c: Likewise.
28268 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28270         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28271         <sys/uio.h> (for writev).
28272         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28273         and <sys/param.h> (for MIN).
28275 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28277         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28278         REQUESTED_TIME.  Properly set the remaining time and return EINTR
28279         if interrupted.
28281 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28283         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28284         Depend on against $(link-rpcuserlibs).
28286 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28288         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28289         (__libc_stack_end): Do not use attribute_relro.
28290         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28291         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28292         to libthread-provided value.
28293         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28294         attribute_relro.
28296 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28298         [BZ #3748]
28299         * bits/libc-lock.h (__libc_once_get): New macro.
28300         * sysdeps/mach/bits/libc-lock.h: Likewise.
28301         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28302         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28303         instead of using implementation details.
28305         * libio/fileops.c: Unconditionally include <kernel-features.h>.
28306         * libio/freopen.c: Likewise.
28307         * libio/freopen64.c: Likewise.
28308         * misc/syslog.c: Likewise.
28309         * nscd/connections.c: Likewise.
28310         * nscd/netgroupcache.c: Likewise.
28311         * sysdeps/posix/getcwd.c: Likewise.
28313 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28315         * math/w_ilogbf.c: Add #include <limits.h>.
28317 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28319         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28320         path instead of returning without unlocking.
28322         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28323         immediate-write ioctls.
28324         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28326 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28328         * sysdeps/mach/hurd/i386/init-first.c (init): Use
28329         __builtin_frame_address instead of making assumptions about the
28330         location of the return address relative to DATA.  Force early load of
28331         the return address.
28332         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28333         __builtin_frame_address.
28335         dup3 for GNU Hurd.
28336         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28337         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
28338         implement dup3 and do some further code clean-ups.
28339         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28340         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28342 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28344         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28346         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28347         HURD_CRITICAL_END around holding _hurd_dtable_lock.
28348         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28349         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28350         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28351         d->port.lock.
28353         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28354         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
28355         when handler == SIG_ERR, not when handler != SIG_ERR.
28357 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28359         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28360         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28361         definitions.
28363         accept4 for GNU Hurd.
28364         * include/sys/socket.h (__libc_accept4): New prototype.
28365         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
28366         to implement __libc_accept4.
28367         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28368         __libc_accept4.
28369         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28371         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28372         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28373         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28374         signal-defines.sym.
28376 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28378         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28380 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28382         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28383         assertion on O_CLOEXEC flag.
28384         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28385         * hurd/intern-fd.c: Likewise.
28386         * hurd/port2fd.c: Likewise.
28388 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28390         [BZ #3906]
28391         * bits/in.h (IPV6_PKTINFO): Define new macro.
28392         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28394 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28396         [BZ #13954]
28397         [BZ #13955]
28398         [BZ #13956]
28399         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28400         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28401         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28402         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28403         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28404         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28405         * math/libm-test.inc (logb_test) : Additional logb tests.
28407 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
28408             Andreas Jaeger  <aj@suse.de>
28410         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28411         * configure: Regenerated.
28412         * config.h.in (LINK_OBSOLETE_RPC): New macro.
28413         * config.make.in (link-obsolete-rpc): New substituted variable.
28414         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28415         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28416         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28417         (shared-only-routines): Don't set it under [link-obsolete-rpc],
28418         so that libc.a contains the symbols.
28419         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28420         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28421         * sunrpc/auth_none.c: Likewise.
28422         * sunrpc/auth_unix.c: Likewise.
28423         * sunrpc/authdes_prot.c: Likewise.
28424         * sunrpc/authuxprot.c: Likewise.
28425         * sunrpc/clnt_gen.c: Likewise.
28426         * sunrpc/clnt_perr.c: Likewise.
28427         * sunrpc/clnt_raw.c: Likewise.
28428         * sunrpc/clnt_simp.c: Likewise.
28429         * sunrpc/clnt_tcp.c: Likewise.
28430         * sunrpc/clnt_udp.c: Likewise.
28431         * sunrpc/clnt_unix.c: Likewise.
28432         * sunrpc/des_crypt.c: Likewise.
28433         * sunrpc/des_soft.c: Likewise.
28434         * sunrpc/get_myaddr.c: Likewise.
28435         * sunrpc/key_call.c: Likewise.
28436         * sunrpc/key_prot.c: Likewise.
28437         * sunrpc/netname.c: Likewise.
28438         * sunrpc/pm_getmaps.c: Likewise.
28439         * sunrpc/pm_getport.c: Likewise.
28440         * sunrpc/pmap_clnt.c: Likewise.
28441         * sunrpc/pmap_prot.c: Likewise.
28442         * sunrpc/pmap_prot2.c: Likewise.
28443         * sunrpc/pmap_rmt.c: Likewise.
28444         * sunrpc/publickey.c: Likewise.
28445         * sunrpc/rpc_cmsg.c: Likewise.
28446         * sunrpc/rpc_common.c: Likewise.
28447         * sunrpc/rpc_dtable.c: Likewise.
28448         * sunrpc/rpc_prot.c: Likewise.
28449         * sunrpc/rpc_thread.c: Likewise.
28450         * sunrpc/rtime.c: Likewise.
28451         * sunrpc/svc.c: Likewise.
28452         * sunrpc/svc_auth.c: Likewise.
28453         * sunrpc/svc_raw.c: Likewise.
28454         * sunrpc/svc_run.c: Likewise.
28455         * sunrpc/svc_tcp.c: Likewise.
28456         * sunrpc/svc_udp.c: Likewise.
28457         * sunrpc/svc_unix.c: Likewise.
28458         * sunrpc/svcauth_des.c: Likewise.
28459         * sunrpc/xcrypt.c: Likewise.
28460         * sunrpc/xdr.c: Likewise.
28461         * sunrpc/xdr_array.c: Likewise.
28462         * sunrpc/xdr_float.c: Likewise.
28463         * sunrpc/xdr_intXX_t.c: Likewise.
28464         * sunrpc/xdr_mem.c: Likewise.
28465         * sunrpc/xdr_rec.c: Likewise.
28466         * sunrpc/xdr_ref.c: Likewise.
28467         * sunrpc/xdr_sizeof.c: Likewise.
28468         * sunrpc/xdr_stdio.c: Likewise.
28470 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28472         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28473         change.  Update copyright years.
28475 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28477         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28479 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
28480             Joseph Myers  <joseph@codesourcery.com>
28481             Paul Pluzhnikov  <ppluzhnikov@google.com>
28483         [BZ #14012]
28484         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28485         requiring rpcgen.
28486         [cross-compiling] (extra-libs): Likewise.
28487         [cross-compiling] (extra-libs-others): Likewise.
28488         [cross-compiling] (librpcsvc-routines): Likewise.
28489         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28490         [cross-compiling] (omit-deps): Likewise.
28491         (sunrpc-CPPFLAGS): New variable.
28492         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28493         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28494         (cross-rpcgen-objs): New variable.
28495         (extra-objs): Append $(cross-rpcgen-objs).
28496         ($(cross-rpcgen-objs)): New rule.
28497         ($(objpfx)cross-rpcgen): Likewise.
28498         (rpcgen-cmd): Define to use $(built-program-file).  Expand
28499         comment.
28500         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28501         ($(objpfx)x%.stmp): Likewise.
28502         * sunrpc/proto.h [IS_IN_build] (_): Define.
28503         [IS_IN_build] (_libc_intl_domainname): Likewise.
28505 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28507         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28508         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28509         and R_X86_64_TPOFF64.
28511 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28513         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28514         sysdeps/unix/sysv/syscalls.list.
28515         (stime): Likewise.
28516         (utime): Likewise.
28517         * sysdeps/unix/sysv/syscalls.list: Remove file.
28519 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
28521         [BZ #3440]
28522         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28523         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28524         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28525         (__LC_IDENTIFICATION): Make these macros useful in #if
28526         expressions, as required by C99.
28528 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
28530         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28531         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
28532         after this.
28534 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
28536         * stdlib/longlong.h: Updated from GCC.
28538 2012-05-09  Andreas Jaeger  <aj@suse.de>
28540         * nscd/nscd.c (run_modes): Make named enum, reorder so that
28541         default is first entry.
28542         (run_mode): Set type.
28543         (main): Remove informal message about syslog.
28544         (options): Fix typo.
28546         [BZ #14053]
28547         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28548         to asm.
28549         (lrint): Likewise.
28550         (llrintf): Likewise.
28551         (llrint): Likewise.
28552         (rint): Likewise.
28553         (rintf): Likewise.
28554         (nearbyint): Likewise.
28555         (nearbyintf): Likewise.
28557 2012-05-09  Andreas Jaeger  <aj@suse.de>
28558             Pedro Alves  <palves@redhat.com>
28560         * nscd/nscd.c (run_mode): Use enum.
28561         (main): Cleanup coding style issue.
28563 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
28564             Andreas Jaeger  <aj@suse.de>
28566         * nscd/nscd.c (go_background): Replaced with...
28567         (run_mode): ... this.
28568         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28569         (options): Add -F --foreground.
28570         (main): Implement it.
28571         (parse_opt): Parse it.
28573 2012-05-09  Andreas Jaeger  <aj@suse.de>
28575         [BZ #14083]
28576         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28577         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28578         -Wconversion warning.
28579         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28580         Likewise.
28582 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
28584         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
28585         == 0.
28586         (LC_ALL): Use macro-int-constant.
28587         (LC_COLLATE): Likewise.
28588         (LC_CTYPE): Likewise.
28589         (LC_MESSAGES): Likewise.
28590         (LC_MONETARY): Likewise.
28591         (LC_NUMERIC): Likewise.
28592         (LC_TIME): Likewise.
28593         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28594         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28595         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28596         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28597         Specify type.
28598         [C99-based standards] (float_t): Expect type.
28599         [C99-based standards] (double_t): Expect type.
28600         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
28601         type.
28602         [C99-based standards] (HUGE_VALL): Likewise.
28603         [C99-based standards] (INFINITY): Likewise.
28604         [C99-based standards] (NAN): Likewise.
28605         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28606         [C99-based standards] (FP_NAN): Likewise.
28607         [C99-based standards] (FP_NORMAL): Likewise.
28608         [C99-based standards] (FP_SUBNORMAL): Likewise.
28609         [C99-based standards] (FP_ZERO): Likewise.
28610         [C99-based standards] (FP_FAST_FMA): Use
28611         optional-macro-int-constant.  Specify type.  Require == 1.
28612         [C99-based standards] (FP_FAST_FMAF): Likewise.
28613         [C99-based standards] (FP_FAST_FMAL): Likewise.
28614         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28615         [C99-based standards] (FP_ILOGBNAN): Likewise.
28616         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28617         Specify type.
28618         [C99-based standards] (MATH_ERREXCEPT): Likewise.
28619         [C99-based standards] (math_errhandling): Specify type.
28620         [ISO99 || ISO11] (signgam): Do not allow.
28621         [non-C99-based standards] (copysignf): Do not allow.
28622         [non-C99-based standards] (exp2f): Likewise.
28623         [non-C99-based standards] (log2f): Likewise.
28624         [non-C99-based standards] (modff): Allow.
28625         [non-C99-based standards] (erff): Do not allow.
28626         [non-C99-based standards] (erfcf): Likewise.
28627         [non-C99-based standards] (gammaf): Likewise.
28628         [non-C99-based standards] (hypotf): Likewise.
28629         [non-C99-based standards] (j0f): Likewise.
28630         [non-C99-based standards] (j1f): Likewise.
28631         [non-C99-based standards] (jnf): Likewise.
28632         [non-C99-based standards] (lgammaf): Likewise.
28633         [non-C99-based standards] (tgammaf): Likewise.
28634         [non-C99-based standards] (y0f): Likewise.
28635         [non-C99-based standards] (y1f): Likewise.
28636         [non-C99-based standards] (ynf): Likewise.
28637         [non-C99-based standards] (isnanf): Likewise.
28638         [non-C99-based standards] (acoshf): Likewise.
28639         [non-C99-based standards] (asinhf): Likewise.
28640         [non-C99-based standards] (atanhf): Likewise.
28641         [non-C99-based standards] (cbrtf): Likewise.
28642         [non-C99-based standards] (expm1f): Likewise.
28643         [non-C99-based standards] (ilogbf): Likewise.
28644         [non-C99-based standards] (log1pf): Likewise.
28645         [non-C99-based standards] (logbf): Likewise.
28646         [non-C99-based standards] (nextafterf): Likewise.
28647         [non-C99-based standards] (remainderf): Likewise.
28648         [non-C99-based standards] (rintf): Likewise.
28649         [non-C99-based standards] (scalbf): Likewise.
28650         [non-C99-based standards] (copysignl): Likewise.
28651         [non-C99-based standards] (exp2l): Likewise.
28652         [non-C99-based standards] (log2l): Likewise.
28653         [non-C99-based standards] (modfl): Allow.
28654         [non-C99-based standards] (erfl): Do not allow.
28655         [non-C99-based standards] (erfcl): Likewise.
28656         [non-C99-based standards] (gammal): Likewise.
28657         [non-C99-based standards] (hypotl): Likewise.
28658         [non-C99-based standards] (j0l): Likewise.
28659         [non-C99-based standards] (j1l): Likewise.
28660         [non-C99-based standards] (jnl): Likewise.
28661         [non-C99-based standards] (lgammal): Likewise.
28662         [non-C99-based standards] (tgammal): Likewise.
28663         [non-C99-based standards] (y0l): Likewise.
28664         [non-C99-based standards] (y1l): Likewise.
28665         [non-C99-based standards] (ynl): Likewise.
28666         [non-C99-based standards] (isnanl): Likewise.
28667         [non-C99-based standards] (acoshl): Likewise.
28668         [non-C99-based standards] (asinhl): Likewise.
28669         [non-C99-based standards] (atanhl): Likewise.
28670         [non-C99-based standards] (cbrtl): Likewise.
28671         [non-C99-based standards] (expm1l): Likewise.
28672         [non-C99-based standards] (ilogbl): Likewise.
28673         [non-C99-based standards] (log1pl): Likewise.
28674         [non-C99-based standards] (logbl): Likewise.
28675         [non-C99-based standards] (nextafterl): Likewise.
28676         [non-C99-based standards] (remainderl): Likewise.
28677         [non-C99-based standards] (rintl): Likewise.
28678         [non-C99-based standards] (scalbl): Likewise.
28679         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28680         [non-C99-based standards] (FP_*): Do not allow.
28681         [C99-based standards] (FP_*): Change to
28682         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28683         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28684         allow.
28685         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28686         (SIG_ERR): Likewise.
28687         [X/Open-based standards] (SIG_HOLD): Likewise.
28688         (SIG_IGN): Likewise.
28689         (SIGABRT): Use macro-int-constant.  Specify type.  Require
28690         positive value.
28691         (SIGFPE): Likewise.
28692         (SIGILL): Likewise.
28693         (SIGINT): Likewise.
28694         (SIGSEGV): Likewise.
28695         (SIGTER): Likewise.
28696         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28697         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28698         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28699         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28700         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28701         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28702         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28703         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28704         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28705         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28706         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28707         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28708         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28709         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28710         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28711         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28712         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28713         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28714         [X/Open-based standards] (SIGTRAP): Likewise.
28715         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28716         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28717         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28718         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28719         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28720         allow.
28722 2012-05-08  Ian Wienand  <ianw@vmware.com>
28724         [BZ #14080]
28725         * time/tzset.c (__tzset_parse_tz): Update default rules for
28726         daylight time changes in the Energy Policy Act of 2005.
28728 2012-05-09  Andreas Jaeger  <aj@suse.de>
28730         [BZ #13983]
28731         * elf/ldconfig.c (parse_conf): Change string to make clear that
28732         ldconfig only issued a warning if ld.so.conf does not exist.
28734 2012-05-08  David S. Miller  <davem@davemloft.net>
28736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28737         movxtod instead of popping the value on the stack.
28739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28741 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
28743         * config.h.in: Add HAVE_ARM_PCS_VFP.
28745 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
28747         [BZ #13979]
28748         * include/features.h: Warn if user requests __FORTIFY_SOURCE
28749         checking but the checks are disabled for any reason.
28751 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
28753         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28754         and ELF64_R_TYPE with ELFW(R_TYPE).
28756 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
28758         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28759         (ulimit): Likewise.
28761         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28762         (settimeofday): Likewise.
28764 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
28766         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
28767         a struct th_u2 inside the union, and move tu_block/tu_code into
28768         a new th_u3 union of tu_block/tu_code inside of that.  Move
28769         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
28770         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
28771         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28772         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28773         (th_stuff): Change to th_u1.tu_stuff.
28774         (th_data): Define.
28775         (th_msg): Change to th_u1.th_u2.tu_data.
28777 2012-05-07  David S. Miller  <davem@davemloft.net>
28779         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28781         [BZ #14074]
28782         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28783         (SETUP_PIC_REG): Use it.
28784         (SETUP_PIC_REG_LEAF): Use it.
28786 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
28788         [BZ #13885]
28789         [BZ #13923]
28790         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28791         USE_AS_EXPM1L.
28792         (EXPL_FINITE): Likewise.
28793         (FLDLOG): Likewise.
28794         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28795         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28796         e_expl.S.
28797         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28798         USE_AS_EXPM1L.
28799         (EXPL_FINITE): Likewise.
28800         (FLDLOG): Likewise.
28801         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28802         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28803         e_expl.S.
28804         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
28805         test of -max_value argument for long double.
28806         * sysdeps/i386/fpu/libm-test-ulps: Update.
28807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28809 2012-05-06  David S. Miller  <davem@davemloft.net>
28811         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28812         quad soft-float symbols whose references which are compiler
28813         generated.
28814         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28816 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
28818         [BZ #13884]
28819         [BZ #13914]
28820         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28821         USE_AS_EXP10L.
28822         (EXPL_FINITE): Likewise.
28823         (FLDLOG): Likewise.
28824         (c0): Likewise.
28825         (c1): Likewise.
28826         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28827         Adjust comments for base varying.
28828         (__expl_finite): Change alias to EXPL_FINITE.
28829         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28830         e_expl.S.
28831         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28832         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28833         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28834         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28835         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28836         USE_AS_EXP10L.
28837         (EXPL_FINITE): Likewise.
28838         (FLDLOG): Likewise.
28839         (c0): Likewise.
28840         (c1): Likewise.
28841         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28842         Adjust comments for base varying.
28843         (__expl_finite): Change alias to EXPL_FINITE.
28844         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
28845         tests for bugs.
28846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28848         [BZ #14064]
28849         * math/libm-test.inc (check_float_internal): Correct ulp
28850         calculation for subnormal expected results.
28852 2012-05-06  Andreas Jaeger  <aj@suse.de>
28854         * Makeconfig (+math-flags): New, set to -frounding-math.
28855         (+cflags): Add +math-flags so that all of glibc gets compiled with
28856         it.
28858         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28860 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
28862         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28863         Disable one test.
28865         [BZ #13787]
28866         [BZ #13922]
28867         [BZ #14036]
28868         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28869         (__ieee754_expl): Allow for and saturate large arguments.
28870         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28871         (u_threshold): Likewise.
28872         (__exp): Call __ieee754_exp before checking for overflow and
28873         underflow.
28874         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28875         (u_threshold): Likewise.
28876         (__expf): Call __ieee754_expf before checking for overflow and
28877         underflow.
28878         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28879         (u_threshold): Likewise.
28880         (__expl): Call __ieee754_expl before checking for overflow and
28881         underflow.
28882         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28883         (__ieee754_expl): Allow for and saturate large arguments.
28884         * math/libm-test.inc (exp_test): Add another test.  Do not allow
28885         missing overflow exception on overflow.
28886         (expm1_test): Do not allow missing overflow exception on overflow.
28888         * sysdeps/i386/fpu/e_expl.c: Move to ...
28889         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
28890         rather than using inline asm.
28891         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28892         * sysdeps/x86_64/fpu/e_expl.S: Copy from
28893         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28895         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28896         (nice): Likewise.
28897         (poll): Likewise.
28898         (signal): Likewise.
28899         (time): Likewise.
28900         (times): Likewise.
28902 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28904         * sysdeps/unix/syscalls.list (adjtime): Add entry from
28905         sysdeps/unix/common/syscalls.list.
28906         (fchmod): Likewise.
28907         (fchown): Likewise.
28908         (ftruncate): Likewise.
28909         (getrusage): Likewise.
28910         (gettimeofday): Likewise.
28911         (setpgid): Likewise.
28912         (setregid): Likewise.
28913         (setreuid): Likewise.
28914         (sigaction): Likewise.
28915         (truncate): Likewise.
28916         (vhangup): Likewise.
28917         * sysdeps/unix/common/syscalls.list: Remove file.
28918         * sysdeps/unix/bsd/Implies: Don't include unix/common.
28919         * sysdeps/unix/sysv/linux/Implies: Likewise.
28921 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
28923         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
28924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
28925         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
28926         Moved to ...
28927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28928         Here.
28929         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
28930         to ...
28931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
28932         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
28933         to ...
28934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
28935         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
28936         to ...
28937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
28938         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
28939         to ...
28940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
28941         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
28942         to ...
28943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
28944         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
28945         to ...
28946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
28947         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
28948         to ...
28949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28950         Here.
28951         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
28952         to ...
28953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
28954         Here.
28955         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
28956         to ...
28957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
28958         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
28959         Moved to ...
28960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
28961         Here.
28962         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
28963         to ...
28964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
28966 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28968         * sysdeps/unix/common/bits/dirent.h: Remove file.
28969         * sysdeps/unix/common/bits/fcntl.h: Likewise.
28971         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
28972         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
28973         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
28974         * sysdeps/unix/bsd/isatty.c: Likewise.
28975         * sysdeps/unix/bsd/tcdrain.c: Likewise.
28976         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
28977         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
28979 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28981         [BZ #13563]
28982         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
28983         long double comparison inaccuracies.
28984         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28987 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
28989         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
28990         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
28992 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28994         [BZ #14049]
28995         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
28996         nonzero digits before rounding a hex value.
28997         * stdlib/tst-strtod.c (tests): Add another test.
28999 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29001         * sysdeps/s390/fpu/libm-test-ulps: Update.
29003 2012-05-03  Andreas Jaeger  <aj@suse.de>
29005         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29006         does not get optimized out.
29007         (malloc_opt_barrier): New.
29009 2012-05-03  Andreas Jaeger  <aj@suse.de>
29010             Roland McGrath  <roland@hack.frob.com>
29012         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29013         intermediate file deletion.
29014         (generated): Add .symlist files.
29016 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
29018         [BZ #13775]
29019         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29020         Redirect under this condition.
29021         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29022         [__USE_GNU] (__dprintf_chk): Not under this condition.
29023         [__USE_GNU] (__vdprintf_chk): Likewise.
29024         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29025         under this condition.
29026         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29027         [__USE_XOPEN2K8] (dprintf): Define under this condition.
29028         [__USE_XOPEN2K8] (vdprintf): Likewise.
29029         [__USE_GNU] (__dprintf_chk): Not under this condition.
29030         [__USE_GNU] (__vdprintf_chk): Likewise.
29031         [__USE_GNU] (dprintf): Likewise.
29032         [__USE_GNU] (vdprintf): Likewise.
29034 2012-05-03  Roland McGrath  <roland@hack.frob.com>
29036         * elf/Makefile (common-generated): Set this instead of generated for
29037         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
29038         $(all-built-dso)-derived lists.
29040 2012-05-03  Andreas Jaeger  <aj@suse.de>
29042         * sysdeps/i386/fpu/libm-test-ulps: Update.
29044         * FAQ: Removed.
29045         * FAQ.in: Likewise.
29046         * scripts/gen-FAQ.pl: Likewise.
29047         * manual/install.texi (Installation): Point to online location of
29048         FAQ.
29049         * Makefile (files-for-dist): Remove FAQ.
29050         (FAQ): Remove.
29052 2012-05-02  Allan McRae  <allan@archlinux.org>
29054         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29055         (LDFLAGS-reldepmod5.so): Likewise.
29056         (LDFLAGS-reldep6mod1.so): Likewise.
29057         (LDFLAGS-reldep6mod4.so): Likewise.
29058         (LDFLAGS-reldep8mod3.so): Likewise.
29059         (LDFLAGS-unload4mod1.so): Likewise.
29060         (LDFLAGS-unload4mod2.so): Likewise.
29061         (LDFLAGS-tst-initorder): Likewise.
29062         (LDFLAGS-tst-initordera2.so): Likewise.
29063         (LDFLAGS-tst-initordera3.so): Likewise.
29064         (LDFLAGS-tst-initordera4.so): Likewise.
29065         (LDFLAGS-tst-initorderb2.so): Likewise.
29066         (LDFLAGS-noload): Likewise.
29067         (LDFLAGS-next): Likewise.
29068         (LDFLAGS-order2mod1.so): Likewise.
29069         (LDFLAGS-order2mod2.so): Likewise.
29070         (LDFLAGS-tst-initorder2): Likewise.
29071         (LDFLAGS-tst-initorder2a.so): Likewise.
29072         (LDFLAGS-tst-initorder2b.so): Likewise.
29073         (LDFLAGS-tst-initorder2c.so): Likewise.
29074         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29076 2012-05-02  David S. Miller  <davem@davemloft.net>
29078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29080 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29082         [BZ #14055]
29083         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29085 2012-05-02  Andreas Jaeger  <aj@suse.de>
29087         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29088         since we manipulate rounding mode.
29089         (CPPFLAGS-test-idouble.c): Likewise.
29090         (CPPFLAGS-test-ifloat.c): Likewise.
29091         (CFLAGS-test-ldouble.c): Likewise.
29092         (CFLAGS-test-double.c): Likewise.
29093         (CFLAGS-test-float.c): Likewise.
29094         (CFLAGS-test-misc.c): Likewise.
29095         (CFLAGS-test-test-fenv.c): Likewise.
29097 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29099         [BZ #2550]
29100         [BZ #2570]
29101         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29102         comparisons to determine direction to adjust input.
29104 2012-05-01  Roland McGrath  <roland@hack.frob.com>
29106         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29107         output to the target.
29109         * scripts/localplt.awk: New file.
29110         * elf/Makefile ($(objpfx)check-localplt): Target removed.
29111         (check-localplt-CFLAGS): Variable removed.
29112         ($(all-built-dso:=.jmprel)): New static pattern rule.
29113         (generated): Add those targets.
29114         (localplt-built-dso): New variable.
29115         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29117         * elf/check-localplt.c: File removed.
29119         * scripts/check-execstack.awk: New file.
29120         * elf/Makefile ($(objpfx)check-execstack): Target removed.
29121         (check-execstack-CFLAGS): Variable removed.
29122         ($(objpfx)check-execstack.h): Target removed.
29123         ($(objpfx)execstack-default): New target.
29124         (generated): Add that instead of check-execstack.h.
29125         ($(all-built-dso:=.phdr)): New static pattern rule.
29126         (generated): Add those targets.
29127         * elf/check-execstack.c: File removed.
29129         * scripts/check-textrel.awk: New file.
29130         * elf/Makefile ($(objpfx)check-textrel): Target removed.
29131         (check-textrel-CFLAGS): Variable removed.
29132         (all-built-dso): Use := to define.o
29133         ($(all-built-dso:=.dyn)): New static pattern rule.
29134         (generated): Add those targets.
29135         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29136         * config.make.in (READELF): New substituted variable.
29137         * elf/check-textrel.c: File removed.
29139 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29141         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29142         allow.
29143         * conform/data/ctype.h-data [C99-based standards] (isblank):
29144         Expect function.
29145         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29146         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29147         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29148         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29149         Specify type.  Require positive value.
29150         (EILSEQ): Likewise.
29151         (ERANGE): Likewise.
29152         [ISO || POSIX] (EILSEQ): Do not expect.
29153         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29154         Specify type.  Require positive value.
29155         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29156         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29157         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29158         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29159         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29160         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29161         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29162         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29163         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29164         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29165         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29166         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29167         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29168         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29169         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29170         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29171         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29172         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29173         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29174         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29175         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29176         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29177         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29178         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29179         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29180         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29181         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29182         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29183         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29184         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29185         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29186         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29187         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29188         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29189         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29190         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29191         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29192         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29193         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29194         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29195         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29196         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29197         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29198         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29199         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29200         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29201         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29202         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29203         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29204         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29205         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29206         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29207         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29208         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29209         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29210         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29211         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29212         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29213         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29214         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29215         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29216         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29217         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29218         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29219         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29220         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29221         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29222         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29223         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29224         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29225         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29226         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29227         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29228         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29229         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29230         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29231         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29232         Require >= 2.
29233         (FLT_ROUNDS): Expect as macro, not constant.
29234         (FLT_MANT_DIG): Use macro-int-constant.
29235         (DBL_MANT_DIG): Likewise.
29236         (LDBL_MANT_DIG): Likewise.
29237         (FLT_DIG): Likewise.
29238         (DBL_DIG): Likewise.
29239         (LDBL_DIG): Likewise.
29240         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
29241         (DBL_MIN_EXP): Likewise.
29242         (LDBL_MIN_EXP): Likewise.
29243         (FLT_MAX_EXP): Use macro-int-constant.
29244         (DBL_MAX_EXP): Likewise.
29245         (LDBL_MAX_EXP): Likewise.
29246         (FLT_MAX_10_EXP): Likewise.
29247         (DBL_MAX_10_EXP): Likewise.
29248         (LDBL_MAX_10_EXP): Likewise.
29249         (FLT_MAX): Use macro-constant.
29250         (DBL_MAX): Likewise.
29251         (LDBL_MAX): Likewise.
29252         (FLT_EPSILON): Use macro-constant.  Give upper bound.
29253         (DBL_EPSILON): Likewise.
29254         (LDBL_EPSILON): Likewise.
29255         (FLT_MIN): Likewise.
29256         (DBL_MIN): Likewise.
29257         (LDBL_MIN): Likewise.
29258         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29259         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29260         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29261         [ISO11] (FLT_HAS_SUBNORM): Likewise.
29262         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29263         [ISO11] (DBL_DECIMAL_DIG): Likewise.
29264         [ISO11] (FLT_DECIMAL_DIG): Likewise.
29265         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29266         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29267         [ISO11] (FLT_TRUE_MIN): Likewise.
29268         [ISO11] (LDBL_TRUE_MIN): Likewise.
29269         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29270         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29271         (SCHAR_MIN): Use macro-int-constant.  Specify type.
29272         (SCHAR_MAX): Likewise.
29273         (UCHAR_MAX): Likewise.
29274         (CHAR_MIN): Likewise.
29275         (CHAR_MAX): Likewise.
29276         (MB_LEN_MAX): Use macro-int-constant.
29277         (SHRT_MIN): Use macro-int-constant.  Specify type.
29278         (SHRT_MAX): Likewise.
29279         (USHRT_MAX): Likewise.
29280         (INT_MAX): Likewise.
29281         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
29282         bound negative.
29283         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29284         bound with "U".
29285         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29286         bound with "L".
29287         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
29288         bound negative.  Suffix upper bound with "L".
29289         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29290         bound with "UL".
29291         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29292         Specify type.
29293         [C99-based standards] (LLONG_MAX): Likewise.
29294         [C99-based standards] (ULLONG_MAX): Likewise.
29295         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
29296         == 0.
29297         [ISO11] (max_align_t): Require type.
29298         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29300         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29301         from $CFLAGS, without defining away __attribute__ calls.
29302         (checknamespace): Use $CFLAGS_namespace.
29304         * conform/conformtest.pl (@keywords): Only include C99 keywords
29305         for standards based on C99 or C11.
29307         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29308         Disable tests.
29309         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29310         UNIX98]: Likewise.
29312         * conform/conformtest.pl: Handle "macro-int-constant" and test for
29313         usability of symbols in #if.
29315         * conform/conformtest.pl: If macro or constant types start
29316         "promoted:", expect the symbol to be of the following type
29317         promoted by the integer promotions.
29319         * conform/conformtest.pl: Parse all "constant" and "macro" lines
29320         in one place.  Also handle "macro-constant".
29322         * conform/conformtest.pl: Only accept expected macro values with
29323         "==".  Parse all "macro" lines in one place.
29324         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29326         * conform/conformtest.pl: Handle braced types on "constant" lines
29327         instead of handling "typed-constant".
29328         * conform/data/signal.h-data: Use "constant" instead of
29329         "typed-constant".
29331         * conform/conformtest.pl: Handle "optional-" at start of lines in
29332         one place rather than duplicating several cases.  Handle each
29333         format of "macro" line with initial "optional-".
29335         * conform/conformtest.pl: Only accept expected constant or
29336         optional-constant values with "==".  Parse all "constant" lines in
29337         one place.  Parse all "optional-constant" lines in one place.
29338         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29339         * conform/data/fmtmsg.h-data: Likewise.
29340         * conform/data/netinet/in.h-data: Likewise.
29341         * conform/data/tar.h-data: Likewise.
29342         * conform/data/limits.h-data: Use "==" form on "constant" and
29343         "optional-constant" lines.
29345         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29346         Use -std=c99 for XOPEN2K.
29347         (@knownproblems): Remove.
29348         (newtoken): Don't check %isknown.
29350         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29351         Do not expect macro.
29352         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29353         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29354         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29355         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29356         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29357         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29358         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29359         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29360         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29361         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29362         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29363         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29364         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29365         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29366         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29367         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29368         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29369         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29370         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29371         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29372         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29373         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29374         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29375         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29376         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29377         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29378         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29379         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29380         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29381         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29382         [XPG3] (acosh): Likewise.
29383         [XPG3] (asinh): Likewise.
29384         [XPG3] (atanh): Likewise.
29385         [XPG3] (cbrt): Likewise.
29386         [XPG3] (expm1): Likewise.
29387         [XPG3] (ilogb): Likewise.
29388         [XPG3] (log1p): Likewise.
29389         [XPG3] (logb): Likewise.
29390         [XPG3] (nextafter): Likewise.
29391         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29392         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29393         [XPG3] (remainder): Likewise.
29394         [XPG3] (rint): Likewise.
29395         [XPG3 || XPG4 || UNIX98] (round): Likewise.
29396         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29397         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29398         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29399         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29400         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29401         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29402         [UNIX98 || XOPEN2K] (scalb): Expect.
29403         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29404         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29405         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29406         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29407         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29408         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29409         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29410         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29411         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29412         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29413         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29414         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29415         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29416         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29417         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29418         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29419         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29420         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29421         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29422         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29423         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29424         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29425         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29426         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29427         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29428         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29429         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29430         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29431         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29432         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29433         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29434         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29435         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29436         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29437         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29438         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29439         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29440         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29441         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29442         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29443         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29444         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29445         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29446         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29447         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29448         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29449         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29450         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29451         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29452         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29453         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29454         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29455         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29456         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29457         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29458         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29459         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29460         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29461         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29462         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29463         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29464         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29465         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29466         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29467         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29468         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29469         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29470         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29471         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29472         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29473         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29474         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29475         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29476         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29477         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29478         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29479         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29480         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29481         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29482         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29483         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29484         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29485         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29486         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29487         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29488         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29489         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29490         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29491         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29492         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29493         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29494         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29495         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29496         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29497         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29498         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29499         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29500         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29501         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29502         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29503         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29504         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29505         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29506         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29507         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29508         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29509         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29510         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29511         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29512         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29513         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29514         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29515         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29516         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29517         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29518         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29519         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29520         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29521         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29522         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29523         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29524         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29525         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29526         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29527         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29528         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29529         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29530         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29531         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29532         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29533         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29534         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29535         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29536         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29537         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29538         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29539         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29541         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29542         _XOPEN_SOURCE_EXTENDED for XPG4.
29544         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29546         * Makeconfig (localtime): Remove variable.
29547         (inst_localtime-file): Likewise.
29549 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29552         Update.
29553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29554         Update.
29555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29556         Update.
29557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29558         Update.
29559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29560         Update.
29561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29562         Update.
29563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29564         Update.
29565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29566         Update.
29567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29568         Update.
29570 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29572         [BZ #2550]
29573         [BZ #2570]
29574         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29575         comparisons to determine direction to adjust input.
29576         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29577         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29578         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29579         Likewise.
29580         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29581         Likewise.
29582         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29583         Likewise.
29584         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29585         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29586         Likewise.
29587         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29588         Likewise.
29589         * math/libm-test.inc (nexttoward_test): Add more tests.
29591 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29593         [BZ #14040]
29594         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29595         in version GLIBC_2.1, not GLIBC_2.0.
29596         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29597         Likewise.
29599 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
29601         [BZ #13942]
29602         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29603         (1 - x) * (1 + x).
29604         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29605         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29606         * math/libm-test.inc (acos_test): Add more tests.
29607         (asin_test): Likewise.
29608         * sysdeps/i386/fpu/libm-test-ulps: Update.
29609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29611         [BZ #14034]
29612         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29613         of square root.
29614         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29615         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29616         * math/libm-test.inc (acos_test_tonearest): New function.
29617         (acos_test_towardzero): Likewise.
29618         (acos_test_downward): Likewise.
29619         (acos_test_upward): Likewise.
29620         (asin_test_tonearest): Likewise.
29621         (asin_test_towardzero): Likewise.
29622         (asin_test_downward): Likewise.
29623         (asin_test_upward): Likewise.
29624         (main): Call the new functions.
29625         * sysdeps/i386/fpu/libm-test-ulps: Update.
29626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29628         [BZ #13884]
29629         [BZ #13924]
29630         * math/e_exp10.c: Include <float.h>.
29631         (__ieee754_exp10): Handle underflow here rather than multiplying
29632         large negative argument by M_LN10.
29633         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29634         of __ieee754_expf.
29635         * math/e_exp10l.c: Include <float.h>.
29636         (__ieee754_exp10l): Handle underflow here rather than multiplying
29637         large negative argument by M_LN10l.
29638         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
29639         spurious overflow exception on underflow.
29641 2012-04-29  Marek Polacek  <polacek@redhat.com>
29643         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29644         (__fortify_function): New macro.
29645         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29646         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29647         __extern_always_inline.
29648         * libio/bits/stdio2.h: Likewise.
29649         * libio/bits/stdio.h: Likewise.
29650         * string/string.h: Likewise.
29651         * string/bits/string3.h: Likewise.
29652         * include/stdio.h: Likewise.
29653         * stdlib/bits/stdlib.h: Likewise.
29654         * stdlib/stdlib.h: Likewise.
29655         * rt/bits/mqueue2.h: Likewise.
29656         * rt/mqueue.h: Likewise.
29657         * posix/bits/unistd.h: Likewise.
29658         * posix/unistd.h: Likewise.
29659         * io/bits/poll2.h: Likewise.
29660         * io/bits/fcntl2.h: Likewise.
29661         * io/fcntl.h: Likewise.
29662         * io/sys/poll.h: Likewise.
29663         * misc/bits/syslog.h: Likewise.
29664         * misc/bits/syslog-ldbl.h: Likewise.
29665         * misc/sys/syslog.h: Likewise.
29666         * socket/bits/socket2.h: Likewise.
29667         * socket/sys/socket.h: Likewise.
29668         * debug/tst-chk1.c: Likewise.
29669         * wcsmbs/bits/wchar2.h: Likewise.
29670         * wcsmbs/bits/wchar-ldbl.h: Likewise.
29671         * wcsmbs/wchar.h: Likewise.
29673 2012-04-29  Andreas Jaeger  <aj@suse.de>
29675         * Makerules (tests): Remove enable-check-abi protection.
29676         (check-abi-warn): Remove.
29677         (check-abi-%): Remove check-abi-warn usage.
29679         * configure.in: Remove check-abi configure option.
29680         * configure: Regenerated.
29681         * config.make.in (enable-check-abi): Remove.
29683 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
29685         [BZ #14033]
29686         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29687         double functions to double *_finite functions.
29689         [BZ #13941]
29690         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29691         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29692         LDBL_MIN_EXP.
29693         * stdio-common/Makefile (tests): Add tst-sprintf3.
29694         * stdio-common/tst-sprintf3.c: New file.
29696         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29697         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29699 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29701         * conform/conformtest.pl: Remove duplicate typed-constant
29702         handling.
29704 2012-04-28  David S. Miller  <davem@davemloft.net>
29706         * Makerules (%.abilist): Add vpath on sysdep_dirs.
29707         (check-abi-%): Remove AWK script prerequisite and explicit
29708         abilist directory.
29709         (check-abi): Rewrite to just diff the symlist with the abilist.
29710         (config-tls, config-abi-config): Delete, no longer used.
29711         (update-abi-%): Remove AWK script and explicit abilist directory.
29712         (update-abi): Rewrite to simply compare and conditionally copy the
29713         symlist and the sysdep abilist file.  Remove update-abi-config
29714         checks.
29715         * abilist/ld.abilist: Remove.
29716         * abilist/libBrokenLocale.abilist: Remove.
29717         * abilist/libanl.abilist: Remove.
29718         * abilist/libcrypt.abilist: Remove.
29719         * abilist/libdl.abilist: Remove.
29720         * abilist/librt.abilist: Remove.
29721         * abilist/libthread_db.abilist: Remove.
29722         * abilist/libutil.abilist: Remove.
29723         * scripts/extract-abilist.awk: Remove.
29724         * scripts/merge-abilist.awk: Remove.
29725         * sysdeps/generic/libcidn.abilist: New file.
29726         * sysdeps/generic/libnss_compat.abilist: New file.
29727         * sysdeps/generic/libnss_db.abilist: New file.
29728         * sysdeps/generic/libnss_dns.abilist: New file.
29729         * sysdeps/generic/libnss_files.abilist: New file.
29730         * sysdeps/generic/libnss_hesiod.abilist: New file.
29731         * sysdeps/generic/libnss_nis.abilist: New file.
29732         * sysdeps/generic/libnss_nisplus.abilist: New file.
29733         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29734         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29735         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29736         file.
29737         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29738         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29739         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29740         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29741         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29742         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29743         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29744         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29745         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29746         file.
29747         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29748         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29749         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29750         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29751         file.
29752         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29753         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29754         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29755         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29756         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29757         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29758         file.
29759         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29760         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29761         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29762         file.
29763         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29764         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29765         New file.
29766         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29767         New file.
29768         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29769         New file.
29770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29771         New file.
29772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29773         New file.
29774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29775         New file.
29776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29777         New file.
29778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29779         New file.
29780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29781         New file.
29782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29783         New file.
29784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29785         New file.
29786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29787         New file.
29788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29789         New file.
29790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29791         file.
29792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29793         New file.
29794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29795         New file.
29796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29797         file.
29798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29799         New file.
29800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29801         New file.
29802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29803         file.
29804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29805         New file.
29806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29807         New file.
29808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29809         New file.
29810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29811         New file.
29812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29813         New file.
29814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29815         New file.
29816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29818         file.
29819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29820         New file.
29821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29822         file.
29823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29824         file.
29825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29826         file.
29827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29828         file.
29829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29830         file.
29831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29832         New file.
29833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29834         file.
29835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29836         file.
29837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29838         New file.
29839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29840         file.
29841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29843         file.
29844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29845         New file.
29846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29847         file.
29848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29849         file.
29850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29851         file.
29852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29853         file.
29854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29855         file.
29856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29857         New file.
29858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29859         file.
29860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29861         file.
29862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29863         New file.
29864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29865         file.
29866         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29867         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29868         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29869         file.
29870         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29871         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29872         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29873         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29874         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29875         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29876         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29877         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29878         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29879         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29882         file.
29883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29884         New file.
29885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29886         file.
29887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29888         file.
29889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29890         file.
29891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29892         file.
29893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29894         file.
29895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29896         New file.
29897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29898         New file.
29899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29900         file.
29901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29902         New file.
29903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29904         file.
29905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29907         file.
29908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29909         New file.
29910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29911         file.
29912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29913         file.
29914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29915         file.
29916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29917         file.
29918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29919         file.
29920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29921         New file.
29922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29923         New file.
29924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
29925         file.
29926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29927         New file.
29928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
29929         file.
29931 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29933         * conform/conformtest.pl: Fix typo in handling typed-constant from
29934         allow-header.
29936 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29938         * README: Cut down references to pre-2.6 Linux kernels and
29939         Linuxthreads.  Update lists of configurations in libc and ports
29940         and sort alphabetically.  Say "or newer" with Linux kernel version
29941         requirements.
29943         * config.h.in [IS_IN_build]: Allow compiling without optimization.
29945 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29947         [BZ #887]
29948         * math/libm-test.inc (logb_test_downward): New test to expose
29949         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
29950         rounding mode.
29952 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
29954         [BZ #14027]
29955         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
29956         to be done.
29957         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
29958         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
29960 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
29962         * sysdeps/unix/i386/brk.S: Remove file.
29963         * sysdeps/unix/i386/dl-brk.S: Likewise.
29964         * sysdeps/unix/i386/pipe.S: Likewise.
29965         * sysdeps/unix/i386/sigreturn.S: Likewise.
29966         * sysdeps/unix/i386/syscall.S: Likewise.
29967         * sysdeps/unix/i386/vfork.S: Likewise.
29968         * sysdeps/unix/i386/wait.S: Likewise.
29970         * sysdeps/unix/common/tcsendbrk.c: Move to ...
29971         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
29973         * configure.in (arm*-none*): Do not allow without
29974         --enable-hacker-mode.
29975         (netbsd*): Remove case setting base_os.
29976         (386bsd*): Likewise.
29977         (freebsd*): Likewise.
29978         (bsdi*): Likewise.
29979         (osf*): Likewise.
29980         (sunos*): Likewise.
29981         (ultrix*): Likewise.
29982         (newsos*): Likewise.
29983         (dynix*): Likewise.
29984         (*bsd*): Likewise.
29985         (sysv*): Likewise.
29986         (isc*): Likewise.
29987         (esix*): Likewise.
29988         (sco*): Likewise.
29989         (minix*): Likewise.
29990         (irix4*): Likewise.
29991         (irix6*): Likewise.
29992         (solaris[2-9]*): Likewise.
29993         (none): Likewise.
29994         * configure: Regenerated.
29996 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29998         [BZ #11521]
29999         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30000         overflow or cancellation in calculating denominator.
30001         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30002         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30003         down expression to avoid unexpected rounding in newer GCCs.
30004         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30006 2012-04-26  David S. Miller  <davem@davemloft.net>
30008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30009         long-double compat symbols.
30010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30024 2012-04-25  David S. Miller  <davem@davemloft.net>
30026         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30027         HWCAP_* values only after the memory barriers have been defined.
30028         (atomic_full_barrier): Define.
30029         (atomic_read_barrier): Define.
30030         (atomic_write_barrier): Define.
30032 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30034         * shlib-versions: Add libgcc_s version information.
30035         * sysdeps/generic/libgcc_s.h: Remove.
30036         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30037         libgcc_s.h.
30038         * sysdeps/gnu/unwind-resume.c: Likewise.
30039         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30041 2012-04-25  David S. Miller  <davem@davemloft.net>
30043         * sysdeps/unix/sparc/brk.S: Delete.
30044         * sysdeps/unix/sparc/dl-brk.S: Delete.
30045         * sysdeps/unix/sparc/pipe.S: Delete.
30046         * sysdeps/unix/sparc/sysdep.S: Delete.
30047         * sysdeps/unix/sparc/sysdep.h: Delete.
30048         * sysdeps/unix/sparc/vfork.S: Delete.
30049         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30050         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30051         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30052         ret_ERRVAL, r0, r1, MOVE): Define.
30053         (JUMPTARGET): Remove.
30054         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30055         sysdeps/unix/sparc/sysdep.h
30056         (ENTRY, END): Remove.
30057         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30059 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
30061         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30062         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30063         -DIS_IN_build.
30065         * timezone/README: Update upstream location and email address for
30066         tzcode and tzdata.
30067         * timezone/zdump.c: Update from tzcode 2012b.
30068         * timezone/zic.c: Likewise.
30070         * configure.in (libc_cv_as_needed): Remove test.
30071         * configure: Regenerated.
30072         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30073         conditional definition.
30074         [$(have-as-needed) != yes] (no-as-needed): Likewise.
30075         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30076         * config.make.in (have-as-needed): Remove variable.
30078 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30079             Paul Pluzhnikov  <ppluzhnikov@google.com>
30081         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30082         strings correctly.
30084 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
30086         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30087         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30088         * sysdeps/sh/strlen.S: Likewise.
30090 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30092         * sysdeps/unix/fork.S: Remove file.
30093         * sysdeps/unix/i386/fork.S: Likewise.
30094         * sysdeps/unix/sparc/fork.S: Likewise.
30096         * sysdeps/unix/system.c: Remove file.
30097         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30099         * sysdeps/unix/getegid.S: Remove file.
30100         * sysdeps/unix/geteuid.S: Likewise.
30102 2012-04-24  Roland McGrath  <roland@hack.frob.com>
30104         * scripts/check-localplt.awk: New file.
30105         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30106         of diff.
30107         * scripts/data/localplt-generic.data: Add a comment.
30109         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30110         NODE when __dir_mkfile failed.
30111         * sysdeps/mach/hurd/symlinkat.c: Likewise.
30112         Reported by Ludovic Courtès <ludo@gnu.org>.
30114 2012-04-24  Andreas Jaeger  <aj@suse.de>
30116         * Makerules (common-clean): Also remove gen-as-const-headers
30117         files.
30119 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30121         * Makerules (native-compile): Do not change working directory for
30122         build.  Use $(OUTPUT_OPTION) in command.
30123         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30125 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30127         [BZ #13886]
30128         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30129         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30130         * math/libm-test.inc (floor_test): Add more tests.
30131         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30133 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30135         * sysdeps/unix/getdents.c: Remove file.
30136         * sysdeps/unix/sysv/getdents.c: Likewise.
30137         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30139         * sysdeps/unix/syscalls.list (madvise): Add syscall from
30140         sysdeps/unix/mman/syscalls.list.
30141         (mmap): Likewise.
30142         (mprotect): Likewise.
30143         (msync): Likewise.
30144         (munmap): Likewise.
30145         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30146         * sysdeps/unix/mman/syscalls.list: Remove.
30147         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30149         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30150         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30151         * configure: Regenerated.
30152         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30153         $(libgcc_s_suffix).
30154         * config.make.in (libgcc_s_suffix): Remove variable.
30156 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
30158         * sysdeps/unix/sysv/gethostname.c: Move to ...
30159         * sysdeps/posix/gethostname.c: ... here.
30161         * sysdeps/unix/execve.S: Remove file.
30163         * sysdeps/unix/_exit.S: Remove file.
30165 2012-04-23  Andreas Jaeger  <aj@suse.de>
30167         [BZ #13739]
30168         * manual/Makefile: Remove make dist support, there's no
30169         need for a stand-alone documentation tar ball.
30170         (TEXI2DVI): Define always, it's not in Makeconfig.
30171         (dist): Removed.
30172         (tar-it): Removed.
30173         (edition): Removed.
30174         (glibc-doc-$(edition).tar): Removed
30175         (%.Z): Removed.
30176         (%.gz): Removed.
30177         (%.uu): Removed.
30178         (ETAGS): Remove, it's in Makeconfig.
30179         (move-if-change): Remove, it's in Makeconfig.
30181 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
30183         [BZ #13970]
30184         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30185         (strtod, strtof, strtold, strtol, strtoul, strtoq)
30186         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30187         (strtod_l, strtof_l, strtold_l): Remove __wur.
30188         It is not necessarily an error to ignore strtol's return value.
30189         One can reliably look at the stored endptr to decide whether
30190         the number had valid syntax.
30192 2012-04-21  Andreas Jaeger  <aj@suse.de>
30194         [BZ #13739]
30195         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30197 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
30199         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30200         * sysdeps/unix/sysv/Versions: Remove file.
30202 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
30204         [BZ #13927]
30205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30207 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
30209         [BZ #7064]
30210         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30211         version from __vm86.
30213 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
30215         * sysdeps/unix/common/lxstat.c: Remove file.
30216         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30218         * sysdeps/unix/sysv/Makefile: Remove file.
30220         * sysdeps/unix/sysv/direct.h: Remove file.
30222         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30223         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30224         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30225         * sysdeps/unix/sysv/bits/signum.h: Likewise.
30226         * sysdeps/unix/sysv/bits/stat.h: Likewise.
30227         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30228         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30230         * sysdeps/unix/sysv/setrlimit.c: Remove file.
30232         * sysdeps/unix/xmknod.c: Remove file.
30233         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30235         * sysdeps/unix/sysv/settimeofday.c: Remove file.
30237         * sysdeps/unix/sysv/i386/time.S: Remove file.
30239         * sysdeps/unix/fxstat.c: Remove file.
30240         * sysdeps/unix/xstat.c: Likewise.
30241         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30243         * sysdeps/unix/sysv/sigaction.c: Remove file.
30245         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30246         (sysdep_headers): Remove variable.
30247         [termio.h not in sysdep_headers] (generated): Likewise.
30248         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30249         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30250         * sysdeps/unix/sysv/tcdrain.c: Likewise.
30251         * sysdeps/unix/sysv/tcflow.c: Likewise.
30252         * sysdeps/unix/sysv/tcflush.c: Likewise.
30253         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30254         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30255         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30256         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30257         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30259         * sysdeps/unix/siglist.c: Remove file.
30261         * sysdeps/unix/getppid.S: Remove file.
30263         * sysdeps/unix/mkdir.c: Remove file.
30264         * sysdeps/unix/rmdir.c: Likewise.
30266 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
30268         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30269         ERR_MAX value.
30270         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30271         errlist-compat value.
30273 2012-04-18  David S. Miller  <davem@davemloft.net>
30275         * sysdeps/generic/memcopy.h (reg_char): Delete.
30276         * debug/strcat_chk.c: Use char, not reg_char.
30277         * debug/strcpy_chk.c: Likewise.
30278         * debug/strncat_chk.c: Likewise.
30279         * debug/strncpy_chk.c: Likewise.
30280         * string/memchr.c: Likewise.
30281         * string/memrchr.c: Likewise.
30282         * string/rawmemchr.c: Likewise.
30283         * string/strcat.c: Likewise.
30284         * string/strchr.c: Likewise.
30285         * string/strchrnul.c: Likewise.
30286         * string/strcmp.c: Likewise.
30287         * string/strcpy.c: Likewise.
30288         * string/strncat.c: Likewise.
30289         * string/strncmp.c: Likewise.
30290         * string/strncpy.c: Likewise.
30292 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30294         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30295         __builtin_memcopy is called when src and dest ranges are known to not
30296         overlap.
30298 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30300         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30301         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30302         fwd_align_merge macro call.
30303         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30304         bwd_align_merge macro call.
30305         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30307 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30309         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30310         bwd_align_merge macros.
30311         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30312         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30313         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30315 2012-04-18  David S. Miller  <davem@davemloft.net>
30317         * sysdeps/sparc/sparc64/memcopy.h: Delete.
30319 2012-04-18  Andreas Jaeger  <aj@suse.de>
30321         [BZ# 6794]
30322         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30323         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30324         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30326         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30327         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30328         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30330         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30331         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30332         Adjust for changed ldbl-128 files.
30334         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30335         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30336         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30338 2012-04-17  David S. Miller  <davem@davemloft.net>
30340         * sysdeps/sparc/sparc32/memcopy.h: Delete.
30342 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
30344         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30345         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30346         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30347         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30348         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30349         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30351 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30353         [BZ #6794]
30354         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30355         * math/libm-test.inc: Add ilogb errno and exception tests.
30356         * math/w_ilogb.c: New file: ilogb wrapper.
30357         * math/w_ilogbf.c: New file: ilogbf wrapper.
30358         * math/w_ilogbl.c: New file: ilogbl wrapper.
30359         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30360         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30361         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30362         exception being thrown with 0.0 as argument.
30363         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30364         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30365         exception being thrown with 0.0 as argument.
30366         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30367         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30368         exception being thrown with 0.0 as argument.
30369         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30370         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30371         exception being thrown with 0.0 as argument.
30372         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30373         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30374         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30375         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30376         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30377         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30378         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30379         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30380         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30382 2012-04-17  Petr Baudis  <pasky@ucw.cz>
30384         * include/sys/uio.h: Change __vector to __iovec to avoid clash
30385         with altivec.
30387 2012-04-16  Marek Polacek  <polacek@redhat.com>
30389         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30391 2012-04-16  Marek Polacek  <polacek@redhat.com>
30393         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30394         operands of fdivp instruction.
30396 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30398         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30399         * elf/tst-auditmod3b.c: Likewise.
30400         * elf/tst-auditmod4b.c: Likewise.
30401         * elf/tst-auditmod5b.c: Likewise.
30402         * elf/tst-auditmod6b.c: Likewise.
30403         * elf/tst-auditmod6c.c: Likewise.
30404         * elf/tst-auditmod7b.c: Likewise.
30405         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30406         * sysdeps/x86_64/preconfigure.in: Likewise.
30407         * sysdeps/x86_64/preconfigure: Regenerated.
30409 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30411         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30412         __ILP32__.
30414 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
30416         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30417         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30419 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
30421         [BZ #13973]
30422         * locale/iso-639.def: Fix gl language name. Spotted by
30423         Yaron Shahrabani.
30425 2012-04-12  Roland McGrath  <roland@hack.frob.com>
30427         [BZ #2074]
30428         * libio/libio.h (__io_write_fn): Update comment.
30430 2012-04-12  Petr Baudis  <pasky@ucw.cz>
30432         [BZ #2074]
30433         * stdio.texi (Hook Functions): The user provided writer function
30434         is not allowed to return -1.
30436 2012-04-11  David S. Miller  <davem@davemloft.net>
30438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30440 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
30442         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30443         Add a leading slash to rtkaio.
30445 2012-04-11  Jim Meyering  <meyering@redhat.com>
30447         [BZ #11959]
30448         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30449         It is not necessarily an error to ignore fwrite's return
30450         value.  One can reliably use ferror to test for errors after
30451         the fact.
30453 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30455         * bits/types.h (__snseconds_t): New type.
30456         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30458         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30459         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30460         (__SNSECONDS_T_TYPE): Likewise.
30461         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30462         (__SNSECONDS_T_TYPE): Likewise.
30463         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30464         (__SNSECONDS_T_TYPE): Likewise.
30466 2012-04-10  Andreas Jaeger  <aj@suse.de>
30468         [BZ #2636]
30469         * manual/time.texi (Processor Time): Return type of times is
30470         elapsed real time since an arbitrary point in the past.
30471         (CPU Time): Move CLK_TCK from here...
30472         (Processor Time): ...to here.  Correct description.
30473         * manual/conf.texi (Constants for Sysconf): Correct description of
30474         _SC_CLK_TCK.
30476 2012-04-10  David S. Miller  <davem@davemloft.net>
30478         [BZ #13967]
30479         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30480         where the is a gap between DT_REL(A) and DT_JMPREL.
30482 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30484         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30485         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30486         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30488 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30490         * elf/dl-support.c (_dl_inhibit_cache): New variable.
30491         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30492         (dl_main): Handle --inhibit-cache.
30493         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30494         _dl_inhibit_cache.
30495         * elf/dl-load.c (_dl_map_object): Use it.
30496         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30498 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
30500         [BZ #13872]
30501         * sysdeps/i386/fpu/e_powl.S (p78): New object.
30502         (__ieee754_powl): Saturate large exponents rather than testing for
30503         overflow of y*log2(x).
30504         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30505         * math/libm-test.inc (pow_test): Do not permit spurious overflow
30506         exceptions.
30508         [BZ #11521]
30509         * math/s_ctan.c: Include <float.h>.
30510         (__ctan): Avoid internal overflow or cancellation in calculating
30511         denominator.
30512         * math/s_ctanf.c: Likewise.
30513         * math/s_ctanl.c: Likewise.
30514         * math/s_ctanh.c: Likewise.
30515         * math/s_ctanhf.c: Likewise.
30516         * math/s_ctanhl.c: Likewise.
30517         * math/libm-test.inc (ctan_test): Add more tests.
30518         (ctanh_test): Likewise.
30519         * sysdeps/i386/fpu/libm-test-ulps: Update.
30520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30522 2012-04-09  Andreas Jaeger  <aj@suse.de>
30524         [BZ #6894]
30525         * manual/filesys.texi (Directory Entries): Mention that d_namlen
30526         is an optional BSD extension.
30528         [BZ #10254]
30529         * manual/stdio.texi (Opening Streams): Document additional fopen
30530         parameters.
30532 2012-04-09  Roland McGrath  <roland@hack.frob.com>
30534         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30535         %eax without telling the compiler.
30537 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
30539         [BZ # 13963]
30540         * manual/install.texi: Use sourceware.org.
30542 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
30544         [BZ #13873]
30545         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30546         (__ieee754_pow): Generate overflow and underflow using huge*huge
30547         and tiny*tiny rather than just returning constant infinity or zero
30548         for large exponents.
30549         * math/libm-test.inc (pow_test): Require overflow exceptions for
30550         applicable cases of large exponents.
30552         [BZ #706]
30553         * sysdeps/i386/fpu/e_pow.S (p10): New object.
30554         (__ieee754_pow): Use iterative multiplication algorithm only for
30555         integer exponents with absolute value below 1024.  Check for odd
30556         integer exponents when using algorithm for real exponents.
30557         * math/libm-test.inc (pow_test): Add more tests.
30558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30560 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
30562         [BZ #13705]
30563         * math/libm-test.inc (exp_test): Do not allow overflow exception
30564         on underflow test.
30566 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
30568         [BZ #13705]
30569         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30570         instead of __kernel_standard_f.
30572 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
30574         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30575         * sysdeps/x86_64/memset_chk.S: Likewise.
30577 2012-04-08  Andreas Jaeger  <aj@suse.de>
30579         [BZ #10153]
30580         * manual/startup.texi (Environment Access): Describe return value
30581         for putenv and setenv.
30583         [BZ #6895]
30584         * manual/filesys.texi (Directory Entries): Add description for
30585         DT_LNK.
30587         [BZ #6890]
30588         * manual/filesys.texi (Directory Entries): Clarify that it's file
30589         system not operating system in the description of DT_UNKNOWN.
30591         [BZ #6578]
30592         * manual/syslog.texi (closelog): Fix reference, it's openlog.
30594 2012-04-08  Stephen Compall  <s11@member.fsf.org>
30596         [BZ #6649]
30597         * manual/llio.texi (Opening and Closing Files): Add cross
30598         reference to explain mode argument.
30600 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
30602         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30603         * sysdeps/x86_64/memset_chk.S: Likewise.
30605 2012-04-07  David S. Miller  <davem@davemloft.net>
30607         * elf/elf.h (R_SPARC_WDISP10): Define.
30608         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30609         R_SPARC_SIZE32.
30610         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30611         R_SPARC_SIZE64 and R_SPARC_H34.
30613 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
30615         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30616         conditions and remove no longer applicable assertion.
30618 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30620         * bits/byteswap.h: Include <features.h>.
30621         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30622         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30624 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30626         * bits/byteswap.h (__bswap_16): Removed.
30627         Include <bits/byteswap-16.h> to get __bswap_16.
30628         * sysdeps/i386/bits/byteswap.h: Likewise.
30629         * sysdeps/s390/bits/byteswap.h: Likewise.
30630         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30631         * bits/byteswap-16.h: New file.
30632         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30633         * sysdeps/s390/bits/byteswap-16.h: Likewise.
30634         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30635         * string/Makefile (headers): Add bits/byteswap-16.h.
30637 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30639         [BZ #13895]
30640         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30641         extra indirection.
30642         * nss/Makefile (tests-static, tests): Add tst-nss-static.
30643         * nss/tst-nss-static.c: New.
30645 2012-04-06  Robert Millan  <rmh@gnu.org>
30647         [BZ #6486]
30648         * manual/llio.texi (File Position Primitive): lseek
30649         refers to WHENCE when it really means OFFSET.
30651 2012-04-06  Andreas Jaeger  <aj@suse.de>
30653         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30654         strncmp declarations.
30656         * abilist/libc.abilist: Add __poll and __ppoll.
30658 2012-04-05  David S. Miller  <davem@davemloft.net>
30660         * scripts/check-local-headers.sh: Accept a host triplet in the
30661         path matched by the exclude regexp.
30663         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30664         definition.
30665         * sysdeps/powerpc/powerpc32/dl-machine.h
30666         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30667         * sysdeps/s390/s390-32/dl-machine.h
30668         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30669         * sysdeps/sparc/sparc32/dl-machine.h
30670         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30671         * sysdeps/sparc/sparc64/dl-machine.h
30672         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30674         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30675         lazy binding.
30676         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30677         undefined symbol errors.
30679         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30680         DT_NEEDED entries.
30682 2012-04-05  Michael Matz  <matz@suse.de>
30684         [BZ #13592]
30685         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30687 2012-04-05  Andreas Jaeger  <aj@suse.de>
30689         [BZ #13908]
30690         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30691         comment.
30693 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30695         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30696         which ROUND is no valid rounding mode.
30698 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30700         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30701         read again.
30702         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30704 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30706         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30707         an exception using FPU order intentionally.
30709 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30711         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30712         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30713         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30714         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30716 2012-04-05  Simon Josefsson  <simon@josefsson.org>
30718         [BZ #12340]
30719         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30720         EINVAL when BUFLEN is too smal.
30722 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30724         [BZ #13553]
30725         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30726         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30728 2012-04-03  Andreas Jaeger  <aj@suse.de>
30730         [BZ #13938]
30731         * manual/setjmp.texi (System V contexts): Fix sentence.
30733         [BZ #13926]
30734         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30735         New macro for this case.
30736         [!__GNUC__] (__bswap_64): New inline function for this case.
30737         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30738         * bits/byteswap.h: Likewise.
30739         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30740         ull, guard with __GLIBC_HAVE_LONG_LONG.
30742         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30743         __GLIBC_HAVE_LONG_LONG.
30745         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30746         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30748 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30750         [BZ #13691]
30751         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30752         inptr and inend, rather than using last_ch.
30754 2012-04-02  David S. Miller  <davem@davemloft.net>
30756         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30757         * stdio-common/printf-parse.h (read_int): Change return type to
30758         'int', return -1 on INT_MAX overflow.
30759         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30760         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
30761         overflows INT_MAX.  Check for overflow of in-format-string precision
30762         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
30763         SIZE_MAX not INT_MAX for integer overflow test.
30764         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30765         skip the construct in the format string but do not record anything.
30766         * stdio-common/bug22.c: Adjust to test both width/prevision
30767         INT_MAX overflow as well as total length INT_MAX overflow.  Check
30768         explicitly for proper errno values.
30770 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30772         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30773         CHAR_MAX.
30774         * string/test-strcmp.c [! WIDE]: Likewise.
30775         * time/tst-mktime2.c: Likewise for INT_MAX.
30776         * string/test-string.h: #include <sys/param.h> for MIN.
30778         * csu/init-first.c (__libc_init_first): Call __ctype_init.
30779         * sysdeps/i386/init-first.c (init): Likewise.
30780         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30781         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30782         * sysdeps/sh/init-first.c (init): Likewise.
30784 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
30786         * po/ru.po: Update from translation team.
30787         * po/vi.po: Likewise.
30789 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30791         * resolv/nss_dns/dns-host.c: Merge copyright years.
30793 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30795         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30796         Optimize memcpy with prefetch if
30797         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
30798         src, dst pointers have unequal 16 byte alignments.
30800 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30802         [BZ #13928]
30803         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30804         from a CNAME entry and return the minimum ttl for the query.
30805         (gaih_getanswer_slice): Likewise.
30807 2012-03-30  Jeff Law  <law@redhat.com>
30809         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30810         due to long keys.
30811         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30812         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30814         * resolv/nss_dns/dns-host.c: Update copyright year.
30816 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
30818         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30819         requests to save a system call.  Fix check that all bytes are sent.
30821         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30822         comments for sendmmsg.
30824 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30826         [BZ #13691]
30827         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30828         with only 1 character between 0x0041 and 0x01b0.
30829         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30830         * wcsmbs/tst-mbsnrtowcs.c: New file.
30832 2012-03-29  David S. Miller  <davem@davemloft.net>
30834         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30835         small copies by hand.
30837 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30839         [BZ #13761]
30840         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30841         _nss_compat_initgroups_dyn): Fall back to malloc/free
30842         for large group memberships.
30844 2012-03-28  David S. Miller  <davem@davemloft.net>
30846         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30847         that branches into memcpy.
30848         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30849         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30850         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30851         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30852         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30853         bits.
30854         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30855         implementation too.
30856         * sysdeps/sparc/mempcpy.S: New file.
30858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30859         the IFUNC routine in the libc case.
30860         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30862         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30863         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30864         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30865         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30866         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30867         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30868         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30869         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30871         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30872         loop to 256 bytes instead of 64 bytes and fix test signedness.
30874         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30875         * sysdeps/sparc/sparc32/Makefile: rather than here...
30876         * sysdeps/sparc/sparc64/Makefile: and here.
30878 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
30880         * malloc/mallocbug.c: Avoid warnings about unused variables.
30882 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30884         [BZ #13760]
30885         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30886         in the right place. Discard and retry query if response is
30887         larger than input buffer size.
30889 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
30891         [BZ #369]
30892         [BZ #2678]
30893         [BZ #3866]
30894         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30895         x for large integer exponent.
30896         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30897         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
30898         sign of result as needed afterwards.
30899         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30900         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30901         result for underflowing pow the same as for overflow.
30902         (__kernel_standard_l): Handle powl overflow and underflow here
30903         rather than calling __kernel_standard.
30904         * math/libm-test.inc (pow_test): Add more tests.
30906         [BZ #3868]
30907         [BZ #13879]
30908         [BZ #13910]
30909         [BZ #13911]
30910         [BZ #13912]
30911         [BZ #13913]
30912         [BZ #13915]
30913         [BZ #13916]
30914         [BZ #13917]
30915         [BZ #13918]
30916         [BZ #13919]
30917         [BZ #13920]
30918         [BZ #13921]
30919         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
30920         * sysdeps/ieee754/k_standard.c: Include <float.h>.
30921         (__kernel_standard_l): New function.
30922         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
30923         __kernel_standard.
30924         * math/w_acosl.c (__acosl): Likewise.
30925         * math/w_asinl.c (__asinl): Likewise.
30926         * math/w_atan2l.c (__atan2l): Likewise.
30927         * math/w_atanhl.c (__atanhl): Likewise.
30928         * math/w_coshl.c (__coshl): Likewise.
30929         * math/w_exp10l.c (__exp10l): Likewise.
30930         * math/w_exp2l.c (__exp2l): Likewise.
30931         * math/w_fmodl.c (__fmodl): Likewise.
30932         * math/w_hypotl.c (__hypotl): Likewise.
30933         * math/w_j0l.c (__j0l, __y0l): Likewise.
30934         * math/w_j1l.c (__j1l, __y1l): Likewise.
30935         * math/w_jnl.c (__jnl, __ynl): Likewise.
30936         * math/w_lgammal.c (__lgammal): Likewise.
30937         * math/w_log10l.c (__log10l): Likewise.
30938         * math/w_log2l.c (__log2l): Likewise.
30939         * math/w_logl.c (__logl): Likewise.
30940         * math/w_powl.c (__powl): Likewise.
30941         * math/w_remainderl.c (__remainderl): Likewise.
30942         * math/w_scalbl.c (sysv_scalbl): Likewise.
30943         * math/w_sinhl.c (__sinhl): Likewise.
30944         * math/w_sqrtl.c (__sqrtl): Likewise.
30945         * math/w_tgammal.c (__tgammal): Likewise.
30946         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
30947         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
30948         * math/libm-test.inc (acos_test): Add more tests.
30949         (acosh_test): Likewise.
30950         (asin_test): Likewise.
30951         (atanh_test): Likewise.
30952         (exp_test): Likewise.
30953         (exp10_test): Likewise.
30954         (exp2_test): Likewise.
30955         (expm1_test): Likewise.
30956         (lgamma_test): Likewise.
30957         (log_test): Likewise.
30958         (log10_test): Likewise.
30959         (log1p_test): Likewise.
30960         (log2_test): Likewise.
30961         (pow_test): Do not allow some spurious overflow exceptions.
30962         (sqrt_test): Add more tests.
30963         (tgamma_test): Likewise.
30964         (y0_test): Likewise.
30965         (y1_test): Likewise.
30966         (yn_test): Likewise.
30968 2012-03-27  Anton Blanchard  <anton@samba.org>
30970         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
30971         MAP_HUGETLB.
30972         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30973         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30974         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30976 2012-03-27  David S. Miller  <davem@davemloft.net>
30978         * conform/Makefile: Run run-conformtest.sh using $(BASH).
30980         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
30981         have-as-vis3 check.
30983 2012-03-27  Andreas Jaeger  <aj@suse.de>
30985         * sysdeps/x86_64/elf/configure.in: Moved to ...
30986         * sysdeps/x86_64/configure.in: ... here.
30987         * sysdeps/x86_64/elf/start.S: Moved to ...
30988         * sysdeps/x86_64/start.S: ... here.
30989         * sysdeps/x86_64/elf/configure: Delete.
30991         * sysdeps/x86_64/configure.in: Merge contents from
30992         sysdeps/i386/configure.in (without i686 check).
30994         * sysdeps/i386/elf/Versions: Merge into ...
30995         * sysdeps/i386/Versions: ... this.
30996         * sysdeps/i386/elf/Versions: Delete file.
30997         * sysdeps/i386/elf/start.S: Moved to ...
30998         * sysdeps/i386/start.S: ...here.
30999         * sysdeps/i386/elf/configure.in: Merge into...
31000         * sysdeps/i386/configure.in: ...here.
31001         * sysdeps/i386/elf/configure.in: Delete file.
31002         * sysdeps/i386/elf/configure: Delete file.
31004         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31005         * debug/backtracesyms.c: ... here.
31006         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31007         * debug/backtracesymsfd.c: ... here.
31008         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31009         * sysdeps/generic/ifunc-sel.h: ... here.
31011         * sysdeps/unix/i386/start.c: Delete file.
31012         * sysdeps/unix/sparc/start.c: Delete file.
31013         * sysdeps/unix/start.c: Delete file.
31015         * sysdeps/sh/elf/configure.in: Moved to ...
31016         * sysdeps/sh/configure.in: ... here.
31017         * sysdeps/sh/elf/start.S: Moved to ...
31018         * sysdeps/sh/start.S: ... here.
31019         * sysdeps/sh/elf/configure: Delete file.
31021         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31022         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31023         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31024         * sysdeps/powerpc/powerpc64/entry.h: ... here.
31025         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31026         * sysdeps/powerpc/powerpc64/start.S: here.
31027         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31028         * sysdeps/powerpc/powerpc64/Makefile: ... this.
31029         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31030         * sysdeps/powerpc/powerpc64/configure.in: ... this.
31031         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31033         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31034         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31035         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31036         * sysdeps/powerpc/powerpc32/start.S: ... here.
31037         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31038         * sysdeps/powerpc/powerpc32/configure.in: ... this.
31039         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31041         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31042         * sysdeps/powerpc/ifunc-sel.h: ... here.
31043         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31044         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31046         * sysdeps/sparc/elf/configure.in: Moved to ...
31047         * sysdeps/sparc/configure.in: ... here.
31048         * sysdeps/sparc/elf/configure: Delete file.
31049         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31050         * sysdeps/sparc/sparc32/start.S: ... here.
31051         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31052         * sysdeps/sparc/sparc64/start.S: ... here.
31053         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31054         * sysdeps/sparc/sparc32/Makefile: ... this.
31055         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31056         * sysdeps/sparc/sparc64/Makefile: ... this.
31058         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31059         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31060         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31061         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31062         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31063         * sysdeps/s390/s390-32/setjmp.S: ... here.
31064         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31065         * sysdeps/s390/s390-32/configure.in: ... here.
31066         * sysdeps/s390/s390-32/elf/configure: Delete file.
31067         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31068         * sysdeps/s390/s390-32/start.S: ... here.
31070         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31071         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31072         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31073         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31074         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31075         * sysdeps/s390/s390-64/setjmp.S: ... here.
31076         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31077         * sysdeps/s390/s390-64/configure.in: ... here
31078         * sysdeps/s390/s390-64/elf/configure: Delete file.
31079         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31080         * sysdeps/s390/s390-64/start.S: ... here.
31081         * sysdeps/s390/s390-64/elf/configure: Delete.
31083         * configure.in: Remove support for elf directories in sysdeps.
31085         * configure: Regenerated.
31086         * sysdeps/i386/configure: Regenerated.
31087         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31088         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31089         * sysdeps/s390/s390-32/configure: Regenerated.
31090         * sysdeps/s390/s390-64/configure: Regenerated.
31091         * sysdeps/sh/configure: Regenerated.
31092         * sysdeps/sparc/configure: Regenerated.
31093         * sysdeps/x86_64/configure: Regenerated.
31095 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
31097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31099         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31100         denormal result into account.
31102 2012-03-25  Roland McGrath  <roland@hack.frob.com>
31104         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31105         Reported by Allan McRae <allan@archlinux.org>.
31107 2012-03-23  Jeff Law  <law@redhat.com>
31109         * nss/getnssent.c (__nss_getent): Fix typo.
31111 2012-03-23  David S. Miller  <davem@davemloft.net>
31113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31115 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
31117         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31118         to pad to uint64_t for each field.
31119         (dl_tls_index): Replace unsigned long with uint64_t.
31121 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
31122         Paul Pluzhnikov  <ppluzhnikov@google.com>
31124         [BZ #6528]
31125         * grp/Makefile (otherlibs): Don't set it.
31126         * inet/Makefile (otherlibs): Likewise.
31127         * login/Makefile (otherlibs): Likewise.
31128         * nscd/Makefile (otherlibs): Likewise.
31129         * posix/Makefile (otherlibs): Likewise.
31130         * pwd/Makefile (otherlibs): Likewise.
31131         * rt/Makefile (otherlibs): Likewise.
31132         * sunrpc/Makefile (otherlibs): Likewise.
31133         * nss/Makefile (otherlibs): Likewise.
31134         Add libnss_files to routines and static-only-routines.
31135         ($(objpfx)getent): Remove rule.
31136         * resolv/Makefile: Add libnss_dns and libresolv to routines and
31137         static-only-routines.
31139 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31141         [BZ #13892]
31142         * math/s_cexp.c: Include <float.h>.
31143         (__cexp): Handle exp result overflowing not necessarily
31144         overflowing both real and imaginary parts of result.
31145         * math/s_cexpf.c: Likewise.
31146         * math/s_cexpl.c: Likewise.
31147         * math/libm-test.inc (cexp_test): Add more tests.
31148         * sysdeps/i386/fpu/libm-test-ulps: Update.
31149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31151 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31153         * include/link.h (ELFW): New macro.
31154         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31155         Replace ELF64_R_TYPE with ELFW(R_TYPE).
31157 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31159         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31160         with uint64_t.
31162 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31164         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31165         declaration.
31166         (struct La_x32_retval): Likewise.
31168 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31170         * sysdeps/x86_64/preconfigure.in: New file.
31171         * sysdeps/x86_64/preconfigure: New generated file.
31173 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31175         [BZ #13824]
31176         * math/e_exp2l.c: Include <float.h>.
31177         (__ieee754_exp2l): Handle overflow and underflow cases
31178         separately.  Only pass fractional part of argument to
31179         __ieee754_expl.
31180         * math/libm-test.inc (exp2_test): Add more tests.
31182         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31183         negating x to take absolute value.
31184         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31185         Likewise.
31186         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31187         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31188         Likewise.
31189         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31190         computing low part if x was negated.
31191         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31193 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31195         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31196         la_x32_gnu_pltexit.
31197         (pltexit): Cast int_retval to ptrdiff_t.
31198         * elf/tst-auditmod3b.c: Likewise.
31199         * elf/tst-auditmod4b.c: Likewise.
31200         * elf/tst-auditmod5b.c: Likewise.
31201         * elf/tst-auditmod6b.c: Likewise.
31202         * elf/tst-auditmod6c.c: Likewise.
31203         * elf/tst-auditmod7b.c: Likewise.
31205         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31206         and x32_gnu_pltexit.
31208         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31209         __ELF_NATIVE_CLASS.
31210         (La_x32_regs): New macro.
31211         (La_x32_retval): Likewise.
31212         (la_x32_gnu_pltenter): New function prototype.
31213         (la_x32_gnu_pltexit): Likewise.
31215 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
31217         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31218         exponent.
31220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31222         * configure.in (libc_cv_cc_nofma): Check for option to disable
31223         generation of FMA instructions.
31224         * configure: Regenerate.
31225         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31226         * sysdeps/ieee754/dbl-64/Makefile: New file.
31227         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31228         Remove brandred-fma4.
31229         (CFLAGS-brandred-fma4.c): Remove.
31230         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31231         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31232         define.
31233         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31234         define.
31236 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31238         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31239         LLONG_MAX != LONG_MAX.
31240         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31241         (_fitoa_word): Likewise.
31242         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31243         LLONG_MAX != LONG_MAX.
31244         * stdio-common/_itowa.h: Include <_itoa.h>.
31245         (_itowa_word): Use _ITOA_WORD_TYPE on value.
31246         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
31247         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
31248         only if not defined.
31249         (_ITOA_WORD_TYPE): Likewise.
31250         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31251         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31253 2012-03-21  David S. Miller  <davem@davemloft.net>
31255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31257 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31259         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31260         of x86_64 when setting libc_cv_slibdir, libdir and
31261         libc_cv_localedir.
31262         * sysdeps/unix/sysv/linux/configure: Regenerated.
31264 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31266         * manual/lang.texi (Old Varargs): Remove section.
31267         (How Variadic): Update menu.
31268         (va_start): Do not mention varargs.h.
31270 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31271             Joseph Myers  <joseph@codesourcery.com>
31273         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31274         link test.
31275         * configure: Regenerated.
31277 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31279         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31280         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31281         conformtest.pl
31283 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31285         * NOTES: Remove.
31286         * Makefile (files-for-dist): Remove NOTES.
31287         (NOTES): Remove rule.
31288         * README: Don't refer to NOTES.
31289         * manual/creature.texi: Don't include macros.texi.
31290         * manual/intro.texi (creature.texi): Remove comment referring to
31291         NOTES.
31293         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31294         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31295         * configure: Regenerated.
31296         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31297         LIBC_TRY_CC_OPTION.
31298         (libc_cv_as_i686): Likewise.
31299         (libc_cv_cc_avx): Likewise.
31300         (libc_cv_cc_sse2avx): Likewise.
31301         (libc_cv_cc_fma4): Likewise.
31302         (libc_cv_cc_novzeroupper): Likewise.
31303         * sysdeps/i386/configure: Regenerated.
31305         [BZ #13883]
31306         * sysdeps/i386/fpu/s_cexp.S: Remove.
31307         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31308         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31309         * math/libm-test.inc (cexp_test): Add more tests.
31310         * sysdeps/i386/fpu/libm-test-ulps: Update.
31311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31313 2012-03-21  Allan McRae  <allan@archlinux.org>
31315         * timezone/Makefile: Do not install iso3166.tab and zone.tab
31317 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31319         [BZ #13871]
31320         * math/w_exp2.c: Do not include <float.h>.
31321         (o_threshold, u_threshold): Remove.
31322         (__exp2): Calculate result before checking finiteness and calling
31323         __kernel_standard.
31324         * math/w_exp2f.c: Likewise.
31325         * math/w_exp2l.c: Likewise.
31326         * math/libm-test.inc (exp2_test): Require overflow exception for
31327         1e6 input.
31329         [BZ #3866]
31330         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31331         range of signed 64-bit integers before using fistpll.  Remove
31332         checks for whether integers fit in mantissa bits.
31333         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31334         the range of signed 32-bit integers before using fistpl.  Remove
31335         checks for whether integers fit in mantissa bits.
31336         * sysdeps/i386/fpu/e_powl.S (p64): New object.
31337         (__ieee754_powl): Test for y outside the range of signed 64-bit
31338         integers before using fistpll.  Reduce 64-bit values to 63-bit
31339         ones as needed.
31340         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31341         divide-by-zero is raised for zero to large negative powers.
31342         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31343         (__ieee754_powl): Test for y outside the range of signed 64-bit
31344         integers before using fistpll.  Reduce 64-bit values to 63-bit
31345         ones as needed.
31346         * math/libm-test.inc (pow_test): Add more tests.
31348 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31350         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31351         <stdio-common/_itoa.h>.
31352         * debug/segfault.c: Likewise.
31353         * elf/dl-cache.c: Likewise.
31354         * elf/dl-minimal.c: Likewise.
31355         * elf/dl-misc.c: Likewise.
31356         * elf/dl-sysdep.c: Likewise.
31357         * elf/dl-version.c: Likewise.
31358         * elf/rtld.c: Likewise.
31359         * hurd/hurdsock.c: Likewise.
31360         * hurd/lookup-retry.c: Likewise.
31361         * malloc/malloc.c: Likewise.
31362         * malloc/mtrace.c: Likewise.
31363         * nscd/nscd_getgr_r.c: Likewise.
31364         * nscd/nscd_getpw_r.c: Likewise.
31365         * nscd/nscd_getserv_r.c: Likewise.
31366         * posix/getopt_init.c: Likewise.
31367         * posix/wordexp.c: Likewise.
31368         * stdio-common/_itoa.c: Likewise.
31369         * stdio-common/printf_fphex.c: Likewise.
31370         * stdio-common/vfprintf.c: Likewise.
31371         * string/_strerror.c: Likewise.
31372         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31373         * sysdeps/i386/i686/hp-timing.h: Likewise.
31374         * sysdeps/mach/_strerror.c: Likewise.
31375         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31376         * sysdeps/mach/hurd/sethostid.c: Likewise.
31377         * sysdeps/mach/hurd/xmknodat.c: Likewise.
31378         * sysdeps/mach/xpg-strerror.c: Likewise.
31379         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31380         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31381         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31382         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31383         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31384         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31385         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31386         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31387         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31388         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31389         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31390         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31391         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31392         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31393         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31394         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31395         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31396         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31397         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31398         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31399         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31401         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31403         * stdio-common/_itoa.h: Moved to ...
31404         * sysdeps/generic/_itoa.h: Here.
31406         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31408         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31409         instead of "_itoa.h" and "_itowa.h".
31410         * stdio-common/vfprintf.: Likewise.
31412 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31414         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31415         <bits/wordsize.h>.
31416         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31417         (__signbit): Likwise.
31418         (llrintf): Likwise.
31419         (llrint): Likwise.
31421 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31423         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31424         __WORDSIZE != 64.
31426 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
31428         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31429         OVERFLOW_EXCEPTION_OK.
31430         * math/libm-test.inc ("Philosophy"): Update comment about
31431         exception testing.
31432         (OVERFLOW_EXCEPTION): Define.
31433         (OVERFLOW_EXCEPTION_OK): Likewise.
31434         (INVALID_EXCEPTION_OK): Renumber.
31435         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31436         (IGNORE_ZERO_INF_SIGN): Likewise.
31437         (test_exceptions): Handle FE_OVERFLOW.
31438         (exp10_test): Expect overflow exceptions.
31439         (exp2_test): Likewise.
31440         (expm1_test): Likewise.
31441         (nextafter_test): Likewise.
31442         (pow_test): Likewise.
31443         (scalbn_test): Likewise.
31444         (scalbln_test): Likewise.
31446 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31448         * sysdeps/x86_64/bits/atomic.h
31449         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31450         64bit integer.
31451         (atomic_exchange_acq): Likewise.
31452         (__arch_exchange_and_add_body): Likewise.
31453         (__arch_add_body): Likewise.
31454         (atomic_add_negative): Likewise.
31455         (atomic_add_zero): Likewise.
31457 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31459         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31460         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31462 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31464         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31465         Check __x86_64__ instead of __WORDSIZE.
31467 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31469         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31471 2012-03-19  David S. Miller  <davem@davemloft.net>
31473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31475         * sysdeps/sparc/fpu/fenv_private.h: New file.
31476         * sysdeps/sparc/fpu/math_private.h: Use it.
31477         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31478         Remove.
31479         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31480         (libc_feholdexcept_setroundl): Remove.
31481         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31482         Remove.
31483         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31484         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31486 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31488         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31489         int64_t instead of long int.
31490         (INSERT_WORDS64): Likwise.
31492 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31494         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31495         _Unwind_GetCFA return to _Unwind_Ptr first.
31497 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
31499         [BZ #13629]
31500         * math/s_clog.c: Include <float.h>.
31501         (__clog): Scale large or subnormal inputs.
31502         * math/s_clogf.c: Likewise.
31503         * math/s_clogl.c: Likewise.
31504         * math/s_clog10.c: Include <float.h>.
31505         (M_LOG10_2): Define.
31506         (__clog10): Scale large or subnormal inputs.
31507         * math/s_clog10f.c: Likewise.
31508         * math/s_clog10l.c: Likewise.
31509         * math/libm-test.inc (clog_test): Add more tests.
31510         (clog10_test): Likewise.
31511         * sysdeps/i386/fpu/libm-test-ulps: Update.
31512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31514         [BZ #11451]
31515         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31516         x and y.
31517         * math/libm-test.inc (atan2_test): Add another test.
31519         * Makerules (common-objdir-compile): Remove.
31520         * sysdeps/unix/Makefile (config-generated): Do not add
31521         $(unix-generated) to variable.
31522         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31523         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31524         Remove rule.
31525         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31526         Likewise.
31527         [generic bits/local_lim.h] (before-compile): Do not append to
31528         variable.
31529         [generic bits/local_lim.h] (common-generated): Likewise.
31530         [generic sys/param.h] (before-compile): Do not append to variable.
31531         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31532         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31533         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31534         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31535         include.
31536         [generic sys/param.h] (sys/param.h-includes): Remove variable.
31537         [generic sys/param.h] (sys/param.h-includes): Remove rule.
31538         [generic sys/param.h] ($(addprefix
31539         $(common-objpfx),$(sys/param.h-includes))): Likewise.
31540         [generic sys/param.h] (common-generated): Do not append to
31541         variable.
31542         [generic sys/param.h] (sysdep_headers): Likewise.
31543         [generic bits/errno.h] (before-compile): Do not append to
31544         variable.
31545         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31546         rule.
31547         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31548         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31549         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31550         [generic bits/errno.h] (common-generated): Do not append to
31551         variable.
31552         [generic bits/ioctls.h] (before-compile): Do not append to
31553         variable.
31554         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31555         rule.
31556         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31557         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31558         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31559         rule.
31560         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31561         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31562         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31563         [generic bits/ioctls.h] (common-generated): Do not append to
31564         variable.
31565         [generic sys/syscall.h] (syscall.h): Remove variable.
31566         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31567         rule.
31568         [generic sys/syscall.h] (before-compile): Do not append to
31569         variable.
31570         [generic sys/syscall.h] (common-generated): Likewise.
31571         * sysdeps/unix/errnos-tmpl.c: Remove file.
31572         * sysdeps/unix/errnos.awk: Likewise.
31573         * sysdeps/unix/ioctls-tmpl.c: Likewise.
31574         * sysdeps/unix/ioctls.awk: Likewise.
31575         * sysdeps/unix/mk-local_lim.c: Likewise.
31576         * sysdeps/unix/snarf-ioctls: Likewise.
31578 2012-03-19  Richard Henderson  <rth@twiddle.net>
31580         * sysdeps/i386/fpu/fenv_private.h: New file.
31581         * sysdeps/i386/fpu/math_private.h: Use it.
31582         (math_opt_barrier, math_force_eval): Remove.
31583         (libc_feholdexcept_setround_53bit): Remove.
31584         (libc_feupdateenv_53bit): Remove.
31585         * sysdeps/x86_64/fpu/math_private.h: Likewise.
31586         (math_opt_barrier, math_force_eval): Remove.
31587         (libc_feholdexcept): Remove.
31588         (libc_feholdexcept_setround): Remove.
31589         (libc_fetestexcept, libc_fesetenv): Remove.
31590         (libc_feupdateenv_test): Remove.
31591         (libc_feupdateenv, libc_feholdsetround): Remove.
31592         (libc_feresetround): Remove.
31594         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31595         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31597         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31598         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31599         (libc_feupdateenv_testl): New.
31600         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31601         (libc_feupdateenv_testf): New.
31602         (libc_feupdateenv): Use libc_feupdateenv_test.
31603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31604         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31606         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31607         (libc_feholdsetroundf, libc_feholdsetroundl): New.
31608         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31609         (libc_feresetround_noex): New.
31610         (libc_feresetround_noexf): New.
31611         (libc_feresetround_noexl): New.
31612         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31613         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31614         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31615         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31616         SET_RESTORE_ROUND.
31617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31618         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31619         (__cos): Likewise.
31620         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31621         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31622         SET_RESTORE_ROUND_NOEX.
31623         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31624         SET_RESTORE_ROUND_NOEXF.
31625         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31626         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31627         (libc_feholdsetroundf): New.
31628         (libc_feresetround, libc_feresetroundf): New.
31630         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31631         (libc_feholdexcept_setround_53bit): Convert from macro to function.
31632         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
31634         * sysdeps/generic/math_private.h: Include <fenv.h>.
31635         (default_libc_feholdexcept): New.
31636         (default_libc_feholdexcept_setround): New.
31637         (default_libc_fesetenv, default_libc_feupdateenv): New.
31638         (libc_feholdexcept): Only define if undefined.
31639         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31640         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31641         (libc_feholdexcept_setroundl): Likewise.
31642         (libc_feholdexcept_setround_53bit): Likewise.
31643         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31644         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31645         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31646         (libc_feupdateenv_53bit): Likewise.
31647         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31648         (libc_feholdexcept): Convert from macro to inline function.
31649         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31650         (libc_fesetenv, libc_feupdateenv): Likewise.
31652         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31653         not previously defined.
31654         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31655         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31656         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31657         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31658         * sysdeps/ieee754/flt-32/math_private.h: New file.
31659         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31660         math_private.h below SET_FLOAT_WORD.
31661         (__isnan, __isinf_ns, __finite): Remove.
31662         (__isnanf, __isinf_nsf, __finitef): Remove.
31664 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
31666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31668 2012-03-17  David S. Miller  <davem@davemloft.net>
31670         [BZ #6471]
31671         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31672         for 2.16.
31674 2012-03-16  David S. Miller  <davem@davemloft.net>
31676         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31677         warnings.
31679         [BZ #6471]
31680         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31681         properly.
31682         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31683         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31684         sysdep_routines when subdir is sysvipc.
31685         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31686         __getshmlba helper.
31688         * sysdeps/sparc/fpu/libm-test/ulps: Update.
31690 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31692         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31693         [__LP64__].
31695 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31697         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31698         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31699         (__lround): Renamed to ...
31700         (__llround): This.  Replace long int with long long int.
31701         Define lround functions as aliases of llround functions.
31702         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31704 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31706         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31707         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
31708         adresses to uintptr_t.  Replace "long int" and "unsigned long
31709         int" with "greg_t" on va_arg.
31711 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31713         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31714         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31716         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31717         Move e_machine check before EI_CLASS check.  Handle x32
31718         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31719         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31720         SKIP_EM_IA_64 and include
31721         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31723         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31724         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31725         (add_system_dir): New macro.
31727         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31728         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31730 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31732         [BZ #2551]
31733         [BZ #2552]
31734         [BZ #2553]
31735         [BZ #2554]
31736         [BZ #2562]
31737         [BZ #2563]
31738         [BZ #2565]
31739         [BZ #2566]
31740         [BZ #2576]
31741         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31742         (y0): Likewise.
31743         * math/w_j0f.c (j0f): Likewise.
31744         (y0f): Likewise.
31745         * math/w_j0l.c (__j0l): Likewise.
31746         (__y0l): Likewise.
31747         * math/w_j1.c (j1): Likewise.
31748         (y1): Likewise.
31749         * math/w_j1f.c (j1f): Likewise.
31750         (y1f): Likewise.
31751         * math/w_j1l.c (__j1l): Likewise.
31752         (__y1l): Likewise.
31753         * math/w_jn.c (jn): Likewise.
31754         (yn): Likewise.
31755         * math/w_jnf.c (jnf): Likewise.
31756         (ynf): Likewise.
31757         * math/w_jnl.c (__jnl): Likewise.
31758         (__ynl): Likewise.
31759         * math/libm-test.inc (j0_test): Add more tests.
31760         (j1_test): Likewise.
31761         (jn_test): Likewise.  Add trailing semicolon to existing test.
31762         (y0_test): Likewise.
31763         (y1_test): Likewise.
31764         * sysdeps/i386/fpu/libm-test-ulps: Update.
31765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31767         [BZ #13851]
31768         [BZ #13854]
31769         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31770         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31771         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31772         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31773         (__tanl): Set errno for infinite argument.
31774         * sysdeps/i386/fpu/mptan.c: Remove.
31775         * sysdeps/i386/fpu/s_tan.S: Likewise.
31776         * sysdeps/i386/fpu/s_tanl.S: Likewise.
31777         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31778         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31779         * math/libm-test.inc (tan_test): Add more tests and enable more
31780         tests for double and long double.
31781         * sysdeps/i386/fpu/libm-test-ulps: Update.
31782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31784 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
31786         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31787         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31789 2012-03-16  Roland McGrath  <roland@hack.frob.com>
31791         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31792         * configure.in: Use it for both main tree and add-ons.
31793         * configure: Regenerated.
31795 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31797         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31799 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31801         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31802         in comment.
31804         [BZ #13851]
31805         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31806         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31807         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31808         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31809         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31810         infinite argument.
31811         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31812         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31813         != 0 for prec == 2.
31814         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31815         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31816         * sysdeps/i386/fpu/s_cosl.S: Likewise.
31817         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31818         * sysdeps/i386/fpu/s_sinl.S: Likewise.
31819         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31820         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31821         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31822         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31823         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31824         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31825         * math/libm-test.inc (cos_test): Add more tests and enable more
31826         tests for long double.
31827         (sin_test): Likewise.
31828         (sincos_test): Likewise.
31829         * sysdeps/i386/fpu/libm-test-ulps: Update.
31830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31832 2012-03-16  David S. Miller  <davem@davemloft.net>
31834         * sysdeps/sparc/fpu/math_private.h: New file.
31836 2012-03-15  David S. Miller  <davem@davemloft.net>
31838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31839         file.
31840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31842         file.
31843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31845         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31848         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31849         sysdep routines.
31850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31852         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31853         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31855         * sysdeps/sparc/sparc-ifunc.h: New file.
31856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31857         sparc-ifunc.h
31858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31860         Likewise.
31861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31862         Likewise.
31863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31867         Likewise.
31868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31873         Likewise.
31874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31875         Likewise.
31876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31880         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31881         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31882         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31883         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31890         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31891         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31892         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31893         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31894         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31895         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31896         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31897         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31898         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31899         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31901 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31903         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31904         scaling.
31905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31907 2012-03-15  Andreas Jaeger  <aj@suse.de>
31909         [BZ #13852]
31910         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31911         ieee754/flt-32 implementation for sin, cos and sincos.
31912         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31913         * sysdeps/i386/fpu/s_cosf.S: Likewise.
31914         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31915         * sysdeps/i386/fpu/s_sinf.S: Likewise.
31916         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31917         ieee754/flt-32 implementation for tan.
31919         * math/libm-test.inc (cos_test): Enable some large input tests for
31920         float as well
31921         (sin_test): Likewise.
31922         (sincos_test): Likewise.
31923         (tan_test): Add tests for large input.
31925         * sysdeps/i386/fpu/libm-test-ulps: Update.
31927 2012-03-15  Andreas Jaeger  <aj@suse.de>
31929         [BZ #13658]
31930         * math/libm-test.inc (cos_test): Add more test cases.
31931         (sin_test): Likewise.
31932         (sincos_test): Likewise.
31934 2012-03-15  Andreas Jaeger  <aj@suse.de>
31936         [BZ #13837]
31937         * math/libm-test.inc (cos_test): Add a test case for large input
31938         value.
31939         (sin_test): Likewise.
31940         (sincos_test): Likewise.
31942 2012-03-15  Andreas Jaeger  <aj@suse.de>,
31943         Joseph Myers  <joseph@codesourcery.com>
31945         [BZ #13658]
31946         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
31947         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
31948         * sysdeps/i386/fpu/branred.c: Likewise.
31949         * sysdeps/i386/fpu/dosincos.c: Likewise.
31950         * sysdeps/i386/fpu/mpa.c: Likewise.
31951         * sysdeps/i386/fpu/s_cos.S: Likewise.
31952         * sysdeps/i386/fpu/s_sin.S: Likewise.
31953         * sysdeps/i386/fpu/s_sincos.S: Likewise.
31954         * sysdeps/i386/fpu/sincos32.c: Likewise.
31956         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
31957         Define.
31958         (libc_feupdateenv_53bit): Define.
31959         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
31960         Define.
31961         (libc_feupdateenv_53bit): Define.
31963         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
31964         53 bit (without extend i386 double precision).
31966         * math/libm-test.inc (sincos_test): Add tests for large input.
31967         (sin): Likewise.
31968         (cos): Likewise.
31970         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31972 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31976 2012-03-15  David S. Miller  <davem@davemloft.net>
31978         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
31979         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
31980         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
31981         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
31982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
31983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
31984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
31985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
31986         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
31987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
31988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
31989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
31990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
31991         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
31992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
31993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
31994         file.
31995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
31996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
31997         file.
31998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
31999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32000         file.
32001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32003         file.
32004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32005         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32006         fmin/fmax sysdep routines.
32007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32009 2012-03-14  David S. Miller  <davem@davemloft.net>
32011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32015         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32016         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32017         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32018         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32021         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32022         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32023         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32024         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32025         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32026         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32027         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32028         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32029         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32030         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32031         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32032         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32033         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32034         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32035         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32036         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32037         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32038         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32040         routines.
32041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32042         file.
32043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32045         file.
32046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32048         file.
32049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32051         file.
32052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32054         file.
32055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32057         file.
32058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32059         file.
32060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32061         file.
32062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32063         file.
32064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32065         New file.
32066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32067         file.
32068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32069         file.
32070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32072         file.
32073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32075         file.
32076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32078         file.
32079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32081         VIS3 routines.
32083         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32084         New file.
32086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32088         * sysdeps/sparc/configure.in: New file.
32089         * sysdeps/sparc/configure: Generate.
32090         * configure.in (libc_cv_sparc_as_vis3): Substitute.
32091         * configure: Regenerate.
32092         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32093         * config.make.in (have-as-vis3): New.
32094         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32095         available use -Av9d instead of -Av9a.
32096         * sysdeps/sparc/sparc64/Makefile: Likewise.
32097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32099         New file.
32100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32101         file.
32102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32103         New file.
32104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32105         file.
32106         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32107         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32108         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32109         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32110         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32112         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32113         fzeros/fnegs to load 0x80000000 into a float register instead of
32114         using the stack.
32115         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32117 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32119         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32120         bits/syscall.h.
32121         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32122         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32123         ($(inst_includedir)/bits/syscall.h): Remove rule.
32124         ($(objpfx)bits/syscall.d): Include instead of
32125         $(objpfx)syscall-list.d.
32126         (generated): Change syscall-list.h and syscall-list.d to
32127         bits/syscall.h and bits/syscall.d.
32129 2012-03-14  Roland McGrath  <roland@hack.frob.com>
32131         [BZ #13846]
32132         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32134 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32136         [BZ #13841]
32137         * math/s_csqrt.c: Include <float.h>.
32138         (__csqrt): Scale large or subnormal inputs.
32139         * math/s_csqrtf.c: Likewise.
32140         * math/s_csqrtl.c: Likewise.
32141         * math/libm-test.inc (csqrt_test): Add more tests.
32142         * sysdeps/i386/fpu/libm-test-ulps: Update.
32143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32145         [BZ #13840]
32146         * math/libm-test.inc (hypot_test): Add more tests.
32148 2012-03-13  David S. Miller  <davem@davemloft.net>
32150         [BZ #13840]
32151         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32152         double-precision for the calculation instead of scaling.
32154 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
32156         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32157         manipulate bits before adding and subtracting TWO52[sx].
32158         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32159         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32160         Likewise.
32161         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32163 2012-03-13  David S. Miller  <davem@davemloft.net>
32165         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32166         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32167         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32168         rtld-global-offsets.h
32169         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32171         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32172         large parameters.
32174         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32176         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32177         'err' in the ifdef scope in which it is actually used.
32179         * nss/nss_db/db-init.c: Include string.h
32181 2012-03-12  David S. Miller  <davem@davemloft.net>
32183         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32184         masking out of the most significant byte of random value used.
32185         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32186         Fix coding style in previous change.
32188         * sysdeps/unix/sysv/linux/kernel-features.h
32189         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32190         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32191         expression.
32192         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32193         later.
32195 2012-03-11  David S. Miller  <davem@davemloft.net>
32197         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32198         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32199         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32200         for 'resultvar' otherwise things get truncated on 64-bit.
32202         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32203         Fix masking out of the most significant byte of random value used.
32205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32207 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
32209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32211 2012-03-09  David S. Miller  <davem@davemloft.net>
32213         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32214         variables with appropriate CPP guards.
32215         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32216         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
32217         on resulting framesize and the management of the outregs buffer for pltexit.
32218         Preserve floating point return values across _dl_call_pltexit call.
32219         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32220         framesize and the management of the outregs buffer for pltexit.
32221         Preserve floating point return values across _dl_call_pltexit
32222         call.
32223         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32224         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32225         (print_exit): Fix format string for return register value.
32227 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
32229         * sunrpc/Makefile (others): Add rpcgen.
32230         ($(objpfx)rpcgen): Remove special build rule and dependency on
32231         libc.
32232         * sunrpc/rpcgen.c: New file.
32234 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
32236         [BZ #13673]
32237         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32238         * stdio-common/bug-vfprintf-nargs.c: Likewise.
32239         * sysdeps/i386/crti.S: Likewise.
32240         * sysdeps/i386/crtn.S: Likewise.
32241         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32242         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32243         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32244         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32245         * sysdeps/sh/crti.S: Likewise.
32246         * sysdeps/sh/crtn.S: Likewise.
32247         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32249         [BZ #13673]
32250         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32251         with URL.
32252         * locale/programs/locfile-kw.gperf: Likewise.
32253         * locale/programs/charmap-kw.h: Regenerated.
32254         * locale/programs/locfile-kw.h: Likewise.
32256         [BZ #13673]
32257         * intl/plural.y: Replace FSF snail mail address with URL.
32258         * intl/plural.c: Regenerated.
32260 2012-03-09  Richard Henderson  <rth@twiddle.net>
32262         * include/math_private.h: Remove file.
32263         * math/math_private.h: Move file ...
32264         * sysdeps/generic/math_private.h: ... here.
32266         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32267         * sysdeps/powerpc/fpu/math_private.h: Likewise.
32268         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32270         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32271         and <math_private.h>.
32272         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32273         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32274         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32275         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32276         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32277         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32278         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32279         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32280         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32281         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32283         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32284         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32285         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32286         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32287         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32288         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32289         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32290         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32291         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32292         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32293         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32294         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32295         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32296         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32297         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32298         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32299         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32300         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32301         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32302         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32303         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32304         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32305         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32306         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32307         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32308         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32309         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32310         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32311         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32312         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32313         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32314         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32315         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32316         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32317         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32318         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32319         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32320         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32321         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32322         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32323         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32324         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32325         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32326         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32327         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32328         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32329         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32330         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32331         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32332         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32333         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32334         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32335         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32336         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32337         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32338         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32339         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32340         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32341         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32342         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32343         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32344         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32345         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32346         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32347         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32348         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32349         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32350         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32351         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32352         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32353         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32354         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32355         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32356         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32357         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32358         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32359         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32360         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32361         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32362         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32363         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32364         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32365         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32366         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32367         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32368         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32369         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32370         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32372         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32373         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32374         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32375         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32376         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32377         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32378         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32379         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32380         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32381         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32382         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32383         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32384         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32385         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32386         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32387         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32388         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32389         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32390         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32391         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32392         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32393         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32394         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32395         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32396         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32397         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32398         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32399         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32400         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32401         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32402         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32403         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32404         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32405         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32406         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32407         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32408         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32409         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32410         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32411         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32412         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32413         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32414         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32415         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32416         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32417         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32418         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32419         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32420         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32421         * sysdeps/ieee754/k_standard.c: Likewise.
32422         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32423         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32424         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32425         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32426         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32427         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32428         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32429         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32430         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32431         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32432         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32433         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32434         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32435         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32436         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32437         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32438         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32439         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32440         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32441         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32442         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32443         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32444         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32445         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32446         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32447         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32448         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32449         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32450         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32451         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32452         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32453         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32454         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32455         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32456         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32457         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32458         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32459         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32460         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32461         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32462         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32463         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32464         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32465         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32466         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32467         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32468         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32469         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32470         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32471         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32472         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32473         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32474         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32475         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32476         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32477         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32478         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32479         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32480         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32481         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32482         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32483         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32484         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32485         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32486         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32487         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32488         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32489         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32490         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32491         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32492         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32493         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32494         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32495         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32496         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32497         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32498         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32499         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32501         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32502         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32503         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32504         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32505         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32506         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32507         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32508         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32509         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32510         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32511         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32512         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32513         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32514         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32515         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32516         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32517         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32518         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32519         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32520         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32521         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32522         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32523         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32524         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32525         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32526         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32527         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32528         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32529         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32530         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32531         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32532         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32533         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32534         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32535         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32536         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32537         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32538         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32539         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32540         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32541         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32542         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32543         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32544         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32545         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32546         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32547         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32548         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32549         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32550         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32551         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32552         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32553         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32554         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32555         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32556         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32557         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32558         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32559         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32560         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32561         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32562         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32563         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32564         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32565         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32566         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32567         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32568         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32569         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32570         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32571         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32572         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32573         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32574         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32575         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32576         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32577         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32578         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32579         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32580         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32581         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32582         * sysdeps/ieee754/s_lib_version.c: Likewise.
32583         * sysdeps/ieee754/s_matherr.c: Likewise.
32584         * sysdeps/ieee754/s_signgam.c: Likewise.
32585         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32586         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32587         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32588         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32589         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32590         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32591         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32592         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32593         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32594         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32595         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32596         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32597         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32598         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32599         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32600         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32601         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32602         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32603         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32604         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32605         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32607 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32609         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32610         * sunrpc/rpc_main.c: Likewise.
32611         * sunrpc/rpc_svcout.c: Likewise.
32613 2012-03-09  David S. Miller  <davem@davemloft.net>
32615         * include/math_private.h: New file.
32617 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32619         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32620         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32621         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32622         from <bits/socket_type.h>.
32623         (enum __socket_type): Don't define here.
32624         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32625         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32626         bits/socket_type.h.
32628         [BZ #13566]
32629         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32630         checking __USE_GNU.
32632         * Makerules ($(inst_includedir)/%.h): New rule.
32633         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32634         (install-others): Remove variable setting.
32635         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32637 2012-03-08  Richard Henderson  <rth@twiddle.net>
32639         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32640         from macro to inline function; merge with the
32641         !__LIBC_INTERNAL_MATH_INLINES version.
32642         (__ieee754_sqrtf): Likewise.
32644         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32645         to inline function.
32646         (__rintf, __floor, __floorf): Likewise.
32648         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32649         macro to inline function.
32650         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32652         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32653         not <math/math_private.h>.
32655 2012-03-08  David S. Miller  <davem@davemloft.net>
32657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32658         copyright year.
32659         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32661 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
32663         * resolv/gai_misc.c (handle_requests): Fix struct timespec
32664         normalization.
32665         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32666         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32668 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
32670         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
32671         be defined individually, they must be defined as a block.  Define
32672         S for printing a string instead of hidint the different by using a
32673         macro for adding the 'l'.
32674         * stdio-common/tst-fphex-wide.c: Adjust.
32676 2012-03-07  Marek Polacek  <polacek@redhat.com>
32678         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32680 2012-03-08  Marek Polacek  <polacek@redhat.com>
32682         [BZ #13806]
32683         * stdio-common/Makefile (tests): Add tst-fphex-wide.
32684         * stdio-common/tst-fphex.c: Define a few macros to make the
32685         test reusable.  Use them.
32686         * stdio-common/tst-fphex-wide.c: New file.
32688 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
32690         [BZ #6911]
32691         * manual/macros.texi (gnusystems): New macro.
32692         (nongnusystems): Likewise.
32693         (gnulinuxhurdsystems): Likewise.
32694         (gnuhurdsystems): Likewise..
32695         (gnulinuxsystems): Likewise.
32696         * manual/charset.texi: Use new macros or @theglibc{} to refer to
32697         variants of the GNU system, not "GNU system".
32698         * manual/conf.texi: Likewise.
32699         * manual/errno.texi: Likewise.  Update example of errno macro
32700         expansion.
32701         * manual/filesys.texi: Likewise.
32702         (getumask): Document as specific to GNU/Hurd.
32703         * manual/install.texi: Likewise.  Reword some references to
32704         GNU/Linux.
32705         * manual/intro.texi: Likewise.
32706         * manual/io.texi: Likewise.
32707         (File Name Portability): Detail which constraints are inapplicable
32708         to all GNU systems and which are only inapplicable to GNU/Hurd.
32709         * manual/job.texi: Likewise.
32710         * manual/llio.texi: Likewise.
32711         (O_NOCTTY): Document as present on GNU/Linux.
32712         * manual/maint.texi: Likewise.
32713         * manual/memory.texi: Likewise.
32714         * manual/pattern.texi: Likewise.
32715         * manual/pipe.texi: Likewise.
32716         * manual/process.texi: Likewise.
32717         * manual/resource.texi: Likewise.
32718         (RUSAGE_CHILDREN): Remove statement about specifying a particular
32719         child on GNU/Hurd.
32720         * manual/setjmp.texi: Likewise.
32721         * manual/signal.texi: Likewise.
32722         * manual/startup.texi: Likewise.
32723         * manual/stdio.texi: Likewise.
32724         * manual/terminal.texi: Likewise.
32725         (ONLCR): Document as POSIX.
32726         (OXTABS): Document availability on GNU/Linux as XTABS.
32727         (ONOEOT): Document availability separately from other bits.
32728         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32729         * manual/time.texi: Likewise.
32730         * manual/users.texi: Likewise.
32731         * INSTALL: Regenerated.
32732         * sysdeps/gnu/errlist.c: Regenerated.
32734         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32735         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32736         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
32737         puts.
32738         * configure: Regenerated.
32740 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
32742         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32743         default includes instead of AC_HEADER_CHECK.
32744         * sysdeps/i386/configure: Regenerated.
32746         [BZ #10716]
32747         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32748         * math/s_cacoshf.c (__cacoshf): Likewise.
32749         * math/s_cacoshl.c (__cacoshl): Likewise.
32750         * math/s_casinh.c (__casinh): Set signs of result from argument.
32751         * math/s_casinhf.c (__casinhf): Likewise.
32752         * math/s_casinhl.c (__casinhl): Likewise.
32753         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32754         (casinh_test): Add more tests.
32755         * sysdeps/i386/fpu/libm-test-ulps: Update.
32756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32758 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
32760         * po/zh_TW.po: Update from translation team.
32762         * login/Makefile (distribute): Remove variable.
32763         * catgets/Makefile: Likewise.
32764         * mach/Makefile: Likewise.
32765         * malloc/Makefile: Likewise.
32766         * misc/Makefile: Likewise.
32767         * iconv/Makefile: Likewise.
32768         * nscd/Makefile: Likewise.
32769         * hurd/Makefile: Likewise.
32770         * manual/Makefile: Likewise.
32771         * locale/Makefile: Likewise.
32772         * intl/Makefile: Likewise.
32773         * conform/Makefile: Likewise.
32774         * nss/Makefile: Likewise.
32775         * time/Makefile: Likewise.
32776         * soft-fp/Makefile: Likewise.
32777         * dirent/Makefile: Likewise.
32778         * gmon/Makefile: Likewise.
32779         * po/Makefile: Likewise.
32780         * rt/Makefile: Likewise.
32781         * socket/Makefile: Likewise.
32782         * math/Makefile: Likewise.
32783         * signal/Makefile: Likewise.
32784         * debug/Makefile: Likewise.
32785         * elf/Makefile: Likewise.
32786         * timezone/Makefile: Likewise.
32787         * stdlib/Makefile: Likewise.
32788         * iconvdata/Makefile: Likewise.
32789         * sunrpc/Makefile: Likewise.
32790         * io/Makefile: Likewise.
32791         * argp/Makefile: Likewise.
32792         * inet/Makefile: Likewise.
32793         * hesiod/Makefile: Likewise.
32794         * grp/Makefile: Likewise.
32795         * csu/Makefile: Likewise.
32796         * wctype/Makefile: Likewise.
32797         * crypt/Makefile: Likewise.
32798         * libio/Makefile: Likewise.
32799         * string/Makefile: Likewise.
32800         * nis/Makefile: Likewise.
32801         * resolv/Makefile: Likewise.
32802         * stdio-common/Makefile: Likewise.
32803         * wcsmbs/Makefile: Likewise.
32804         * dlfcn/Makefile: Likewise.
32805         * posix/Makefile: Likewise.
32807         [BZ #6959]
32808         * timezone/Makefile: Don't install timezone files, just the programs
32809         and scripts.
32811 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
32813         * nss/databases.def: Add missing gshadow entry.
32815         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
32817 2012-03-06  Marek Polacek  <polacek@redhat.com>
32819         [BZ #13726]
32820         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32821         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32822         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32823         * stdio-common/tst-long-dbl-fphex.c: New file.
32825 2012-03-06  David S. Miller  <davem@davemloft.net>
32827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32828         (set_obp_int): New function.
32829         (get_obp_int): New function.
32830         (__get_clockfreq_via_dev_openprom): Likewise.
32831         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32832         Avoid unused variable warnings on 'val' and use builtin_expect.
32833         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32834         __builtin_expect.
32835         (INLINE_CLONE_SYSCALL): Likewise.
32837 2012-03-05  David S. Miller  <davem@davemloft.net>
32839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32841 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
32843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32845         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32846         only for |x| >= 40.
32847         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32849 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32851         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32852         Replace gettimeofday with __vdso_gettimeofday.
32854         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32855         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32856         __vdso_clock_gettime and __vdso_getcpu.
32858         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32859         time with __vdso_time.
32861 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32863         * manual/lang.texi (size_t): Note types to which size_t may be
32864         equivalent with the GNU C Library, but do not describe when
32865         differences between them are significant.
32867 2012-03-05  Andreas Jaeger  <aj@suse.de>
32869         * sysdeps/i386/fpu/libm-test-ulps: Update.
32871 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32873         [BZ #3976]
32874         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32875         (__ieee754_pow): Save and restore rounding mode and use
32876         round-to-nearest for main computations.
32877         * math/libm-test.inc (pow_test_tonearest): New function.
32878         (pow_test_towardzero): Likewise.
32879         (pow_test_downward): Likewise.
32880         (pow_test_upward): Likewise.
32881         (main): Call the new functions.
32882         * sysdeps/i386/fpu/libm-test-ulps: Update.
32883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32885         [BZ #3976]
32886         * math/libm-test.inc (cosh_test_tonearest): New function.
32887         (cosh_test_towardzero): Likewise.
32888         (cosh_test_downward): Likewise.
32889         (cosh_test_upward): Likewise.
32890         (sinh_test_tonearest): Likewise.
32891         (sinh_test_towardzero): Likewise.
32892         (sinh_test_downward): Likewise.
32893         (sinh_test_upward): Likewise.
32894         (main): Call the new functions.
32895         * sysdeps/i386/fpu/libm-test-ulps: Update.
32896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32898 2012-03-05  Tom de Vries  <tom@codesourcery.com>
32900         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32901         default stack guard is set in last bytes.
32902         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32904 2012-03-05  Kees Cook  <keescook@chromium.org>
32906         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32908         [BZ #13656]
32909         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32910         possibly allocate from heap instead of stack.
32911         * stdio-common/bug-vfprintf-nargs.c: New file.
32912         * stdio-common/Makefile (tests): Add nargs overflow test.
32914 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
32916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32918 2012-03-03  Marek Polacek  <polacek@redhat.com>
32920         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
32921         * math/math_private.h: Likewise.
32922         * stdlib/tst-strtod.c: Likewise.
32923         * sysdeps/i386/i486/bits/atomic.h: Likewise.
32924         * sysdeps/x86_64/bits/atomic.h: Likewise.
32926 2012-03-02  David S. Miller  <davem@davemloft.net>
32928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
32929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
32930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
32931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
32932         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
32933         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
32934         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
32935         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32937 2012-03-02  Roland McGrath  <roland@hack.frob.com>
32939         [BZ #13792]
32940         * manual/examples/README: New file, says the example source files
32941         can be used under GPL>=2.
32942         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
32943         line containing just "*/".
32944         * manual/examples/add.c: Add copyright header (GPL>=2).
32945         * manual/examples/argp-ex1.c: Likewise.
32946         * manual/examples/argp-ex2.c: Likewise.
32947         * manual/examples/argp-ex3.c: Likewise.
32948         * manual/examples/argp-ex4.c: Likewise.
32949         * manual/examples/atexit.c: Likewise.
32950         * manual/examples/db.c: Likewise.
32951         * manual/examples/dir.c: Likewise.
32952         * manual/examples/dir2.c: Likewise.
32953         * manual/examples/execinfo.c: Likewise.
32954         * manual/examples/filecli.c: Likewise.
32955         * manual/examples/filesrv.c: Likewise.
32956         * manual/examples/fmtmsgexpl.c: Likewise.
32957         * manual/examples/genpass.c: Likewise.
32958         * manual/examples/inetcli.c: Likewise.
32959         * manual/examples/inetsrv.c: Likewise.
32960         * manual/examples/isockad.c: Likewise.
32961         * manual/examples/longopt.c: Likewise.
32962         * manual/examples/memopen.c: Likewise.
32963         * manual/examples/memstrm.c: Likewise.
32964         * manual/examples/mkfsock.c: Likewise.
32965         * manual/examples/mkisock.c: Likewise.
32966         * manual/examples/mygetpass.c: Likewise.
32967         * manual/examples/pipe.c: Likewise.
32968         * manual/examples/popen.c: Likewise.
32969         * manual/examples/rprintf.c: Likewise.
32970         * manual/examples/search.c: Likewise.
32971         * manual/examples/select.c: Likewise.
32972         * manual/examples/setjmp.c: Likewise.
32973         * manual/examples/sigh1.c: Likewise.
32974         * manual/examples/sigusr.c: Likewise.
32975         * manual/examples/stpcpy.c: Likewise.
32976         * manual/examples/strdupa.c: Likewise.
32977         * manual/examples/strftim.c: Likewise.
32978         * manual/examples/strncat.c: Likewise.
32979         * manual/examples/subopt.c: Likewise.
32980         * manual/examples/swapcontext.c: Likewise.
32981         * manual/examples/termios.c: Likewise.
32982         * manual/examples/testopt.c: Likewise.
32983         * manual/examples/testpass.c: Likewise.
32984         * manual/examples/timeval_subtract.c: Likewise.
32986         [BZ #13792]
32987         * manual/time.texi (Elapsed Time): Move timeval_subtract example
32988         function to ...
32989         * manual/timeval_subtract.c.texi: ... here, new file.
32991 2012-03-02  David S. Miller  <davem@davemloft.net>
32993         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
32995 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
32997         [BZ #3976]
32998         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
32999         (__sin): Save and restore rounding mode and use round-to-nearest
33000         for all computations.
33001         (__cos): Save and restore rounding mode and use round-to-nearest
33002         for all computations.
33003         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33004         <fenv.h>.
33005         (tan): Save and restore rounding mode and use round-to-nearest for
33006         all computations.
33007         * math/libm-test.inc (cos_test_tonearest): New function.
33008         (cos_test_towardzero): Likewise.
33009         (cos_test_downward): Likewise.
33010         (cos_test_upward): Likewise.
33011         (sin_test_tonearest): Likewise.
33012         (sin_test_towardzero): Likewise.
33013         (sin_test_downward): Likewise.
33014         (sin_test_upward): Likewise.
33015         (tan_test_tonearest): Likewise.
33016         (tan_test_towardzero): Likewise.
33017         (tan_test_downward): Likewise.
33018         (tan_test_upward): Likewise.
33019         (main): Call the new functions.
33020         * sysdeps/i386/fpu/libm-test-ulps: Update.
33021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33023         [BZ #10135]
33024         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33025         small n, then large n, before computing and testing k+n.
33026         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33027         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33028         Likewise.
33029         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33030         Likewise.
33031         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33032         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33033         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33034         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33035         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33036         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33037         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33038         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33039         * math/libm-test.inc (scalbn_test): Add more tests.
33040         (scalbln_test): Likewise.
33042         * manual/filesys.texi (mode_t): Describe constraints on size and
33043         signedness, not exact equivalence to a particular type.
33044         (ino_t): Likewise.
33045         (ino64_t): Likewise.
33046         (dev_t): Likewise.
33047         (nlink_t): Likewise.
33048         (blkcnt_t): Likewise.
33049         (blkcnt64_t): Likewise.
33050         * manual/llio.texi (off_t): Likewise.
33052         [BZ #3976]
33053         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33054         (__ieee754_exp): Save and restore rounding mode and use
33055         round-to-nearest for all computations.
33056         * math/libm-test.inc (exp_test_tonearest): New function.
33057         (exp_test_towardzero): Likewise.
33058         (exp_test_downward): Likewise.
33059         (exp_test_upward): Likewise.
33060         (main): Call the new functions.
33061         * sysdeps/i386/fpu/libm-test-ulps: Update.
33062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33064 2012-03-01  Chris Demetriou  <cgd@google.com>
33066         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33067         have predictable order.
33069 2012-03-01  David S. Miller  <davem@davemloft.net>
33071         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33073         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33074         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33075         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33076         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33078         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33079         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33080         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33082         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33083         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33084         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33085         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33086         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33090         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33091         * sysdeps/sparc/fpu/libm-test-ulps: to here.
33092         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33094         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33095         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33096         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33097         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33098         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33099         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33100         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33101         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33102         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33103         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33104         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33105         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33106         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33107         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33108         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33110         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33111         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33112         * sysdeps/sparc/elf/configure: Regenerated.
33114 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
33116         * configure.in (AS, LD): Require binutils 2.20 or later.
33117         * configure: Regenerated.
33118         * manual/install.texi (Tools for Compilation): Give binutils 2.20
33119         as required minimum version.
33120         * INSTALL: Regenerated.
33122         [BZ #2541]
33123         [BZ #4108]
33124         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33125         before squaring exponent.
33126         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33127         bottom long double and 27 bits of top long double before squaring
33128         exponent.
33129         * math/libm-test.inc (erfc_test): Add more tests.
33130         * sysdeps/i386/fpu/libm-test-ulps: Update.
33131         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33134 2012-03-01  Kai Tietz  <ktietz@redhat.com>
33136         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33137         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33138         containing bit-fields.
33139         * soft-fp/extended.h (_FP_UNION_E): Likewise.
33140         * soft-fp/single.h (_FP_UNION_S): Likewise.
33141         * soft-fp/double.h (_FP_UNION_D): Likewise.
33143 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33145         [BZ #13786]
33146         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33147         not include ../strcmp.S.
33148         [USE_AS_STRNCASECMP_L]: Likewise.
33149         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33150         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33151         * sysdeps/i386/i686/multiarch/strncase_l-c.c
33152         (__strncasecmp_l_ia32): Define as alias to
33153         __strncasecmp_l_nonascii.
33155         [BZ #5794]
33156         * math/libm-test.inc (expm1_test): Add test for bug 5794.
33157         * sysdeps/i386/fpu/libm-test-ulps: Update.
33158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33160         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33163 2012-02-29  Jeff Law  <law@redhat.com>
33165         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33166         out of bounds read.
33168 2012-02-29  Marek Polacek  <polacek@redhat.com>
33170         [BZ #13706]
33171         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33172         * elf/Makefile: Add rules to run tst-unused-dep.out.
33174 2012-02-28  David S. Miller  <davem@davemloft.net>
33176         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33177         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33178         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33179         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33180         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33181         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33183 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33185         * math/libm-test.inc (llround_test): Move one test from
33186         lround_test.  Use TEST_f_L in moved test.
33187         (lround_test): Move misplaced test to llround_test.  Add testcase
33188         from bug 2561.
33190 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
33192         * sysdeps/x86_64/fpu/e_expf.S: New file.
33193         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33195 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
33197         [BZ #13637]
33198         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33199         of remain_len that may cause incomplete multi-byte character and
33200         false match.
33201         * posix/bug-regex33.c: New file.
33202         * posix/Makefile (tests): Add bug-regex33.
33204 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
33206         * manual/macros.texi: New file.
33207         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33208         * manual/libc.texinfo: Include macros.texi.
33209         * manual/creatute.texi: Likewise.
33210         * manual/install.texi: Likewise.
33211         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33212         @glibcadj{} in references to the GNU C Library.
33213         * manual/charset.texi: Likewise.
33214         * manual/conf.texi: Likewise.
33215         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
33216         when not using those macros.
33217         * manual/creature.texi: Likewise.
33218         * manual/crypt.texi: Likewise.
33219         * manual/errno.texi: Likewise.
33220         * manual/filesys.texi: Likewise.
33221         * manual/header.texi: Likewise.
33222         * manual/install.texi: Likewise.
33223         * manual/intro.texi: Likewise.
33224         * manual/io.texi: Likewise.
33225         * manual/job.texi: Likewise.
33226         * manual/lang.texi: Likewise.
33227         * manual/libc.texiinfo: Likewise.
33228         * manual/llio.texi: Likewise.
33229         * manual/locale.texi: Likewise.
33230         * manual/maint.texi: Likewise.
33231         * manual/math.texi: Likewise.
33232         * manual/memory.texi: Likewise.
33233         * manual/message.texi: Likewise.
33234         * manual/nss.texi: Likewise.
33235         * manual/pattern.texi: Likewise.
33236         * manual/process.texi: Likewise.
33237         * manual/resource.texi: Likewise.
33238         * manual/search.texi: Likewise.
33239         * manual/setjmp.texi: Likewise.
33240         * manual/signal.texi: Likewise.
33241         * manual/socket.texi: Likewise.
33242         * manual/startup.texi: Likewise.
33243         * manual/stdio.texi: Likewise.
33244         * manual/string.texi: Likewise.
33245         * manual/sysinfo.texi: Likewise.
33246         * manual/syslog.texi: Likewise.
33247         * manual/terminal.texi: Likewise.
33248         * manual/time.texi: Likewise.
33249         * manual/users.texi: Likewise.
33250         * INSTALL: Regenerated.
33251         * NOTES: Regenerated.
33252         * sysdeps/gnu/errlist.c: Regenerated.
33254 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
33256         * include/dirent.h: Include <dirstream.h> before
33257         <dirent/dirent.h>.
33259 2012-02-28  David S. Miller  <davem@davemloft.net>
33261         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33262         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33263         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33264         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33266 2012-02-27  David S. Miller  <davem@davemloft.net>
33268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33270         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33271         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33274         frame pointer instead of stack pointer relative arg slot.
33275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33276         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33277         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33279 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
33281         [BZ #3992]
33282         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33284 2012-02-27  David S. Miller  <davem@davemloft.net>
33286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33290         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33291         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33292         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33293         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33295 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33297         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33298         later.  Allow versions 5-9.
33299         * configure: Regenerated.
33300         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33301         required minimum version and 4.6 as recommended version.  Do not
33302         mention bugs in GCC 2.7 and 2.8.
33303         * INSTALL: Regenerated.
33305 2012-02-27  David S. Miller  <davem@davemloft.net>
33307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33311         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33312         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33313         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33314         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33316         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33317         manipulate bits before adding and subtracting TWO112[sx].
33318         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33320 2012-02-27  Roland McGrath  <roland@hack.frob.com>
33322         [BZ #13775]
33323         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33324         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33325         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33326         being in POSIX, because they are in 1003.1-2008.
33328         * rt/tst-aio.c: Include <fcntl.h>.
33329         * rt/tst-aio7.c: Likewise.
33330         * rt/tst-aio64.c: Likewise.
33332         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33334 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33336         * manual/install.texi (--with-headers): Describe headers as
33337         interface headers, not private headers.
33338         (Specific advice for GNU/Linux systems): Describe use of headers
33339         from "make headers_install", not private headers from older
33340         kernels.
33341         * INSTALL: Regenerated.
33342         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33343         Change to 2.6.19.
33344         * sysdeps/unix/sysv/linux/configure: Regenerated.
33346         * manual/llio.texi (fclean): Remove documentation.
33348         * manual/Makefile (libc-texi-generated): New variable.  Include
33349         version.texi.
33350         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33351         $(libc-texi-generated), not duplicated list of files.
33352         (version.texi, stamp-version): New rules.
33353         (realclean): Remove $(libc-texi-generated), not individual files
33354         from that list.  Do not remove dir-add.texinfo.
33355         * manual/libc.texinfo: Comment out uses of edition numbers and
33356         references to printed manual.  Remove last-updated dates.
33357         (EDITION): Comment out.
33358         (ISBN): Likewise.
33359         (VERSION, UPDATED): Remove.
33360         (version.texi): Include.
33362 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
33364         * sysdeps/posix/spawni.c: Include <signal.h>.
33365         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33366         * sysdeps/pthread/aio_fsync.c: Likewise.
33368 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
33370         * conform/Makefile (tests): Run only when not cross-compiling and
33371         when fast-check is not defined.
33373         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33374         * conform/data/limits.h-data: Fixes for POSIX2008.
33375         * conform/run-conformtest.sh: Run all tests.
33376         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33377         headers.
33378         * include/bits/dlfcn.h: Likewise.
33379         * include/langinfo.h: Likewise.
33380         * include/monetary.h: Likewise.
33381         * include/sys/poll.h: Likewise.
33383         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33384         for __USE_GNU.
33385         * posix/spawn.h: Define __need_sigset_t.
33386         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33387         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33388         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
33389         to get sigevent_t only.
33390         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33391         only for __USE_GNU.
33392         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33393         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33394         process_vm_writev only for __USE_GNU.
33395         * termios/termios.h: Declare tcgetsid also for POSIX2008.
33397         * conform/Makefile: For now ignore errors from run-conformtest.
33398         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
33399         POSIX to avoid namespace pollution.  Don't prepend headers.
33400         * conform/data/aio.h-data: Fixes for POSIX testing.
33401         * conform/data/fcntl.h-data: Likewise.
33402         * conform/data/glob.h-data: Likewise.
33403         * conform/data/grp.h-data: Likewise.
33404         * conform/data/pthread.h-data: Likewise.
33405         * conform/data/pwd.h-data: Likewise.
33406         * conform/data/signal.h-data: Likewise.
33407         * conform/data/spawn.h-data: Likewise.
33408         * conform/data/stdio.h-data: Likewise.
33409         * conform/data/stdlib.h-data: Likewise.
33410         * conform/data/stropts.h-data: Likewise.
33411         * conform/data/sys/mman.h-data: Likewise.
33412         * conform/data/sys/stat.h-data: Likewise.
33413         * conform/data/sys/types.h-data: Likewise.
33414         * conform/data/sys/wait.h-data: Likewise.
33415         * conform/data/time.h-data: Likewise.
33416         * conform/data/unistd.h-data: Likewise.
33417         * conform/data/utime.h-data: Likewise.
33419         * io/sys/stat.h: fchmod was always in POSIX.
33420         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33421         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33422         * rt/aio.h: Define __need_timespec before including <time.h>.
33423         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33424         struct.  Add forward declaration of pthread_attr_t and use it in
33425         sigevent.
33426         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33427         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33428         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33429         always remove CLK_TCK definition.
33431 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
33433         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33435 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
33437         * conform/run-conformtest.sh: New file.
33438         * conform/Makefile: Run run-conformtest for tests.
33439         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
33440         support.
33442         * conform/data/uchar.h-data: New file.
33443         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33444         * conform/data/arpa/inet.h-data: Likewise.
33445         * conform/data/assert.h-data: Likewise.
33446         * conform/data/complex.h-data: Likewise.
33447         * conform/data/cpio.h-data: Likewise.
33448         * conform/data/ctype.h-data: Likewise.
33449         * conform/data/dirent.h-data: Likewise.
33450         * conform/data/dlfcn.h-data: Likewise.
33451         * conform/data/errno.h-data: Likewise.
33452         * conform/data/fcntl.h-data: Likewise.
33453         * conform/data/float.h-data: Likewise.
33454         * conform/data/fmtmsg.h-data: Likewise.
33455         * conform/data/fnmatch.h-data: Likewise.
33456         * conform/data/ftw.h-data: Likewise.
33457         * conform/data/glob.h-data: Likewise.
33458         * conform/data/grp.h-data: Likewise.
33459         * conform/data/iconv.h-data: Likewise.
33460         * conform/data/inttypes.h-data: Likewise.
33461         * conform/data/langinfo.h-data: Likewise.
33462         * conform/data/libgen.h-data: Likewise.
33463         * conform/data/limits.h-data: Likewise.
33464         * conform/data/locale.h-data: Likewise.
33465         * conform/data/math.h-data: Likewise.
33466         * conform/data/monetary.h-data: Likewise.
33467         * conform/data/mqueue.h-data: Likewise.
33468         * conform/data/ndbm.h-data: Likewise.
33469         * conform/data/net/if.h-data: Likewise.
33470         * conform/data/netdb.h-data: Likewise.
33471         * conform/data/netinet/in.h-data: Likewise.
33472         * conform/data/nl_types.h-data: Likewise.
33473         * conform/data/poll.h-data: Likewise.
33474         * conform/data/pthread.h-data: Likewise.
33475         * conform/data/pwd.h-data: Likewise.
33476         * conform/data/regex.h-data: Likewise.
33477         * conform/data/sched.h-data: Likewise.
33478         * conform/data/search.h-data: Likewise.
33479         * conform/data/semaphore.h-data: Likewise.
33480         * conform/data/setjmp.h-data: Likewise.
33481         * conform/data/signal.h-data: Likewise.
33482         * conform/data/spawn.h-data: Likewise.
33483         * conform/data/stdarg.h-data: Likewise.
33484         * conform/data/stdio.h-data: Likewise.
33485         * conform/data/stdlib.h-data: Likewise.
33486         * conform/data/string.h-data: Likewise.
33487         * conform/data/strings.h-data: Likewise.
33488         * conform/data/stropts.h-data: Likewise.
33489         * conform/data/sys/ipc.h-data: Likewise.
33490         * conform/data/sys/mman.h-data: Likewise.
33491         * conform/data/sys/msg.h-data: Likewise.
33492         * conform/data/sys/resource.h-data: Likewise.
33493         * conform/data/sys/select.h-data: Likewise.
33494         * conform/data/sys/sem.h-data: Likewise.
33495         * conform/data/sys/shm.h-data: Likewise.
33496         * conform/data/sys/socket.h-data: Likewise.
33497         * conform/data/sys/stat.h-data: Likewise.
33498         * conform/data/sys/statvfs.h-data: Likewise.
33499         * conform/data/sys/time.h-data: Likewise.
33500         * conform/data/sys/timeb.h-data: Likewise.
33501         * conform/data/sys/times.h-data: Likewise.
33502         * conform/data/sys/types.h-data: Likewise.
33503         * conform/data/sys/uio.h-data: Likewise.
33504         * conform/data/sys/un.h-data: Likewise.
33505         * conform/data/sys/utsname.h-data: Likewise.
33506         * conform/data/sys/wait.h-data: Likewise.
33507         * conform/data/syslog.h-data: Likewise.
33508         * conform/data/tar.h-data: Likewise.
33509         * conform/data/termios.h-data: Likewise.
33510         * conform/data/utime.h-data: Likewise.
33511         * conform/data/utmpx.h-data: Likewise.
33512         * conform/data/varargs.h-data: Likewise.
33513         * conform/data/wchar.h-data: Likewise.
33514         * conform/data/wctype.h-data: Likewise.
33515         * conform/data/wordexp.h-data: Likewise.
33517         * include/stropts.h: New file.
33518         * include/uchar.h: New file.
33519         * include/aio.h: Changes to allow conformtest.pl to use the headers.
33520         * include/assert.h: Likewise.
33521         * include/ctype.h: Likewise.
33522         * include/dirent.h: Likewise.
33523         * include/dlfcn.h: Likewise.
33524         * include/fcntl.h: Likewise.
33525         * include/fnmatch.h: Likewise.
33526         * include/glob.h: Likewise.
33527         * include/grp.h: Likewise.
33528         * include/libio.h: Likewise.
33529         * include/locale.h: Likewise.
33530         * include/math.h: Likewise.
33531         * include/net/if.h: Likewise.
33532         * include/netdb.h: Likewise.
33533         * include/netinet/in.h: Likewise.
33534         * include/pthread.h: Likewise.
33535         * include/pwd.h: Likewise.
33536         * include/regex.h: Likewise.
33537         * include/sched.h: Likewise.
33538         * include/search.h: Likewise.
33539         * include/setjmp.h: Likewise.
33540         * include/signal.h: Likewise.
33541         * include/stdio.h: Likewise.
33542         * include/stdlib.h: Likewise.
33543         * include/string.h: Likewise.
33544         * include/sys/cdefs.h: Likewise.
33545         * include/sys/mman.h: Likewise.
33546         * include/sys/msg.h: Likewise.
33547         * include/sys/resource.h: Likewise.
33548         * include/sys/select.h: Likewise.
33549         * include/sys/socket.h: Likewise.
33550         * include/sys/stat.h: Likewise.
33551         * include/sys/statvfs.h: Likewise.
33552         * include/sys/time.h: Likewise.
33553         * include/sys/times.h: Likewise.
33554         * include/sys/uio.h: Likewise.
33555         * include/sys/utsname.h: Likewise.
33556         * include/sys/wait.h: Likewise.
33557         * include/termios.h: Likewise.
33558         * include/time.h: Likewise.
33559         * include/ulimit.h: Likewise.
33560         * include/unistd.h: Likewise.
33561         * include/utime.h: Likewise.
33562         * include/wchar.h: Likewise.
33563         * include/wctype.h: Likewise.
33564         * include/wordexp.h: Likewise.
33566         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33568         * time/time.h: TIME_UTC must be a macro.
33569         Make timespec_get available for ISO C11 only as well.
33571 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
33573         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33574         Reported by Peng Haitao <penght@cn.fujitsu.com>.
33576 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33578         * configure.in: Use -o not -a in test for unsupported multi-arch.
33580 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33582         * manual/texinfo.tex: Update to version 2012-01-19.16.
33584 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33586         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33588 2012-02-24  Roland McGrath  <roland@hack.frob.com>
33590         [BZ #13738]
33591         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33592         * manual/fdl-1.3.texi: New file.
33593         * manual/fdl-1.1.texi: File removed.
33595         [BZ #13738]
33596         * manual/libc.texinfo (FDL_VERSION): New @set.
33597         Use it for mention of FDL in cover text.
33598         (Documentation License): Use it in @include file name.
33600 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33601             Roland McGrath  <roland@hack.frob.com>
33603         [BZ #5461]
33604         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33605         not LONG_LONG_MAX and LONG_LONG_MIN.
33606         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33607         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
33608         name.
33609         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33611 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33613         [BZ #2547]
33614         [BZ #11365]
33615         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33616         manipulate bits before adding and subtracting TWO23[sx].
33617         * math/libm-test.inc (nearbyint_test): Add more tests.
33619 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33621         [BZ #2548]
33622         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33623         bits before adding and subtracting TWO23[sx].
33624         * math/libm-test.inc (rint_test): Add more tests.
33625         (rint_test_tonearest): Likewise.
33626         (rint_test_towardzero): Likewise.
33627         (rint_test_downward): Likewise.
33628         (rint_test_upward: Likewise.
33630 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33632         [BZ #10110]
33633         * include/stdc-predef.h: New file.  Extracted from features.h.
33634         * include/features.h: Include stdc-predef.h.
33635         * Makefile (headers): Add stdc-predef.h.
33636         * CONFORMANCE (Compiler limitations): Update.
33638 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33640         * manual/libc.texinfo (VERSION, UPDATED): Revert.
33642 2012-02-21  David S. Miller  <davem@davemloft.net>
33644         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33645         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33647 2012-02-20  David S. Miller  <davem@davemloft.net>
33649         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33650         using a normal save/restore sequence, rather than allocating a
33651         dummy stack frame just to store a frame pointer and restore.
33652         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33654 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33656         * manual/install.texi: Fix stray word in line-wrapped comment.
33658 2012-02-20  David S. Miller  <davem@davemloft.net>
33660         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33661         both binutils and gcc support GOTDATA.
33663         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33664         "rd %pc" in the PIC register setup sequences.
33666         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33667         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33668         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33669         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33670         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33671         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33672         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33673         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33674         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33675         (SYSCALL_ERROR_HANDLER): Likewise.
33676         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33677         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33678         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33679         (SYSCALL_ERROR_HANDLER): Likewise.
33681         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33682         (HAVE_GCC_GOTDATA): New.
33683         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33684         relocation support in both binutils and gcc.
33685         * sysdeps/sparc/elf/configure: Regenerate.
33687         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33688         * sysdeps/sparc/sparc32/elf/configure: Delete.
33689         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33690         * sysdeps/sparc/sparc64/elf/configure: Delete.
33691         * sysdeps/sparc/elf/configure.in: New file.
33692         * sysdeps/sparc/elf/configure: Generate.
33694         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33695         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33696         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33697         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33698         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33700 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33702         * manual/install.texi: Do not mention specific glibc version
33703         numbers.
33704         * manual/libc.texinfo (VERSION, UPDATED): Update.
33705         (@copying): Use @copyright{} and range of years.
33707 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33709         [BZ #13695]
33710         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33711         [crti.S not in sysdirs] (generated): Do not append.
33712         [crti.S not in sysdirs] (omit-deps): Likewise.
33713         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33714         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33715         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33716         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33717         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33718         Likewise.
33719         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33720         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33721         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33722         * csu/defs.awk: Remove file.
33723         * sysdeps/generic/initfini.c: Likewise.
33724         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33725         variable.
33726         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33727         Likewise.
33729 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33731         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33732         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33733         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33734         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33735         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33736         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33737         <bits/epoll.h>.
33738         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33739         (__EPOLL_PACKED): Define to empty if not defined by
33740         <bits/epoll.h>.
33741         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33742         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33743         bits/epoll.h.
33745 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33747         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33748         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33749         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33750         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33751         <bits/timerfd.h>.
33752         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33753         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33754         bits/timerfd.h.
33756 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33758         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33759         in C locale.
33760         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33761         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33762         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33765 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
33767         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33768         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33770 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
33772         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33773         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33774         defined.
33775         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33776         Likewise.
33777         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33778         entry for 2.16.
33780 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
33782         * math/w_acos.c: Use non-signaling floating-point comparisons.
33783         * math/w_acosf.c: Likewise.
33784         * math/w_acosh.c: Likewise.
33785         * math/w_acoshf.c: Likewise.
33786         * math/w_acoshl.c: Likewise.
33787         * math/w_acosl.c: Likewise.
33788         * math/w_asin.c: Likewise.
33789         * math/w_asinf.c: Likewise.
33790         * math/w_asinl.c: Likewise.
33791         * math/w_atanh.c: Likewise.
33792         * math/w_atanhf.c: Likewise.
33793         * math/w_atanhl.c: Likewise.
33794         * math/w_exp2.c: Likewise.
33795         * math/w_exp2f.c: Likewise.
33796         * math/w_exp2l.c: Likewise.
33797         * math/w_j0.c: Likewise.
33798         * math/w_j0f.c: Likewise.
33799         * math/w_j0l.c: Likewise.
33800         * math/w_j1.c: Likewise.
33801         * math/w_j1f.c: Likewise.
33802         * math/w_j1l.c: Likewise.
33803         * math/w_jn.c: Likewise.
33804         * math/w_jnf.c: Likewise.
33805         * math/w_log.c: Likewise.
33806         * math/w_log10.c: Likewise.
33807         * math/w_log10f.c: Likewise.
33808         * math/w_log10l.c: Likewise.
33809         * math/w_log2.c: Likewise.
33810         * math/w_log2f.c: Likewise.
33811         * math/w_log2l.c: Likewise.
33812         * math/w_logf.c: Likewise.
33813         * math/w_logl.c: Likewise.
33814         * math/w_sqrt.c: Likewise.
33815         * math/w_sqrtf.c: Likewise.
33816         * math/w_sqrtl.c: Likewise.
33817         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33818         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33819         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33820         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33821         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33823 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33825         [BZ #9739]
33826         * manual/string.texi (strnlen): Use correct parameter name in
33827         equivalent expression.
33829 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33831         [BZ #11174]
33832         * manual/users.texi (seteuid): Consistently use neweuid for
33833         argument name.
33835 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33837         [BZ #13704]
33838         * manual/nss.texi (Services in the NSS configuration): Correct
33839         list of services in example configuration file.
33841 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
33843         [BZ #11322]
33844         * manual/arith.texi: Remove statements about negative zero
33845         behaving identically to zero.
33847 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33849         [BZ #5993]
33850         * manual/install.texi: Do not document upgrading from libc5.
33852 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33854         [BZ #4596]
33855         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33857 2012-02-18  David S. Miller  <davem@davemloft.net>
33859         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33860         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33861         %o7 across the call.
33862         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33863         instead.
33864         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33865         SETUP_PIC_REG_LEAF.
33866         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33867         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33868         * sysdeps/sparc/crtn.S: Likewise.
33870 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
33872         * aout/Makefile: Remove.
33874 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
33876         [BZ #13058]
33877         * manual/examples/argp-ex1.c (main): Format definition in GNU
33878         style.
33879         * manual/examples/argp-ex2.c (main): Likewise.
33880         * manual/examples/argp-ex3.c (main): Likewise.
33881         * manual/examples/argp-ex4.c (main): Likewise.
33882         * manual/examples/longopt.c (main): Use new-style prototype
33883         definition.
33884         * manual/examples/strncat.c (main): Specify return type and use
33885         (void) for arguments.
33886         * manual/examples/subopt.c (main): Use char **argv argument.
33888 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33890         [BZ #5077]
33891         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33892         rounding modes.
33894 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
33896         [BZ #6907]
33897         * manual/string.texi (strchr): Change when strchrnul is
33898         recommended.
33900 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
33902         [BZ #174]
33903         * manual/locale.texi (setlocale): Document LOCPATH.
33905 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33907         [BZ #10210]
33908         * manual/process.texi (execle): Move @dots{} before last argument.
33910 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
33912         [BZ #12047]
33913         * manual/charset.texi (Generic Charset Conversion): Fix typo
33914         (LC_TYPE -> LC_CTYPE).
33916 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
33918         [BZ #5805]
33919         * manual/arith.texi (scalbn): Use @var{} on parameter names.
33920         (scalbnf): Likewise.
33921         (scalbnl): Likewise.
33922         (scalbln): Likewise.
33923         (scalblnf): Likewise.
33924         (scalblnl): Likewise.
33925         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
33926         (vwarnx): Likewise.
33927         (verr): Likewise.
33928         (verrx): Likewise.
33929         * manual/filesys.texi (telldir): Use braces around return type.
33930         * manual/llio.texi (mmap): Add space after comma.
33931         (mmap64): Likewise.
33932         * manual/math.texi (jn): Use @var{} on parameter names.
33933         (jnf): Likewise.
33934         (jnl): Likewise.
33935         (yn): Likewise.
33936         (ynf): Likewise.
33937         (ynl): Likewise.
33938         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
33939         line.
33940         * manual/resource.texi (ulimit): Use @dots{} instead of literal
33941         "...".
33942         (sched_get_priority_min): Remove semicolon on @deftypefun line.
33943         (sched_get_priority_max): Likewise.
33944         * manual/signal.texi (sigvec): Add space after comma.
33945         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
33946         names.
33947         (if_indextoname): Likewise.
33948         (if_freenameindex): Likewise.
33949         (sendto): Use ',' instead of '.' in prototype.
33950         * manual/startup.texi (syscall): Use @dots{} instead of literal
33951         "...".
33952         * manual/stdio.texi (__fpending): Separate initial words of
33953         paragraph from @deftypefun line.
33954         * manual/syslog.texi (syslog): Use @dots{} instead of literal
33955         "...".
33956         (vsyslog): Use @var{} on parameter names.
33957         * manual/terminal.texi (stty): Use @var{} on parameter names.
33958         * manual/users.texi (getutmp): Use @var{} on parameter names.
33959         (getutmpx): Likewise.
33961 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33963         [BZ #6884]
33964         * manual/stdio.texi (fopen): Fix typos in description of
33965         ",ccs=STRING".
33967 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
33969         [BZ #4026]
33970         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
33971         get clock_id definition.
33973 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
33975         [BZ #4822]
33976         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
33977         (madvise): Cast every argument to void on its own.
33979 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33981         [BZ #9902]
33982         * manual/startup.texi (Exit Status): Fix typo.
33984 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33986         [BZ #10140]
33987         * manual/examples/argp-ex1.c: Include <stdlib.h>.
33988         * manual/examples/argp-ex2.c: Likewise.
33989         * manual/examples/argp-ex3.c: Likewise.
33991 2012-02-16  Richard Henderson  <rth@redhat.com>
33993         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
33994         * sysdeps/s390/s390-32/initfini.c: Remove.
33995         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
33996         * sysdeps/s390/s390-64/initfini.c: Remove.
33998 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34000         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34001         compiler output for sysdeps/generic/initfini.c.
34002         * sysdeps/sh/elf/initfini.c: Remove file.
34004 2012-02-16  David S. Miller  <davem@davemloft.net>
34006         [BZ #11494]
34007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34009         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34010         * sysdeps/sparc/crti.S: New file.
34011         * sysdeps/sparc/crtn.S: New file.
34012         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34013         * sysdeps/sparc/sparc64/Makefile: Likewise.
34015 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
34017         [BZ #3335]
34018         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34020 2012-02-15  Roland McGrath  <roland@hack.frob.com>
34022         [BZ #4822]
34023         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34025         * mach/devstream.c (cookie_io_functions_t): Macro removed.
34026         (write, read, close): Likewise.
34027         Patch by Aurelien Jarno <aurelien@aurel32.net>.
34029 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
34031         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34032         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34033         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34034         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34035         <bits/signalfd.h>.
34036         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34038         bits/signalfd.h.
34040 2012-02-14  Marek Polacek  <polacek@redhat.com>
34042         * sysdeps/x86_64/crti.S: New file.
34043         * sysdeps/x86_64/crtn.S: New file.
34044         * sysdeps/x86_64/elf/initfini.c: Remove file.
34046 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34048         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34049         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34050         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34051         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34052         <bits/inotify.h>.
34053         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34055         bits/inotify.h.
34057 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34059         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34060         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34061         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34062         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34063         <bits/eventfd.h>.
34064         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34065         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34066         bits/eventfd.h.
34068 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
34070         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34071         __feraiseexcept instead of feraiseexcept.
34073         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34074         nanosleep invocations.
34075         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34076         strings, and add error checking for a nanosleep invocations.
34078 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
34080         Replace FSF snail mail address with URLs, as per GNU coding standards.
34081         Most of the snail mail addresses were wrong anyway, and omitting
34082         them makes the source code easier to maintain.  Almost all of the
34083         changes are to license notices and to locale LC_IDENTIFICATION
34084         addresses, except for this one:
34085         * manual/libc.texinfo: In "Published by", give the FSF's URL,
34086         not its snail mail address.
34088 2012-02-09  Richard Henderson  <rth@twiddle.net>
34090         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34091         of kernel-features.h.
34093         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34095 2012-02-08  Marek Polacek  <polacek@redhat.com>
34097         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34098         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34099         * sysdeps/gnu/_G_config.h: Likewise.
34100         * sysdeps/generic/_G_config.h: Likewise.
34102 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
34104         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34105         tests.
34106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34108         * sysdeps/powerpc/powerpc32/crti.S: New file.
34109         * sysdeps/powerpc/powerpc32/crtn.S: New file.
34110         * sysdeps/powerpc/powerpc64/crti.S: New file.
34111         * sysdeps/powerpc/powerpc64/crtn.S: New file.
34113         * Makeconfig (have-initfini): Don't set.
34114         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34115         * configure.in (nopic_initfini): Don't substitute.
34116         * config.h.in (HAVE_INITFINI): Don't #undef.
34117         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34118         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34120 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
34122         Support crti.S and crtn.S provided directly by architectures.
34123         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34124         [crti.S in sysdirs] (omit-deps): Likewise.
34125         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34126         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34127         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34128         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34129         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34130         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34131         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34132         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34133         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34134         compiler output for sysdeps/generic/initfini.c.
34135         * sysdeps/i386/elf/Makefile: Remove file.
34136         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34138 2012-02-07  Marek Polacek  <polacek@redhat.com>
34140         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34141         * sysdeps/gnu/_G_config.h: Likewise.
34142         * sysdeps/mach/hurd/_G_config.h: Likewise.
34144 2012-02-07  Marek Polacek  <polacek@redhat.com>
34146         * math/Makefile (tests): Add tst-CMPLX2.
34147         * math/tst-CMPLX2.c: New file.
34149 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
34151         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34153         * math/libm-test.inc (jn_test): Add missing L suffix.
34155 2012-02-06  Marek Polacek  <polacek@redhat.com>
34157         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34158         * sysdeps/i386/fpu/e_powf.S: Likewise.
34159         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34160         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34161         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34162         * sysdeps/i386/fpu/e_pow.S: Likewise.
34163         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34164         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34165         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34166         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34167         * sysdeps/i386/fpu/e_log2.S: Likewise.
34168         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34169         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34170         * sysdeps/i386/fpu/e_powl.S: Likewise.
34171         * sysdeps/i386/fpu/s_log1p.S: Likewise.
34172         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34173         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34174         * sysdeps/i386/fpu/e_logl.S: Likewise.
34175         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34176         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34177         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34178         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34179         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34180         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34181         * sysdeps/i386/fpu/e_log.S: Likewise.
34182         * sysdeps/i386/fpu/s_cexp.S: Likewise.
34183         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34184         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34185         * sysdeps/i386/fpu/e_logf.S: Likewise.
34186         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34187         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34188         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34189         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34190         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34191         * sysdeps/i386/fpu/e_log10.S: Likewise.
34192         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34193         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34194         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34195         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34196         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34197         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34198         * sysdeps/i386/asm-syntax.h: Likewise.
34199         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34200         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34201         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34202         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34203         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34204         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34205         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34206         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34207         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34208         * sysdeps/powerpc/sysdep.h: Likewise.
34209         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34210         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34212 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34214         [BZ #411]
34215         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34217 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34219         * sysdeps/i386/sysdep.h: Include <features.h>.
34220         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34221         version.
34223 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
34225         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34226         Define.
34227         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34228         LOAD_PIC_REG_STR.
34230 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34232         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34233         (SETUP_PIC_REG): Use GET_PC_THUNK.
34234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34235         macro.
34237 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34239         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34240         for non-PIC compilation.
34241         (SETUP_PIC_REG): Add .p2align directive.
34242         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34243         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34244         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34245         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34246         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34247         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34248         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34249         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34250         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34251         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34252         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34253         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34254         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34255         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34256         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34257         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34258         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34259         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34260         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34261         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34262         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34263         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34264         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34265         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34266         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34267         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34268         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34269         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34270         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34271         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34272         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34273         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34274         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34275         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34276         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34277         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34278         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34279         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34280         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34281         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34282         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34284 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34286         * math/tst-CMPLX.c: Include <stdio.h>.
34288 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
34290         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34291         float.
34292         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34293         * sysdeps/sparc/bits/mathdef.h: Likewise.
34295 2012-01-31  Marek Polacek  <polacek@redhat.com>
34297         * libio/libio.h: Don't define _PARAMS.
34298         * locale/programs/config.h: Don't define PARAMS.
34299         * stdlib/strtol_l.c: Likewise.
34300         (__strtol_l): Remove PARAMS from the prototype.
34302 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
34304         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
34305         names.  Just use the correct names.  Remove unnecessary wrapper
34306         functions.
34307         * malloc/arena.c: Likewise.
34308         * malloc/hooks.c: Likewise.
34310         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34311         ARENA_TEST says not to.  Simplify test for creation of a new arena.
34312         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34314 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
34316         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34317         into tail calls.
34318         (update_get_addr): New function.
34319         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34320         GET_ADDR_MODULE parameter.
34322 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34324         * crypt/cert.c: Remove __STDC__ conditionals.
34325         * crypt/crypt-entry.c: Likewise.
34326         * crypt/crypt_util.c: Likewise.
34327         * libio/filedoalloc.c: Likewise.
34328         * libio/fileops.c: Likewise.
34329         * libio/genops.c: Likewise.
34330         * libio/iofclose.c: Likewise.
34331         * libio/iofdopen.c: Likewise.
34332         * libio/iofopen.c: Likewise.
34333         * libio/iofopen64.c: Likewise.
34334         * libio/iogetdelim.c: Likewise.
34335         * libio/iopopen.c: Likewise.
34336         * libio/obprintf.c: Likewise.
34337         * libio/oldfileops.c: Likewise.
34338         * libio/oldiofclose.c: Likewise.
34339         * libio/oldiofdopen.c: Likewise.
34340         * libio/oldiofopen.c: Likewise.
34341         * libio/oldiopopen.c: Likewise.
34342         * libio/wfiledoalloc.c: Likewise.
34343         * libio/wgenops.c: Likewise.
34344         * locale/programs/xmalloc.c: Likewise.
34345         * misc/syslog.c: Likewise.
34346         * stdio-common/xbug.c: Likewise.
34347         * string/memchr.c: Likewise.
34348         * string/memcmp.c: Likewise.
34349         * string/memrchr.c: Likewise.
34350         * string/rawmemchr.c: Likewise.
34351         * sysdeps/posix/getcwd.c: Likewise.
34352         * time/strftime_l.c: Likewise.
34354 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34356         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34357         * config.make.in (config-cflags-sse2avx): Define.
34358         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34359         Fix typo.
34361 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
34363         * scripts/config.guess: Update from upstream config git repository.
34364         * scripts/config.sub: Likewise.
34366 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
34368         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34369         (EM_NUM): Update.
34370         (R_TILEPRO_*, R_TILEGX_*): New macros.
34372         * scripts/firstversions.awk: Fix bug in version range handling.
34374         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34376         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34378         * include/sys/epoll.h: New file.
34379         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34380         libc_hidden_def.
34382 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
34384         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34385         Avoid unnecessary __WORDSIZE == 64 test.
34386         (fmaxf): Use VEX format if possible.
34387         (fmax): Likewise.
34388         (fminf): Likewise.
34389         (fmin): Likewise.
34391         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34392         * math/math_private.h: Remove libc_fegetround* and
34393         libc_fesetround*.
34394         * sysdeps/i386/configure.in: Check for -msse2avx.
34395         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34396         also if SSE2AVX is defined.
34397         Remove libc_fegetround* and libc_fesetround*.
34398         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34399         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
34400         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34401         of HAS_YMM_USABLE.
34402         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34403         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34404         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34405         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34406         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34408         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34410 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34412         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34413         size is not set.
34414         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34416 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
34418         [BZ #13618]
34419         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34420         relocation.
34421         * Makeconfig (libm): Define.
34422         * elf/Makefile: Add rules to build and run tst-relsort1.
34423         * elf/tst-relsort1.c: New file.
34424         * elf/tst-relsort1mod1.c: New file.
34425         * elf/tst-relsort1mod2.c: New file.
34427 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
34429         * math/s_ldexp.c: Remove __STDC__ conditionals.
34430         * math/s_ldexpf.c: Likewise.
34431         * math/s_ldexpl.c: Likewise.
34432         * math/s_nextafter.c: Likewise.
34433         * math/s_nexttowardf.c: Likewise.
34434         * math/s_significand.c: Likewise.
34435         * math/s_significandf.c: Likewise.
34436         * math/s_significandl.c: Likewise.
34437         * math/w_jnl.c: Likewise.
34438         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34439         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34440         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34441         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34442         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34443         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34444         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34445         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34446         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34447         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34448         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34449         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34450         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34451         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34452         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34453         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34454         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34455         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34456         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34457         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34458         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34459         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34460         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34461         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34462         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34463         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34464         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34465         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34466         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34467         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34468         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34469         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34470         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34471         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34472         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34473         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34474         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34475         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34476         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34477         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34478         * sysdeps/ieee754/k_standard.c: Likewise.
34479         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34480         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34481         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34482         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34483         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34484         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34485         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34486         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34487         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34488         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34489         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34490         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34491         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34492         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34493         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34494         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34495         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34496         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34497         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34498         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34499         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34500         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34501         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34502         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34503         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34504         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34505         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34506         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34508         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34509         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34510         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34511         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34512         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34513         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34514         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34515         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34516         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34517         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34518         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34519         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34520         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34521         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34522         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34523         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34524         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34525         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34526         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34527         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34528         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34529         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34530         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34531         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34532         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34533         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34534         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34535         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34536         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34537         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34538         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34539         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34540         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34541         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34542         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34543         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34544         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34545         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34546         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34547         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34548         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34549         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34550         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34551         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34552         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34553         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34554         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34555         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34556         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34557         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34558         * sysdeps/ieee754/s_matherr.c: Likewise.
34559         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34560         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34561         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34562         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34564 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
34566         * crypt/md5.h: Remove __STDC__ conditionals.
34567         * libio/libioP.h: Likewise.
34568         * locale/programs/config.h: Likewise.
34569         * sysdeps/generic/sysdep.h: Likewise.
34570         * sysdeps/i386/asm-syntax.h: Likewise.
34571         * sysdeps/s390/asm-syntax.h: Likewise.
34572         * sysdeps/unix/sysdep.h: Likewise.
34573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34576 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
34578         * libio/libio.h: Remove __STDC__ conditionals.
34579         * malloc/obstack.h: Likewise.
34580         * math/complex.h: Likewise.
34581         * math/math.h: Likewise.
34582         * sysdeps/generic/_G_config.h: Likewise.
34583         * sysdeps/gnu/_G_config.h: Likewise.
34584         * sysdeps/mach/hurd/_G_config.h: Likewise.
34585         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34586         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34587         * sysdeps/sparc/bits/mathdef.h: Likewise.
34589 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
34591         [BZ #13583]
34592         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34593         Clean up HAS_* macros.
34594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34595         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34596         possible.
34597         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34598         HAS_AVX.
34599         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34600         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34601         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34602         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34603         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34605 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
34607         * elf/tst-unique3.cc (gets): Remove declaration.
34608         * elf/tst-unique3lib.cc (gets): Likewise.
34609         * elf/tst-unique3lib2.cc (gets): Likewise.
34610         * elf/tst-unique4.cc (gets): Likewise.
34612 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
34614         * include/stdio.h: Add C++ protection.  Add gets declarations and
34615         definitions.
34616         * debug/tst-chk1.c: Don't declare gets here.
34617         * stdio-common/tst-gets.c: Likewise.
34619 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34621         * posix/glob: Remove directory.
34623 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34625         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34627 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
34629         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34630         of the non-standard EPFNOSUPPORT.
34632 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34634         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34635         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34636         ANYWHERE set to 1 only on KERN_NO_SPACE error.
34638 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
34640         * wcsmbs/uchar.h: Test __STDC_VERSION__.
34642 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
34644         * nscd/aicache.c (addhstaiX): Do not cache negative results of
34645         transient errors.
34646         * nscd/grpcache.c (cache_addgr): Likewise.
34647         * nscd/hstcache.c (cache_addhst): Likewise.
34648         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34649         * nscd/pwdcache.c (cache_addpw): Likewise.
34650         * nscd/servicescache.c (cache_addserv): Likewise.
34652 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
34654         * malloc/malloc.c: Various cleanups.
34655         * malloc/hooks.c: Likewise.
34657         * stdlib/Makefile (tests): Add bug-fmtmsg1.
34658         * stdlib/bug-fmtmsg1.c: New file.
34660         * stdlib/fmtmsg.c (init): Add missing unlock.
34661         Patch by Peng Haitao <penght@cn.fujitsu.com>.
34663 2012-01-12  Marek Polacek  <polacek@redhat.com>
34665         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34666         and _GNU_SOURCE.
34668 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34670         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34671         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34672         macro to ensure uniqueness of label name.
34673         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34674         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34676 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
34678         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34680         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34681         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34682         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34683         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34685 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
34687         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34689         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34690         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34691         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34693         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34695         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34696         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34697         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34698         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34700         * math/bits/math-finite.h: Add ldexp support.
34702 2012-01-10  Marek Polacek  <polacek@redhat.com>
34704         * locale/programs/localedef.h (show_archive_content): Add noreturn
34705         attribute.
34707 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
34709         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34711 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34713         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34715         * io/Makefile (headers): Add bits/poll2.h.
34717 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
34719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34720         typo #include statement.
34722 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34724         * include/sys/cdefs.h: Define __attribute_alloc_size.
34725         * catgets/gencat.c: Add alloc_size attribute and apply consistently
34726         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34727         * elf/pldd.c: Likewise.
34728         * iconv/iconv_charmap.c: Likewise.
34729         * iconv/iconvconfig.c: Likewise.
34730         * iconv/strtab.c: Likewise.
34731         * locale/programs/locale.c: Likewise.
34732         * locale/programs/localedef.h: Likewise.
34733         * locale/programs/simple-hash.c: Likewise.
34734         * nscd/nscd.h: Likewise.
34735         * nss/makedb.c: Likewise.
34736         * sysdeps/generic/ldconfig.h: Likewise.
34737         * locale/programs/localedef.c: Remove xmalloc prototype.
34738         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34740 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34742         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34743         appropriate.
34745 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34747         * math/Makefile (tests): Add tst-CMPLX.
34748         * math/tst-CMPLX.c: New file.
34750         * math/complex.h (CMPLXL): Fix typo.
34752         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34753         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34754         GLIBC_2.16.
34755         * debug/tst-chk1.c: Add poll and ppoll tests.
34756         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34757         * include/sys/poll.h: Add hidden proto for ppoll.
34758         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34759         * sysdeps/mach/hurd/ppoll.c: Likewise.
34760         * io/ppoll.c: Likewise.
34761         * debug/poll_chk.c: New file.
34762         * debug/ppoll_chk.c: New file.
34763         * include/bits/poll2.h: New file.
34764         * io/bits/poll2.h: New file.
34766         [BZ #1350]
34767         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34769         * configure.in: static is always set to yes.  Remove.
34770         * config.make.in: Don't set build-static.
34771         * Makeconfig: Remove use of build-static.
34772         * dlfcn/Makefile: Likewise.
34773         * elf/Makefile: Likewise.
34774         * math/Makefile: Likewise.
34775         * misc/Makefile: Likewise.
34776         * nptl/Makefile: Likewise.
34777         * sysdeps/mach/hurd/Makefile: Likewise.
34779         * configure.in: PWD_P is not used anymore.
34780         * config.make.in: Remove PWD_P entry.
34782         * configure.in: Remove last remnants of RANLIB.
34783         No need to check for signed size_t anymore.
34784         Don't set libc_commonpagesize and libc_relro_required here for Alpha
34785         and IA-64.
34786         Remove __builtin_expect test because we require at least gcc 3.4.
34787         * aclocal.m4: Likewise.
34789         * wcsmbs/mbrtoc16.c: Implement using towc function.
34790         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34791         * wcsmbs/wcsmbsload.c: Likewise.
34792         * iconv/gconv_simple.c: Likewise.
34793         * iconv/gconv_int.h: Likewise.
34794         * iconv/gconv_builtin.h: Likewise.
34795         * iconv/iconv_prog.c: Remove CHAR16 handling.
34797         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34799         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34801         * configure.in: Remove --with-elf and --enable-bounded options.
34802         Dont set base_machine for ia64.  More non-ELF conditions removed.
34803         Remove testing and setting of leading underscore information.
34804         * config.make.in (build-bounded): Set to no.
34805         * config.h.in: Remove NO_UNDERSCORES entry.
34806         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
34807         them.
34808         * csu/start.c: Remove !NO_UNDERSCORE code.
34809         * locale/localeinfo.h: Likewise.
34810         * sysdeps/generic/machine-gmon.h: Likewise.
34811         * sysdeps/generic/sysdep.h: Likewise.
34812         * sysdeps/i386/sysdep.h: Likewise.
34813         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34814         * sysdeps/mach/sysdep.h: Likewise.
34815         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34816         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34817         * sysdeps/sh/sysdep.h: Likewise.
34818         * sysdeps/sparc/sparc32/alloca.S: Likewise.
34819         * sysdeps/unix/i386/sysdep.S: Likewise.
34820         * sysdeps/unix/sparc/start.c: Likewise.
34821         * sysdeps/unix/sparc/sysdep.S: Likewise.
34822         * sysdeps/unix/sparc/sysdep.h: Likewise.
34823         * sysdeps/unix/start.c: Likewise.
34824         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34825         * sysdeps/x86_64/sysdep.h: Likewise.
34827 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
34829         [BZ #13553]
34830         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34831         for non-gcc.
34832         * argp/argp-fmtstream.h: Use const instead __const.
34833         * argp/argp.h: Likewise.
34834         * assert/assert.h: Likewise.
34835         * bits/fenv.h: Likewise.
34836         * bits/sched.h: Likewise.
34837         * bits/sigset.h: Likewise.
34838         * bits/sigthread.h: Likewise.
34839         * catgets/nl_types.h: Likewise.
34840         * conform/data/pthread.h-data: Likewise.
34841         * crypt/crypt-private.h: Likewise.
34842         * crypt/crypt.h: Likewise.
34843         * crypt/crypt_util.c: Likewise.
34844         * ctype/ctype.h: Likewise.
34845         * debug/execinfo.h: Likewise.
34846         * debug/mbsnrtowcs_chk.c: Likewise.
34847         * debug/mbsrtowcs_chk.c: Likewise.
34848         * debug/wcsnrtombs_chk.c: Likewise.
34849         * debug/wcsrtombs_chk.c: Likewise.
34850         * debug/wcstombs_chk.c: Likewise.
34851         * dirent/dirent.h: Likewise.
34852         * dlfcn/dlfcn.h: Likewise.
34853         * elf/neededtest4.c: Likewise.
34854         * grp/grp.h: Likewise.
34855         * gshadow/gshadow.h: Likewise.
34856         * iconv/gconv.h: Likewise.
34857         * iconv/gconv_int.h: Likewise.
34858         * iconv/gconv_simple.c: Likewise.
34859         * iconv/iconv.h: Likewise.
34860         * iconv/loop.c: Likewise.
34861         * iconv/skeleton.c: Likewise.
34862         * include/aio.h: Likewise.
34863         * include/aliases.h: Likewise.
34864         * include/argz.h: Likewise.
34865         * include/arpa/inet.h: Likewise.
34866         * include/assert.h: Likewise.
34867         * include/dirent.h: Likewise.
34868         * include/dlfcn.h: Likewise.
34869         * include/execinfo.h: Likewise.
34870         * include/fcntl.h: Likewise.
34871         * include/fenv.h: Likewise.
34872         * include/glob.h: Likewise.
34873         * include/grp.h: Likewise.
34874         * include/libintl.h: Likewise.
34875         * include/mntent.h: Likewise.
34876         * include/netdb.h: Likewise.
34877         * include/pwd.h: Likewise.
34878         * include/rpc/netdb.h: Likewise.
34879         * include/sched.h: Likewise.
34880         * include/search.h: Likewise.
34881         * include/shadow.h: Likewise.
34882         * include/signal.h: Likewise.
34883         * include/stdio.h: Likewise.
34884         * include/stdlib.h: Likewise.
34885         * include/string.h: Likewise.
34886         * include/sys/socket.h: Likewise.
34887         * include/sys/stat.h: Likewise.
34888         * include/sys/statfs.h: Likewise.
34889         * include/sys/statvfs.h: Likewise.
34890         * include/sys/syslog.h: Likewise.
34891         * include/sys/time.h: Likewise.
34892         * include/sys/uio.h: Likewise.
34893         * include/time.h: Likewise.
34894         * include/unistd.h: Likewise.
34895         * include/utmp.h: Likewise.
34896         * include/wchar.h: Likewise.
34897         * include/wctype.h: Likewise.
34898         * inet/aliases.h: Likewise.
34899         * inet/arpa/inet.h: Likewise.
34900         * inet/netinet/ether.h: Likewise.
34901         * inet/netinet/in.h: Likewise.
34902         * intl/libintl.h: Likewise.
34903         * io/bits/fcntl2.h: Likewise.
34904         * io/fcntl.h: Likewise.
34905         * io/ftw.h: Likewise.
34906         * io/sys/poll.h: Likewise.
34907         * io/sys/stat.h: Likewise.
34908         * io/sys/statfs.h: Likewise.
34909         * io/sys/statvfs.h: Likewise.
34910         * io/utime.h: Likewise.
34911         * libio/bits/stdio.h: Likewise.
34912         * libio/bits/stdio2.h: Likewise.
34913         * libio/libio.h: Likewise.
34914         * libio/libioP.h: Likewise.
34915         * libio/stdio.h: Likewise.
34916         * locale/lc-ctype.c: Likewise.
34917         * locale/locale.h: Likewise.
34918         * login/utmp.h: Likewise.
34919         * malloc/arena.c: Likewise.
34920         * malloc/malloc.c: Likewise.
34921         * malloc/malloc.h: Likewise.
34922         * malloc/mcheck.c: Likewise.
34923         * malloc/mtrace.c: Likewise.
34924         * math/bits/mathcalls.h: Likewise.
34925         * math/fenv.h: Likewise.
34926         * math/math_private.h: Likewise.
34927         * misc/bits/error.h: Likewise.
34928         * misc/bits/syslog.h: Likewise.
34929         * misc/err.h: Likewise.
34930         * misc/error.h: Likewise.
34931         * misc/fstab.h: Likewise.
34932         * misc/mntent.h: Likewise.
34933         * misc/regexp.h: Likewise.
34934         * misc/search.h: Likewise.
34935         * misc/sgtty.h: Likewise.
34936         * misc/sys/mman.h: Likewise.
34937         * misc/sys/syslog.h: Likewise.
34938         * misc/sys/uio.h: Likewise.
34939         * misc/sys/xattr.h: Likewise.
34940         * misc/ttyent.h: Likewise.
34941         * nis/rpcsvc/ypclnt.h: Likewise.
34942         * nss/nss.h: Likewise.
34943         * posix/bits/unistd.h: Likewise.
34944         * posix/fnmatch.h: Likewise.
34945         * posix/glob.h: Likewise.
34946         * posix/sched.h: Likewise.
34947         * posix/spawn.h: Likewise.
34948         * posix/sys/wait.h: Likewise.
34949         * posix/unistd.h: Likewise.
34950         * posix/wordexp.h: Likewise.
34951         * pwd/pwd.h: Likewise.
34952         * resolv/netdb.h: Likewise.
34953         * resource/sys/resource.h: Likewise.
34954         * rt/aio.h: Likewise.
34955         * rt/bits/mqueue2.h: Likewise.
34956         * rt/mqueue.h: Likewise.
34957         * shadow/shadow.h: Likewise.
34958         * signal/signal.h: Likewise.
34959         * socket/send.c: Likewise.
34960         * socket/sendto.c: Likewise.
34961         * socket/sys/socket.h: Likewise.
34962         * stdio-common/printf.h: Likewise.
34963         * stdlib/bits/stdlib.h: Likewise.
34964         * stdlib/fmtmsg.h: Likewise.
34965         * stdlib/monetary.h: Likewise.
34966         * stdlib/stdlib.h: Likewise.
34967         * stdlib/ucontext.h: Likewise.
34968         * streams/stropts.h: Likewise.
34969         * string/argz.h: Likewise.
34970         * string/bits/string2.h: Likewise.
34971         * string/string.h: Likewise.
34972         * string/strings.h: Likewise.
34973         * sunrpc/rpc/auth.h: Likewise.
34974         * sunrpc/rpc/auth_des.h: Likewise.
34975         * sunrpc/rpc/clnt.h: Likewise.
34976         * sunrpc/rpc/netdb.h: Likewise.
34977         * sunrpc/rpc/pmap_clnt.h: Likewise.
34978         * sunrpc/rpc/xdr.h: Likewise.
34979         * sysdeps/generic/inttypes.h: Likewise.
34980         * sysdeps/generic/net/if.h: Likewise.
34981         * sysdeps/generic/sys/swap.h: Likewise.
34982         * sysdeps/gnu/net/if.h: Likewise.
34983         * sysdeps/gnu/utmpx.h: Likewise.
34984         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
34985         * sysdeps/i386/i486/bits/string.h: Likewise.
34986         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
34987         * sysdeps/s390/bits/string.h: Likewise.
34988         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
34989         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
34990         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
34991         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
34992         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
34993         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
34994         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
34995         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
34996         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
34997         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
34998         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
34999         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35000         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35001         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35002         * sysdeps/unix/sysv/linux/readv.c: Likewise.
35003         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35004         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35005         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35006         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35007         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35008         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35009         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35010         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35011         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35012         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35013         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35014         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35015         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35016         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35017         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35018         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35019         * sysvipc/sys/ipc.h: Likewise.
35020         * sysvipc/sys/msg.h: Likewise.
35021         * sysvipc/sys/sem.h: Likewise.
35022         * sysvipc/sys/shm.h: Likewise.
35023         * termios/termios.h: Likewise.
35024         * time/sys/time.h: Likewise.
35025         * time/time.h: Likewise.
35026         * wcsmbs/bits/wchar2.h: Likewise.
35027         * wcsmbs/uchar.h: Likewise.
35028         * wcsmbs/wchar.h: Likewise.
35029         * wctype/wctype.h: Likewise.
35031         [BZ #13551]
35032         * Makeconfig: Remove all but ELF support including AIX support.
35033         * Makerules: Likewise.
35034         * config.h.in: Likewise.
35035         * config.make.in: Likewise.
35036         * configure: Likewise.
35037         * configure.in: Likewise.
35038         * csu/Makefile: Likewise.
35039         * csu/version.c: Likewise.
35040         * debug/Makefile: Likewise.
35041         * dlfcn/Makefile: Likewise.
35042         * elf/Makefile: Likewise.
35043         * extra-lib.mk: Likewise.
35044         * iconv/Makefile: Likewise.
35045         * include/libc-symbols.h: Likewise.
35046         * include/shlib-compat.h: Likewise.
35047         * resolv/Makefile: Likewise.
35048         * resolv/res_libc.c: Likewise.
35049         * rt/Makefile: Likewise.
35050         * sysdeps/i386/asm-syntax.h: Likewise.
35051         * sysdeps/i386/sysdep.h: Likewise.
35052         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35053         * sysdeps/mach/sysdep.h: Likewise.
35054         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35055         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35056         * sysdeps/s390/asm-syntax.h: Likewise.
35057         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35058         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35059         * sysdeps/sh/sysdep.h: Likewise.
35060         * sysdeps/unix/sparc/sysdep.h: Likewise.
35061         * sysdeps/wordsize-32/divdi3.c: Likewise.
35062         * sysdeps/x86_64/sysdep.h: Likewise.
35064         * argp/Versions: Remove _argp_unlock_xxx.
35066         [BZ #13559]
35067         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
35068         * abilist/libBrokenLocale.abilist: Likewise.
35069         * abilist/libanl.abilist: Likewise.
35070         * abilist/libc.abilist: Likewise.
35071         * abilist/libcrypt.abilist: Likewise.
35072         * abilist/libdl.abilist: Likewise.
35073         * abilist/libm.abilist: Likewise.
35074         * abilist/libnsl.abilist: Likewise.
35075         * abilist/libpthread.abilist: Likewise.
35076         * abilist/libresolv.abilist: Likewise.
35077         * abilist/librt.abilist: Likewise.
35078         * abilist/libthread_db.abilist: Likewise.
35079         * abilist/libutil.abilist: Likewise.
35080         * abilist/libnss_db.abilist: New file.
35082         * scripts/abilist.awk: Add support for indirect functions.
35084         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35086         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35088         * shlib-versions: Remove entries for ports architectures.
35090         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
35091         files in ports.
35092         * elf/stackguard-macros.h: Remove support for IA-64.
35093         * elf/tst-auditmod1.c: Likewise.
35094         * sysdeps/generic/ldsodefs.h: Likewise.
35096         * sysdeps/unix/sysv/linux/configure.in: Ports should define
35097         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35098         configure files.
35100         [BZ #13552]
35101         * configure.in: Remove --enable-omitfp support.
35102         * FAQ.in: Adjust.
35103         * config.make.in: Likewise.
35104         * Makeconfig: Likewise.
35105         * manual/install.texi: Likewise.
35107         In case anyone cares, the IA-64 architecture could move to ports.
35108         * sysdeps/ia64/*: Removed.
35109         * sysdeps/unix/sysv/linux/ia64/*: Removed.
35110         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35112         [BZ #13555]
35113         * configure.in: Remove entries for unsupported architectures.
35115         [BZ #13533]
35116         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35117         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
35118         routines.
35119         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35120         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35121         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
35122         fall back to using wcrtomb.
35123         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35124         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
35125         renaming.
35126         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35127         * wcsmbs/tst-c16c32-1.c: New file.
35129         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35130         local variable.
35132         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35134         * elf/tst-unique3.cc: Add explicit declaration of gets.
35135         * elf/tst-unique3lib.cc: Likewise.
35136         * elf/tst-unique3lib2.cc: Likewise.
35137         * elf/tst-unique4.cc: Likewise.
35139         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35141 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
35143         [BZ #13566]
35144         * assert/assert.h (static_assert): Don't define for C++.
35145         * libio/stdio.h (gets): Do declare for C++ <= C++11.
35146         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35148 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
35150         * iconv/loop.c (single loop): Fix assertion in storing of
35151         remaining bytes.
35153         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35155 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
35157         * posix/getconf.c: Update copyright year.
35158         * nss/getent.c: Likewise.
35159         * nss/makedb.c: Likewise.
35160         * iconv/iconvconfig.c: Likewise.
35161         * iconv/iconv_prog.c: Likewise.
35162         * elf/ldconfig.c: Likewise.
35163         * elf/pldd.c: Likewise.
35164         * elf/sotruss.ksh: Likewise.
35165         * catgets/gencat.c: Likewise.
35166         * csu/version.c: Likewise.
35167         * elf/ldd.bash.in: Likewise.
35168         * elf/sprof.c (print_version): Likewise.
35169         * locale/programs/locale.c: Likewise.
35170         * locale/programs/localedef.c: Likewise.
35171         * login/programs/pt_chown.c: Likewise.
35172         * nscd/nscd.c (print_version): Likewise.
35173         * debug/xtrace.sh: Likewise.
35174         * malloc/memusage.sh: Likewise.
35175         * malloc/mtrace.pl: Likewise.
35176         * debug/catchsegv.sh: Likewise.
35178 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
35180         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35181         pure attribute.
35183 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
35185         [BZ #13533]
35186         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35187         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35188         transformations.
35189         * iconv/gconv_int.h: Likewise.
35190         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35191         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35192         from libc for GLIBC_2.16.
35193         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35194         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35195         * wcsmbs/uchar.h: Really define mbstate_t.
35196         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35197         * wcsmbs/c16rtomb.c: New file.
35198         * wcsmbs/mbrtoc16.c: New file.
35199         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35200         for C/POSIX locale.
35201         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35202         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35204         * wcsmbs/wchar.h: Add missing __restrict.
35206 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35208         [BZ #13532]
35209         * time/Makefile (routines): Add timespec_get.
35210         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35211         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
35212         timespec for ISO C11.
35213         * time/timespec_get.c: New file.
35214         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35215         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35217         [BZ #13531]
35218         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35219         * stdlib/stdlib.h: Declare aligned_alloc.
35220         * Versions.def: Add GLIBC_2.16 for libc.
35221         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35223         [BZ 13527]
35224         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35225         ISO C11.
35227         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35228         code.
35230         [BZ #13528]
35231         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35233         [BZ #13529]
35234         * assert/assert.h (static_assert): Define.
35236         * version.h: Update for 2.16 development version.
35238         [BZ #13526]
35239         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35240         _ISOC11_SOURCE.
35242         * version.h (RELEASE): Bump for 2.15 release.
35243         * include/features.h (__GLIBC_MINOR__): Bump to 15.
35245         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35246         Patch by Marek Polacek <mpolacek@redhat.com>.
35248         * bits/byteswap.h: Protect long long constants with __extension__.
35249         * sysdeps/i386/bits/byteswap.h: Likewise.
35250         * sysdeps/ia64/bits/byteswap.h: Likewise.
35251         * sysdeps/s390/bits/byteswap.h: Likewise.
35252         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35254 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35256         [BZ #13540]
35257         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35258         destination buffer.
35259         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35261 2011-12-23  Marek Polacek  <polacek@redhat.com>
35263         * elf/dl-addr.c (determine_info): Add inline keyword.
35264         * elf/tst-auditmod4b.c (check_avx): Likewise.
35265         * elf/tst-auditmod6b.c (check_avx): Likewise.
35266         * elf/tst-auditmod6c.c (check_avx): Likewise.
35267         * elf/tst-auditmod7b.c (check_avx): Likewise.
35269 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35271         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35272         !__SSE_MATH__.
35274 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35276         [BZ #13540]
35277         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35278         processing for last bytes.
35280 2011-08-06  Bruno Haible  <bruno@clisp.org>
35282         [BZ #13061]
35283         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35284         U+0385, not to U+1FEE.
35286         [BZ #13062]
35287         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35288         entry for U+00A5 U+0301.
35290 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35292         [BZ #13166]
35293         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35294         buffer for the output is too small.
35296         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35297         optimization.
35299         [BZ #13185]
35300         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35301         SSE flags if possible.
35303 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35305         [BZ #13540]
35306         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35307         processing for last bytes.
35309 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
35311         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35312         (syscall-list-default-options, syscall-list-default-condition)
35313         (syscall-list-includes): Define.
35314         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35315         list of ABIs and options and #if conditions for each ABI.  Do not
35316         handle common syscalls between ABIs specially.
35317         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35318         Remove.
35319         (syscall-list-variants, syscall-list-32bit-options)
35320         (syscall-list-32bit-condition, syscall-list-64bit-options)
35321         (syscall-list-64bit-condition): Define.
35322         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35323         (syscall-list-variants, syscall-list-32bit-options)
35324         (syscall-list-32bit-condition, syscall-list-64bit-options)
35325         (syscall-list-64bit-condition): Define.
35326         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35327         Remove.
35328         (syscall-list-variants, syscall-list-32bit-options)
35329         (syscall-list-32bit-condition, syscall-list-64bit-options)
35330         (syscall-list-64bit-condition): Define.
35331         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35332         Remove.
35333         (syscall-list-variants, syscall-list-32bit-options)
35334         (syscall-list-32bit-condition, syscall-list-64bit-options)
35335         (syscall-list-64bit-condition): Define.
35337 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35339         * locale/iso-639.def: Add brx entry.
35341         [BZ #13328]
35342         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35343         Proposed by Mariusz_Cukr <marcukr@op.pl>.
35345         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35346         __feraiseexcept_renamed.
35348 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35350         [BZ #13538]
35351         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35352         EPOLLET with unsigned values.
35353         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35354         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35356         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35357         to large cancellation.
35358         * math/s_cacoshf.c: Likewise.
35359         * math/s_cacoshl.c: Likewise.
35361 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
35363         [BZ #13305]
35364         [BZ #12786]
35365         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35366         * math/s_cacoshf.c: Likewise.
35367         * math/s_cacoshl.c: Likewise.
35369 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35371         [BZ #13439]
35372         * iconv/gconv.h: Define __GCONV_SWAP.
35373         * iconvdata/unicode.c: The swap bit must be stored in __flags.
35374         * iconvdata/utf-16.c: Likewise.
35375         * iconvdata/utf-32.c: Likewise.
35377 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35379         [BZ #13524]
35380         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35381         numerator after shifting it by one limb.
35383 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
35385         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35386         under [__USE_EXTERN_INLINES].
35388 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35390         [BZ #13446]
35391         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35393 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35395         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35396         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35397         optimized code.
35398         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35399         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35400         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35401         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35402         for strncasecmp/strncasecmp_l compilation.
35403         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35404         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35406 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
35408         [BZ #13484]
35409         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35410         of __asm__.
35412 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35414         [BZ #13506]
35415         * time/tzfile.c (__tzfile_read): Check values from file header.
35417 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35419         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35420         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35421         * powerpc/powerpc32/dl-start.S: Likewise.
35422         * powerpc/powerpc32/elf/start.S: Likewise.
35423         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35424         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35425         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35426         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35427         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35428         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35429         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35430         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35431         * powerpc/powerpc32/fpu/s_round.S: Likewise.
35432         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35433         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35434         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35435         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35436         * powerpc/powerpc32/memset.S: Likewise.
35437         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35438         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35439         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35440         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35441         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35442         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35443         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35444         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35445         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35446         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35447         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35448         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35449         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35451 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35453         * math/libm-test.inc: Added more nearbyint tests.
35454         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35455         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35456         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35457         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35459 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
35461         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35462         FD_CLOEXEC.
35464 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35466         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35467         Add wcscpy-ssse3 wcscpy-c.
35468         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35469         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35470         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35471         * sysdeps/x86_64/wcschr.S: New file.
35472         * sysdeps/x86_64/wcsrchr.S: New file.
35473         * string/test-strcmp.c: Remove checking of wcscmp function for
35474         wrong alignments.
35475         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35476         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35477         wcsrchr-sse2 wcsrchr-c.
35478         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35479         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35480         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35481         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35482         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35483         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35484         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35485         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35486         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35487         * wcsmbc/wcschr.c (WCSCHR): New macro.
35489 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35491         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35492         * wcsmbs/test-wcsrchr.c: New file.
35493         * string/test-strrchr.c: Add wcsrchr support.
35494         (WIDE): New macro.
35495         * wcsmbs/test-wcscpy.c: New file.
35496         * string/test-strcpy.c: Add wcscpy support.
35497         (WIDE): New macro.
35499 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
35501         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35502         the inner loop.
35504 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
35506         [BZ #13472]
35507         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35509 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
35511         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35512         Minor optimizations.
35514         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35515         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35516         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35518 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
35520         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35521         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35522         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35523         for gcc to avoid warnings.
35524         * inet/Makefile (tests): Add tst-checks.
35525         * inet/tst-checks.c: New file.
35527         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35528         warning.
35530         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35531         __wmemcmp_sse2.
35533         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35534         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35536         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35538 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
35540         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35541         problem.
35543         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35545 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
35547         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35548         conditional on GCC version.
35549         (__arch_compare_and_exchange_val_8_acq)
35550         (__arch_compare_and_exchange_val_16_acq)
35551         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35552         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35553         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35555 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
35557         * sysdeps/sh/backtrace.c: New file.
35559 2011-12-02  Andreas Schwab  <schwab@redhat.com>
35561         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
35562         parenthesis.
35564 2011-12-01  Andreas Schwab  <schwab@redhat.com>
35566         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35567         falling back to utime.
35569 2011-11-30  Andreas Schwab  <schwab@redhat.com>
35571         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35572         expectations for float.
35574 2011-11-29  Andreas Schwab  <schwab@redhat.com>
35576         * locale/weight.h (findidx): Add parameter len.
35577         * locale/weightwc.h (findidx): Likewise.
35578         * posix/fnmatch_loop.c (FCT): Adjust caller.
35579         * posix/regcomp.c (build_equiv_class): Likewise.
35580         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35581         * posix/regexec.c (check_node_accept_bytes): Likewise.
35582         * string/strcoll_l.c (STRCOLL): Likewise.
35583         * string/strxfrm_l.c (STRXFRM): Likewise.
35585 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
35587         * Makefile.in: Remove CVSOPT handling.
35588         * configure.in: Remove use of AC_REVISION.
35589         * iconvdata/Makefile (distribute): No need to filter out CVS.
35590         * scripts/list-sources.sh: Remove CVS, subversion and monotone
35591         handling.
35593 2011-11-16  Andreas Schwab  <schwab@redhat.com>
35595         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35596         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35597         [USE_AS_STRNCASECMP_L]: Likewise.
35598         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35599         NO_TLS_DIRECT_SEG_REFS.
35600         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35601         Fix argument offsets for non-PIC.
35602         [USE_AS_STRNCASECMP_L]: Likewise.
35603         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35604         NO_TLS_DIRECT_SEG_REFS.
35606 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35608         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35609         O_CLOEXEC.
35610         * locale/loadlocale.c (_nl_load_locale): Likewise.
35612 2011-11-15  Andreas Schwab  <schwab@redhat.com>
35614         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35615         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35616         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35617         (SYSCALL_GETTIME): Set errno on error.
35619         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35620         count references to noai6ai_cached.
35622 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35624         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35626         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35627         FD_CLOEXEC for /proc/self/maps.
35629         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35630         FD_CLOEXEC for /proc/meminfo.
35632         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35633         gai.conf.
35635         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
35636         FD_CLOEXEC for given file.
35638         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35640         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35641         FD_CLOEXEC for /etc/hosts.
35642         (_gethtent): Likewise.
35644         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35646         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35647         cancellation and set FD_CLOEXEC for /etc/netgroup.
35649         * nss/nss_files/files-key.c (search): Don't allow cancellation when
35650         reading /etc/publickey.
35652         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35653         allow cancellation when reading /etc/group.
35655         * nss/nss_files/files-alias.c (internal_setent): Don't allow
35656         cancellation.
35657         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
35659         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35660         when using data file.
35662         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35664         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35665         (write_nis_obj): Use "c" and "e" in fopen.
35667         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35669         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35671         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35673         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35675         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35676         locale.alias.
35678         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35680         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35682         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35684         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35685         file parsing and set FD_CLOEXEC.
35687 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35689         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35691 2011-11-14  Andreas Schwab  <schwab@redhat.com>
35693         * malloc/arena.c (arena_get2): Don't call reused_arena when
35694         _int_new_arena failed.
35696 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35698         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35699         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35700         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35701         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35702         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35703         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35704         to compile strcasecmp and strncasecmp.
35705         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35706         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35708         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35710 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
35712         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35713         locale-defines.sym to gen-as-const-headers.
35714         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35715         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35717         to compile strcasecmp and strncasecmp.
35718         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35719         strcasecmp_l and strncasecmp_l.
35720         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35721         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35722         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35723         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35724         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35725         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35726         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35727         * sysdeps/i386/i686/multiarch/strncase.S: New file.
35728         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35729         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35730         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35732 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
35734         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35735         result of SYSDEP_GETTIME_CPU to retval.
35736         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35737         parameter list to macro.  Remove trailing semicolon.  Adjust users.
35739         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35740         variable.
35742         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35743         mantissa words.
35744         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35746         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35747         from unused variable.
35749         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35750         DWARF definitions.
35751         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35752         for assembling.
35754         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35755         over namespaces.
35757         * sunrpc/rpc_prot.c (rejected): Fix case value.
35759         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35760         unsigned long long int to avoid warnings in shift.
35762         * posix/regex_internal.c (re_string_reconstruct): Actually use result
35763         of use of trans.
35764         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35765         variable tmp.
35767         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35768         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35769         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35771         * nis/nis_table.c (nis_list): Use variable of correct type for
35772         result of __follow_path call.
35774 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35776         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35777         of math functions ceil, trunc, floor, round, and sqrt, when
35778         avaliable on the platform.
35779         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35780         name clash.
35781         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35782         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35783         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35785 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
35787         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35788         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35790 2011-11-11  Roland McGrath  <roland@hack.frob.com>
35792         * include/unistd.h: Fix __readlink return type.
35793         Reported by Chris Metcalf <cmetcalf@tilera.com>.
35795 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
35797         * stdlib/ucontext.h: Undo last change for makecontext.
35799 2011-11-11  Andreas Schwab  <schwab@redhat.com>
35801         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35803         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35804         * setjmp/setjmp.h: Mark functions as non-leaf.
35805         * setjmp/bits/setjmp2.h: Likewise.
35806         * stdlib/ucontext.h: Likewise.
35808 2011-11-10  Andreas Schwab  <schwab@redhat.com>
35810         * malloc/arena.c (_int_new_arena): Don't increment narenas.
35811         (reused_arena): Don't check arena limit.
35812         (arena_get2): Atomically check arena limit.
35814 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
35816         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35817         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35819         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35820         instructions.
35822 2011-11-07  Andreas Schwab  <schwab@redhat.com>
35824         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35825         handler when locking.
35827         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35828         Fix size of allocated buffer.
35830 2011-11-04  Andreas Schwab  <schwab@redhat.com>
35832         [BZ #10103]
35833         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35834         declarations for long double functions.
35835         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35837         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35839 2011-11-03  Andreas Schwab  <schwab@redhat.com>
35841         * nscd/nscd.c (main): Don't start AVC thread until credentials are
35842         installed.
35844         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35845         is disabled.
35847 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35849         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35851 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35853         * include/alloca.h (stackinfo_alloca_round): Define.
35854         (extend_alloca): Use it.
35855         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35856         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35857         here.
35859         * scripts/check-local-headers.sh: Ignore libaudit.h.
35861         * nscd/Makefile (extra-objs): Make recursively expanded.
35863 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
35865         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35866         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35868         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35869         * posix/tst-rfc3484-2.c: Likewise.
35870         * posix/tst-rfc3484-3.c: Likewise.
35872         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35873         process_vm_writev.
35874         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35875         process_vm_writev.
35876         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35877         process_vm_writev from libc using GLIBC_2.15 version.
35879         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35881 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
35883         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35884         stack usage.
35886 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
35888         [BZ #13367]
35889         * nss/getent.c (initgroups_keys): Show error message in case no group
35890         names are given.
35892         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35893         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35894         __bump_nl_timestamp.
35895         * nscd/connections (nscd_init): When host database is served open
35896         netlink socket and request notification about configuration changes.
35897         (main_loop_poll): Track netlink file descriptor and bump timestamp
35898         in case data becomes available.
35899         (main_loop_epoll): Likewise.
35900         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35901         (database_pers_head): Add extra_data fileds.
35902         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35903         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35904         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35905         Adjust caller.
35906         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35907         in6ai data, call __free_in6ai.
35908         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35909         Add -DHAVE_NETLINK.
35910         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
35911         interface information.  Reuse previous data if netlink timestamp
35912         is not changed.
35913         (__bump_nl_timestamp): New function.
35914         (__free_in6ai): New function.
35916 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
35918         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35919         close_not_cancel_no_status here.
35920         (__check_pf): Reorganize code a bit to not call close twice if OOM.
35922 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35924         [BZ #13276]
35925         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
35926         return value.
35928         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
35929         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
35930         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
35932 2011-07-03  Andreas Jaeger  <aj@suse.de>
35934         [BZ #10709]
35935         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
35936         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
35937         * math/libm-test.inc (sin_test): Add test case.
35939 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
35941         [BZ #13337]
35942         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
35943         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35945         * elf/chroot_canon.c (chroot_canon): Cleanups.
35947         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
35949         [BZ #13335]
35950         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
35951         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
35953         * string/test-strchr.c: Make usable for strchrnul testing.
35954         * string/test-strchrnul.c: New file.
35955         * string/Makefile (strop-tests): Add strchrnul.
35957         * po/it.po: Update from translation team.
35958         * po/es.po: Likewise.
35960 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
35962         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
35963         the three constants needed as parameters.  Drop the others.
35964         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
35965         __m128i_strloadu_tolower.
35966         Create and initialize variable zero and use it in all the places
35967         where _mm_setzero_si128 was used.
35969         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
35970         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
35971         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
35972         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
35973         anymore.
35974         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
35975         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
35976         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
35977         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
35978         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
35979         __mpranred, __mptan.
35980         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
35981         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
35982         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
35983         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
35984         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
35985         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
35986         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
35987         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
35988         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
35990 2011-10-28  Andreas Schwab  <schwab@redhat.com>
35992         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
35993         redefine if SHARED.
35994         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
35996         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
35997         wide char related routines to wcsmbs subdir.
35999 2011-10-27  Andreas Schwab  <schwab@redhat.com>
36001         [BZ #13344]
36002         * misc/sys/cdefs.h (__THROWNL): Define.
36003         * posix/unistd.h: Use __THREADNL instead of __THREAD
36004         for memory synchronization functions.
36006 2011-10-26  Roland McGrath  <roland@hack.frob.com>
36008         [BZ #13349]
36009         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36010         doesn't exist.
36011         * manual/stdio.texi (Obstack Streams): Node removed.
36013 2011-10-26  Andreas Schwab  <schwab@redhat.com>
36015         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36016         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36017         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36019         * math/math_private.h (math_force_eval): Allow non-addressable
36020         arguments.
36021         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36023 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36025         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36026         file is not needed.
36028         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36029         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36030         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36031         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36032         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36033         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36034         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36035         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36036         Add AVX variants.
36037         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36038         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36039         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36040         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36041         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36042         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36043         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36044         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36045         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36046         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36047         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36048         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36049         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36050         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36051         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36052         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36053         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36054         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36055         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36057         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36058         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
36060         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36061         place.  Use VEX encoding when compiling for AVX.
36063 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36065         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36066         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36068         * string/test-strchr.c (do_test): Don't generate NUL bytes.
36070 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36072         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36073         useless if() expression.
36074         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36075         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36076         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36077         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36078         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36079         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36080         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36081         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36082         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36083         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36084         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36085         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36086         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36087         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36088         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36089         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36090         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36091         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36092         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36094         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36096 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36098         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36099         condition.
36100         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36102 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36104         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36105         .text section.  Avoid duplicate constants.
36106         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36107         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36108         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36109         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36110         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36111         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36112         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36113         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36114         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36115         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36116         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36117         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36118         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36119         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36120         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36121         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36122         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36123         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36124         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36125         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36126         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36127         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36128         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36129         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36130         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36131         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36132         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36133         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36134         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36135         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36136         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36137         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36138         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36139         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36140         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36141         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36142         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36143         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36144         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36145         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36146         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36147         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36148         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36149         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36150         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36152 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
36154         * sysdeps/x86_64/dla.h: Move to ...
36155         * sysdeps/x86_64/fpu/dla.h: ...here.
36156         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36157         situations.  Use __builtin_fma only for gcc 4.6 and up.
36159         * config.make.in: Add have-mfma4 entry.
36160         * configure.in: Substitute libc_cv_cc_fma4.
36161         * math/Makefile (dbl-only-routines): Add sincostab.
36162         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36163         Use __sincostab not sincos.
36164         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36165         name is a macro.
36166         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36167         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36168         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36169         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
36170         using __copysign.
36171         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
36172         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
36173         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36174         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36175         and __inv.
36176         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36177         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36178         __copysign.
36179         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
36180         define aliases when function name is a macro.
36181         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36182         sysdeps/ieee754/dbl-64/sincos.tbl.
36183         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36184         fma4-enabled routines.
36185         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36186         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36187         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36188         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36189         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36190         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36191         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36192         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36193         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36194         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36195         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36196         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36197         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36198         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36199         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36200         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36201         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36202         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36203         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36204         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36205         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36206         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36207         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36208         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36209         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36210         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36211         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36212         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36213         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36214         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36216         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36217         rename.
36218         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36219         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36220         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36221         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36222         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36223         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36224         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36225         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36227 2011-10-24  Andreas Schwab  <schwab@redhat.com>
36229         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36231 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36233         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36235         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36236         prediction.
36237         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36239         * string/strnlen.c: Don't define STRNLEN, reverse logic.
36240         Remove unused variable magic_bits.
36241         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36243         * string/strnlen.c: Define and use STRNLEN macro.
36244         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36245         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36246         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36247         * wcsmbs/wcslen.c: Define and use WCSLEN.
36248         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36249         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36250         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36251         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36252         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36253         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36254         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36256 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36259         strnlen-sse2-no-bsf.
36260         Rename strlen-no-bsf to strlen-sse2-no-bsf.
36261         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36262         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36263         Add strnlen support.
36264         (USE_AS_STRNLEN): New macro.
36265         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36266         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36267         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36268         * sysdeps/x86_64/wcslen.S: New file.
36270 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
36272         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36273         XMM-moves are used for copying on small sizes.
36275 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36277         * wcsmbs/Makefile (strop-tests): Add wcschr.
36278         * wcsmbs/test-wcschr.c: New file.
36279         * string/test-strchr.c: Update.
36280         Add wcschr support.
36281         (WIDE): New macro.
36283 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36285         * wcsmbs/Makefile (strop-tests): Add wcslen.
36286         * wcsmbs/test-wcslen.c: New file.
36287         * string/test-strlen.c: Update.
36288         Add wcslen support.
36289         (WIDE): New macro.
36291 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36293         * po/it.po: Update from translation team.
36295 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36297         * sysdeps/x86_64/wcscmp.S: Update.
36298         Fix wrong comparison semantics.
36299         wcscmp shall use signed comparison not unsigned.
36300         Don't use substraction to avoid overflow bug.
36301         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36302         * wcsmbc/wcscmp.c: Likewise.
36303         * string/test-strcmp.c: Likewise.
36304         Add new tests to check cases with negative values.
36306 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36308         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36309         * sysdeps/x86_64/dla.h: ...here.  New file.
36310         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36311         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36312         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36313         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36314         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36315         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36316         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36317         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36318         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36320 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
36322         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36323         __ynl_finite aliases.
36325 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36329         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36330         define DLA_FMA.
36331         [DLA_FMA] (EMULV): Use DLA_FMA.
36332         [DLA_FMA] (MUL12): Use EMULV.
36333         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36334         that are not needed.
36335         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36339         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36340         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36341         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36343 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
36345         * math/s_nan.c: Undef __nan.
36346         * math/s_nanf.c: Undef __nanf.
36347         * math/s_nanl.c: Undef __nanl.
36348         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36349         "math_private.h".
36351 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36353         * math/s_catan.c: Add branch predictions.
36354         * math/s_catanf.c: Likewise.
36355         * math/s_catanh.c: Likewise.
36356         * math/s_catanhf.c: Likewise.
36357         * math/s_catanhl.c: Likewise.
36358         * math/s_catanl.c: Likewise.
36359         * math/s_cexp.c: Likewise.
36360         * math/s_cexpf.c: Likewise.
36361         * math/s_cexpl.c: Likewise.
36362         * math/s_clog.c: Likewise.
36363         * math/s_clog10.c: Likewise.
36364         * math/s_clog10f.c: Likewise.
36365         * math/s_clog10l.c: Likewise.
36366         * math/s_clogf.c: Likewise.
36367         * math/s_clogl.c: Likewise.
36368         * math/s_csqrt.c: Likewise.
36369         * math/s_csqrtf.c: Likewise.
36370         * math/s_csqrtl.c: Likewise.
36371         * math/s_ctanf.c: Likewise.
36372         * math/s_ctanh.c: Likewise.
36373         * math/s_ctanhf.c: Likewise.
36374         * math/s_ctanhl.c: Likewise.
36375         * math/s_ctanl.c: Likewise.
36377         * math/math_private.h: Define __nan, __nanf, __nanl.
36378         * math/s_cacosh.c: Include <math_private.h>.
36379         * math/s_cacoshl.c: Likewise.
36380         * math/s_casinh.c: Likewise.
36381         * math/s_casinhf.c: Likewise.
36382         * math/s_casinhl.c: Likewise.
36383         * math/s_ccos.c: Rely entire on ccosh.
36384         * math/s_ccosf.c: Rely entire on ccoshf.
36385         * math/s_ccosl.c: Rely entirely on ccoshl.
36386         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
36387         Remove tests for FE_INVALID.
36388         * math/s_ccoshf.c: Likewise.
36389         * math/s_ccoshl.c: Likewise.
36390         * math/s_csin.c: Likewise.
36391         * math/s_csinf.c: Likewise.
36392         * math/s_csinh.c Likewise.
36393         * math/s_csinhf.c: Likewise.
36394         * math/s_csinhl.c: Likewise.
36395         * math/s_csinl.c: Likewise.
36396         * math/s_ctan.c: Likewise.
36397         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36398         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36399         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36401 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
36403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36404         compilation problems.
36406         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36407         __builtin_expect.
36409 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
36411         * sysdeps/i386/configure.in: Test for -mfma4 option.
36412         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36413         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36414         COMMON_CPUID_INDEX_80000001.
36415         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36416         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36417         use it if FMA3 is not supported.
36418         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36420         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36421         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36423 2011-10-20  Andreas Schwab  <schwab@redhat.com>
36425         [BZ #12892]
36426         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36427         it would create a cycle with a link time dependency.
36429 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
36431         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36432         instruction.
36433         * string/Makefile (strop-tests): Add rawmemchr.
36434         * string/test-rawmemchr.c: New file.
36436         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36437         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
36438         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
36439         when compiling str{,n}casecmp and when AVX is available.  Hook up
36440         new optimized code in initializers.
36442 2011-10-19  Andreas Schwab  <schwab@redhat.com>
36444         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36445         __feraiseexcept instead of feraiseexcept.
36447 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
36449         * math/math_private.h: Define defaults for libc_fetestexcept and
36450         libc_feupdateenv.
36451         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36452         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36453         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36454         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36455         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36456         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36457         libc_fetestexcept and libc_feupdateenv.
36459         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36460         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36461         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36462         * sysdeps/x86_64/fpu/math_private.h: Define special version of
36463         libc_feholdexcept_setround.
36465         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36466         Add s_nearbyint-c and s_nearbyintf-c.
36467         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36468         nearbyintf inlines.
36469         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36470         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36471         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36472         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36474         * math/math_private.h: Define defaults for libc_fegetround,
36475         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36476         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36477         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36478         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36479         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36480         standard functions.
36481         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36482         Remove comments and hacks for old compiler versions.
36483         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36484         libc_fegetround, libc_fesetround, libc_feholdexcept, and
36485         libc_feholdexceptl.
36487 2011-10-18  Andreas Schwab  <schwab@redhat.com>
36489         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36490         (__feraiseexcept_renamed): Add __NTH.
36491         (feraiseexcept): Add __NTH.  Rename local variables to fix
36492         namespace violations.
36494 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
36496         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36498         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36500         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36501         recently added interfaces.
36502         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36504         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36505         about macro parameter expansion.
36507         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36508         __NO_MATH_INLINES is defined.  Cleanups.
36510         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36511         and __floorf is target has SSE4.1.
36512         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36513         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36514         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36515         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36517         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36518         name.
36519         (floorf): Likewise.
36521         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36523 2011-10-17  Andreas Schwab  <schwab@redhat.com>
36525         * misc/sys/cdefs.h: Fix last change.
36527         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36528         database lookup.
36530 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
36532         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36534         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36535         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36536         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36537         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36538         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36539         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36540         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36541         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36542         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36543         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36544         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36545         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36546         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36547         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36548         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36549         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36550         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36551         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36552         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36553         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36554         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36555         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36557         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36558         ceil, ceilf, floor, floorf.
36560         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36561         Perform IRELATIVE relocations last.
36563         * elf/do-rel.h: Add another parameter nrelative, replacing the
36564         local variable with the same name.  Change name of the function
36565         to end in Rel or Rela (uppercase).
36566         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36567         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
36568         elf_dynamic_do_##reloc function.
36570 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36572         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36573         is sufficient, at least on modern CPUs.
36575         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36577         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36578         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36580         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36581         __expl_finite.
36582         * math/bits/math-finite.h: Add entries for exp.
36583         * math/e_expl.c: Add __*_finite alias.
36584         * sysdeps/i386/fpu/e_exp.S: Likewise.
36585         * sysdeps/i386/fpu/e_expf.S: Likewise.
36586         * sysdeps/i386/fpu/e_expl.c: Likewise.
36587         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36588         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36589         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36590         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36591         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36592         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36593         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36595         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36596         is sufficient, at least on modern CPUs.
36598         * ctype/ctype-info.c (__ctype_init): Define.
36599         * include/ctype.h (__ctype_init): Declare.
36600         (__ctype_b_loc): The variable is always initialized.
36601         (__ctype_toupper_loc): Likewise.
36602         (__ctype_tolower_loc): Likewise.
36603         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36604         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36606 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
36608         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36610         * configure.in: Also look in $cxxmachine/include for C++ system
36611         headers.
36613 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36615         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36616         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36617         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36618         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
36619         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36620         (USE_AS_WMEMCMP): New macro.
36621         Fixing indents.
36622         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36623         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36624         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36625         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36626         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36627         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36628         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36629         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36630         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36631         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36632         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36633         (USE_AS_WMEMCMP): New macro.
36634         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36635         * sysdeps/string/test-memcmp.c: Update.
36636         Fix simple_wmemcmp.
36637         Add new tests.
36638         * wcsmbs/wmemcmp.c: Update.
36639         (WMEMCMP): New macro.
36640         Fix overflow bug.
36642 2011-10-12  Andreas Jaeger  <aj@suse.de>
36644         [BZ #13268]
36645         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36647 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36649         * libio/iofwide.c (do_length): Avoid warning.
36651         * ctype/ctype.h (__isctype_f): Add missing __THROW.
36653 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
36655         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36657         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36658         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36659         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36660         * sysdeps/i386/i686/fpu/e_log.S: New file.
36661         * sysdeps/i386/i686/fpu/e_logf.S: New file.
36662         * sysdeps/i386/i686/fpu/e_logl.S: New file.
36664         * ctype/ctype.h: Add support for inlined isXXX functions when
36665         compiling C++ code.
36667 2011-10-14  Andreas Schwab  <schwab@redhat.com>
36669         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36671         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36673 2011-10-13  Roland McGrath  <roland@hack.frob.com>
36675         [BZ #13291]
36676         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36678 2011-10-13  Andreas Schwab  <schwab@redhat.com>
36680         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36681         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36682         feraiseexcept.
36684         * sysdeps/x86_64/memrchr.S: Check for zero size.
36686         * string/stratcliff.c: Add memrchr tests.
36688 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36690         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36691         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36692         rawmemchr-sse2 rawmemchr-sse2-bsf.
36693         * sysdeps/i386/i686/multiarch/memchr.S: New file.
36694         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36695         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36696         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36697         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36698         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36699         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36700         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36701         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36702         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36703         * string/memrchr.c (MEMRCHR): New macro.
36705 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
36707         Add integration with gcc's -ffinite-math-only and optimize wrapper
36708         functions in libm.
36709         * Versions.def: Define GLIBC_2.15 version for libm.
36710         * math/Makefile (headers): Add bits/math-finite.h.
36711         * math/bits/math-finite.h: New file.
36712         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36713         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36714         * math/e_acoshl.c: Add __*_finite alias.
36715         * math/e_acosl.c: Likewise.
36716         * math/e_asinl.c: Likewise.
36717         * math/e_atan2l.c: Likewise.
36718         * math/e_atanhl.c: Likewise.
36719         * math/e_coshl.c: Likewise.
36720         * math/e_exp10.c: Likewise.
36721         * math/e_exp10f.c: Likewise.
36722         * math/e_exp10l.c: Likewise.
36723         * math/e_exp2l.c: Likewise.
36724         * math/e_fmodl.c: Likewise.
36725         * math/e_gammal_r.c: Likewise.
36726         * math/e_hypotl.c: Likewise.
36727         * math/e_j0l.c: Likewise.
36728         * math/e_j1l.c: Likewise.
36729         * math/e_jnl.c: Likewise.
36730         * math/e_lgammal_r.c: Likewise.
36731         * math/e_log10l.c: Likewise.
36732         * math/e_log2l.c: Likewise.
36733         * math/e_logl.c: Likewise.
36734         * math/e_powl.c: Likewise.
36735         * math/e_sinhl.c: Likewise.
36736         * math/e_sqrtl.c: Likewise.
36737         * math/e_scalb.c: Completely rewritten and optimized.
36738         * math/e_scalbf.c: Likewise.
36739         * math/e_scalbl.c: Likewise.
36740         * math/w_acos.c: Likewise.
36741         * math/w_acosf.c: Likewise.
36742         * math/w_acosl.c: Likewise.
36743         * math/w_acosh.c: Likewise.
36744         * math/w_acoshf.c: Likewise.
36745         * math/w_acoshl.c: Likewise.
36746         * math/w_asin.c: Likewise.
36747         * math/w_asinf.c: Likewise.
36748         * math/w_asinl.c: Likewise.
36749         * math/w_atan2.c: Likewise.
36750         * math/w_atan2f.c: Likewise.
36751         * math/w_atan2l.c: Likewise.
36752         * math/w_atanh.c: Likewise.
36753         * math/w_atanhf.c: Likewise.
36754         * math/w_atanhl.c: Likewise.
36755         * math/w_exp10.c: Likewise.
36756         * math/w_exp10f.c: Likewise.
36757         * math/w_exp10l.c: Likewise.
36758         * math/w_fmod.c: Likewise.
36759         * math/w_fmodf.c: Likewise.
36760         * math/w_fmodl.c: Likewise.
36761         * math/w_j0.c: Likewise.
36762         * math/w_j0f.c: Likewise.
36763         * math/w_j0l.c: Likewise.
36764         * math/w_j1.c: Likewise.
36765         * math/w_j1f.c: Likewise.
36766         * math/w_j1l.c: Likewise.
36767         * math/w_jn.c: Likewise.
36768         * math/w_jnf.c: Likewise.
36769         * math/w_log.c: Likewise.
36770         * math/w_logf.c: Likewise.
36771         * math/w_logl.c: Likewise.
36772         * math/w_log10.c: Likewise.
36773         * math/w_log10f.c: Likewise.
36774         * math/w_log10l.c: Likewise.
36775         * math/w_log2.c: Likewise.
36776         * math/w_log2f.c: Likewise.
36777         * math/w_log2l.c: Likewise.
36778         * math/w_pow.c: Likewise.
36779         * math/w_powf.c: Likewise.
36780         * math/w_powl.c: Likewise.
36781         * math/w_remainder.c: Likewise.
36782         * math/w_remainderf.c: Likewise.
36783         * math/w_remainderl.c: Likewise.
36784         * math/w_scalb.c: Likewise.
36785         * math/w_scalbf.c: Likewise.
36786         * math/w_scalbl.c: Likewise.
36787         * math/w_sqrt.c: Likewise.
36788         * math/w_sqrtf.c: Likewise.
36789         * math/w_sqrtl.c: Likewise.
36790         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36791         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
36792         used.
36793         * math/math_private.h: Declare __kernel_standard_f.
36794         * math/w_cosh.c: Remove cruft and optimize a bit.
36795         * math/w_coshf.c: Likewise.
36796         * math/w_coshl.c: Likewise.
36797         * math/w_exp2.c: Likewise.
36798         * math/w_exp2f.c: Likewise.
36799         * math/w_exp2l.c: Likewise.
36800         * math/w_hypot.c: Likewise.
36801         * math/w_hypotf.c: Likewise.
36802         * math/w_hypotl.c: Likewise.
36803         * math/w_lgamma.c: Likewise.
36804         * math/w_lgamma_r.c: Likewise.
36805         * math/w_lgammaf.c: Likewise.
36806         * math/w_lgammaf_r.c: Likewise.
36807         * math/w_lgammal.c: Likewise.
36808         * math/w_lgammal_r.c: Likewise.
36809         * math/w_sinh.c: Likewise.
36810         * math/w_sinhf.c: Likewise.
36811         * math/w_sinhl.c: Likewise.
36812         * math/w_tgamma.c: Likewise.
36813         * math/w_tgammaf.c: Likewise.
36814         * math/w_tgammal.c: Likewise.
36815         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36816         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36817         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36818         Minor optimizations.  Pretty printing.  Remove cruft.
36819         * sysdeps/i386/fpu/e_acosf.S: Likewise.
36820         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36821         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36822         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36823         * sysdeps/i386/fpu/e_acosl.c: Likewise.
36824         * sysdeps/i386/fpu/e_asin.S: Likewise.
36825         * sysdeps/i386/fpu/e_asinf.S: Likewise.
36826         * sysdeps/i386/fpu/e_atan2.S: Likewise.
36827         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36828         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36829         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36830         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36831         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36832         * sysdeps/i386/fpu/e_exp10.S: Likewise.
36833         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36834         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36835         * sysdeps/i386/fpu/e_exp2.S: Likewise.
36836         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36837         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36838         * sysdeps/i386/fpu/e_fmod.S: Likewise.
36839         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36840         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36841         * sysdeps/i386/fpu/e_hypot.S: Likewise.
36842         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36843         * sysdeps/i386/fpu/e_log.S: Likewise.
36844         * sysdeps/i386/fpu/e_log10.S: Likewise.
36845         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36846         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36847         * sysdeps/i386/fpu/e_log2.S: Likewise.
36848         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36849         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36850         * sysdeps/i386/fpu/e_logf.S: Likewise.
36851         * sysdeps/i386/fpu/e_logl.S: Likewise.
36852         * sysdeps/i386/fpu/e_pow.S: Likewise.
36853         * sysdeps/i386/fpu/e_powf.S: Likewise.
36854         * sysdeps/i386/fpu/e_powl.S: Likewise.
36855         * sysdeps/i386/fpu/e_remainder.S: Likewise.
36856         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36857         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36858         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36859         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36860         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36861         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36862         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36863         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36864         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36865         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36866         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36867         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36868         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36869         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36870         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36871         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36872         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36873         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36874         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36875         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36877         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36878         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36879         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36880         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36881         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36882         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36883         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36884         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36885         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36886         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36887         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36888         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36889         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36890         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36891         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36892         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36893         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36894         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36895         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36896         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36897         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36898         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36899         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36900         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36901         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36902         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36903         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36904         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36905         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36906         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36907         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36908         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36909         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36910         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36911         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36912         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36913         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36914         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36915         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36916         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36917         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36918         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36919         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36920         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36921         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36922         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36923         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36924         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36925         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36926         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36927         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36928         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36929         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36930         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36931         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36932         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
36933         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36934         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36935         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36936         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36937         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36938         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36939         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36940         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36941         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36942         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36943         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36944         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36945         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36946         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
36947         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36948         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36949         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36950         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36951         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36952         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36953         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36954         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36955         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36956         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36957         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36958         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36959         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36960         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36961         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
36962         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
36963         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
36964         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
36965         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
36966         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
36967         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
36968         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36969         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36970         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36971         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36972         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
36973         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36974         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
36975         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
36976         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
36977         (__isnanf): Likewise.
36978         (__isinf_ns): Likewise.
36979         (__isinf_nsf): Likewise.
36980         (__finite): Likewise.
36981         (__finitef): Likewise.
36982         (__ieee754_sqrt): Define as macro.
36983         (__ieee754_sqrtf): Define as macro.
36984         (__ieee754_sqrtl): Define as macro.
36985         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
36986         inlined copy.
36987         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
36988         __FINITE_MATH_ONLY__ consistent.
36989         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
36991 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
36993         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
36994         of rawmemchr.
36996         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
36998 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
37000         * po/ja.po: Update from translation team.
37002 2011-10-08  Roland McGrath  <roland@hack.frob.com>
37004         * locale/programs/locarchive.c (prepare_address_space): New function.
37005         (create_archive, enlarge_archive, open_archive): Use it.
37007         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37008         inside [SHARED], where it is used.
37010         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37012         * nss/getent.c (netgroup_keys): Remove unused variable.
37013         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37015 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
37017         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37018         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37019         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37020         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37021         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37022         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37023         * math/Makefile (libm-calls): Add s_isinf_ns.
37024         * math/divtc3.c: Use __isinf_nsl instead of isinf.
37025         * math/multc3.c: Likewise.
37026         * math/s_casin.c: Likewise.
37027         * math/s_casinf.c: Likewise.
37028         * math/s_casinl.c: Likewise.
37029         * math/s_ccos.c: Likewise.
37030         * math/s_ccosf.c: Likewise.
37031         * math/s_ccosl.c: Likewise.
37032         * math/s_ctan.c: Likewise.
37033         * math/s_ctanf.c: Likewise.
37034         * math/s_ctanh.c: Likewise.
37035         * math/s_ctanhf.c: Likewise.
37036         * math/s_ctanhl.c: Likewise.
37037         * math/s_ctanl.c: Likewise.
37038         * math/w_fmod.c: Likewise.
37039         * math/w_fmodf.c: Likewise.
37040         * math/w_fmodl.c: Likewise.
37041         * math/w_remainder.c: Likewise.
37042         * math/w_remainderf.c: Likewise.
37043         * math/w_remainderl.c: Likewise.
37044         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37045         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37046         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37047         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37048         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37049         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37050         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37051         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37053         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37054         of the number.
37055         * stdio-common/printf_fphex.c: Likewise.
37056         * stdio-common/printf_size.c: Likewise.
37058         * math/e_exp10.c: Include math_private.h using <...> not "...".
37059         * math/e_exp10f.c: Likewise.
37060         * math/e_exp10l.c: Likewise.
37061         * math/e_exp2l.c: Likewise.
37062         * math/e_j0l.c: Likewise.
37063         * math/e_j1l.c: Likewise.
37064         * math/e_jnl.c: Likewise.
37065         * math/e_lgammal_r.c: Likewise.
37066         * math/e_rem_pio2l.c: Likewise.
37067         * math/e_scalb.c: Likewise.
37068         * math/e_scalbf.c: Likewise.
37069         * math/e_scalbl.c: Likewise.
37070         * math/k_cosl.c: Likewise.
37071         * math/k_sinl.c: Likewise.
37072         * math/k_tanl.c: Likewise.
37073         * math/s_cacoshf.c: Likewise.
37074         * math/s_catan.c: Likewise.
37075         * math/s_catanf.c: Likewise.
37076         * math/s_catanh.c: Likewise.
37077         * math/s_catanhf.c: Likewise.
37078         * math/s_catanhl.c: Likewise.
37079         * math/s_catanl.c: Likewise.
37080         * math/s_ccosh.c: Likewise.
37081         * math/s_ccoshf.c: Likewise.
37082         * math/s_ccoshl.c: Likewise.
37083         * math/s_cexp.c: Likewise.
37084         * math/s_cexpf.c: Likewise.
37085         * math/s_cexpl.c: Likewise.
37086         * math/s_clog.c: Likewise.
37087         * math/s_clog10.c: Likewise.
37088         * math/s_clog10f.c: Likewise.
37089         * math/s_clog10l.c: Likewise.
37090         * math/s_clogf.c: Likewise.
37091         * math/s_clogl.c: Likewise.
37092         * math/s_csin.c: Likewise.
37093         * math/s_csinf.c: Likewise.
37094         * math/s_csinh.c: Likewise.
37095         * math/s_csinhf.c: Likewise.
37096         * math/s_csinhl.c: Likewise.
37097         * math/s_csinl.c: Likewise.
37098         * math/s_csqrt.c: Likewise.
37099         * math/s_csqrtf.c: Likewise.
37100         * math/s_csqrtl.c: Likewise.
37101         * math/s_ctan.c: Likewise.
37102         * math/s_ctanf.c: Likewise.
37103         * math/s_ctanh.c: Likewise.
37104         * math/s_ctanhf.c: Likewise.
37105         * math/s_ctanhl.c: Likewise.
37106         * math/s_ctanl.c: Likewise.
37107         * math/s_ldexp.c: Likewise.
37108         * math/s_ldexpf.c: Likewise.
37109         * math/s_ldexpl.c: Likewise.
37110         * math/s_significand.c: Likewise.
37111         * math/s_significandf.c: Likewise.
37112         * math/s_significandl.c: Likewise.
37113         * math/w_acos.c: Likewise.
37114         * math/w_acosf.c: Likewise.
37115         * math/w_acosh.c: Likewise.
37116         * math/w_acoshf.c: Likewise.
37117         * math/w_acoshl.c: Likewise.
37118         * math/w_acosl.c: Likewise.
37119         * math/w_asin.c: Likewise.
37120         * math/w_asinf.c: Likewise.
37121         * math/w_asinl.c: Likewise.
37122         * math/w_atan2.c: Likewise.
37123         * math/w_atan2f.c: Likewise.
37124         * math/w_atan2l.c: Likewise.
37125         * math/w_atanh.c: Likewise.
37126         * math/w_atanhf.c: Likewise.
37127         * math/w_atanhl.c: Likewise.
37128         * math/w_cosh.c: Likewise.
37129         * math/w_coshf.c: Likewise.
37130         * math/w_coshl.c: Likewise.
37131         * math/w_dremf.c: Likewise.
37132         * math/w_exp10.c: Likewise.
37133         * math/w_exp10f.c: Likewise.
37134         * math/w_exp10l.c: Likewise.
37135         * math/w_exp2.c: Likewise.
37136         * math/w_exp2f.c: Likewise.
37137         * math/w_fmod.c: Likewise.
37138         * math/w_fmodf.c: Likewise.
37139         * math/w_fmodl.c: Likewise.
37140         * math/w_hypot.c: Likewise.
37141         * math/w_hypotf.c: Likewise.
37142         * math/w_hypotl.c: Likewise.
37143         * math/w_j0.c: Likewise.
37144         * math/w_j0f.c: Likewise.
37145         * math/w_j0l.c: Likewise.
37146         * math/w_j1.c: Likewise.
37147         * math/w_j1f.c: Likewise.
37148         * math/w_j1l.c: Likewise.
37149         * math/w_jn.c: Likewise.
37150         * math/w_jnf.c: Likewise.
37151         * math/w_jnl.c: Likewise.
37152         * math/w_lgamma.c: Likewise.
37153         * math/w_lgamma_r.c: Likewise.
37154         * math/w_lgammaf.c: Likewise.
37155         * math/w_lgammaf_r.c: Likewise.
37156         * math/w_lgammal.c: Likewise.
37157         * math/w_lgammal_r.c: Likewise.
37158         * math/w_log.c: Likewise.
37159         * math/w_log10.c: Likewise.
37160         * math/w_log10f.c: Likewise.
37161         * math/w_log10l.c: Likewise.
37162         * math/w_log2.c: Likewise.
37163         * math/w_log2f.c: Likewise.
37164         * math/w_log2l.c: Likewise.
37165         * math/w_logf.c: Likewise.
37166         * math/w_logl.c: Likewise.
37167         * math/w_pow.c: Likewise.
37168         * math/w_powf.c: Likewise.
37169         * math/w_powl.c: Likewise.
37170         * math/w_remainder.c: Likewise.
37171         * math/w_remainderf.c: Likewise.
37172         * math/w_remainderl.c: Likewise.
37173         * math/w_scalb.c: Likewise.
37174         * math/w_scalbf.c: Likewise.
37175         * math/w_scalbl.c: Likewise.
37176         * math/w_sinh.c: Likewise.
37177         * math/w_sinhf.c: Likewise.
37178         * math/w_sinhl.c: Likewise.
37179         * math/w_sqrt.c: Likewise.
37180         * math/w_sqrtf.c: Likewise.
37181         * math/w_sqrtl.c: Likewise.
37182         * math/w_tgamma.c: Likewise.
37183         * math/w_tgammaf.c: Likewise.
37184         * math/w_tgammal.c: Likewise.
37186         * po/ja.po: Update from translation team.
37188 2011-09-29  Andreas Jaeger  <aj@suse.de>
37190         [BZ #13179]
37191         * sunrpc/netname.c (netname2host): Fix logic.
37193         [BZ #6779]
37194         [BZ #6783]
37195         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37196         correctly.
37197         * math/w_remainder.c (__remainder): Likewise.
37198         * math/w_remainderf.c (__remainderf): Likewise.
37199         * math/libm-test.inc (remainder_test): Add test cases.
37201 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37203         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
37204         sdiv_qrnnd.
37206 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37208         * string/test-memcmp.c: Avoid unncessary #defines.
37209         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37211 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37213         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37214         Use new sse2 version for core i3 - i7 as it's faster
37215         than sse42 version.
37216         (bit_Prefer_PMINUB_for_stringop): New.
37217         * sysdeps/x86_64/rawmemchr.S: Update.
37218         Replace with faster SSE2 version.
37219         * sysdeps/x86_64/memrchr.S: New file.
37220         * sysdeps/x86_64/memchr.S: Update.
37221         Replace with faster SSE2 version.
37223 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
37225         * elf/dl-load.c (lose): Add cast to avoid warning.
37227 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37229         * po/ca.po: Update from translation team.
37231         * inet/getnetgrent_r.c: Hook up nscd.
37232         * nscd/Makefile (routines): Add nscd_netgroup.
37233         (nscd-modules): Add netgroupcache.
37234         (CFLAGS-netgroupcache.c): Define.
37235         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37236         (cache_search): Add const to second parameter.
37237         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37238         INNETGR.
37239         (dbs): Add netgrdb entry.
37240         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37241         (verify_persistent_db): Handle netgrdb.
37242         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37243         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37244         GETFDNETGR.
37245         (netgroup_response_header): Define.
37246         (innetgroup_response_header): Define.
37247         (datahead): Add netgroup_response_header and innetgroup_response_header
37248         elements.
37249         * nscd/nscd.conf: Add entries for netgroup cache.
37250         * nscd/nscd.h (dbtype): Add netgrdb.
37251         (_PATH_NSCD_NETGROUP_DB): Define.
37252         (netgroup_iov_disabled): Declare.
37253         (xmalloc, xcalloc, xrealloc): Move declarations here.
37254         (cache_search): Adjust prototype.
37255         Add netgroup-related prototypes.
37256         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37257         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37258         (__nscd_innetgr): Declare.
37259         * nscd/selinux.c (perms): Use access_vector_t as element type and
37260         add netgroup-related initializers.
37261         * nscd/netgroupcache.c: New file.
37262         * nscd/nscd_netgroup.c: New file.
37263         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37264         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37265         For four parameters use innetgr.
37266         * nss/nss_files/files-init.c: Add definition and callback for netgr.
37267         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37268         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37269         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37271         * nscd/connections.c (register_traced_file): Don't register file
37272         for disabled databases.
37274 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
37276         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37278         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37279         from tree and freeing node.
37281 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
37283         * nss/nsswitch.c (__nss_database_lookup): Handle
37284         nss_parse_service_list out of memory case.
37286 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
37288         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37289         out of memory case.
37291 2011-10-04  Andreas Schwab  <schwab@redhat.com>
37293         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37294         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37295         pass it down.
37296         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37297         elf_machine_rela, elf_machine_lazy_rel.
37298         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37299         (ELF_DYNAMIC_DO_REL): Likewise.
37300         (ELF_DYNAMIC_DO_RELA): Likewise.
37301         (ELF_DYNAMIC_RELOCATE): Likewise.
37302         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37303         to ELF_DYNAMIC_DO_REL.
37304         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37305         (dl_main): In trace mode always set __RTLD_NOIFUNC.
37306         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37307         elf_machine_rela.
37308         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37309         skip_ifunc, don't call ifunc function if non-zero.
37310         (elf_machine_rela): Likewise.
37311         (elf_machine_lazy_rel): Likewise.
37312         (elf_machine_lazy_rela): Likewise.
37313         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37314         (elf_machine_lazy_rel): Likewise.
37315         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37316         Likewise.
37317         (elf_machine_lazy_rel): Likewise.
37318         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37319         Likewise.
37320         (elf_machine_lazy_rel): Likewise.
37321         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37322         (elf_machine_lazy_rel): Likewise.
37323         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37324         (elf_machine_lazy_rel): Likewise.
37325         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37326         (elf_machine_lazy_rel): Likewise.
37327         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37328         (elf_machine_lazy_rel): Likewise.
37329         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37330         (elf_machine_lazy_rel): Likewise.
37331         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37332         (elf_machine_lazy_rel): Likewise.
37334 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
37336         * nss/nss_files/files-init.c (_nss_files_init): Use static
37337         initialization for all the *_traced_file variables.
37339 2011-09-28  Andreas Schwab  <schwab@redhat.com>
37341         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37343 2011-09-27  Roland McGrath  <roland@hack.frob.com>
37345         [BZ #13226]
37346         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37348 2011-09-27  Andreas Schwab  <schwab@redhat.com>
37350         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37351         Reread the line before reparsing it.
37353 2011-09-26  Andreas Schwab  <schwab@redhat.com>
37355         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37357 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
37358             Maxim Kuvyrkov  <maxim@codesourcery.com>
37359             Joseph Myers  <joseph@codesourcery.com>
37361         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37362         if needed for __stack_chk_guard.
37364 2011-09-19  Roland McGrath  <roland@hack.frob.com>
37366         * sysdeps/posix/spawni.c (script_execute): Always define it.
37367         It will be optimized away if unused.
37368         (maybe_script_execute): New function.
37369         (__spawni): Call it.
37371         * Makerules: Don't include tls.make.
37372         (config-tls): Always set to thread.
37373         * tls.make.c: File removed.
37375 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
37377         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37378         * config.make.in (CPPFLAGS-config): New substituted variable.
37380 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37382         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37384         [BZ #13192]
37385         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37386         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37388 2011-09-15  Roland McGrath  <roland@hack.frob.com>
37390         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37391         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37392         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37393         (CALL_FAIL): Likewise.
37394         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37395         (CALL_FAIL): Macro removed.
37396         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37398 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37400         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37401         for __FINITE_MATH_ONLY__ == 1.
37403 2011-09-15  Andreas Schwab  <schwab@redhat.com>
37405         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37406         __ieee754_sqrt instead of sqrt.
37407         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37408         __ieee754_sqrtf instead of sqrtf.
37409         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37410         __floorf instead of floorf.
37411         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37412         __floorf, __truncf instead of floorf, truncf.
37414 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
37416         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37418         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37419         __extern_always_inline.
37420         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37421         32-bit.
37423 2011-09-14  Andreas Schwab  <schwab@redhat.com>
37425         * elf/rtld.c (dl_main): Also relocate in dependency order when
37426         doing symbol dependency testing.
37428 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
37430         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37431         Always define `refsym'.
37433 2011-09-13  Andreas Schwab  <schwab@redhat.com>
37435         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37436         (__FD_ELT): Renamed from __FDELT.
37437         * misc/bits/select2.h (__FD_ELT): Likewise.
37438         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37439         __FD_MASK instead of __FDELT, __FDMASK.
37440         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37441         Likewise.
37442         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37443         Likewise.
37445         * elf/Makefile (gen-ldd): Fix pattern.
37447         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37448         (init_tls): Likewise.
37450 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
37452         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37454 2011-09-12  Andreas Schwab  <schwab@redhat.com>
37456         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37457         `struct cmsghdr *' instead of `void *'.
37458         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37459         Likewise.
37461 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
37463         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37464         if non-absolute.
37465         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37466         ldd_rewrite_script.
37468 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
37470         * configure.in: Remove --with-tls option.
37471         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37472         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37473         out in case it is missing.
37474         * sysdeps/ia64/elf/configure.in: Likewise.
37475         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37476         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37477         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37478         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37479         * sysdeps/sh/elf/configure.in: Likewise.
37480         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37481         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37482         * sysdeps/x86_64/elf/configure.in: Likewise.
37483         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37484         * sysdeps/mach/hurd/tls.h: Likewise.
37486         [BZ #13067]
37487         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37489         [BZ #13090]
37490         * configure.in: Fix use of AC_INIT.
37492         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37494 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
37496         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37497         __set_errno.
37498         * malloc/hooks.c: Likewise.
37500         [BZ #11929]
37501         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
37502         variables statically.
37503         (narenas): Initialize.
37504         (list_lock): Initialize.
37505         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
37506         initializtion of main_arena and list_lock.  Small cleanups.
37507         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37508         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
37509         Add initializers to main_arena and mp_.
37510         (malloc_state): Remove pagesize member.  Change all users to use
37511         GLRO(dl_pagesize).
37513         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37514         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
37515         is always initialized.
37517         * malloc/malloc.c: Removed unused configurations and dead code.
37518         * malloc/arena.c: Likewise.
37519         * malloc/hooks.c: Likewise.
37520         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37522         * include/tls.h: Removed.  USE___THREAD must always be defined.
37523         * bits/libc-tsd.h: Don't handle !USE___THREAD.
37524         * elf/dl-libc.c: Likewise.
37525         * elf/dl-tsd.c: Likewise.
37526         * include/errno.h: Likewise.
37527         * include/netdb.h: Likewise.
37528         * include/resolv.h: Likewise.
37529         * inet/herrno-loc.c: Likewise.
37530         * inet/herrno.c: Likewise.
37531         * malloc/arena.c: Likewise.
37532         * malloc/hooks.c: Likewise.
37533         * malloc/malloc.c: Likewise.
37534         * resolv/res-state.c: Likewise.
37535         * resolv/res_libc.c: Likewise.
37536         * sysdeps/i386/dl-machine.h: Likewise.
37537         * sysdeps/ia64/dl-machine.h: Likewise.
37538         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37539         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37540         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37541         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37542         * sysdeps/sh/dl-machine.h: Likewise.
37543         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37544         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37545         * sysdeps/unix/i386/sysdep.S: Likewise.
37546         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37547         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37548         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37549         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37550         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37551         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37552         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37553         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37554         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37555         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37556         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37557         * sysdeps/x86_64/dl-machine.h: Likewise.
37558         * tls.make.c: Likewise.
37560         * configure.in: Remove --with-__thread option.  Make tests for
37561         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37562         tls_model attribute fail if no support is available.  Remove
37563         USE_IN_LIBIO.
37564         * Makeconfig: Adjust for dropped configure option.  All features are
37565         now mandatory.
37566         * Makerules: Likewise.
37567         * Versions.def: Likewise.
37568         * argp/argp-fmtstream.c: Likewise.
37569         * argp/argp-fmtstream.h: Likewise.
37570         * argp/argp-help.c: Likewise.
37571         * assert/assert.c: Likewise.
37572         * config.h.in: Likewise.
37573         * config.make.in: Likewise.
37574         * configure: Likewise.
37575         * configure.in: Likewise.
37576         * csu/Versions: Likewise.
37577         * csu/init.c: Likewise.
37578         * elf/tst-audit2.c: Likewise.
37579         * elf/tst-tls10.c: Likewise.
37580         * elf/tst-tls10.h: Likewise.
37581         * elf/tst-tls11.c: Likewise.
37582         * elf/tst-tls12.c: Likewise.
37583         * elf/tst-tls14.c: Likewise.
37584         * elf/tst-tlsmod11.c: Likewise.
37585         * elf/tst-tlsmod12.c: Likewise.
37586         * elf/tst-tlsmod13.c: Likewise.
37587         * elf/tst-tlsmod13a.c: Likewise.
37588         * elf/tst-tlsmod14a.c: Likewise.
37589         * elf/tst-tlsmod15b.c: Likewise.
37590         * elf/tst-tlsmod16a.c: Likewise.
37591         * elf/tst-tlsmod16b.c: Likewise.
37592         * elf/tst-tlsmod7.c: Likewise.
37593         * elf/tst-tlsmod8.c: Likewise.
37594         * elf/tst-tlsmod9.c: Likewise.
37595         * gmon/gmon.c: Likewise.
37596         * grp/fgetgrent_r.c: Likewise.
37597         * grp/putgrent.c: Likewise.
37598         * hurd/fopenport.c: Likewise.
37599         * include/libc-symbols.h: Likewise.
37600         * include/tls.h: Likewise.
37601         * intl/gettextP.h: Likewise.
37602         * intl/loadinfo.h: Likewise.
37603         * locale/global-locale.c: Likewise.
37604         * locale/localeinfo.h: Likewise.
37605         * mach/devstream.c: Likewise.
37606         * malloc/arena.c: Likewise.
37607         * malloc/set-freeres.c: Likewise.
37608         * misc/err.c: Likewise.
37609         * misc/getttyent.c: Likewise.
37610         * misc/mntent_r.c: Likewise.
37611         * posix/getopt.c: Likewise.
37612         * posix/wordexp.c: Likewise.
37613         * pwd/fgetpwent_r.c: Likewise.
37614         * resolv/Versions: Likewise.
37615         * resolv/res_hconf.c: Likewise.
37616         * shadow/fgetspent_r.c: Likewise.
37617         * shadow/putspent.c: Likewise.
37618         * stdio-common/printf_fphex.c: Likewise.
37619         * stdio-common/tmpfile.c: Likewise.
37620         * stdlib/abort.c: Likewise.
37621         * stdlib/fmtmsg.c: Likewise.
37622         * sunrpc/auth_unix.c: Likewise.
37623         * sunrpc/clnt_perr.c: Likewise.
37624         * sunrpc/clnt_tcp.c: Likewise.
37625         * sunrpc/clnt_udp.c: Likewise.
37626         * sunrpc/clnt_unix.c: Likewise.
37627         * sunrpc/openchild.c: Likewise.
37628         * sunrpc/svc_simple.c: Likewise.
37629         * sunrpc/svc_tcp.c: Likewise.
37630         * sunrpc/svc_udp.c: Likewise.
37631         * sunrpc/svc_unix.c: Likewise.
37632         * sunrpc/xdr.c: Likewise.
37633         * sunrpc/xdr_array.c: Likewise.
37634         * sunrpc/xdr_rec.c: Likewise.
37635         * sunrpc/xdr_ref.c: Likewise.
37636         * sunrpc/xdr_stdio.c: Likewise.
37638 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37640         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37642 2011-07-03  Andreas Jaeger  <aj@suse.de>
37644         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37645         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37646         regenerate with gen-libm-tests.pl.
37648 2010-05-12  Petr Baudis  <pasky@suse.cz>
37650         [BZ #11589]
37651         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37652         around j0() zero points by switching to j1().
37653         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37654         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37655         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37656         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37658 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37660         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37661         instead of 0.
37662         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37663         instead of 0.
37664         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37665         Patch in part by Pavel Roskin <proski@gnu.org>.
37667         [BZ #13138]
37668         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37669         realloc.
37670         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
37671         Free memory block if necessary.
37673         [BZ #12847]
37674         * libio/genops.c (INTDEF): For string streams the _lock pointer can
37675         be NULL.  Don't lock in this case.
37677 2011-09-09  Roland McGrath  <roland@hack.frob.com>
37679         * elf/elf.h (ELFOSABI_GNU): New macro.
37680         (ELFOSABI_LINUX): Define to that.
37682 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
37684         * string/strncat.c (strncat): Undef the symbol in case it has been
37685         defined in bits/string.h.
37687 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37689         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37691         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37692         link map.
37694 2011-08-17  Andreas Jaeger  <aj@suse.de>
37696         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37698 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37699             Ian Lance Taylor  <iant@google.com>
37701         * math/libm-test.inc (lround_test): New testcase.
37702         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37704 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
37706         * Makefile: Remove support for automatic cvs check-ins.
37707         * Makerules: Likewise.
37708         * config.make.in: Likewise.
37709         * configure.in: Likewise.
37710         * intl/Makefile: Likewise.
37711         * locale/Makefile: Likewise.
37712         * po/Makefile: Likewise.
37713         * posix/Makefile: Likewise.
37714         * sysdeps/gnu/Makefile: Likewise.
37715         * sysdeps/mach/hurd/Makefile: Likewise.
37716         * sysdeps/sparc/sparc32/Makefile: Likewise.
37718         [BZ #13118]
37719         * posix/Makefile (bug-regex32-ENV): Define.
37720         Patch by John Stanley <jpsinthemix@verizon.net>.
37722         * misc/Makefile (headers): Add bits/select2.h.
37723         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37724         * misc/bits/select2.h: New file.
37725         * include/bits/select2.h: New file.
37726         * debug/Makefile (routines): Add fdelt_chk.
37727         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37728         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37729         FD_ISSET.
37730         * debug/fdelt_chk.c: New file.
37732         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
37733         * wcsmbs/test-wmemcmp.c: Likewise.
37734         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37735         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37737 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37739         * string/Makefile (strop-tests): Add memcmp.
37740         * string/test-wmemcmp.c: New file.
37741         * string/test-memcmp.c: Add wmemcmp support.
37743 2011-09-08  Roland McGrath  <roland@hack.frob.com>
37745         [BZ #13153]
37746         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37747         2011-07-19 change.
37749         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37750         garbage value in a __mach_port_mod_refs call in the cases of the
37751         task-self and thread-self ports.
37753 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37755         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37757 2011-09-08  Andreas Schwab  <schwab@redhat.com>
37759         * elf/dl-load.c (lose): Check for non-null L.
37761 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37763         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37765         * elf/dl-libc.c (dlerror_run): Pass back error code from
37766         dl_catch_error.
37768         [BZ #13123]
37769         * elf/dl-load.c (lose): Free l_origin if it is valid.
37771         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37772         names.
37773         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37774         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37775         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37776         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37777         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37778         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37780 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37782         * sysdeps/powerpc/fpu/e_hypot.c: New file.
37783         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37784         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37785         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37786         * sysdeps/powerpc/fpu/k_cosf.c: New file.
37787         * sysdeps/powerpc/fpu/k_sinf.c: New file.
37788         * sysdeps/powerpc/fpu/s_cosf.c: New file.
37789         * sysdeps/powerpc/fpu/s_sinf.c: New file.
37790         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37791         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37793 2011-08-15  Alan Modra  <amodra@gmail.com>
37795         [BZ #13092]
37796         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37797         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37798         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
37799         ppc_mcount to static-only-routines.
37800         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37801         __mcount_internal.
37802         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37803         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
37805 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
37807         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37808         for finite and infinity parameters.
37810 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37812         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37813         and add nop instructions for throughput optimization.
37814         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37816 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
37818         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37819         aligned copy for power7 with vector-scalar instructions.
37820         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37822 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
37824         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37825         AVX check.
37827 2011-09-07  Andreas Schwab  <schwab@redhat.com>
37829         [BZ #13144]
37830         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37831         last change.
37833 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37835         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37836         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37837         syscall wrapper around clock_gettime in __vdso_clock_gettime.
37838         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37839         clock_gettime.
37841 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37843         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37844         Forgot to demangle the pointer.
37846         * sysdeps/i386/sysdep.h: Define atom_text_section.
37847         * sysdeps/x86_64/sysdep.h: Likewise.
37848         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37849         section with atom_text_section.
37850         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37851         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37852         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37853         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37854         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37856         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37857         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37858         already be defined.  Change to take two parameters and don't assign
37859         result to variable.  Adjust all users.
37860         Define INTERNAL_GETTIME if not already defined.
37861         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37862         call.
37863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37864         HAVE_CLOCK_GETTIME_VSYSCALL.
37865         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37867         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37868         gettimeofday vsyscall, just use time.
37870 2011-09-06  Andreas Schwab  <schwab@redhat.com>
37872         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37873         <errno.h>.
37875 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37877         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37878         syscall on x86-64.
37879         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37880         syscall.
37881         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37882         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37883         syscall if possible.
37885 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37887         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37888         e_ident.  Don't pass to find_mapsXX.
37889         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37891 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37894         strchr-sse2-no-bsf strrchr-sse2-no-bsf
37895         * sysdeps/x86_64/multiarch/strchr.S: Update.
37896         Check bit_slow_BSF bit.
37897         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37898         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37899         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37901 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37903         [BZ #13134]
37904         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37905         before glibc 2.15.
37906         (tryshell): Define.
37907         (__spawni): Change last parameter to be flag.  Test
37908         SPAWN_XFLAGS_USE_PATH flag to use path or not.
37909         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37910         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37911         * posix/spawni.c: Likewise.
37912         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37913         * posix/spawnp.c: Likewise.  Change normal version to use
37914         SPAWN_XFLAGS_USE_PATH.
37915         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37916         SPAWN_XFLAGS_TRY_SHELL.
37918         [BZ #13150]
37919         * posix/glob.h: Remove gcc 1.x support.
37921         [BZ #13068]
37922         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
37924 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37926         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37927         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
37928         strrchr-sse2-bsf
37929         * sysdeps/i386/i686/multiarch/strchr.S: New file.
37930         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
37931         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
37932         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
37933         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
37934         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
37936 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37938         * sysdeps/x86_64/wcscmp.S: New file.
37940         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
37941         wcscmp-c wcscmp-sse2
37942         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
37943         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
37944         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
37945         * wcsmbs/wcscmp.c: Allow renaming.
37947 2011-09-05  David S. Miller  <davem@davemloft.net>
37949         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
37950         stack slot, rather than the struct return pointer slot.
37951         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
37952         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
37953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
37954         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
37956 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37958         * po/ja.po: Update from translation team.
37960         [BZ #13144]
37961         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
37962         kernel in 64-bit binaries.
37964 2011-09-01  David S. Miller  <davem@davemloft.net>
37966         * elf/elf.h (HWCAP_SPARC_*): Move to..
37967         * sysdeps/sparc/sysdep.h: this new file and add new values.
37968         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
37969         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
37970         _DL_HWCAP_COUNT to 24.
37971         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37972         entries.
37973         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
37974         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
37975         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
37976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
37977         instead of magic constants.
37978         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37980 2011-08-31  David S. Miller  <davem@davemloft.net>
37982         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
37983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
37984         Reimplement to do errno handling inline.
37985         (SYSCALL_ERROR_HANDLER): New macro.
37986         (__SYSCALL_STRING): Do not do errno handling in asm.
37987         (__CLONE_SYSCALL_STRING): Delete.
37988         (__INTERNAL_SYSCALL_STRING): Delete.
37989         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
37990         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
37991         (PSEUDO): Reimplement to do errno handling inline.
37992         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
37993         (SYSCALL_ERROR_HANDLER): New macro.
37994         (__SYSCALL_STRING): Do not do errno handling in asm.
37995         (__CLONE_SYSCALL_STRING): Delete.
37996         (__INTERNAL_SYSCALL_STRING): Delete.
37997         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
37998         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
37999         i386.
38000         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38001         (inline_syscall*): Add 'err' argument.
38002         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38003         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38004         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38005         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38007         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38008         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38010 2011-08-30  Andreas Schwab  <schwab@redhat.com>
38012         * elf/rtld.c (dl_main): Relocate objects in dependency order.
38014 2011-08-29  Jiri Olsa <jolsa@redhat.com>
38016         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38017         directive.
38019 2011-08-24  David S. Miller  <davem@davemloft.net>
38021         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38023 2011-08-24  Andreas Schwab  <schwab@redhat.com>
38025         * elf/Makefile: Add rules to build and run unload8 test.
38026         * elf/unload8.c: New file.
38027         * elf/unload8mod1.c: New file.
38028         * elf/unload8mod1x.c: New file.
38029         * elf/unload8mod2.c: New file.
38030         * elf/unload8mod3.c: New file.
38032         * elf/dl-close.c (_dl_close_worker): Reset private search list if
38033         it wasn't used.
38035 2011-08-23  David S. Miller  <davem@davemloft.net>
38037         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38038         subtract stack bias.
38039         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38040         %sp not %fp in calculations.
38041         (_JMPBUF_UNWINDS_ADJ): Likewise.
38043         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38044         (aio_suspend): Call it to force an exception region around the
38045         AIO_MISC_WAIT() invocation.
38047 2011-08-23  Andreas Schwab  <schwab@redhat.com>
38049         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38050         backslash.
38052 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
38054         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38055         protection macro.
38056         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38057         and <dl-machine.h>.
38058         (Elf64_FuncDesc): Remove.
38060 2011-08-22  David S. Miller  <davem@davemloft.net>
38062         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38063         sigaltstack check, add missing cfi directives.
38064         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38065         missing cfi directives, and sigaltstack handling.
38067 2011-08-16  Andreas Schwab  <schwab@redhat.com>
38069         [BZ #11724]
38070         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38071         object is seen twice.
38072         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38074         * elf/Makefile (distribute): Add tst-initorder2.c.
38075         (tests): Add tst-initorder2.
38076         (modules-names): Add tst-initorder2a tst-initorder2b
38077         tst-initorder2c tst-initorder2d.  Add rules to build them.
38078         ($(objpfx)tst-initorder2.out): New rule.
38079         * elf/tst-initorder2.c: New file.
38080         * elf/tst-initorder2.exp: New file.
38082 2011-08-22  Andreas Schwab  <schwab@redhat.com>
38084         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38086         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38087         dependencies back to end of function.
38089         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38090         $(elfobjdir)/ld.so.
38092 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
38094         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38095         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38096         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38097         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38098         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38099         of __vdso_gettimeofday.
38100         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38101         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
38102         attribute_hidden.
38103         (_libc_vdso_platform_setup): Remove initialization of
38104         __vdso_gettimeofday and __vdso_time.
38106 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38108         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38109         and fgetc_unlocked.
38110         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38111         getc_unlocked.
38113         * elf/dl-open.c (add_to_global): Report additions to the global scope
38114         for LD_DEBUG=scopes.
38115         (dl_open_worker): Also print scope of newly loaded dependencies.
38116         (_dl_show_scope): Indicate if there is no scope.
38118         [BZ #13114]
38119         * stdio-common/Makefile (tests): Add bug24.
38120         * stdio-common/bug24.c: New file.
38122 2011-08-19  Andreas Jaeger  <aj@suse.de>
38124         [BZ #13114]
38125         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38126         non-existant file when using close-on-exec mode.
38128 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38130         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38131         the very first instruction.
38133         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38134         the CFI state in the end.
38135         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38136         inclusion of dl-trampoline.h.
38137         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38139 2011-08-19  Andreas Schwab  <schwab@redhat.com>
38141         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38142         expectations for long double.
38144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38145         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38147 2011-08-14  David S. Miller  <davem@davemloft.net>
38149         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38150         artificual limit depends upon the system page size.
38152 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38154         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38155         * resolv/Makefile: Define CFLAGS-libresolv.
38157 2011-08-17  Andreas Schwab  <schwab@redhat.com>
38159         * nss/makedb.c (compute_tables): Make variables used in nested
38160         function static.
38162 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38164         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38165         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38166         if buffer was too small.
38168         * elf/pldd.c (main): Attach to all threads in the process.
38169         Rewrite /proc handling to use *at functions.
38171 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
38173         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38174         specifies first scope to show.
38175         (dl_open_worker): Update callers.  Move printing scope of new
38176         object to before the relocation.
38177         * elf/rtld.c (dl_main): Update _dl_show_scope call.
38178         * sysdeps/generic/ldsodefs.h: Update declaration.
38180         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38181         string for the scope number.
38183 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
38185         * nscd/servicescache.c (cache_addserv): Make sure written is always
38186         initialized.
38188 2011-08-14  Roland McGrath  <roland@hack.frob.com>
38190         * sysdeps/i386/i486/bits/atomic.h
38191         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38192         statement expression, so as to suppress "set but not used" warning.
38193         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38195         * string/strncat.c (STRNCAT): Use prototype definition.
38197         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38198         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38199         -Iprograms here.
38200         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38201         (localedef-modules): Add localedef.
38202         (locale-modules): Add locale.
38204         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38205         * elf/rtld.c (dl_main): Invert order of assignment in last change,
38206         to avoid a warning.
38208 2011-08-14  David S. Miller  <davem@davemloft.net>
38210         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38211         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38213 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
38215         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38216         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38217         * elf/rtld.c (dl_main): Set l_name of vDSO.
38218         Call _dl_show_scope when DL_DEBUG_SCOPES.
38219         (process_dl_debug): Recognize scopes flag and also set it for all.
38220         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38221         Declare _dl_show_scope.
38223         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38224         (do_dlopen): Pass caller_dlopen to dl_open.
38225         (__libc_dlopen_mode): Initialize caller_dlopen.
38227         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38228         of libc.  Make tolower call locale-independent.  Optimize a bit by
38229         using isdigit instead of isalnum.
38230         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38232 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
38234         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38235         was a dependency or dynamically loaded.
38237 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
38239         * intl/l10nflist.c: Allow architecture-specific pop function.
38240         * sysdeps/x86_64/l10nflist.c: New file.
38242         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38243         classification.
38245 2011-08-10  Andreas Schwab  <schwab@redhat.com>
38247         * include/dirent.h: Add libc_hidden_proto for scandirat and
38248         scandirat64.  Don't declare __scandirat64.
38249         * dirent/scandirat.c: Add libc_hidden_def.
38250         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38251         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38253 2011-08-10  David S. Miller  <davem@davemloft.net>
38255         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38256         enum.
38257         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38258         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38259         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38261 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
38263         * Versions.def [libc]: Add GLIBC_2.15.
38264         * dirent/Makefile (routines): Add scandirat and scandirat64.
38265         * dirent/Versions [libc]: Export scandirat and scandirat64 for
38266         GLIBC_2.15.
38267         * dirent/dirent.h: Declare scandirat and scandirat64.
38268         * dirent/scandirat.c: New file.
38269         * dirent/scandirat64.c: New file.
38270         * sysdeps/wordsize-64/scandirat.c: New file.
38271         * sysdeps/wordsize-64/scandirat64.c: New file.
38272         * dirent/opendir.c: Define opendirat.
38273         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
38274         using scandirat.
38275         * dirent/scandir64.c: Adjust for scandir.c change.
38276         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
38277         __scandirat64, and __scandir_cancel_handler.
38278         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
38279         additional parameter and use openat instead of open (outside of ld.so).
38280         Add new __opendir as wrapper around __opendirat.
38281         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38282         here without requiring old scandirat implementation.
38284 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
38286         * dirent/scandir.c (cancel_handler): Renamed to
38287         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
38288         defined.  Adjust users.
38289         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38290         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38292 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
38294         * string/test-string.h (IMPL): Use __STRING to expand name and then
38295         stringify it.
38297         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
38298         of cleanups.
38300 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38302         * string/Makefile: Update.
38303         (strop-tests): Append strncat.
38304         * string/test-wcscmp.c: New file.
38305         New comprehensive test for wcscmp.
38306         * string/test-strcmp.c: Update.
38307         (WIDE): New define.
38309 2011-07-22  Andreas Schwab  <schwab@redhat.com>
38311         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38312         line.
38314 2011-07-26  Andreas Schwab  <schwab@redhat.com>
38316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38317         encoding to ACE if AI_IDN.
38319 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
38321         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38322         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38324 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38326         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38327         Fix overflow bug in strncat.
38328         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38330         * string/test-strncat.c: Update.
38331         Add new tests for checking overflow bugs.
38333 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38336         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38337         * sysdeps/i386/i686/multiarch/strcat.S: New file.
38338         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38339         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38340         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38341         * sysdeps/i386/i686/multiarch/strncat.S: New file.
38342         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38343         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38345         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38346         (USE_AS_STRCAT): Define.
38347         Add strcat and strncat support.
38348         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38350 2011-07-25  Andreas Schwab  <schwab@redhat.com>
38352         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38353         __n bigger than INT_MAX+1.
38354         (__strncmp_g): Likewise.
38356 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
38358         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38359         * libio/stido.h: Likewise.
38361         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38362         (AF_NFC): Define.
38363         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38364         (AF_NFC): Define.
38366         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38367         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38368         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38369         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38370         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38372         [BZ #13021]
38373         * scripts/test-installation.pl: Don't expect libnss_test1 to be
38374         installed.
38376         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38377         typo.
38378         (_dl_x86_64_save_sse): Likewise.
38380 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
38382         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38383         OSXSAVE.
38384         (_dl_x86_64_save_sse): Likewise.
38386         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38388         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38390 2011-07-21  Andreas Schwab  <schwab@redhat.com>
38392         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38393         change.
38394         (_dl_x86_64_save_sse): Use correct AVX check.
38396 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38398         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38399         bug in strncpy/strncat.
38400         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38402 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
38404         * string/tester.c (test_strcat): Add tests for different alignments
38405         of source and destination.
38406         (test_strncat): Likewise.
38408 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38410         [BZ #12852]
38411         * posix/glob.c (glob): Check passed in values before using them in
38412         expressions to avoid some overflows.
38413         (glob_in_dir): Likewise.
38415         [BZ #13007]
38416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38417         check for AVX enablement so that we don't crash with old kernels and
38418         new hardware.
38419         * elf/tst-audit4.c: Add same checks here.
38420         * elf/tst-audit6.c: Likewise.
38422         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38424 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
38426         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38428 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38430         * po/cs.po: Update from translation team.
38431         * po/bg.po: Likewise.
38433 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
38435         * misc/sys/cdefs.h: Add support for const attribute.
38436         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38437         to gnu_dev_{major,minor,makedev} functions.
38439 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
38441         * intl/dcigettext.c (get_output_charset): Add missing bracket.
38443 2011-07-20  Andreas Schwab  <schwab@redhat.com>
38445         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38446         strlen results.
38448 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38450         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38451         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38452         register in order to avoid conflicts with the soft frame pointer
38453         being held in r11 when necessary.
38454         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38455         (INTERNAL_VSYSCALL_NCS): Likewise.
38457 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
38459         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38460         * elf/dl-fini.c (_dl_fini): Adjust caller.
38461         * elf/dl-close.c (_dl_close_worker): Likewise.
38462         * sysdeps/generic/ldsodefs.h: Adjust declaration.
38464 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38466         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38467         "aux_cache->nlibs < 0".
38469         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38470         in the reload-count case.
38472 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38474         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38475         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38476         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38477         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38478         * sysdeps/x86_64/multiarch/strcat.S: New file.
38479         * sysdeps/x86_64/multiarch/strncat.S: New file.
38480         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38481         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38482         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38483         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38484         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38485         (USE_AS_STRCAT): Define.
38486         Add strcat and strncat support.
38487         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38488         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38489         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38490         * string/strncat.c: Update.
38491         (USE_AS_STRNCAT): Define.
38492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38493         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38494         and i7.
38495         * sysdeps/x86_64/multiarch/init-arch.h
38496         (bit_Prefer_PMINUB_for_stringop): New.
38497         (index_Prefer_PMINUB_for_stringop): Likewise.
38498         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38499         bit_Prefer_PMINUB_for_stringop.
38501 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
38503         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38504         buffer64.
38505         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38506         of casting of buffer.
38507         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38508         buffer32 and buffer64.
38509         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38510         writes instead of casting of buffer.
38511         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38512         buffer32.
38513         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38514         casting of buffer.
38516 2011-07-19  Andreas Schwab  <schwab@redhat.com>
38518         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38520 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
38522         * nscd/nscd.c (termination_handler): Don't do anything for a database
38523         if it has not yet been initialized.
38525 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
38527         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38529 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38531         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38533 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
38535         * po/nl.po: Update from translation team.
38536         * po/sv.po: Likewise.
38538 2011-07-16  Roland McGrath  <roland@hack.frob.com>
38540         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38541         now disallowed by GCC.
38543         * configure.in (use-default-link): Default to yes if a test -shared
38544         link meets our qualifications.
38545         * configure: Regenerated.
38547         * config.make.in (output-format): New variable.
38548         * configure.in: Check for ld --print-output-format support.
38549         * configure: Regenerated.
38550         * Makerules ($(common-objpfx)format.lds)
38551         [$(output-format) != unknown]: Just use $(output-format),
38552         instead of the linker-script munging.
38554 2011-07-14  Roland McGrath  <roland@hack.frob.com>
38556         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38557         of $(common-objpfx)shlib.lds.
38558         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38560         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38561         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38563         * configure.in (-z relro check): Adjust test code to add a large
38564         writable data section after it.
38565         * configure: Regenerated.
38567 2011-07-11  Roland McGrath  <roland@hack.frob.com>
38569         * configure.in (-z relro check): Fix test code to make the variable
38570         truly const.
38571         * configure: Regenerated.
38573 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
38575         * nscd/nscd.h (struct traced_file): Define.
38576         (struct database_dyn): Remove inotify_descr, reset_res, and filename
38577         elements.  Add traced_files.
38578         (inotify_fd): Declare.
38579         (register_traced_file): Declare.
38580         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38581         (inotify_fd): Export.
38582         (resolv_conf_descr): Remove.
38583         (nscd_init): Move inotify descriptor creation to main.
38584         Don't register files for notification here.
38585         (register_traced_file): New function.
38586         (invalidate_cache): Don't use reset_res to determine whether to call
38587         res_init, go through the list of registered files.
38588         (main_loop_poll): The inotify descriptors are now stored in the
38589         structures for the traced files.
38590         (main_loop_epoll): Likewise
38591         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
38592         to __nss_disable_nscd.
38593         * nscd/cache.c (prune_cache): There is no single inotify descriptor
38594         for a database anymore.  Check the records for all the registered
38595         files instead.
38596         * nss/Makefile (libnss_files-routines): Add files-init.
38597         (libnss_db-routines): Add db-init.
38598         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38599         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38600         * nss/nss_db/db-init.c: New file.
38601         * nss/nss_files/files-init.c: New file.
38602         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
38603         __nss_lookup_function.
38604         (__nss_lookup_function): Call nss_load_library.
38605         (nss_load_all_libraries): New function.
38606         (__nss_disable_nscd): Take parameter with callback function for files
38607         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
38608         used for the cached services.
38609         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38610         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38611         options for features to all the files in nscd.
38613         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38615 2011-07-10  Roland McGrath  <roland@hack.frob.com>
38617         * csu/elf-init.c (__libc_csu_init): Comment typo.
38619 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
38621         * po/pl.po: Update from translation team.
38622         * po/ja.po: Likewise.
38623         * po/ru.po: Likewise.
38624         * po/ko.po: Likewise.
38625         * po/fr.po: Likewise.
38627 2011-07-09  Roland McGrath  <roland@hack.frob.com>
38629         * configure.in (.ctors/.dtors header and trailer check):
38630         Use an empirical test on a built program.
38631         * configure: Regenerated.
38633         * configure.in (-z relro check): Use an empirical test on a built DSO.
38634         Detect, but do not require, on ia64.
38635         * configure: Regenerated.
38637         * configure.in (READELF): Find it with AC_CHECK_TOOL.
38638         Update tests that use readelf to use $READELF instead.
38639         * configure: Regenerated.
38641 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
38643         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38644         if the result is not used.
38646 2011-07-05  Andreas Jaeger  <aj@suse.de>
38648         [BZ#9696]
38649         * stdlib/tst-strtod.c: Add testcase.
38651 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
38653         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38654         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38655         The latter has a higher limit.  Take additional parameter to pass to
38656         the new function.
38657         (__pathconf): Pass file to __statfs_link_max.
38658         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38659         __statfs_link_max.
38660         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38661         __statfs_link_max.
38663         [BZ #12868]
38664         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38665         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38666         Handle Lustre.
38667         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38668         (__statfs_filesize_max): Likewise.
38669         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38671 2011-07-05  Andreas Jaeger  <aj@suse.de>
38673         * resolv/res_comp.c (dn_skipname): Remove unused variable.
38675 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
38677         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38678         `status' variable.
38679         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38680         Likewise.
38682 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
38684         * Makefile (strop-tests): Add strncat.
38685         * string/test-strncat.c: New file.
38687 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
38689         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38691 2011-06-21  Andreas Jaeger  <aj@suse.de>
38693         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38694         Copy rule from iconvdata/Makefile.
38696 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38698         [BZ #12922]
38699         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38700         but no long options are defined, just return 'W'.
38702 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
38704         [BZ #9696]
38705         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38707 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38709         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38710         netgroups to read.
38711         (innetgr): Likewise.
38713 2011-07-05  Roland McGrath  <roland@hack.frob.com>
38715         * config.make.in (install_root): Default to $(DESTDIR).
38717 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
38719         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38721 2011-07-02  Roland McGrath  <roland@hack.frob.com>
38723         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38725         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38726         containing directory rather than embedding absolute directory names.
38728         * scripts/check-local-headers.sh: Rewritten using awk.
38729         Match by word, not by line.  Print error messages for matches.
38730         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38732         * Makerules [shlib-lds-flags empty]:
38733         ($(common-objpfx)libc_pic.opts): New target.
38734         ($(common-objpfx)libc_pic.os.clean): New target.
38735         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38737         * config.make.in (OBJCOPY): New variable.
38738         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38739         * configure: Regenerated.
38741         * config.make.in (use-default-link): New variable.
38742         * configure.in (use_default_link): Grok --with-default-link to set it.
38743         * configure: Regenerated.
38744         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38745         (shlib-lds, shlib-lds-flags): Define to empty.
38747         * Makerules (shlib-lds): New variable.
38748         (shlib-lds-flags): New variable.
38749         (build-shlib, build-moduile, build-module-asneeded): Use it.
38750         ($(common-objpfx)libc.so): Use $(shlib-lds).
38751         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38752         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38754         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38755         DT_FLAGS/DT_FLAGS_1 with zero flags.
38757         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38758         linker script munging.
38760 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
38762         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38763         as 128-bit value.
38764         * crypt/sha512.c (sha512_process_block): Perform total addition using
38765         128-bit if possible.
38766         (__sha512_finish_ctx): Likewise.
38767         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38768         as 64-bit value.
38769         * crypt/sha256.c (SWAP64): Define.
38770         (sha256_process_block): Perform total addition using 64-bit if
38771         possible.
38772         (__sha256_finish_ctx): Likewise.
38774 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
38776         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
38777         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38778         * nscd/hstcache.c (cache_addhst): Likewise.
38779         * nscd/grpcache.c (cache_addgr): Likewise.
38780         * nscd/aicache.c (addhstaiX): Likewise
38781         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38783 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
38785         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38786         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38787         * nscd/hstcache.c (cache_addhst): Likewise.
38788         * nscd/grpcache.c (cache_addgr): Likewise.
38789         * nscd/aicache.c (addhstaiX): Likewise
38791 2011-07-01  Andreas Schwab  <schwab@redhat.com>
38793         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38794         domain only when needed.
38796 2011-06-30  Andreas Schwab  <schwab@redhat.com>
38798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38799         is always restored.
38801 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
38803         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38804         are re-adding the entry.
38805         * nscd/servicescache.c (cache_addserv): Likewise.
38807 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
38809         * sysdeps/generic/dl-irel.h: fix protection against multiple
38810         inclusions.
38811         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38813 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
38815         [BZ #12935]
38816         * malloc/memusage.sh: Fix quoting in message.
38817         * debug/xtrace.sh: Likewise.
38819         * configure.in: Remove support for --experimental-malloc option, make
38820         it the default.
38821         * config.make.in: Likewise.
38822         * malloc/Makefile: Likewise.
38824 2011-06-27  Andreas Schwab  <schwab@redhat.com>
38826         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38827         two-byte characters.
38829 2011-06-27  Roland McGrath  <roland@hack.frob.com>
38831         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38832         AC_CACHE_CHECK invocation.
38833         * configure: Regenerated.
38835         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38837 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
38839         [BZ #12350]
38840         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
38841         bit from old_res_options.
38843         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38845         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38846         value type for setfct.
38848 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
38850         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38851         __gettimeofday instead of gettimeofday.
38853 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
38855         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38857 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
38859         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38861         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38862         info.
38864 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38867         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38868         strcpy-sse2-unaligned strncpy-sse2-unaligned
38869         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38870         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38871         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38872         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38873         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38874         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38875         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38876         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38877         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38878         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38879         (STRCPY): Support SSE2 and SSSE3 versions.
38881 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
38883         [BZ #12874]
38884         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38885         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38886         kernels which artificially limit size of requests.
38888 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38891         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38892         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38893         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38894         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38895         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38896         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38897         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38898         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38899         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38900         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38901         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38902         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38903         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38904         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38906         Enable unaligned load optimization for Intel Core i3, i5 and i7
38907         processors.
38908         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38909         Define.
38910         (index_Fast_Unaligned_Load): Define.
38911         (HAS_FAST_UNALIGNED_LOAD): Define.
38913 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
38915         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38917 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38919         [BZ #12907]
38920         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
38921         until it is clear that the information is realy needed.
38922         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
38924 2011-06-22  Andreas Schwab  <schwab@redhat.com>
38926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
38928 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38930         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38931         /sys/devices/system/cpu/online if it is usable.
38933         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
38934         reading the information from the /proc filesystem to once a second.
38936 2011-06-21  Andreas Jaeger  <aj@suse.de>
38938         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
38939         NULL after inclusion of kernel headers.
38941 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
38943         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
38944         calls to internal_setent.
38946         [BZ #12885]
38947         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
38948         addresses using gethostbyname4_r ignore IPv4 addresses.
38950         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
38951         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
38953         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
38955 2011-06-20  David S. Miller  <davem@davemloft.net>
38957         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
38958         inclusions.
38959         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
38961         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
38962         (elf_irel): Use it.
38963         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
38964         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
38965         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
38966         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
38967         * sysdeps/x86_64/dl-irel.h: Likewise.
38969         * elf/dl-runtime.c: Use elf_ifunc_invoke.
38970         * elf/dl-sym.c: Likewise.
38972 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38974         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
38975         need to dereference resplen2.
38977 2011-06-14  Andreas Schwab  <schwab@redhat.com>
38979         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
38981 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
38983         * Makeconfig: Define vardbdir and inst_vardbdir.
38984         * nss/Makefile: Add rules to install db-Makefile.
38986         * nss/nss_db/db-XXX.c: Cleanup.
38988         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
38989         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
38990         GLIBC_PRIVATE.
38991         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
38992         * nss/makedb.c: Implement -g option to specify that value strings
38993         are generated and should not be added to table iterated over for
38994         get*ent calls.
38995         * nss/nss_db/db-initgroups.c: New file.
38997         * nss/getent.c: Add support for initgroups lookups through getgrouplist
38998         interface.
39000         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39001         (internal_getgrouplist): Adjust to name change.
39002         Update use_initgroups_entry if this is not the first call.
39003         * nss/databases.def: Add initgroups entry.
39005         * nss/makedb.c (compute_tables): Check result of multiple hash table
39006         sizes to minimize maximum chain length.
39008 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
39010         * Versions.def: Add entry for libnss_db.
39011         * shlib-versions: Likewise.
39012         * nss/Makefile: Add rules to build libnss_db.
39013         * nss/Versions: Add libnss_db information.  Organize libnss_files
39014         entries better.
39015         * nss/db-Makefile: Add gshadow support.  Change rules for the new
39016         makedb progra.  Some minor improvements to generate smaller files.
39017         * nss/nss_db/nss_db.h: Move NSS database header data structures to
39018         here from...
39019         * nss/makedb.c: ...here.
39020         Improve database format to be smaller and require less memory at
39021         runtime.
39022         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
39023         db anymore.
39024         * nss/nss_db/db-netgrp.c: Likewise.
39025         * nss/nss_db/db-open.c: Likewise.
39026         * nss/nss_files/flies-XXX.x: Adjust comments.
39027         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39028         * nss/nss_files/files-grp.c: Likewise.
39029         * nss/nss_files/files-hosts.c: Likewise.
39030         * nss/nss_files/files-network.c: Likewise.
39031         * nss/nss_files/files-proto.c: Likewise.
39032         * nss/nss_files/files-pwd.c: Likewise.
39033         * nss/nss_files/files-rpc.c: Likewise.
39034         * nss/nss_files/files-service.c: Likewise.
39035         * nss/nss_files/files-sgrp.c: Likewise.
39036         * nss/nss_files/files-spwd.c: Likewise.
39037         * nss/nss_db/db-alias.c: Removed.
39038         * nss/nss_db/dummy-db.h: Removed.
39040 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
39042         * nss/makedb.c: Rewritten to not use database library.
39043         * nss/Makefile: Update to build new makedb program.
39045 2011-06-14  Andreas Jaeger  <aj@suse.de>
39047         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39048         memset declaration.
39050 2011-06-10  Andreas Schwab  <schwab@redhat.com>
39052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39053         tmpbuf.
39055 2011-06-10  Roland McGrath  <roland@hack.frob.com>
39057         * Makerules (shlib.lds): Fail if the linker script comes out empty.
39058         * elf/Makefile ($(objpfx)ld.so): Likewise.
39060         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39061         Don't list ld.so twice in dependencies.
39063         * posix/bug-regex31.c: Include <stdlib.h>.
39065         * nscd/hstcache.c (cache_addhst): Remove unused variable.
39067         * nis/nss_compat/compat-spwd.c
39068         (getspent_next_nss_netgr): Remove unused variable.
39069         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39071         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39072         nonmembers" output to use the right array.
39074         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39076         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39078         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39079         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39080         * catgets/gencat.c (read_input_file): Likewise.
39081         * locale/programs/locarchive.c (enlarge_archive): Likewise.
39083         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39084         variable definition inside #if's controlling its use.
39086         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39088         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39090         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39092         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39093         unreachable code.
39095         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39097         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39098         * configure: Regenerated.
39100         * Makerules: Revert last change.
39101         * elf/Makefile: Likewise.
39103 2011-06-09  Roland McGrath  <roland@hack.frob.com>
39105         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39106         * elf/Makefile ($(objpfx)librtld.os): Likewise.
39107         (reloc-link): Likewise.
39109 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
39111         * elf/Makefile: Add rules to build pldd.
39112         * elf/pldd.c: New file.
39113         * elf/pldd-xx.c: New file.
39115 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
39117         * version.h: Update for 2.15 development version.
39119 2011-06-07  David S. Miller  <davem@davemloft.net>
39121         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39122         ifuncs.
39123         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39124         elf_machine_lazy_rel): Likewise.
39125         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39126         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39127         elf_machine_lazy_rel): Likewise.
39128         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39129         dl_hwcap via passed in argument.
39130         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39131         Likewise.
39133 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39135         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
39137 2011-06-06  Roland McGrath  <roland@hack.frob.com>
39139         [BZ #12849]
39140         * manual/fdl-1.1.texi: New file, verbatim from:
39141         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39142         * manual/lgpl-2.1.texi: New file, verbatim from:
39143         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39144         * manual/Makefile (licenses): New variable, list those new file names.
39145         (texis): Use it.
39146         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39148         * manual/fdl.texi: File removed.
39149         * manual/lesser.texi: File removed.
39150         * manual/libc.texinfo (Copying, Documentation License):
39151         Use new @include file names, put @appendix directive before @include.
39153 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
39155         [BZ #12841]
39156         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39157         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39158         (mq_open): Add __NTH.
39160 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
39162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39163         Assume Intel Core i3/i5/i7 processor if AVX is available.
39165 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39168         typo.
39170 2011-05-31  Andreas Schwab  <schwab@redhat.com>
39172         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39173         memory.  Use alloca_account.  Fix memory leak when retrying.
39175 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39177         * version.h (RELEASE): Bump for 2.14 release.
39178         * include/features.h (__GLIBC_MINOR__): Bump to 14.
39180         * config.make.in (RANLIB): Remove entry.
39182 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
39184         * po/Makefile (po-sed-cmd): Add ksh to extensions.
39185         (libc.pot): Work around missing support for .ksh extension in xgettext.
39187         [BZ #12684]
39188         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39189         if both request failed.
39190         (send_dg): In case of server errors clear resplen or *resplen2.
39192         [BZ #12454]
39193         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39194         when there are multiple maps.
39195         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39196         (_dl_fini): Remove test here.
39198         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39200 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
39202         [BZ #12350]
39203         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39204         bit from old_res_options.
39205         (gaih_inet): Likewise.
39207         [BZ #11099]
39208         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39209         as signed.
39211         * resolv/res_init.c (res_setoptions): Make the code more compact.
39213         [BZ #11558]
39214         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39215         set RES_USEVC.
39217         [BZ #11634]
39218         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39220         * malloc/malloc.h: Mark malloc hook variables as deprecated.
39222         [BZ #11781]
39223         * malloc/malloc.h: Declare malloc hook variables as volatile.
39225         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39226         in last patch.
39228         [BZ #11799]
39229         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39230         raise in the comment.
39231         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39232         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39233         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39235 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
39237         [BZ #12811]
39238         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39239         grow the buffers more if it already has to be sufficient.
39240         (build_wcs_upper_buffer): Likewise.
39241         * posix/regexec.c (check_matching): Likewise.
39242         (clean_state_log_if_needed): Likewise.
39243         (extend_buffers): Don't enlarge buffers beyond size of the input
39244         buffer.
39245         Patches mostly by Emil Wojak <emil@wojak.eu>.
39246         * posix/bug-regex32.c: New file.
39247         * posix/Makefile (tests): Add bug-regex32.
39249         * locale/findlocale.c (_nl_find_locale): Return right away if
39250         _nl_explode_name failed.
39251         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39253         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39255         * debug/xtrace.sh: Unify messages.
39256         * malloc/memusage.sh: Likewise.
39258         [BZ #12813]
39259         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39260         time symbol from vDSO.  Substitute with vsyscall if not available.
39261         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39262         __vdso_time.
39264         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39265         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39266         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39267         Add sendmmsg and internal_sendmmsg.
39268         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39269         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39270         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39272         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39273         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39274         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39276 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
39278         [BZ #12813]
39279         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39280         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
39281         available.
39282         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39283         __vdso_getcpu.
39285         [BZ #12814]
39286         * iconvdata/Makefile (tests): Add bug-iconv9.
39287         * iconvdata/bug-iconv9.c: New file.
39289 2011-05-27  Andreas Schwab  <schwab@redhat.com>
39291         [BZ #12814]
39292         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39294 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
39296         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39297         (struct user_regs_struct): Change intcs field back to cs.
39299 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
39301         * po/ja.po: Update from translation team.
39303 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
39305         [BZ #12795]
39306         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39307         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39309 2011-05-20  Andreas Schwab  <schwab@redhat.com>
39311         * stdlib/longlong.h: Update from GCC.
39313 2011-05-23  Andreas Schwab  <schwab@redhat.com>
39315         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39316         parameter name.
39317         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39318         Add parameter name.
39319         (__sysconf): Pass it down.
39321 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
39323         [BZ #12671]
39324         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39325         some situations.
39326         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39327         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39328         add in in __libc_use_alloca calls.  Adjust callers.
39329         (glob): Use malloc in some situations.
39331         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39332         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39333         pltexit.
39335 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
39337         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39338         and CLOCK_BOOTTIME_ALARM.
39340         [BZ #12782]
39341         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39342         is returned.
39344         * string/_strerror.c (__strerror_r): Print negative errors as signed
39345         numbers.
39347         [BZ #12777]
39348         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39349         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39350         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39352         * configure.in: Fix typo in redirection and correct removal of test
39353         files in two cases.
39355         [BZ #12788]
39356         * locale/setlocale.c (new_composite_name): Fix test to check for
39357         identical name of all categories.
39359         [BZ #12792]
39360         * libio/filedoalloc.c (local_isatty): New function.
39361         (_IO_file_doallocate): Use local_isatty.
39362         * stdio-common/perror.c (perror): In case a new stream is used
39363         forward the stream error.
39364         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39365         error flag.
39367 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
39369         [BZ #11869]
39370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39371         alloca.
39372         * include/alloca.h (extend_alloca_account): Define.
39374         [BZ #11857]
39375         * posix/regex.h: Fix comments with documentation of user-accessible
39376         fields after compilation and describe correct free'ing of pattern
39377         after re_compile_pattern.
39378         Patch by Reuben Thomas <rrt@sc3d.org>.
39380 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
39382         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39383         and -mno-altivec to prevent the compiler from using Altivec and/or
39384         VSX instructions when the corresponding registers are not available.
39386 2011-05-19  Andreas Schwab  <schwab@redhat.com>
39388         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39390 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
39392         * libio/freopen.c (freopen): Use __dup2, not dup2.
39393         * libio/freopen64.c (freopen64): Likewise.
39395 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39397         [BZ #12775]
39398         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39399         * math/Makefile (tests): Add test-powl.
39400         (CFLAGS-test-powl.c): Define.
39401         * math/test-powl.c: New file.
39403 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39405         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39407 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
39409         [BZ #11837]
39410         * iconvdata/gb18030.c: Update to GB18020-2005.
39412 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
39414         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39415         RE_SYNTAX_POSIX_AWK): Update to match recent development.
39416         Patch by Aharon Robbins <arnold@skeeve.com>.
39418         [BZ #11892]
39419         * stdlib/putenv.c (putenv): Don't always create copy of the variable
39420         on the stack.
39422         [BZ #11895]
39423         * misc/pselect.c (__pselect): Handle timeout value errors hidden
39424         through underflows.
39426         [BZ #12766]
39427         * misc/error.c (error_at_line): Ensure file_name and old_file_name
39428         point to strings before performing equality test for error_one_per_line
39429         mode.
39431         [BZ #11697]
39432         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39434         [BZ #11820]
39435         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39436         (struct user_fpregs_struct): Avoid __uint*_t types.
39438         [BZ #6420]
39439         * malloc/mtrace.c (tr_where): Add additional parameter to point to
39440         symbol info.  Use it instead of calling _dl_addr locally.
39441         (lock_and_info): New function.
39442         (tr_freehook): Call lock_and_info and pass symbol info as additional
39443         parameter to tr_where.
39444         (tr_mallochook): Likewise.
39445         (tr_reallochook): Likewise.
39446         (tr_memalignhook): Likewise.
39448         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
39449         used and couldn't be at all thread-safe.
39451 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
39453         * libio/freopen.c (freopen): Don't close old file descriptor
39454         before the new one is opened.  Instead dup the new file descriptor
39455         to the old one after the new stream is created.
39456         * libio/freopen64.c (freopen64): Likewise.
39457         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39458         * libio/fileops.c (_IO_new_file_close_it): Handle new
39459         _IO_FLAGS2_NOCLOSE flag.
39460         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39461         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39462         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39463         _IO_FLAGS2_NOCLOSE flag.
39464         * include/unistd.h: Add hidden_proto for dup3.
39465         Define __have_dup3.
39466         * io/dup3.c: Define hidden symbol.
39467         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39469         [BZ #7101]
39470         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39471         when an incomplete long option is used.
39472         * posix/tst-getopt_long1.c: New file.
39473         * posix/Makefile (tests): Add tst-getopt_long1.
39475         [BZ #10138]
39476         * scripts/config.guess: Update from autoconf-2.68.
39477         * scripts/config.sub: Likewise.
39479         [BZ #10157]
39480         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39481         tests into ...
39482         (has_cpuclock): ...this.  New function.
39483         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39484         macro here based on has_cpuclock code.
39486         [BZ #10149]
39487         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39488         First byte (not low byte) is now always NUL.
39489         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39491         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39492         Use non-cancelable interfaces.
39494         [BZ #9809]
39495         * locale/iso-639.def: Add entry for Sorani.
39497         [BZ #11901]
39498         * include/stdlib.h: Move include protection to the right place.
39499         Define abort_msg_s.  Declare __abort_msg with it.
39500         * stdlib/abort.c (__abort_msg): Adjust type.
39501         * assert/assert.c (__assert_fail_base): New function.  Majority
39502         of code from __assert_fail.  Allocate memory for __abort_msg with
39503         mmap.
39504         (__assert_fail): Now call __assert_fail_base.
39505         * assert/assert-perr.c: Remove bulk of implementation.  Use
39506         __assert_fail_base.
39507         * include/assert.hL Declare __assert_fail_base.
39508         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39509         mmap.
39510         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39512 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
39514         [BZ #11952]
39515         [BZ #12453]
39516         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39517         until all modules are registered in the DTV.
39518         * elf/Makefile: Add rules to build and run tst-tls19.
39519         * elf/tst-tls19.c: New file.
39520         * elf/tst-tls19mod1.c: New file.
39521         * elf/tst-tls19mod2.c: New file.
39522         * elf/tst-tls19mod3.c: New file.
39523         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39525         [BZ #12083]
39526         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39527         correctly.
39529         [BZ #12601]
39530         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39531         two-byte sequence errors.
39532         * iconvdata/Makefile (tests): Add bug-iconv8.
39533         * iconvdata/bug-iconv8.c: New file.
39535         [BZ #12626]
39536         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39537         buf2 definition.
39539         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39541         [BZ #12432]
39542         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39543         (dummy_getcfa): New function.
39544         (init): Get _Unwind_GetCFA address, use dummy if not found.
39545         (backtrace_helper): In recursion check, also check whether CFA changes.
39546         (__backtrace): Completely initialize arg.
39548         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39549         storing incomplete byte sequence in state object.  Avoid testing for
39550         guaranteed too small input if we know there is enough data available.
39552 2011-05-11  Andreas Schwab  <schwab@redhat.com>
39554         * Makeconfig (+link-pie): Indent.
39555         * Rules (binaries-pie): Define if $(have-fpie) and
39556         $(build-shared).
39557         (binaries-shared): Also filter out $(binaries-pie).
39558         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39559         * nscd/Makefile (others-pie): Add nscd.
39560         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39561         ($(objpfx)nscd): Remove command override.
39562         * login/Makefile (others-pie): Add pt_chown.
39563         ($(objpfx)pt_chown): Remove command override.
39564         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39565         remove command overrides.
39567 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
39569         * libio/tst_putwc.c: Fix error messages.
39571         [BZ #12724]
39572         * libio/fileops.c (_IO_new_file_close_it): Always flush when
39573         currently writing and seek to current position when not.
39574         * libio/Makefile (tests): Add bug-fclose1.
39575         * libio/bug-fclose1.c: New file.
39577 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
39579         [BZ #12511]
39580         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39581         don't set DF_1_NODELETE here.
39582         (do_lookup_x): When entering new entry test for copy relocation
39583         and if necessary set DF_1_NODELETE flag.
39584         * elf/tst-unique4.cc: New file.
39585         * elf/tst-unique4.h: New file.
39586         * elf/tst-unique4lib.cc: New file.
39587         * elf/Makefile: Add rules to build and run tst-unique4.
39588         Patch by Piotr Bury <pbury@goahead.com>.
39590 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
39592         [BZ #12052]
39593         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39595         [BZ #12625]
39596         * misc/mntent_r.c (addmntent): Flush the stream after the output
39598         [BZ #12393]
39599         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39600         (is_trusted_path_normalize): Skip initial colon.  Append slash
39601         to empty buffer.  Duplicate is_trusted_path code but allow
39602         constructed patch to be prefix.
39603         (is_dst): Allow $ORIGIN followed by /.
39604         (_dl_dst_substitute): Correct clearing of check_for_trusted.
39605         Correct testing of result of is_trusted_path_normalize
39606         (decompose_rpath): Fix warning.
39608 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
39610         [BZ #11257]
39611         * grp/initgroups.c (internal_getgrouplist): When we found the service
39612         list through the initgroups entry in nsswitch.conf do not always
39613         continue on a successful lookup.  Don't always use the
39614         __nss_group_database value if it is set.
39615         * nss/nsswitch.conf (initgroups): Change action for successful db
39616         lookup to continue for compatibility.
39618 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
39620         [BZ #11532]
39621         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39622         and CP774 modules.
39623         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39624         and CP774 modules.
39625         * iconvdata/tst-tables.sh: Likewise.
39626         * iconvdata/cp770.c: New file.
39627         * iconvdata/cp771.c: New file.
39628         * iconvdata/cp772.c: New file.
39629         * iconvdata/cp773.c: New file.
39630         * iconvdata/cp774.c: New file.
39631         * iconvdata/testdata/CP770: New file.
39632         * iconvdata/testdata/CP770..UTF8: New file.
39633         * iconvdata/testdata/CP771: New file.
39634         * iconvdata/testdata/CP771..UTF8: New file.
39635         * iconvdata/testdata/CP772: New file.
39636         * iconvdata/testdata/CP772..UTF8: New file.
39637         * iconvdata/testdata/CP773: New file.
39638         * iconvdata/testdata/CP773..UTF8: New file.
39639         * iconvdata/testdata/CP774: New file.
39640         * iconvdata/testdata/CP774..UTF8: New file.
39642         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39643         END CHARMAP line.
39644         * iconvdata/gen-8bit-gap.sh: Likewise.
39645         * iconvdata/gen-8bit.sh: Likewise.
39647         * locale/iso-639.def: Add ary entry.
39649         [BZ #11258]
39650         * locale/C-translit.h.in: Add U20A1 transliteration.
39652         [BZ #12178]
39653         * locale/iso-639.def: Add wae entry.
39654         Patch by Kevin Bortis <bortis@translate-wae.ch>.
39656         [BZ #12545]
39657         * locale/programs/localedef.c (construct_output_path): Use ssize_t
39658         for n.
39660         [BZ #12711]
39661         * locale/C-translit.h.in: Add entry for U20B9.
39662         Patch by pravin.d.s@gmail.com.
39664 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
39666         [BZ #12713]
39667         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39668         ENAMETOOLONG use generic getcwd.
39669         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
39670         in rtld.  Use *stat64.
39671         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39672         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39673         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39674         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39675         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39676         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39677         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39678         __fstatat64 macros.
39679         * include/dirent.h: Add libc_hidden_proto for rewinddir.
39680         * dirent/rewinddir.c: Add libc_hidden_def.
39681         * sysdeps/mach/hurd/rewinddir.c: Likewise.
39682         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
39684         * include/dirent.h (__alloc_dir): Add flags parameter.
39685         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39686         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39687         __alloc_dir.
39688         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
39689         from fdopendir if O_CLOEXEC is already set.
39691 2011-03-15  Alan Modra  <amodra@gmail.com>
39693         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39694         l_tls_firstbyte_offset non-zero.  Save padding offset in
39695         l_tls_firstbyte_offset for later use.
39696         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39697         freeing static tls block.
39699 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
39701         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39702         where #ifdef was intended.  The intent is to prevent ARG_MAX from
39703         being defined by the kernel headers.
39705 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
39707         [BZ #12734]
39708         * resolv/resolv.h: Define RES_NOTLDQUERY.
39709         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39710         no-tld-query and set RES_NOTLDQUERY.
39711         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39712         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39713         modern BIND to search name as TLD unless forbidden.
39715 2011-05-07  Petr Baudis  <pasky@suse.cz>
39716             Ulrich Drepper  <drepper@gmail.com>
39718         [BZ #12393]
39719         * elf/dl-load.c (fillin_rpath): Move trusted path check...
39720         (is_trusted_path): ...to here.
39721         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39722         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39723         using is_trusted_path_normalize() in setuid scripts.
39725 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39727         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39728         __BEGIN/__END_DECLS.
39730 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
39732         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39733         NSS_STATUS_NOTFOUND if no record was found.
39735 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39737         * sunrpc/Makefile (headers): Add rpc/netdb.h.
39738         (headers-not-in-tirpc): Remove rpc/netdb.h
39739         * resolv/netdb.h: Revert last change.
39741 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39743         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39744         circular dependency between libgcc.a and libc.a.
39746 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39748         * resolv/netdb.h: Don't include <rpc/netdb.h>.
39749         * nis/Makefile: Don't install rpcsvc/*.
39750         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39751         instead of <rpc/types.h>.
39752         (MAXHOSTNAMELEN): Define.
39754 2011-05-03  Andreas Schwab  <schwab@redhat.com>
39756         * elf/ldconfig.c (add_dir): Don't crash on empty path.
39758 2011-04-28  Maciej Babinski  <mbabinski@google.com>
39760         [BZ #12714]
39761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39762         gethostbyname4_r when IPv6 results are possible.
39764 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
39766         [BZ #12723]
39767         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39768         _PC_PIPE_BUF handling.
39770 2011-04-30  Bruno Haible  <bruno@clisp.org>
39772         [BZ #12717]
39773         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39774         * resolv/netdb.h (getnameinfo): Change type of flags parameter
39775         to 'int'.
39776         * inet/getnameinfo.c (getnameinfo): Likewise.
39778 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
39780         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39781         to groups setting in database lookup.
39782         * nss/nsswitch.conf: Add initgroups entry.
39784 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
39786         [BZ #12685]
39787         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39788         mode string.
39789         Patch by Eric Blake <eblake@redhat.com>.
39791 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
39793         * sunrpc/Makefile (need-export-routines): Add svc_run.
39794         (routines): Remove svc_run.
39795         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39796         * sunrpc/clnt_perr.c (clnt_perrno): Export.
39797         * sunrpc/svc_run.c (svc_run): Likewise.
39798         * sunrpc/svc_udp.c (svcudp_create): Likewise.
39800 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
39802         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39803         problem in reallocation in last patch.
39805 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
39807         * sunrpc/Makefile: Move inclusion of Rules.
39809 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39811         * nss/nss_files/files-initgroups.c: New file.
39812         * nss/Makefile (libnss_files-routines): Add files-initgroups.
39813         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39814         _nss_files_initgroups_dyn.
39816 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
39818         * elf/elf.h (R_ARM_IRELATIVE): Define.
39820 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39822         * po/ru.po: Update from translation team.
39824 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39826         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39827         dependencies.
39829 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
39831         [BZ #12653]
39832         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39833         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39834         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39835         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39836         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39838 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
39840         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39841         differing bytes.
39842         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39843         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39844         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39846 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39848         [BZ #12420]
39849         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39850         storing it.
39851         * stdlib/bug-getcontext.c: New file.
39852         * stdlib/Makefile: Add rules to build and run bug-getcontext.
39854 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39856         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39857         instructions into .machine "z9-109".
39858         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39859         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39861 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39863         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39864         between environment variables and auxiliary vector.
39866 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
39868         * Makefile: Add rules to build linkobj/libc.so.
39869         * include/libc-symbols.h: Define libc_hidden_nolink.
39870         * include/rpc/auth.h: Mark functions which are to be hidden.
39871         * include/rpc/auth_des.h: Likewise.
39872         * include/rpc/auth_unix.h: Likewise.
39873         * include/rpc/clnt.h: Likewise.
39874         * include/rpc/des_crypt.h: Likewise.
39875         * include/rpc/key_prot.h: Likewise.
39876         * include/rpc/pmap_clnt.h: Likewise.
39877         * include/rpc/pmap_prot.h: Likewise.
39878         * include/rpc/pmap_rmt.h: Likewise.
39879         * include/rpc/rpc_msg.h: Likewise.
39880         * include/rpc/svc.h: Likewise.
39881         * include/rpc/svc_auth.h: Likewise.
39882         * include/rpc/xdr.h: Likewise.
39883         * nis/Makefile: Link all DSOs against linkobj/libc.so.
39884         * nss/Makefile: Likewise.
39885         * sunrpc/Makefile: Don't install headers.  Build library with normal
39886         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
39887         * sunrpc/auth_des.c: Hide exported symbols by default, export some
39888         for the compat linking library.  Remove use of INTDEF/INTUSE.
39889         * sunrpc/auth_none.c: Likewise.
39890         * sunrpc/auth_unix.c: Likewise.
39891         * sunrpc/authdes_prot.c: Likewise.
39892         * sunrpc/authuxprot.c: Likewise.
39893         * sunrpc/clnt_gen.c: Likewise.
39894         * sunrpc/clnt_perr.c: Likewise.
39895         * sunrpc/clnt_raw.c: Likewise.
39896         * sunrpc/clnt_simp.c: Likewise.
39897         * sunrpc/clnt_tcp.c: Likewise.
39898         * sunrpc/clnt_udp.c: Likewise.
39899         * sunrpc/clnt_unix.c: Likewise.
39900         * sunrpc/des_crypt.c: Likewise.
39901         * sunrpc/des_soft.c: Likewise.
39902         * sunrpc/get_myaddr.c: Likewise.
39903         * sunrpc/key_call.c: Likewise.
39904         * sunrpc/key_prot.c: Likewise.
39905         * sunrpc/netname.c: Likewise.
39906         * sunrpc/pm_getmaps.c: Likewise.
39907         * sunrpc/pm_getport.c: Likewise.
39908         * sunrpc/pmap_clnt.c: Likewise.
39909         * sunrpc/pmap_prot.c: Likewise.
39910         * sunrpc/pmap_prot2.c: Likewise.
39911         * sunrpc/pmap_rmt.c: Likewise.
39912         * sunrpc/publickey.c: Likewise.
39913         * sunrpc/rpc_cmsg.c: Likewise.
39914         * sunrpc/rpc_common.c: Likewise.
39915         * sunrpc/rpc_dtable.c: Likewise.
39916         * sunrpc/rpc_prot.c: Likewise.
39917         * sunrpc/rpc_thread.c: Likewise.
39918         * sunrpc/rtime.c: Likewise.
39919         * sunrpc/svc.c: Likewise.
39920         * sunrpc/svc_auth.c: Likewise.
39921         * sunrpc/svc_authux.c: Likewise.
39922         * sunrpc/svc_raw.c: Likewise.
39923         * sunrpc/svc_run.c: Likewise.
39924         * sunrpc/svc_simple.c: Likewise.
39925         * sunrpc/svc_tcp.c: Likewise.
39926         * sunrpc/svc_udp.c: Likewise.
39927         * sunrpc/svc_unix.c: Likewise.
39928         * sunrpc/svcauth_des.c: Likewise.
39929         * sunrpc/xcrypt.c: Likewise.
39930         * sunrpc/xdr.c: Likewise.
39931         * sunrpc/xdr_array.c: Likewise.
39932         * sunrpc/xdr_float.c: Likewise.
39933         * sunrpc/xdr_intXX_t.c: Likewise.
39934         * sunrpc/xdr_mem.c: Likewise.
39935         * sunrpc/xdr_rec.c: Likewise.
39936         * sunrpc/xdr_ref.c: Likewise.
39937         * sunrpc/xdr_sizeof.c: Likewise.
39938         * sunrpc/xdr_stdio.c: Likewise.
39940 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
39942         [BZ #12650]
39943         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
39944         * sysdeps/ia64/dl-tls.h: Likewise.
39945         * sysdeps/powerpc/dl-tls.h: Likewise.
39946         * sysdeps/s390/dl-tls.h: Likewise.
39947         * sysdeps/sh/dl-tls.h: Likewise.
39948         * sysdeps/sparc/dl-tls.h: Likewise.
39949         * sysdeps/x86_64/dl-tls.h: Likewise.
39950         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
39952 2011-03-14  Andreas Schwab  <schwab@redhat.com>
39954         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
39955         rpath element also skip the following colon.
39956         (expand_dynamic_string_token): Add is_path parameter and pass
39957         down to DL_DST_REQUIRED and _dl_dst_substitute.
39958         (decompose_rpath): Call expand_dynamic_string_token with
39959         non-zero is_path.  Ignore empty rpaths.
39960         (_dl_map_object_from_fd): Call expand_dynamic_string_token
39961         with zero is_path.
39963 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
39965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39966         Make cancelable.
39968 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
39970         [BZ #12655]
39971         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
39972         Patch by Filipe David Manana <fdmanana@apache.org>.
39974 2011-04-07  Andreas Schwab  <schwab@redhat.com>
39976         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
39977         Maintain aligned stack.
39978         (CHECK_RSP): Remove unused macro.
39980 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
39982         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
39983         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
39985 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
39987         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
39989         * include/features.h: Mention __USE_XOPEN2K8 in comment.
39991 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
39993         [BZ #12518]
39994         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
39995         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
39996         * sysdeps/x86_64/memmove.c: New file.
39997         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
39998         (memcpy): Renamed to ...
39999         (__new_memcpy): This.
40000         (memcpy): Provide GLIBC_2_14 memcpy.
40001         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40002         (memcpy): Provide GLIBC_2_2_5 memcpy.
40004 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40006         [BZ #12631]
40007         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40009 2011-03-30  Andreas Schwab  <schwab@redhat.com>
40011         * misc/syncfs.c: New file.
40012         * misc/Makefile (routines): Add syncfs.
40013         * posix/unistd.h: Declare syncfs.
40014         * sysdeps/unix/syscalls.list: Add syncfs.
40016 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40018         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40019         open_by_handle_at.
40020         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40021         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40022         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40023         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40024         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40025         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40026         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40028 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40030         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40031         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40032         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40033         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40034         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40035         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40036         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40038         * io/Makefile: Compile fallocate.c, fallocate64.c, and
40039         sync_file_range.c with -fexceptions.
40040         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40041         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40042         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40043         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40044         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40045         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40046         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40047         sync_file_range as cancellation point
40048         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
40049         now a wrapper around __call_sync_file_range with cancellation handling.
40050         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40051         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
40052         function name to __call_sync_file_range.
40053         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40054         Add call_sync_file_range.
40056 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40059         bits/timex.h.
40061 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40063         * iconv/iconv.h: Fix typo in comment.
40064         * io/fcntl.h: Likewise.
40065         * libio/stdio.h: Likewise.
40066         * posix/spawn.h: Likewise.
40067         * posix/unistd.h: Likewise.
40068         * stdlib/stdlib.h: Likewise.
40069         * time/time.h: Likewise.
40070         * wcsmbs/wchar.h: Likewise.
40072         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40073         open_by_handle): Add.
40074         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40075         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
40076         Augment a few comments.
40077         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40078         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40079         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40080         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40081         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40082         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40083         open_by_handle.
40085         * io/fcntl.h (AT_EMPTY_PATH): Define.
40087 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
40089         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40090         * sysdeps/unix/sysv/linux/bits/time.h: New file.
40091         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40092         to...
40093         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
40094         * Versions.def: Add GLIBC_2.14.
40095         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40096         Export.
40098 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
40100         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40101         round counter.
40102         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40104 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40106         [BZ #12597]
40107         * string/test-strncmp.c (do_page_test): New function.
40108         (check2): Likewise.
40109         (test_main): Call check2.
40110         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40112 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
40114         [BZ #12587]
40115         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40116         Handle cache information in CPU leaf 4.
40117         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40119 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
40121         [BZ #12583]
40122         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40123         character representation.
40124         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40126 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
40128         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40129         END(__isnan) to END(__isnanf) to match function entry point/label
40130         EALIGN(__isnanf,...).
40132 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
40134         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40136 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
40138         [BZ #12510]
40139         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40140         copy from the symbol referenced in the relocation to initialize the
40141         used variable.
40142         Patch by Piotr Bury <pbury@goahead.com>.
40143         * elf/Makefile: Add rules to build and tst-unique3.
40144         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40145         * elf/tst-unique3.cc: New file.
40146         * elf/tst-unique3.h: New file.
40147         * elf/tst-unique3lib.cc: New file.
40148         * elf/tst-unique3lib2.cc: New file.
40150         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40152 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
40154         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40155         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
40156         to _start.
40158 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
40160         * elf/dl-load.c (_dl_map_object): If we are looking for the first
40161         to-be-loaded object along a path to loader is ld.so.
40163 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40164             Ulrich Drepper  <drepper@gmail.com>
40166         * sysdeps/x86_64/memset.S: After aligning destination, code
40167         branches to different locations depending on the value of
40168         misalignment, when multiarch is enabled. Fix this.
40170 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40172         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40173         Set _x86_64_preferred_memory_instruction for AMD processsors.
40174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40175         Set bit_Prefer_SSE_for_memop for AMD processors.
40177 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
40179         * libio/fmemopen.c (fmemopen): Optimize a bit.
40181 2011-03-03  Andreas Schwab  <schwab@redhat.com>
40183         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40185 2011-03-03  Roland McGrath  <roland@redhat.com>
40187         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40189 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
40191         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40192         __bzero_ultra1 instead of __memset_ultra1.
40194 2011-02-23  Andreas Schwab  <schwab@redhat.com>
40195             Ulrich Drepper  <drepper@gmail.com>
40197         [BZ #12509]
40198         * include/link.h (struct link_map): Add l_orig_initfini.
40199         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40200         returning unsuccessfully.
40201         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40202         close of a file loaded at startup, restore the original l_initfini
40203         list.
40204         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40205         list, store the pointer.
40206         * elf/Makefile ($(objpfx)noload-mem): New rule.
40207         (noload-ENV): Define.
40208         (tests): Add $(objpfx)noload-mem.
40209         * elf/noload.c: Include <memcheck.h>.
40210         (main): Call mtrace.  Close all opened handles.
40212 2011-02-17  Andreas Schwab  <schwab@redhat.com>
40214         [BZ #12454]
40215         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40216         dependencies are missing.
40218 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40220         Fix __if_freereq crash: Unlike the generic version which uses free,
40221         Hurd needs munmap.
40222         * sysdeps/mach/hurd/ifreq.h: New file.
40224 2011-01-27  Petr Baudis  <pasky@suse.cz>
40225             Ulrich Drepper  <drepper@gmail.com>
40227         [BZ 12445]#
40228         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40229         to extend_alloca().
40230         * stdio-common/bug23.c: New file.
40231         * stdio-common/Makefile (tests): Add bug23.
40233 2010-09-28  Andreas Schwab  <schwab@redhat.com>
40234             Ulrich Drepper  <drepper@gmail.com>
40236         [BZ #12489]
40237         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40238         before performing relro protection.  At old place add assertion
40239         to make sure nothing changed.
40241 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
40242             Glauber de Oliveira Costa  <glommer@gmail.com>
40244         * elf/elf.h: Add new ARM TLS relocs.
40246 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40249         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40250         cast from r3.
40251         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
40252         'tests' variable.
40253         * sysdeps/wordsize-64/tst-writev.c: New file.
40255 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
40257         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40258         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40259         insns in _dl_start to prevent a TOC reference before relocs are
40260         resolved.
40262 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
40264         [BZ #12469]
40265         * Makeconfig: Remove RANLIB definition.
40266         * Makerules: Don't use RANLIB.
40267         * aclocal.m4: Remove ranlib test.
40268         * configure.in: No need to check for ranlib.
40269         * elf/rtld-Rules: Don't use RANLIB.
40271 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40273         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40274         protection macro.
40275         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40276         inclusion protection macro.
40278         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40279         SIGRTMIN and SIGRTMAX and print information in that case only when
40280         SIGRTMIN is defined.
40282 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
40284         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40285         arginfo fn returning -1.
40287         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40288         and thousands string is zero terminated.
40290 2011-02-03  Andreas Schwab  <schwab@redhat.com>
40292         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40293         sysdeps/unix/sysv/linux/bits/socket.h.
40295 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40297         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40298         (__CPU_COUNT): Remove old macros.
40299         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40300         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40301         (__CPU_ALLOC, __CPU_FREE): Add macros.
40302         (__sched_cpualloc, __sched_cpufree): Add declarations.
40304 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
40306         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40307         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40308         * nscd/aicache.c (addhstaiX): Return timeout of added value.
40309         (readdhstai): Return value of addhstaiX call.
40310         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40311         (addgrbyX): Return value returned by cache_addgr.
40312         (readdgrbyname): Return value returned by addgrbyX.
40313         (readdgrbygid): Likewise.
40314         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40315         (addpwbyX): Return value returned by cache_addpw.
40316         (readdpwbyname): Return value returned by addhstbyX.
40317         (readdpwbyuid): Likewise.
40318         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40319         (addservbyX): Return value returned by cache_addserv.
40320         (readdservbyname): Return value returned by addservbyX:
40321         (readdservbyport): Likewise.
40322         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40323         (addhstbyX): Return value returned by cache_addhst.
40324         (readdhstbyname): Return value returned by addhstbyX.
40325         (readdhstbyaddr): Likewise.
40326         (readdhstbynamev6): Likewise.
40327         (readdhstbyaddrv6): Likewise.
40328         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40329         (readdinitgroups): Return value returned by addinitgroupsX.
40330         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40331         (prune_cache): Keep track of timeout value of re-added entries.
40332         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40333         * nscd/nscd.h: Adjust prototypes of readd* functions.
40335 2011-02-04  Roland McGrath  <roland@redhat.com>
40337         * nis/nis_server.c (nis_servstate): Use the right name for 0.
40338         (nis_stats): Likewise.
40339         * nis/nis_modify.c (nis_modify): Likewise.
40340         * nis/nis_remove.c (nis_remove): Likewise.
40341         * nis/nis_add.c (nis_add): Likewise.
40343         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40345         * posix/fnmatch_loop.c: Add some consts.
40347         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40349 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
40351         [BZ #12460]
40352         * config.make.in (config-cflags-novzeroupper): Define.
40353         * configure.in: Substitute libc_cv_cc_novzeroupper.
40354         * elf/Makefile (AVX-CFLAGS): Define.
40355         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40356         (CFLAGS-tst-auditmod4a.c): Likewise.
40357         (CFLAGS-tst-auditmod4b.c): Likewise.
40358         (CFLAGS-tst-auditmod6b.c): Likewise.
40359         (CFLAGS-tst-auditmod6c.c): Likewise.
40360         (CFLAGS-tst-auditmod7b.c): Likewise.
40361         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40363 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
40365         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40366         function to the callback.
40367         Patch partly by Jiri Olsa <jolsa@redhat.com>.
40369 2011-02-02  Andreas Schwab  <schwab@redhat.com>
40371         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40372         of errno.
40374 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
40376         [BZ #11724]
40377         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40378         of constructors.
40379         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40380         of destructors.
40381         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40383         [BZ #11724]
40384         * elf/Makefile: Add rules to build and run new test.
40385         * elf/tst-initorder.c: New file.
40386         * elf/tst-initorder.exp: New file.
40387         * elf/tst-initordera1.c: New file.
40388         * elf/tst-initordera2.c: New file.
40389         * elf/tst-initordera3.c: New file.
40390         * elf/tst-initordera4.c: New file.
40391         * elf/tst-initorderb1.c: New file.
40392         * elf/tst-initorderb2.c: New file.
40393         * elf/tst-order-a1.c: New file.
40394         * elf/tst-order-a2.c: New file.
40395         * elf/tst-order-a3.c: New file.
40396         * elf/tst-order-a4.c: New file.
40397         * elf/tst-order-b1.c: New file.
40398         * elf/tst-order-b2.c: New file.
40399         * elf/tst-order-main.c: New file.
40400         New test case by George Gensure <werkt0@gmail.com>.
40402 2010-10-01  Andreas Schwab  <schwab@redhat.com>
40404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40405         decoding ACE if AI_CANONIDN.
40407 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
40409         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40411 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
40413         * version.h (RELEASE): Bump for 2.13 release.
40414         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40416         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40418         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40419         MADV_NOHUGEPAGE.
40420         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40421         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40422         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40423         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40424         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40425         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40427         * posix/getconf.c: Update copyright year.
40428         * catgets/gencat.c: Likewise.
40429         * csu/version.c: Likewise.
40430         * debug/catchsegv.sh: Likewise.
40431         * debug/xtrace.sh: Likewise.
40432         * elf/ldconfig.c: Likewise.
40433         * elf/ldd.bash.in: Likewise.
40434         * elf/sprof.c (print_version): Likewise.
40435         * iconv/iconv_prog.c: Likewise.
40436         * iconv/iconvconfig.c: Likewise.
40437         * locale/programs/locale.c: Likewise.
40438         * locale/programs/localedef.c: Likewise.
40439         * malloc/memusage.sh: Likewise.
40440         * malloc/mtrace.pl: Likewise.
40441         * nscd/nscd.c (print_version): Likewise.
40442         * nss/getent.c: Likewise.
40444         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40445         PF_CAIF, and PF_ALG.
40446         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40448 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
40450         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40451         (modules-names): Use them.
40452         (ifunc-test-modules, ifunc-pie-tests): Define.
40453         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40454         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40455         (test-extras): Likewise.
40456         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40457         $(compile-command.c).
40458         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40459         (all-built-dso): Define.
40460         (check-textrel.out, check-execstack.out): Depend on it.
40462         * configure.in: Don't override --enable-multi-arch.
40464 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
40466         [BZ #6812]
40467         * nscd/hstcache.c (tryagain): Define.
40468         (cache_addhst): Return tryagain not notfound for temporary errors.
40469         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40470         failed.
40472 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
40474         [BZ #10563]
40475         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40476         to make the syscall.
40477         * sysdeps/unix/sysv/linux/setgroups.c: New file.
40479         [BZ #12378]
40480         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40481         and fall back to matching as normal character if the string ends before
40482         the matching ']' is found.  This is what POSIX requires.
40483         * posix/testfnm.c: Adjust test result.
40484         * posix/globtest.sh: Adjust test result.  Add new test.
40485         * posix/tst-fnmatch.input: Likewise.
40486         * posix/tst-fnmatch2.c: Add new test.
40488 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
40490         * elf/Makefile (check-execstack): Revert last change.  Depend on
40491         check-execstack.h.
40492         (check-execstack.h): New target.
40493         (generated): Add check-execstack.h.
40494         * elf/check-execstack.c: Include "check-execstack.h".
40495         (main): Revert last change.
40496         (handle_file): Return zero if GNU_STACK is absent and
40497         DEFAULT_STACK_PERMS doesn't include PF_X.
40499 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
40501         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40502         in child fails because the descriptor is already closed.
40503         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40504         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40505         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40507         [BZ #12397]
40508         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40509         syscall.
40511         [BZ #10484]
40512         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40513         temporary buffer used to handle multi lookups locally.
40514         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40516 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
40518         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40519         loader is ld.so.
40521 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
40523         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40524         alignment for SSE2.
40526 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
40528         [BZ #12394]
40529         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40530         characters.  When rounding increased number of integer digits recompute
40531         number of groups.
40532         * stdio-common/tst-grouping.c: New file.
40533         * stdio-common/Makefile: Add rules to build and run tst-grouping.
40535 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
40537         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40538         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
40540         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40541         void.
40542         * bits/select.h: Likewise.
40544 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
40546         * po/ja.po: Update from translation team.
40548 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
40550         [BZ #11155]
40551         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40552         implementation just like for lxstat, fxstatat, et al.
40554 2010-12-27  Jim Meyering  <meyering@redhat.com>
40556         [BZ #12348]
40557         * posix/regexec.c (build_trtable): Return failure indication upon
40558         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
40560 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
40562         [BZ #12201]
40563         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40564         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40565         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40566         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40568         [BZ #12207]
40569         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40571         [BZ #12204]
40572         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40573         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40575 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
40577         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40578         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40579         script has SORT_BY_INIT_PRIORITY.
40580         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40581         NO_CTORS_DTORS_SECTIONS is defined.
40582         * elf/soinit.c: Likewise.
40583         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40584         NO_CTORS_DTORS_SECTIONS is defined.
40585         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40586         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40587         * sysdeps/sh/init-first.c: Likewise.
40588         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40590 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
40592         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40593         always use the slow path.
40595 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
40597         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40598         similar rule which adds the sysdep directories to the header search in
40599         order to pick up the correct platform stackinfo.h.
40600         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40601         perform test if it is, otherwise return successfully without testing.
40602         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40603         DEFAULT_STACK_PERMS define in stackinfo.h.
40604         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40605         defined in stackinfo.h.
40606         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40607         DEFAULT_STACK_PERMS defined in stackinfo.h.
40608         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40609         * sysdeps/ia64/stackinfo.h: Likewise.
40610         * sysdeps/s390/stackinfo.h: Likewise.
40611         * sysdeps/sh/stackinfo.h: Likewise.
40612         * sysdeps/sparc/stackinfo.h: Likewise.
40613         * sysdeps/x86_64/stackinfo.h: Likewise.
40614         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40615         PF_X for powerpc64.  Retain PF_X for powerpc32.
40617 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
40619         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40620         accurately.
40621         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40622         GETDENTS_64BIT_ALIGNED.
40624 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
40626         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40628 2010-12-10  Andreas Schwab  <schwab@redhat.com>
40630         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40631         _GNU_SOURCE.
40633         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40634         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40635         Remove __restrict.
40636         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40637         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40639 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
40641         [BZ #11655]
40642         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40643         are initialized.
40645 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
40647         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40649 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
40651         * po/it.po: Update from translation team.
40653 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
40655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40656         unused codes.
40658 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
40660         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40662 2010-11-24  Andreas Schwab  <schwab@redhat.com>
40664         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40665         specially.
40666         (gaih_getanswer_slice): Likewise.
40668 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
40670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40672 2010-05-31  Petr Baudis  <pasky@suse.cz>
40674         [BZ #11149]
40675         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40676         silently even in the chroot mode.
40678 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
40680         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40681         last patch a bit.  Pretty printing
40683 2010-05-31  Petr Baudis <pasky@suse.cz>
40685         [BZ #10085]
40686         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40687         initialization of skip_initgroups_dyn.
40689 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
40691         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40692         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40694 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
40696         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40698 2010-11-11  Andreas Schwab  <schwab@redhat.com>
40700         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40701         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40702         (tst-fnmatch-ENV): Set MALLOC_TRACE.
40703         ($(objpfx)tst-fnmatch-mem): New rule.
40704         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40705         * posix/tst-fnmatch.c (main): Call mtrace.
40707 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
40709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40710         Support Intel processor model 6 and model 0x2c.
40712 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
40714         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40715           signed comparison.
40717 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
40719         [BZ #12205]
40720         * string/test-strncasecmp.c (check_result): New function.
40721         (do_one_test): Use it.
40722         (check1): New function.
40723         (test_main): Use it.
40724         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40725         Support strcasecmp and strncasecmp.
40727 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
40729         [BZ #12194]
40730         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40731         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40733 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40735         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40736         IFUNC support.
40737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40738         memset-x86-64.
40739         * sysdeps/x86_64/multiarch/bzero.S: New file.
40740         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40741         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40742         * sysdeps/x86_64/multiarch/memset.S: New file.
40743         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40744         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40745         Set bit_Prefer_SSE_for_memop for Intel processors.
40746         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40747         Define.
40748         (index_Prefer_SSE_for_memop): Define.
40749         (HAS_PREFER_SSE_FOR_MEMOP): Define.
40751 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
40753         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40754         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40756 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
40758         [BZ #12191]
40759         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40760         (__x86_64_raw_data_cache_size_half): Likewise.
40761         (__x86_64_raw_shared_cache_size): Likewise.
40762         (__x86_64_raw_shared_cache_size_half): Likewise.
40764         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40765         (__x86_64_raw_data_cache_size_half): Likewise.
40766         (__x86_64_raw_shared_cache_size): Likewise.
40767         (__x86_64_raw_shared_cache_size_half): Likewise.
40768         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40769         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40770         and __x86_64_raw_shared_cache_size_half.  Round
40771         __x86_64_data_cache_size_half, __x86_64_data_cache_size
40772         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40773         to multiple of 256 bytes.
40775 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
40777         [BZ #12167]
40778         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40779         of inacessible symlinks.  Verify result of symlink before returning it.
40780         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40781         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40783 2010-10-28  Erich Ritz  <erichritz@gmail.com>
40785         * math/math.h (isinf): Fix typo in comment.
40787 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
40789         * po/da.po: Update from translation team.
40791 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
40793         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40794         is added to the list.
40796 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40797             Ulrich Drepper  <drepper@gmail.com>
40799         * elf/dl-object.c (_dl_new_object): Don't append the new object to
40800         the global list here.  Move code to...
40801         (_dl_add_to_namespace_list): ...here.  New function.
40802         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40803         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40804         * elf/dl-load.c (lose): Don't remove the element from the list.
40805         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40806         (_dl_map_object): Likewise.
40808 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
40810         [BZ #12159]
40811         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40812         into all bytes of SSE register.
40813         Patch by Richard Li <richardpku@gmail.com>.
40815 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
40817         [BZ #12140]
40818         * malloc/malloc.c (_int_free): Fill correct number of bytes when
40819         perturbing.
40821 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
40823         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40824         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40825         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40826         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40828         submachine.
40829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40831 2010-10-22  Andreas Schwab  <schwab@redhat.com>
40833         * include/dlfcn.h (__RTLD_SECURE): Define.
40834         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
40835         mode & __RTLD_SECURE instead.
40836         (open_path): Rename preloaded parameter to secure.
40837         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40838         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40839         * elf/dl-deps.c (openaux): Likewise.
40840         * elf/rtld.c (struct map_args): Remove is_preloaded.
40841         (map_doit): Don't use it.
40842         (dl_main): Likewise.
40843         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40844         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40846 2010-09-09  Andreas Schwab  <schwab@redhat.com>
40848         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40849         (sysd-rules-targets): Remove duplicates.
40850         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40851         rtld-%.$o dependency.
40853 2010-10-18  Andreas Schwab  <schwab@redhat.com>
40855         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40856         _dl_map_object do it.
40858 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
40860         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40861         fast fma builtins, define the macros in the C99 standard.
40862         (FP_FAST_FMAF): Likewise.
40863         (FP_FAST_FMAL): Likewise.
40864         * sysdeps/x86_64/bits/mathdef.h: Likewise.
40866         * bits/mathdef.h: Update copyright year.
40867         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40869 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
40871         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40872         builtins, define the macros in the C99 standard.
40873         (FP_FAST_FMAF): Likewise.
40874         (FP_FAST_FMAL): Likewise.
40875         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40876         multiply/add.
40877         (FP_FAST_FMAF): Likewise.
40879 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
40881         [BZ #3268]
40882         * math/libm-test.inc (fma_test): Some new testcases.
40883         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40884         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40885         y and infinite z.  Do multiplication by C already in long double.
40886         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40888         y and infinite z.  Do bitwise or of inexact bit into u.d.
40889         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40890         * sysdeps/i386/fpu/s_fmaf.S: Removed.
40891         * sysdeps/i386/fpu/s_fma.S: Removed.
40892         * sysdeps/i386/fpu/s_fmal.S: Removed.
40894 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
40896         [BZ #3268]
40897         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40899         computation is not scheduled after fetestexcept.  Fix value
40900         of minimum denormal long double.
40902 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
40904         [BZ #3268]
40905         * math/libm-test.inc (fma_test): Add some more tests.
40906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40907         correctly.
40909 2010-10-15  Andreas Schwab  <schwab@redhat.com>
40911         * scripts/data/localplt-s390-linux-gnu.data: New file.
40912         * scripts/data/localplt-s390x-linux-gnu.data: New file.
40914 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
40916         [BZ #3268]
40917         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40918         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40919         instead of dbl-64.
40920         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
40921         inlines.
40922         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
40923         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
40924         if one of x and y is very large and the other is subnormal.
40925         * sysdeps/s390/fpu/s_fmaf.c: New file.
40926         * sysdeps/s390/fpu/s_fma.c: New file.
40927         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
40928         * sysdeps/powerpc/fpu/s_fma.S: New file.
40929         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
40930         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
40931         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
40933 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
40935         [BZ #3268]
40936         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
40937         fma tests.
40938         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
40939         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
40940         * sysdeps/i386/i686/multiarch/s_fma.c: Include
40941         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
40942         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
40943         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
40944         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
40946 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
40948         [BZ #12078]
40949         * posix/regcomp.c (parse_branch): One more memory leak plugged.
40950         * posix/bug-regex31.input: Add test case.
40952 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
40954         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
40955         * posix/bug-regex31.input: New file.
40957         [BZ #12078]
40958         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
40959         (parse_sub_exp): Fix last change, use postorder.
40961         * posix/bug-regex31.c: New file.
40962         * posix/Makefile: Add rules to build and run bug-regex31.
40964         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
40966         [BZ #12078]
40967         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
40969         [BZ #12108]
40970         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
40971         to have entries in sys_siglist.
40973         [BZ #12093]
40974         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
40975         be NULL.
40977 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
40979         [BZ #3268]
40980         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
40981         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
40982         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
40983         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
40984         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40985         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
40986         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
40987         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
40988         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
40989         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
40990         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
40991         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
40992         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40993         * math/ftestexcept.c (fetestexcept): Likewise.
40994         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
40995         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
40996         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
40997         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
40998         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
40999         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41000         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41002 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41004         [BZ #12107]
41005         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41006         newline.
41008 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
41010         * string/bug-strstr1.c: New file.
41011         * string/Makefile: Add rules to build and run bug-strstr1.
41013 2010-10-05  Eric Blake  <eblake@redhat.com>
41015         [BZ #12092]
41016         * string/str-two-way.h (two_way_long_needle): Always clear memory
41017         when skipping input due to the shift table.
41019 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
41021         [BZ #12005]
41022         * malloc/mcheck.c: Handle large requests.
41024         [BZ #12077]
41025         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41026         for strncmp and strncasecmp.
41027         * string/stratcliff.c: Add tests for strcmp and strncmp.
41028         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41030 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41032         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41033         __set_fpscr.
41035 2010-09-30  Andreas Jaeger  <aj@suse.de>
41037         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41038         (CGROUP_SUPER_MAGIC): Define.
41039         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41040         Handle btrfs and cgroup file systems.
41041         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41042         Likewise.
41044 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
41046         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41047         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41049 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41051         [BZ #12067]
41052         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41053         trying to locate the ELF header.
41055 2010-09-27  Andreas Schwab  <schwab@redhat.com>
41057         [BZ #11611]
41058         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41059         Mask out sign-bit copies when constructing f_fsid.
41061 2010-09-24  Petr Baudis <pasky@suse.cz>
41063         * debug/stack_chk_fail_local.c: Add missing licence exception.
41064         * debug/warning-nop.c: Likewise.
41066 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
41068         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41069         implementing getdents64 using getdents syscall, set d_type if
41070         __ASSUME_GETDENTS32_D_TYPE.
41072 2010-09-16  Andreas Schwab  <schwab@redhat.com>
41074         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41075         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41077 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
41079         [BZ #12037]
41080         * posix/unistd.h: Undo change of feature selection for ftruncate from
41081         2010-01-11.
41083 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
41085         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41086         detection.
41088 2010-09-20  Andreas Schwab  <schwab@redhat.com>
41090         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41091         fanotify_mark.
41092         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41094 2010-09-14  Andreas Schwab  <schwab@redhat.com>
41096         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41097         variables after CHECK_SP call.
41098         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41100 2010-09-13  Andreas Schwab  <schwab@redhat.com>
41101             Ulrich Drepper  <drepper@redhat.com>
41103         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41104         re-relocationg ld.so.
41105         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41106         _dl_init_paths call.
41107         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
41108         here anymore.
41110 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
41112         * resolv/res_init.c (__res_vinit): Count the default server we added.
41114 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
41115             Ulrich Drepper  <drepper@redhat.com>
41117         [BZ #11968]
41118         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41119         (____longjmp_chk): Use %ebx for saving value across system call.
41120         Add unwind info.
41122 2010-09-06  Andreas Schwab  <schwab@redhat.com>
41124         * manual/Makefile: Don't mix pattern rules with normal rules.
41126 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41128         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41129         operation.
41130         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41131         * libio/iofopncook.c (_IO_cookie_init): Likewise.
41132         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41133         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41134         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41135         Likewise.
41137 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
41139         [BZ #11979]
41140         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41141         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41143 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
41145         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41146         * sysdeps/x86_64/addmul_1.S: Likewise.
41147         * sysdeps/x86_64/lshift.S: Likewise.
41148         * sysdeps/x86_64/mul_1.S: Likewise.
41149         * sysdeps/x86_64/rshift.S: Likewise.
41150         * sysdeps/x86_64/sub_n.S: Likewise.
41151         * sysdeps/x86_64/submul_1.S: Likewise.
41153 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41155         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41156         Define __sched_param instead of SCHED_* and sched_param when
41157         <bits/sched.h> is included with __need_schedparam defined.
41158         * bits/sched.h [__need_schedparam]
41159         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41160         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41161         (__defined_schedparam): Define to 1.
41162         (__sched_param): New structure, identical to sched_param.
41163         (__need_schedparam): Undefine.
41165 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
41167         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41168         (epoll_create1): Declare.
41170         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41172 2010-08-31  Andreas Schwab  <schwab@redhat.com>
41174         [BZ #7066]
41175         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41176         shifting retval into place.
41178 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
41180         * nis/rpcsvc/nis.h: Update copyright notice.
41181         * nis/rpcsvc/nis.x: Likewise.
41182         * nis/rpcsvc/nis_callback.h: Likewise.
41183         * nis/rpcsvc/nis_callback.x: Likewise.
41184         * nis/rpcsvc/nis_object.x: Likewise.
41185         * nis/rpcsvc/nis_tags.h: Likewise.
41186         * nis/rpcsvc/yp.h: Likewise.
41187         * nis/rpcsvc/yp.x: Likewise.
41188         * nis/rpcsvc/ypupd.h: Likewise.
41189         * nis/yp_xdr.c: Likewise.
41190         * nis/ypupdate_xdr.c: Likewise.
41192         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
41193         mainly the body of pmap_getport.  Add parameters to specify timeouts.
41194         (pmap_getport): Use __libc_rpc_getport.
41195         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41196         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41197         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41199 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
41201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41202         fanotify_mark.
41204 2010-08-27  Roland McGrath  <roland@redhat.com>
41206         * sysdeps/i386/i686/multiarch/Makefile
41207         (CFLAGS-varshift.c): New variable.
41209 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
41211         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41212         * sysdeps/i386/i686/multiarch/varshift.c: New file.
41214         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41216         * sysdeps/x86_64/strlen.S: Minimal code improvement.
41218 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
41220         * sysdeps/x86_64/strlen.S: Unroll the loop.
41221         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41222         strlen-sse2 strlen-sse2-bsf.
41223         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41224         __strlen_no_bsf if bit_Slow_BSF is set.
41225         (__strlen_sse42): Removed.
41226         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41227         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41229 2010-08-25  Roland McGrath  <roland@redhat.com>
41231         * sysdeps/x86_64/multiarch/varshift.S: File removed.
41232         * sysdeps/x86_64/multiarch/varshift.c: New file.
41233         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41234         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41235         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41236         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41238 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
41240         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41241         strlen-sse2 strlen-sse2-bsf.
41242         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41243         __strlen_sse2_bsf if bit_Slow_BSF is unset.
41244         (__strlen_sse2): Removed.
41245         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41246         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41248         bit_Slow_BSF for Atom.
41249         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41250         (index_Slow_BSF): Define.
41251         (HAS_SLOW_BSF): Define.
41253 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
41255         [BZ #10851]
41256         * resolv/res_init.c (__res_vinit): When no server address at all
41257         is given default to loopback.
41259 2010-08-24  Roland McGrath  <roland@redhat.com>
41261         * configure.in: Remove config-name.h generation.
41262         * configure: Regenerated.
41263         * config-name.in: File removed.
41264         * scripts/config-uname.sh: New file.
41265         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41266         ($(objdir)config-name.h): New target.
41268         * sunrpc/rpc_parse.h: Avoid nested comment.
41270 2010-08-24  Richard Henderson  <rth@redhat.com>
41271             Ulrich Drepper  <drepper@redhat.com>
41272             H.J. Lu  <hongjiu.lu@intel.com>
41274         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41276         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41277         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
41278         _mm_alignr_epi8 with _mm_loadu_si128.
41279         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41280         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41281         (__m128i_shift_right): Removed.
41282         * sysdeps/i386/i686/multiarch/varshift.h: New file.
41283         * sysdeps/i386/i686/multiarch/varshift.S: New file.
41284         * sysdeps/x86_64/multiarch/varshift.h: New file.
41285         * sysdeps/x86_64/multiarch/varshift.S: New file.
41287 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
41289         * configure.in: Move assembler checks to before sysdep dir checking.
41291 2010-08-20  Petr Baudis  <pasky@suse.cz>
41293         * LICENSES: Sync the sunrpc license.
41295 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
41297         * sunrpc/auth_des.c: Update copyright notice once again.
41298         * sunrpc/auth_none.c: Likewise.
41299         * sunrpc/auth_unix.c: Likewise.
41300         * sunrpc/authdes_prot.c: Likewise.
41301         * sunrpc/authuxprot.c: Likewise.
41302         * sunrpc/bindrsvprt.c: Likewise.
41303         * sunrpc/clnt_gen.c: Likewise.
41304         * sunrpc/clnt_perr.c: Likewise.
41305         * sunrpc/clnt_raw.c: Likewise.
41306         * sunrpc/clnt_simp.c: Likewise.
41307         * sunrpc/clnt_tcp.c: Likewise.
41308         * sunrpc/clnt_udp.c: Likewise.
41309         * sunrpc/clnt_unix.c: Likewise.
41310         * sunrpc/des_crypt.c: Likewise.
41311         * sunrpc/des_soft.c: Likewise.
41312         * sunrpc/get_myaddr.c: Likewise.
41313         * sunrpc/getrpcport.c: Likewise.
41314         * sunrpc/key_call.c: Likewise.
41315         * sunrpc/key_prot.c: Likewise.
41316         * sunrpc/openchild.c: Likewise.
41317         * sunrpc/pm_getmaps.c: Likewise.
41318         * sunrpc/pm_getport.c: Likewise.
41319         * sunrpc/pmap_clnt.c: Likewise.
41320         * sunrpc/pmap_prot.c: Likewise.
41321         * sunrpc/pmap_prot2.c: Likewise.
41322         * sunrpc/pmap_rmt.c: Likewise.
41323         * sunrpc/rpc/auth.h: Likewise.
41324         * sunrpc/rpc/auth_unix.h: Likewise.
41325         * sunrpc/rpc/clnt.h: Likewise.
41326         * sunrpc/rpc/des_crypt.h: Likewise.
41327         * sunrpc/rpc/key_prot.h: Likewise.
41328         * sunrpc/rpc/netdb.h: Likewise.
41329         * sunrpc/rpc/pmap_clnt.h: Likewise.
41330         * sunrpc/rpc/pmap_prot.h: Likewise.
41331         * sunrpc/rpc/pmap_rmt.h: Likewise.
41332         * sunrpc/rpc/rpc.h: Likewise.
41333         * sunrpc/rpc/rpc_des.h: Likewise.
41334         * sunrpc/rpc/rpc_msg.h: Likewise.
41335         * sunrpc/rpc/svc.h: Likewise.
41336         * sunrpc/rpc/svc_auth.h: Likewise.
41337         * sunrpc/rpc/types.h: Likewise.
41338         * sunrpc/rpc/xdr.h: Likewise.
41339         * sunrpc/rpc_clntout.c: Likewise.
41340         * sunrpc/rpc_cmsg.c: Likewise.
41341         * sunrpc/rpc_common.c: Likewise.
41342         * sunrpc/rpc_cout.c: Likewise.
41343         * sunrpc/rpc_dtable.c: Likewise.
41344         * sunrpc/rpc_hout.c: Likewise.
41345         * sunrpc/rpc_main.c: Likewise.
41346         * sunrpc/rpc_parse.c: Likewise.
41347         * sunrpc/rpc_parse.h: Likewise.
41348         * sunrpc/rpc_prot.c: Likewise.
41349         * sunrpc/rpc_sample.c: Likewise.
41350         * sunrpc/rpc_scan.c: Likewise.
41351         * sunrpc/rpc_scan.h: Likewise.
41352         * sunrpc/rpc_svcout.c: Likewise.
41353         * sunrpc/rpc_tblout.c: Likewise.
41354         * sunrpc/rpc_util.c: Likewise.
41355         * sunrpc/rpc_util.h: Likewise.
41356         * sunrpc/rpcinfo.c: Likewise.
41357         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41358         * sunrpc/rpcsvc/key_prot.x: Likewise.
41359         * sunrpc/rpcsvc/klm_prot.x: Likewise.
41360         * sunrpc/rpcsvc/mount.x: Likewise.
41361         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41362         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41363         * sunrpc/rpcsvc/rex.x: Likewise.
41364         * sunrpc/rpcsvc/rstat.x: Likewise.
41365         * sunrpc/rpcsvc/rusers.x: Likewise.
41366         * sunrpc/rpcsvc/sm_inter.x: Likewise.
41367         * sunrpc/rpcsvc/spray.x: Likewise.
41368         * sunrpc/rpcsvc/yppasswd.x: Likewise.
41369         * sunrpc/rtime.c: Likewise.
41370         * sunrpc/svc.c: Likewise.
41371         * sunrpc/svc_auth.c: Likewise.
41372         * sunrpc/svc_authux.c: Likewise.
41373         * sunrpc/svc_raw.c: Likewise.
41374         * sunrpc/svc_run.c: Likewise.
41375         * sunrpc/svc_simple.c: Likewise.
41376         * sunrpc/svc_tcp.c: Likewise.
41377         * sunrpc/svc_udp.c: Likewise.
41378         * sunrpc/svc_unix.c: Likewise.
41379         * sunrpc/svcauth_des.c: Likewise.
41380         * sunrpc/xcrypt.c: Likewise.
41381         * sunrpc/xdr.c: Likewise.
41382         * sunrpc/xdr_array.c: Likewise.
41383         * sunrpc/xdr_float.c: Likewise.
41384         * sunrpc/xdr_mem.c: Likewise.
41385         * sunrpc/xdr_rec.c: Likewise.
41386         * sunrpc/xdr_ref.c: Likewise.
41387         * sunrpc/xdr_sizeof.c: Likewise.
41388         * sunrpc/xdr_stdio.c: Likewise.
41390         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41391         handling.
41393 2010-08-19  Andreas Schwab  <schwab@redhat.com>
41395         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41397 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
41399         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41400         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41401         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41402         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41403         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41404         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41405         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41406         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41407         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41408         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41409         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41410         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41411         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41412         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41414 2010-07-26  Anton Blanchard  <anton@samba.org>
41416         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41417         * malloc/arena.c (heap_trim): Likewise.
41419 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
41421         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41422         here.  Not...
41423         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41424         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41426 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41428         * sysdeps/i386/elf/Makefile: New file.
41430 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41432         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41433         from fanotify_init.
41434         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41435         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41437 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
41439         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41440         of strncasecmp_l.
41441         * sysdeps/multiarch/strcmp.S: Likewise.
41443 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
41445         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41446         strncase_l-nonascii.
41447         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41448         Add strncase_l-ssse3.
41449         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41450         * sysdeps/x86_64/strcmp.S: Likewise.
41451         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41452         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41453         * sysdeps/x86_64/strncase.S: New file.
41454         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41455         * sysdeps/x86_64/strncase_l.S: New file.
41456         * string/Makefile (strop-tests): Add strncasecmp.
41457         * string/test-strncasecmp.c: New file.
41459         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41460         warning.
41462         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41463         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41465 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41467         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41469 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
41471         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41472         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41473         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41475 2010-05-01  Alan Modra  <amodra@gmail.com>
41477         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41478         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41479         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41480         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41481         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41482         tidying.  Don't tail-call __sigjmp_save for static lib.
41483         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41484         save location.
41485         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41486         (CALL_MCOUNT): Add eh info, and nop after bl.
41487         (TAIL_CALL_SYSCALL_ERROR): New macro.
41488         (PSEUDO_RET): Use it.
41489         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41490         Correct save location of integer regs and cr.
41491         (_dl_profile_resolve): Correct cr save location.  Delete nops
41492         after bl when SHARED.  Reduce cfi size a little by better
41493         placement of cfi directives.
41494         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41495         make a stack frame.  Instead use parm save area as a temp.
41496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41497         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
41498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41499         Don't make a stack frame for parent, use parm save area.
41500         Increase child stack frame to 112 bytes.  Don't save unused reg,
41501         and adjust reg usage.  Set up cfi on error recovery and
41502         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41504         (__makecontext): Add dummy nop after jump to exit.
41505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41506         Use correct parm save area and cr save, reduce stack frame.
41507         Correct cfi for possible PSEUDO_RET frame setup.
41508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41509         Branch to local label emitted by PSEUDO_RET rather than
41510         __syscall_error.
41512 2010-08-12  Andreas Schwab  <schwab@redhat.com>
41514         [BZ #11904]
41515         * locale/programs/locale.c (print_assignment): New function.
41516         (show_locale_vars): Use it.
41518 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
41520         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41521         field.
41522         (struct statfs64): Likewise.
41523         (_STATFS_F_FLAGS): Define.
41524         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41525         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41526         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41527         (ST_VALID): Define locally.
41528         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41529         __statvfs_getflags, use the provided value.
41530         * sysdeps/unix/sysv/linux/kernel-features.h: Define
41531         __ASSUME_STATFS_F_FLAGS.
41533         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41535         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41536         Add sys/fanotify.h.
41537         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41538         fanotify_mask for GLIBC_2.13.
41539         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41540         fanotify_init and fanotify_mark.
41541         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41542         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41544         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41545         Add prlimit.
41546         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41547         prlimit64 for GLIBC_2.13.
41548         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41549         prlimit64.
41550         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41551         syscall.
41552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41553         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41554         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41555         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
41557         add prlimit alias.
41558         * sysdeps/unix/sysv/linux/prlimit.c: New file.
41560         [BZ #11903]
41561         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41562         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41564         * nss/Makefile: Add rules to build and run tst-nss-test1.
41565         * shlib-versions: Add entry for libnss_test1.
41566         * nss/nss_test1.c: New file.
41567         * nss/tst-nss-test1.c: New file.
41569         * nss/nsswitch.c (__nss_database_custom): Define new variable.
41570         (__nss_configure_lookup): Set appropriate entry in
41571         __nss_configure_lookup to true.
41572         * nss/nsswitch.h: Define enum with indeces of databases in
41573         databases and __nss_database_custom arrays.  Declare
41574         __nss_database_custom.
41575         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41576         to avoid using nscd when custom rules are installed.
41577         * nss/getXXbyYY_r.c: Likewise.
41578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41580         * nss/nss_files/files-parse.c: Whitespace fixes.
41582 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
41584         [BZ #11883]
41585         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41586         * posix/fnmatch_loop.c: Likewise.
41588 2010-07-17  Andi Kleen  <ak@linux.intel.com>
41590         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41591         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41592         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41593         * Versions.def [GLIBC_2.13]: Add.
41595 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
41597         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41598         Also fail if tpwd after pwuid call is NULL.
41600 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41602         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41603         when converting to ms.
41605 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41607         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41608         EOPNOTSUPP errors with ENOTTY.
41609         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41610         EOPNOTSUPP errors with ENOTTY.
41612 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
41614         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41615         Add strcasecmp_l-ssse3.
41616         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41617         strcasecmp.
41618         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41619         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41620         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41622 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
41624         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41626         * string/Makefile (strop-tests): Add strcasecmp.
41627         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41628         strcasecmp_l-nonascii.
41629         (gen-as-const-headers): Add locale-defines.sym.
41630         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41631         * sysdeps/x86_64/strcasecmp.S: New file.
41632         * sysdeps/x86_64/strcasecmp_l.S: New file.
41633         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41634         * sysdeps/x86_64/locale-defines.sym: New file.
41635         * string/test-strcasecmp.c: New file.
41637         * string/test-strcasestr.c: Test both ends of the range of characters.
41638         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41640 2010-07-29  Roland McGrath  <roland@redhat.com>
41642         [BZ #11856]
41643         * manual/locale.texi (Yes-or-No Questions): Fix example code.
41645 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
41647         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41648         for ld.so.
41650 2010-07-27  Andreas Schwab  <schwab@redhat.com>
41652         * manual/memory.texi (Malloc Tunable Parameters): Document
41653         M_PERTURB.
41655 2010-07-26  Roland McGrath  <roland@redhat.com>
41657         [BZ #11840]
41658         * configure.in (-fgnu89-inline check): Set and substitute
41659         gnu89_inline, not libc_cv_gnu89_inline.
41660         * configure: Regenerated.
41661         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41663 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
41665         * string/test-strnlen.c: New file.
41666         * string/Makefile (strop-tests): Add strnlen.
41667         * string/tester.c (test_strnlen): Add a few more test cases.
41668         * string/tst-strlen.c: Better error reporting.
41670         * sysdeps/x86_64/strnlen.S: New file.
41672 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
41674         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41675         lower-latency instructions.
41677 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
41679         * string/test-strcasestr.c: New file.
41680         * string/test-strstr.c: New file.
41681         * string/Makefile (strop-tests): Add strstr and strcasestr.
41682         * string/str-two-way.h: Don't undefine MAX.
41683         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41685 2010-07-21  Andreas Schwab  <schwab@redhat.com>
41687         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41688         strcasestr-nonascii.
41689         (CFLAGS-strcasestr-nonascii.c): Define.
41690         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41691         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41692         Remove unused attribute.
41694 2010-07-20  Roland McGrath  <roland@redhat.com>
41696         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41697         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
41698         ld.so.cache was broken.  With it, there is no way to disable dsocaps
41699         like LD_HWCAP_MASK can disable hwcaps.
41701 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41703         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41705 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
41707         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41708         call in strcasestr.
41709         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41710         __strcasestr_sse42_nonascii.
41711         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41712         strcasestr-nonascii.c.
41713         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41715 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
41717         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41718         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41719         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41720         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41722 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
41724         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41725         fcntl.
41727 2010-07-06  Andreas Schwab  <schwab@redhat.com>
41729         [BZ #11577]
41730         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41731         dl_signal_cerror.
41733 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
41735         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41736         _PC_PIPE_BUF using F_GETPIPE_SZ.
41738 2010-07-05  Roland McGrath  <roland@redhat.com>
41740         * manual/arith.texi (Rounding Functions): Fix rint description
41741         implicit in round description.
41743 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
41745         * elf/Makefile: Fix linking for a few tests to make recent linker
41746         happy.
41748 2010-06-30  Andreas Schwab  <schwab@redhat.com>
41750         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41751         $(common-objpfx)libc_nonshared.a.
41753 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
41755         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41756         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41757         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41758         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41759         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41760         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41761         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41762         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41777         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41778         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41779         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41780         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41781         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41782         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41783         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41784         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41785         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41786         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41787         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41788         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41804 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
41806         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41807         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
41808         * string/memmove.c (memmove): Renamed to ...
41809         (MEMMOVE): ...this.  Default to memmove.
41810         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41811         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41812         (END_CHK): Define.
41813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41814         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41815         mempcpy-ssse3-back memmove-ssse3-back.
41816         * sysdeps/x86_64/multiarch/bcopy.S: New file .
41817         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41818         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41819         * sysdeps/x86_64/multiarch/memcpy.S: New file.
41820         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41821         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41822         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41823         * sysdeps/x86_64/multiarch/memmove.c: New file.
41824         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41825         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41826         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41827         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41828         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41829         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41830         Define.
41831         (index_Fast_Copy_Backward): Define.
41832         (HAS_ARCH_FEATURE): Define.
41833         (HAS_FAST_REP_STRING): Define.
41834         (HAS_FAST_COPY_BACKWARD): Define.
41836 2010-06-21  Andreas Schwab  <schwab@redhat.com>
41838         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41839         Restore proper fallback handling.
41841 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
41843         [BZ #11701]
41844         * posix/group_member.c (__group_member): Correct checking loop.
41846         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41847         OOM in getpwuid_r correctly.  Return error number when the caller
41848         should return, otherwise -1.
41849         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41850         call returning > 0 value.
41851         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41853 2010-06-07  Andreas Schwab  <schwab@redhat.com>
41855         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41856         libc_nonshared.a from targets in modules-names.
41858 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
41860         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41861         requires it.
41863 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
41865         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41866         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41867         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41868         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41870 2010-06-02  Andreas Schwab  <schwab@redhat.com>
41872         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41874 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
41876         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41877         and F_GETPIPE_SZ.
41878         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41879         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41880         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41881         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41882         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41883         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41885 2010-06-14  Roland McGrath  <roland@redhat.com>
41887         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41889 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
41891         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41892         __REDIRECT followed by __THROW.
41893         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41894         * posix/getopt.h (getopt): Likewise.
41896 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41898         * hurd/lookup-at.c (__file_name_lookup_at): Accept
41899         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
41900         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41901         in AT_FLAGS.
41902         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41903         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41905 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
41907         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41909 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
41911         [BZ #11640]
41912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41913         Properly check family and model.
41915 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
41917         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41919 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
41921         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
41923 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
41925         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
41926         symbol reference.
41928 2010-05-19  Andreas Schwab  <schwab@redhat.com>
41930         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
41931         symbol reference.
41933 2010-05-21  Andreas Schwab  <schwab@redhat.com>
41935         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
41936         and internal_recvmmsg.
41937         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
41938         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
41939         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
41940         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
41942         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
41943         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41944         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41946 2010-05-20  Andreas Schwab  <schwab@redhat.com>
41948         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
41950 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
41952         POWER7 optimizations.
41953         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
41954         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
41956 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
41958         * version.h: Update for 2.13 development version.
41960 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
41962         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
41963         exceptions.  Return 0.
41965 2010-05-07  Roland McGrath  <roland@redhat.com>
41967         * elf/ldconfig.c (main): Add a const.
41969 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
41971         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
41972         (args_options): Add no-idn option.
41973         (ahosts_keys_int): Add idn_flags to ai_flags.
41974         (parse_option): Handle 'i' option to clear idn_flags.
41976         * malloc/malloc.c (_int_free): Possible race in the most recently
41977         added check.  Only act on the data if no current modification
41978         happened.
41980 See ChangeLog.17 for earlier changes.